@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: 20px;
}

.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;
}

.loader {
    --main-size: 4em;
    --text-color: #ffffff;
    --shine-color: #ffffff40;
    --shadow-color: #aaaaaa;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    user-select: none;
    position: relative;
    font-size: var(--main-size);
    font-weight: 900;
    text-transform: uppercase;
    color: var(--text-color);
    width: 7.3em;
    height: 1em;
    filter: drop-shadow(0 0 0.05em var(--shine-color));
}

.loader .text {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    position: absolute;
}

.loader .text:nth-child(1) {
    clip-path: polygon(0% 0%, 11.11% 0%, 11.11% 100%, 0% 100%);
    font-size: calc(var(--main-size) / 20);
    margin-left: -2.1em;
    opacity: 0.6;
}

.loader .text:nth-child(2) {
    clip-path: polygon(11.11% 0%, 22.22% 0%, 22.22% 100%, 11.11% 100%);
    font-size: calc(var(--main-size) / 16);
    margin-left: -0.98em;
    opacity: 0.7;
}

.loader .text:nth-child(3) {
    clip-path: polygon(22.22% 0%, 33.33% 0%, 33.33% 100%, 22.22% 100%);
    font-size: calc(var(--main-size) / 13);
    margin-left: -0.33em;
    opacity: 0.8;
}

.loader .text:nth-child(4) {
    clip-path: polygon(33.33% 0%, 44.44% 0%, 44.44% 100%, 33.33% 100%);
    font-size: calc(var(--main-size) / 11);
    margin-left: -0.05em;
    opacity: 0.9;
}

.loader .text:nth-child(5) {
    clip-path: polygon(44.44% 0%, 55.55% 0%, 55.55% 100%, 44.44% 100%);
    font-size: calc(var(--main-size) / 10);
    margin-left: 0em;
    opacity: 1;
}

.loader .text:nth-child(6) {
    clip-path: polygon(55.55% 0%, 66.66% 0%, 66.66% 100%, 55.55% 100%);
    font-size: calc(var(--main-size) / 11);
    margin-left: 0.05em;
    opacity: 0.9;
}

.loader .text:nth-child(7) {
    clip-path: polygon(66.66% 0%, 77.77% 0%, 77.77% 100%, 66.66% 100%);
    font-size: calc(var(--main-size) / 13);
    margin-left: 0.33em;
    opacity: 0.8;
}

.loader .text:nth-child(8) {
    clip-path: polygon(77.77% 0%, 88.88% 0%, 88.88% 100%, 77.77% 100%);
    font-size: calc(var(--main-size) / 16);
    margin-left: 0.98em;
    opacity: 0.7;
}

.loader .text:nth-child(9) {
    clip-path: polygon(88.88% 0%, 100% 0%, 100% 100%, 88.88% 100%);
    font-size: calc(var(--main-size) / 20);
    margin-left: 2.1em;
    opacity: 0.6;
}

.loader .text span {
    animation:
        scrolling 2s cubic-bezier(0.1, 0.6, 0.9, 0.4) infinite,
        shadow 2s cubic-bezier(0.1, 0.6, 0.9, 0.4) infinite;
}

.loader .text:nth-child(1) span {
    background: linear-gradient(to right,
            var(--text-color) 4%,
            var(--shadow-color) 7%);
    background-size: 200% auto;
    background-clip: text;
    color: transparent;
}

.loader .text:nth-child(2) span {
    background: linear-gradient(to right,
            var(--text-color) 9%,
            var(--shadow-color) 13%);
    background-size: 200% auto;
    background-clip: text;
    color: transparent;
}

.loader .text:nth-child(3) span {
    background: linear-gradient(to right,
            var(--text-color) 15%,
            var(--shadow-color) 18%);
    background-size: 200% auto;
    background-clip: text;
    color: transparent;
}

.loader .text:nth-child(4) span {
    background: linear-gradient(to right,
            var(--text-color) 20%,
            var(--shadow-color) 23%);
    background-size: 200% auto;
    background-clip: text;
    color: transparent;
}

.loader .text:nth-child(6) span {
    background: linear-gradient(to right,
            var(--shadow-color) 29%,
            var(--text-color) 32%);
    background-size: 200% auto;
    background-clip: text;
    color: transparent;
}

.loader .text:nth-child(7) span {
    background: linear-gradient(to right,
            var(--shadow-color) 34%,
            var(--text-color) 37%);
    background-size: 200% auto;
    background-clip: text;
    color: transparent;
}

.loader .text:nth-child(8) span {
    background: linear-gradient(to right,
            var(--shadow-color) 39%,
            var(--text-color) 42%);
    background-size: 200% auto;
    background-clip: text;
    color: transparent;
}

.loader .text:nth-child(9) span {
    background: linear-gradient(to right,
            var(--shadow-color) 45%,
            var(--text-color) 48%);
    background-size: 200% auto;
    background-clip: text;
    color: transparent;
}

.loader .line {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: 0.05em;
    width: calc(var(--main-size) / 2);
    margin-top: 0.9em;
    border-radius: 0.05em;
}

.loader .line::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: var(--text-color);
    opacity: 0.3;
}

.loader .line::after {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 0.05em;
    transform: translateX(-90%);
    animation: wobble 2s cubic-bezier(0.5, 0.8, 0.5, 0.2) infinite;
}

@keyframes wobble {
    0% {
        transform: translateX(-90%);
    }

    50% {
        transform: translateX(90%);
    }

    100% {
        transform: translateX(-90%);
    }
}

@keyframes scrolling {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

@keyframes shadow {
    0% {
        background-position: -98% 0;
    }

    100% {
        background-position: 102% 0;
    }
}

@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) {
    /* 仅限手机，竖屏模式 */
}

/* ===== COOKIE BANNER ===== */
.cookieMessage {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 640px;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    z-index: 9999;
    flex-wrap: wrap;
}

.cookieIcon {
    font-size: 22px;
    flex-shrink: 0;
    line-height: 1;
}

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

.cookieText a {
    color: #ff4757;
    text-decoration: none;
    font-weight: 600;
}

.cookieText a:hover {
    text-decoration: underline;
}

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

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

.cookieBtn.agree {
    background: #ff4757;
    color: #fff;
}

.cookieBtn.agree:hover {
    background: #ff6b81;
}

.cookieBtn.reject {
    background: transparent;
    color: #888888;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.cookieBtn.reject:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

@media screen and (max-width: 769px) {
    .cookieMessage {
        bottom: 12px;
        width: calc(100% - 24px);
        flex-direction: column;
        align-items: flex-start;
        padding: 14px 16px;
        gap: 10px;
    }

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