@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 */
footer {
    width: 100%;
    height: 60px;
    text-align: center;
    background-color: #000;
    color: #fff;
    font-size: 13px;
    line-height: 1.5;
    padding: 10px 0 10px 0;
    transition: 1s;
}

footer a {
    color: #fff;
}

.footer-info {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.cookieFooter {
    margin-bottom: 49px;
}

.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-color: rgba(13, 13, 21, 0.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid #1e1e30;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 14px 32px;
    z-index: 9999;
    flex-wrap: wrap;
}

.cookieIcon {
    font-size: 20px;
    flex-shrink: 0;
}

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

.cookieText a {
    color: #00d4ff;
    text-decoration: underline;
    transition: opacity 0.2s;
}

.cookieText a:hover {
    opacity: 0.7;
}

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

.cookieBtn {
    padding: 7px 18px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.cookieBtn.agree {
    background: linear-gradient(135deg, #00d4ff, #b44fff);
    color: #fff;
}

.cookieBtn.agree:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.cookieBtn.reject {
    background: transparent;
    color: #7a7a9a;
    border: 1px solid #1e1e30;
}

.cookieBtn.reject:hover {
    border-color: #00d4ff;
    color: #00d4ff;
}

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

    .cookieFooter {
        margin-bottom: 132px;
    }
}