@font-face {
    font-family: "smiley";
    src: url(../font/Outfit-VariableFont_wght.ttf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "smiley";
}

img {
    width: 100%;
    object-fit: cover;
    display: block;
}

video {
    object-fit: cover;
}

a {
    text-decoration: none;
}

b,
strong {
    font-weight: 400
}

em,
i {
    font-style: normal;
}

li {
    list-style: none;
}

input {
    border: 0;
    outline: 0;
    touch-action: none;
}

button {
    outline: 0;
    border: 0;
    background-color: transparent;
    cursor: pointer;
}


footer {
    background: #000;
    border-top: 1px solid var(--border);
    padding: 20px 48px;
    width: 100%;
    height: auto;
    text-align: left;
    color: #fff;
    font-size: 13px;
    line-height: 1.5;
    transition: none;
}

footer a {
    color: #3a3a3a;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--accent);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-copy {
    font-size: 12px;
    color: #999;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 12px;
    color: #999;
    text-decoration: none;
}

@media screen and (max-width: 769px) {
    footer {
        padding: 16px 20px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .footer-links {
        gap: 12px;
    }
}


.img-box {
    position: relative;
}

.img-box::before {
    content: '';
    display: block;
}

.img-box>img {
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

:root {
    --all-width: 1200px;
}

.loading {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 9999999;
    background-color: #0000004d;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 15px;
    inset: 0;
}

.loading::before {
    content: '';
    display: block;
    width: 50px;
    height: 50px;
    border: 5px solid #fff;
    border-radius: 50%;
    border-top-color: #0077ff;
    animation: loading 1.5s linear infinite;
}

.loading::after {
    content: 'Loading...';
    color: #fff;
    font-size: 16px;
    animation: loadingText 1.5s linear infinite;
}

@keyframes loadingText {
    0% {
        content: 'Loading';
    }

    25% {
        content: 'Loading.';
    }

    50% {
        content: 'Loading..';
    }

    75% {
        content: 'Loading...';
    }

    100% {
        content: 'Loading...';
    }
}

@keyframes loading {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(180deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media screen and (min-width:770px) and (max-width:1199px) {
    :root {
        --all-width: 1000px;
    }
}

@media screen and (max-width:769px) {
    :root {
        --all-width: 100%;
    }
}

@media only screen and (max-device-width: 768px) and (orientation: landscape) {
    /* 仅限手机，横屏模式 */
}

@media only screen and (max-device-width: 768px) and (orientation: portrait) {
    /* 仅限手机，竖屏模式 */
}

.cookieMessage {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(16px);
    border-top: 1px solid #2a2a2a;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 14px 32px;
    z-index: 9999;
    flex-wrap: wrap;
}

.cookieText {
    color: #888;
    font-size: 12px;
    flex: 1;
    min-width: 200px;
    line-height: 1.6;
}

.cookieText a {
    color: #e8ff47;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookieText a:hover {
    color: #fff;
}

.cookieActions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.cookieBtn {
    padding: 7px 18px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    font-family: inherit;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}

.cookieBtn.agree {
    background: #e8ff47;
    color: #000;
}

.cookieBtn.agree:hover {
    background: #fff;
    color: #000;
}

.cookieBtn.reject {
    background: transparent;
    color: #555;
    border: 1px solid #2a2a2a;
}

.cookieBtn.reject:hover {
    border-color: #555;
    color: #aaa;
}

@media screen and (max-width: 769px) {
    .cookieMessage {
        flex-direction: column;
        align-items: flex-start;
        padding: 14px 20px;
        gap: 10px;
    }
}

#copy-message {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg2, #111);
    color: var(--text, #fff);
    border: 1px solid var(--border, #222);
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
    z-index: 99999;
    white-space: nowrap;
}

#copy-message.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

#copy-message.success {
    border-color: #e8ff47;
    color: #e8ff47;
}

#copy-message.error {
    border-color: #ff4757;
    color: #ff4757;
}