/* ===== 基础重置 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #FFD54F;
    --gold-deep: #FFB300;
    --orange: #FF8A3D;
    --orange-deep: #E67A00;
    --btn-fill: #F97316;
    --sky: #4FC3F7;
    --sky-deep: #29B6F6;
    --pink: #FF6B9D;
    --purple: #6C4DFF;
    --purple-deep: #4A2DB0;
    --navy: #2E1A6B;
    --cream: #FFF8E7;
    --board: #FFE9B5;
    --ink: #3E2723;
    --white: #ffffff;
    /* 热点 = 图内指尖像素。X 越大图越往左，Y 越大图越往上 */
    --cursor-hand: url("../images/cursor.png") 5 1, pointer;
    --cursor-hand-active: url("../images/cursor-click.png") 3 1, url("../images/cursor.png") 5 1, pointer;
    --cursor-page: url("../images/cursor.png") 5 1, auto;
}

/* 防止翻译闪烁：翻译完成前隐藏可翻译内容 */
html {
    cursor: var(--cursor-page);
    -webkit-tap-highlight-color: transparent;
}

html:not(.i18n-ready) [data-i18n] {
    opacity: 0;
}

html.i18n-ready [data-i18n] {
    opacity: 1;
    transition: opacity 0.2s ease-in;
}

body {
    font-family: 'Fredoka', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--cream);
    color: var(--ink);
    line-height: 1;
    overflow-x: hidden;
    cursor: var(--cursor-page);
    -webkit-tap-highlight-color: transparent;
}

html.is-cursor-down,
html.is-cursor-down * {
    cursor: var(--cursor-hand-active) !important;
}

.cursor-pop {
    --x: 0px;
    --y: 0px;
    position: fixed;
    top: 0;
    left: 0;
    width: 10px;
    aspect-ratio: 1;
    translate: calc(var(--x) - 5px) calc(var(--y) - 5px);
    pointer-events: none;
    z-index: 100000;
    box-shadow: 0 0 var(--gold), 0 0 var(--gold), 0 0 var(--gold), 0 0 var(--gold), 0 0 var(--gold);
    animation: cursor-spark 0.7s ease-out forwards;
}

.cursor-pop::before,
.cursor-pop::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    border-radius: 50%;
    animation: cursor-pop-out ease-out forwards;
}

.cursor-pop::before {
    width: 28px;
    aspect-ratio: 1;
    background: radial-gradient(circle, #fff8c8, var(--gold) 32%, var(--purple) 62%, #0000 74%);
    animation-duration: 0.42s;
    --s: 3.4;
}

.cursor-pop::after {
    width: 22px;
    aspect-ratio: 1;
    border: 4px solid var(--purple);
    box-shadow: 0 0 0 4px var(--gold), 0 0 18px 4px rgb(108 77 255 / 0.55);
    animation-duration: 0.55s;
    animation-timing-function: cubic-bezier(0.12, 0.7, 0.2, 1);
    --s: 5;
}

@keyframes cursor-pop-out {
    from { scale: 0.25; }
    to { scale: var(--s); opacity: 0; }
}

@keyframes cursor-spark {
    to {
        box-shadow:
            18px -53px #0000,
            56px 0 #0000,
            18px 53px #0000,
            -46px 33px #0000,
            -46px -33px #0000;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cursor-pop { display: none; }
}

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #FFE082;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #FFD54F 0%, #FF9800 100%);
    border-radius: 8px;
    border: 2px solid #FFE082;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #FFE082 0%, #FFB300 100%);
}

* {
    scrollbar-width: thin;
    scrollbar-color: #FFB300 #FFE082;
}

:lang(zh-CN) body {
    font-family: 'Fredoka', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
}

:lang(zh-TW) body {
    font-family: 'Fredoka', 'Noto Sans TC', -apple-system, BlinkMacSystemFont, sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== 首屏视频区 ===== */
.hero {
    --hero-next: 3.25rem;
    --hero-cta: 8.5rem;
    --hero-dock: calc(var(--hero-cta) + var(--hero-next));
    position: relative;
    z-index: 0;
    display: flex;
    flex-direction: column;
    min-height: max(720px, 100dvh);
}

.hero-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, rgba(30, 22, 12, 0.05) 0%, rgba(30, 22, 12, 0.14) 100%),
        linear-gradient(to bottom,
            rgba(255, 236, 180, 0.05) 0%,
            transparent 42%,
            rgba(201, 162, 58, 0.16) 70%,
            rgba(192, 159, 68, 0.46) 88%,
            #C09F44 100%
        );
    z-index: 2;
}

.hero-logo {
    margin-bottom: clamp(12px, 2.2vh, 28px);
}

.hero-logo img {
    height: clamp(100px, 18vh, 188px);
    width: auto;
    max-width: min(520px, 90vw);
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(40, 20, 0, 0.32));
}

.lang-switch {
    position: absolute;
    top: 24px;
    right: 32px;
    z-index: 100;
    display: flex;
    gap: 2px;
    padding: 4px;
    background: rgba(20, 40, 80, 0.28);
    border: 2px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    backdrop-filter: blur(8px);
}

.lang-switch button {
    appearance: none;
    border: 0;
    background: transparent;
    color: #fff;
    font-family: 'Chiron GoRound TC', 'Noto Sans SC', 'Noto Sans TC', 'Fredoka', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 6px 12px;
    border-radius: 999px;
    cursor: var(--cursor-hand);
    line-height: 1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.lang-switch button.is-active {
    background: linear-gradient(180deg, #FFE566 0%, #FFB300 100%);
    color: #292524;
    box-shadow: 0 2px 0 #E67E22;
    text-shadow: none;
}

.hero-content {
    position: relative;
    z-index: 12;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    justify-items: center;
    flex: 1;
    width: 100%;
    text-align: center;
    padding: clamp(56px, 10vh, 108px) 16px 12px;
    gap: clamp(20px, 2.8vh, 36px);
}

.hero-brand,
.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.hero-dock {
    display: grid;
    grid-template-rows: auto minmax(var(--hero-next), 1fr);
    justify-items: center;
    align-self: stretch;
    width: 100%;
    min-height: 0;
}

.hero-cta {
    position: sticky;
    top: calc(100vh - var(--hero-dock));
    top: calc(100svh - var(--hero-dock));
    bottom: var(--hero-next);
    padding-bottom: var(--hero-next);
    z-index: 13;
}

@media (min-height: 720px) {
    .hero-dock {
        grid-template-rows: 1fr;
    }

    .hero-next {
        grid-row: 1;
        align-self: stretch;
    }

    .hero-cta {
        position: absolute;
        inset-inline: 0;
        top: calc(100vh * 2 / 3);
        top: calc(100svh * 2 / 3);
        bottom: auto;
        margin-top: 0;
        padding-bottom: 0;
        transform: translateY(-50%);
    }
}

.hero-next {
    display: grid;
    justify-items: center;
    align-items: end;
    width: 100%;
}

.hero-slogan {
    margin-bottom: 0;
}

.slogan-main {
    display: block;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: 0.08em;
    font-size: 64px;
    font-weight: 700;
    color: #FFFDE7;
    font-family: 'Chiron GoRound TC', 'Noto Sans SC', 'Noto Sans TC', 'Fredoka', sans-serif;
    -webkit-text-stroke: 5px #4A2208;
    paint-order: stroke fill;
    text-shadow:
        0 4px 0 #2C1200,
        0 8px 16px rgba(20, 6, 0, 0.6);
    line-height: 1.25;
}

:lang(en) .slogan-main {
    letter-spacing: 1px;
}

.slogan-date {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #fff8e1;
    letter-spacing: 1px;
    margin-top: clamp(8px, 1.6vh, 18px);
    text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.btn-register {
    --stone-50: #fafaf9;
    --stone-800: #292524;
    --yellow-400: #facc15;
    appearance: none;
    background: transparent;
    border: 0;
    padding: 8px 12px 20px;
    font-family: 'Chiron GoRound TC', 'Noto Sans SC', 'Noto Sans TC', 'Fredoka', sans-serif;
    cursor: var(--cursor-hand);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    line-height: 1;
    font-size: 1.75rem;
    border-radius: 1.25rem;
    color: var(--stone-50);
    letter-spacing: 2px;
    text-transform: uppercase;
    overflow: visible;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.btn-register:focus,
.btn-register:focus-visible {
    outline: none;
}

.btn-register::before {
    content: "";
    position: absolute;
    z-index: 0;
    height: 200%;
    max-height: 100px;
    aspect-ratio: 1;
    margin: auto;
    background: white;
    clip-path: polygon(
        100% 50%,
        91.48% 56.57%,
        97.55% 65.45%,
        87.42% 69.07%,
        90.45% 79.39%,
        79.7% 79.7%,
        79.39% 90.45%,
        69.07% 87.42%,
        65.45% 97.55%,
        56.57% 91.48%,
        50% 100%,
        43.43% 91.48%,
        34.55% 97.55%,
        30.93% 87.42%,
        20.61% 90.45%,
        20.3% 79.7%,
        9.55% 79.39%,
        12.58% 69.07%,
        2.45% 65.45%,
        8.52% 56.57%,
        0% 50%,
        8.52% 43.43%,
        2.45% 34.55%,
        12.58% 30.93%,
        9.55% 20.61%,
        20.3% 20.3%,
        20.61% 9.55%,
        30.93% 12.58%,
        34.55% 2.45%,
        43.43% 8.52%,
        50% 0%,
        56.57% 8.52%,
        65.45% 2.45%,
        69.07% 12.58%,
        79.39% 9.55%,
        79.7% 20.3%,
        90.45% 20.61%,
        87.42% 30.93%,
        97.55% 34.55%,
        91.48% 43.43%
    );
    animation: star-rotate 4s linear infinite;
    opacity: 0.1;
    pointer-events: none;
}

.btn-register:hover::before {
    opacity: 1;
}

.btn-register > div {
    padding: 2px;
    border-radius: 1.25rem;
    background-color: var(--yellow-400);
    transform: translateY(-8px);
    transition: all 150ms ease;
    box-shadow:
        0 0.5px 0 0 var(--yellow-400),
        0 1px 0 0 var(--yellow-400),
        0 1.5px 0 0 var(--yellow-400),
        0 2px 0 0 var(--yellow-400),
        0 2.5px 0 0 var(--yellow-400),
        0 3px 0 0 var(--yellow-400),
        0 3.5px 0 0 var(--yellow-400),
        0 4px 0 0 var(--yellow-400),
        0 4.5px 0 0 var(--yellow-400),
        0 5px 0 0 var(--yellow-400),
        0 5.5px 0 0 var(--yellow-400),
        0 6px 0 0 var(--yellow-400),
        0 0 0 3px var(--stone-800),
        0 0.5px 0 3px var(--stone-800),
        0 1px 0 3px var(--stone-800),
        0 1.5px 0 3px var(--stone-800),
        0 2px 0 3px var(--stone-800),
        0 2.5px 0 3px var(--stone-800),
        0 3px 0 3px var(--stone-800),
        0 3.5px 0 3px var(--stone-800),
        0 4px 0 3px var(--stone-800),
        0 4.5px 0 3px var(--stone-800),
        0 5px 0 3px var(--stone-800),
        0 5.5px 0 3px var(--stone-800),
        0 6px 0 3px var(--stone-800),
        0 6.5px 0 3px var(--stone-800),
        0 7px 0 3px var(--stone-800),
        0 7.5px 0 3px var(--stone-800),
        0 8px 0 3px var(--stone-800),
        0 0 0 6px var(--stone-50),
        0 0.5px 0 6px var(--stone-50),
        0 1px 0 6px var(--stone-50),
        0 1.5px 0 6px var(--stone-50),
        0 2px 0 6px var(--stone-50),
        0 2.5px 0 6px var(--stone-50),
        0 3px 0 6px var(--stone-50),
        0 3.5px 0 6px var(--stone-50),
        0 4px 0 6px var(--stone-50),
        0 4.5px 0 6px var(--stone-50),
        0 5px 0 6px var(--stone-50),
        0 5.5px 0 6px var(--stone-50),
        0 6px 0 6px var(--stone-50),
        0 6.5px 0 6px var(--stone-50),
        0 7px 0 6px var(--stone-50),
        0 7.5px 0 6px var(--stone-50),
        0 8px 0 6px var(--stone-50);
}

.btn-register:hover > div {
    transform: translate(0, 0);
    box-shadow:
        0 0 0 0 var(--yellow-400),
        0 0 0 0 var(--yellow-400),
        0 0 0 0 var(--yellow-400),
        0 0 0 0 var(--yellow-400),
        0 0 0 0 var(--yellow-400),
        0 0 0 0 var(--yellow-400),
        0 0 0 0 var(--yellow-400),
        0 0 0 0 var(--yellow-400),
        0 0 0 0 var(--yellow-400),
        0 0 0 0 var(--yellow-400),
        0 0 0 0 var(--yellow-400),
        0 0 0 0 var(--yellow-400),
        0 0 0 3px var(--stone-800),
        0 0 0 3px var(--stone-800),
        0 0 0 3px var(--stone-800),
        0 0 0 3px var(--stone-800),
        0 0 0 3px var(--stone-800),
        0 0 0 3px var(--stone-800),
        0 0 0 3px var(--stone-800),
        0 0 0 3px var(--stone-800),
        0 0 0 3px var(--stone-800),
        0 0 0 3px var(--stone-800),
        0 0 0 3px var(--stone-800),
        0 0 0 3px var(--stone-800),
        0 0 0 3px var(--stone-800),
        0 0 0 3px var(--stone-800),
        0 0 0 3px var(--stone-800),
        0 0 0 3px var(--stone-800),
        0 0 0 3px var(--stone-800),
        0 0 0 6px var(--stone-50),
        0 0 0 6px var(--stone-50),
        0 0 0 6px var(--stone-50),
        0 0 0 6px var(--stone-50),
        0 0 0 6px var(--stone-50),
        0 0 0 6px var(--stone-50),
        0 0 0 6px var(--stone-50),
        0 0 0 6px var(--stone-50),
        0 0 0 6px var(--stone-50),
        0 0 0 6px var(--stone-50),
        0 0 0 6px var(--stone-50),
        0 0 0 6px var(--stone-50),
        0 0 0 6px var(--stone-50),
        0 0 0 6px var(--stone-50),
        0 0 0 6px var(--stone-50),
        0 0 0 6px var(--stone-50),
        0 0 0 6px var(--stone-50);
}

.btn-register:active > div,
.btn-register.is-pressed > div {
    transform: translate(0, 3px) scale(0.97);
    box-shadow:
        0 0 0 0 var(--yellow-400),
        0 0 0 0 var(--yellow-400),
        0 0 0 0 var(--yellow-400),
        0 0 0 0 var(--yellow-400),
        0 0 0 0 var(--yellow-400),
        0 0 0 0 var(--yellow-400),
        0 0 0 0 var(--yellow-400),
        0 0 0 0 var(--yellow-400),
        0 0 0 0 var(--yellow-400),
        0 0 0 0 var(--yellow-400),
        0 0 0 0 var(--yellow-400),
        0 0 0 0 var(--yellow-400),
        0 0 0 3px var(--stone-800),
        0 0 0 3px var(--stone-800),
        0 0 0 3px var(--stone-800),
        0 0 0 3px var(--stone-800),
        0 0 0 3px var(--stone-800),
        0 0 0 3px var(--stone-800),
        0 0 0 3px var(--stone-800),
        0 0 0 3px var(--stone-800),
        0 0 0 3px var(--stone-800),
        0 0 0 3px var(--stone-800),
        0 0 0 3px var(--stone-800),
        0 0 0 3px var(--stone-800),
        0 0 0 3px var(--stone-800),
        0 0 0 3px var(--stone-800),
        0 0 0 3px var(--stone-800),
        0 0 0 3px var(--stone-800),
        0 0 0 3px var(--stone-800),
        0 0 0 6px var(--stone-50),
        0 0 0 6px var(--stone-50),
        0 0 0 6px var(--stone-50),
        0 0 0 6px var(--stone-50),
        0 0 0 6px var(--stone-50),
        0 0 0 6px var(--stone-50),
        0 0 0 6px var(--stone-50),
        0 0 0 6px var(--stone-50),
        0 0 0 6px var(--stone-50),
        0 0 0 6px var(--stone-50),
        0 0 0 6px var(--stone-50),
        0 0 0 6px var(--stone-50),
        0 0 0 6px var(--stone-50),
        0 0 0 6px var(--stone-50),
        0 0 0 6px var(--stone-50),
        0 0 0 6px var(--stone-50);
}

.btn-register > div > div {
    position: relative;
    pointer-events: none;
    border-radius: calc(1.25rem - 2px);
    background-color: var(--btn-fill);
}

.btn-register > div > div::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 1.25rem;
    opacity: 0.1;
    background-image:
        radial-gradient(rgb(255 255 255 / 80%) 20%, transparent 20%),
        radial-gradient(rgb(255 255 255 / 100%) 20%, transparent 20%);
    background-position: 0 0, 6px 6px;
    background-size: 12px 12px;
    mix-blend-mode: hard-light;
    box-shadow: inset 0 0 0 1px var(--btn-fill);
    animation: dots 0.4s infinite linear;
    transition: opacity 150ms ease;
}

.btn-register > div > div > div {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.25rem;
    gap: 0.25rem;
    -webkit-text-stroke: 4px var(--stone-800);
    paint-order: stroke fill;
    text-shadow: 0 2px 0 var(--stone-800);
}

.btn-register:active > div > div,
.btn-register.is-pressed > div > div {
    background-color: #EA580C;
}

@keyframes star-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes dots {
    0% {
        background-position: 0 0, 6px 6px;
    }
    100% {
        background-position: 12px 0, 18px 6px;
    }
}

@keyframes dots-up {
    0% {
        background-position: 0 0, 6px 6px;
    }
    100% {
        background-position: 0 -12px, 6px -6px;
    }
}

:lang(zh-CN) .btn-register,
:lang(zh-TW) .btn-register {
    font-family: 'Chiron GoRound TC', 'Noto Sans SC', 'Noto Sans TC', sans-serif;
}

:lang(en) .btn-register {
    font-family: 'Chiron GoRound TC', 'Fredoka', sans-serif;
    letter-spacing: 1px;
}

.btn-hint {
    margin-top: 6px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.92);
    text-align: center;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.35);
}

/* 底部装饰：始终贴在首屏最底部，不随视口 sticky */
.hero-bottom-bar {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 60px;
    z-index: 4;
    pointer-events: none;
}

.hero-bottom-left,
.hero-bottom-right {
    position: absolute;
    bottom: 10px;
    font-size: 20px;
    font-weight: 700;
    font-style: italic;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 2px;
    text-transform: uppercase;
    user-select: none;
    pointer-events: none;
    text-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.hero-bottom-left { left: 40px; }
.hero-bottom-right { right: 40px; }

.highlight-text {
    color: #FFF176;
}

.hero-tagline {
    position: absolute;
    top: -56px;
    left: 0;
    width: 100%;
    height: 1.35em;
    font-size: 72px;
    font-weight: 700;
    font-style: italic;
    color: rgba(255, 255, 255, 0.18);
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
    user-select: none;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.hero-tagline-fallback {
    display: block;
    text-align: center;
}

.hero-tagline-mask {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
}

.hero-tagline-mask text {
    text-transform: uppercase;
    letter-spacing: inherit;
    font-family: inherit;
}

@supports ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
    .hero-tagline-fallback {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .hero-tagline {
        color: transparent;
        background: rgba(255, 255, 255, 0.18);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        clip-path: url(#hero-tagline-clip);
    }
}

.hero-arrow-group {
    position: sticky;
    bottom: 8px;
    z-index: 12;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    cursor: var(--cursor-hand);
    transition: transform 0.3s ease;
}

.hero-arrow-group:hover {
    transform: translateY(3px);
}

.hero-arrow-down {
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 15px solid #F0D56A;
}

.hero-arrow-group span {
    font-size: 12px;
    font-weight: 700;
    color: #F0D56A;
    letter-spacing: 1px;
}

/* ===== 预约奖励 ===== */
.rewards {
    padding: 70px 0 80px;
    background-color: #C09F44;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.rewards.is-bg-ready {
    background-image: url('../images/background2.jpg');
}

.rewards::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(255, 226, 110, 0.5), transparent 55%),
        linear-gradient(180deg, rgba(255, 226, 110, 0.5) 0%, rgba(223, 182, 67, 0.14) 48%, rgba(209, 169, 49, 0.32) 100%);
    pointer-events: none;
}

.rewards .container {
    position: relative;
    z-index: 1;
}

.rewards .section-title {
    color: #fffde7;
}

.section-title {
    font-family: 'Chiron GoRound TC', 'Noto Sans SC', 'Noto Sans TC', 'Fredoka', sans-serif;
    font-size: 52px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 22px;
    position: relative;
    display: inline-block;
    width: 100%;
    color: #FFC44D;
    letter-spacing: 0.08em;
    line-height: 1.35;
    -webkit-text-stroke: 5px #6B3A00;
    paint-order: stroke fill;
    text-shadow:
        0 4px 0 #8D3E00,
        0 8px 12px rgba(109, 58, 0, 0.28);
}

.section-title::after {
    content: attr(data-stroke);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    font: inherit;
    letter-spacing: inherit;
    line-height: inherit;
    text-align: center;
    color: transparent;
    -webkit-text-stroke: 0;
    text-shadow: none;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.42) 0%,
        rgba(255, 255, 255, 0.14) 32%,
        rgba(255, 255, 255, 0) 58%
    );
    -webkit-background-clip: text;
    background-clip: text;
    pointer-events: none;
}

:lang(en) .section-title {
    letter-spacing: 0.04em;
}

.section-desc {
    text-align: center;
    font-size: 16px;
    color: #5D4037;
    margin-bottom: 42px;
    line-height: 1.6;
}

.rewards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 28px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.rewards-action {
    text-align: center;
    margin-top: 50px;
}

.rewards-action .btn-hint {
    color: #6D4C41;
    text-shadow: none;
}

.reward-item {
    text-align: center;
    padding: 28px 16px 22px;
    background: linear-gradient(180deg, #fff 0%, #FFF8E1 100%);
    border: 4px solid #FFD54F;
    border-radius: 28px;
    transition: all 0.3s ease;
    position: relative;
    cursor: var(--cursor-hand);
    z-index: 1;
    box-shadow: 0 10px 0 #FFB300, 0 16px 24px rgba(255, 179, 0, 0.25);
    -webkit-tap-highlight-color: transparent;
    outline: none;
    user-select: none;
}

.reward-item:hover {
    z-index: 9999;
    transform: translateY(-8px);
    box-shadow: 0 14px 0 #FF9800, 0 22px 28px rgba(255, 152, 0, 0.3);
}

.reward-tooltip {
    position: fixed;
    display: none;
    width: 300px;
    padding: 0;
    background: #fff;
    border: 3px solid #FFB300;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(80, 40, 0, 0.25);
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

@media (max-width: 768px) {
    .reward-tooltip {
        position: fixed;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 90%;
        max-width: 320px;
    }

    body.tooltip-active::after {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(40, 20, 80, 0.45);
        z-index: 9998;
    }
}

.reward-tooltip-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: linear-gradient(180deg, #FFE566 0%, #FFB300 100%);
    border-bottom: 2px solid rgba(255, 255, 255, 0.4);
}

.reward-tooltip-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    object-fit: contain;
}

.reward-tooltip-name {
    font-family: 'Chiron GoRound TC', 'Noto Sans SC', 'Noto Sans TC', 'Fredoka', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    flex: 1;
    -webkit-text-stroke: 2px #4A2208;
    paint-order: stroke fill;
    text-shadow: 0 2px 0 #2C1200;
}

.reward-tooltip-desc {
    font-size: 13px;
    color: #5D4037;
    line-height: 1.8;
    text-align: left;
    padding: 18px 20px;
}

.reward-icon {
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    display: inline-block;
}

.reward-icon > img {
    width: 92px;
    height: 92px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 6px 8px rgba(0,0,0,0.12));
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    outline: none;
    user-select: none;
}

.reward-icon > img:focus,
.reward-icon > img:focus-visible {
    outline: none;
}

.reward-name {
    font-family: 'Chiron GoRound TC', 'Noto Sans SC', 'Noto Sans TC', 'Fredoka', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #6D4C41;
    line-height: 1.35;
}

/* ===== 分隔元素 ===== */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 10;
    pointer-events: none;
    transform: translateY(-50%);
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(to right, transparent 0%, #FFD54F 20%, #FF8A3D 50%, #FFD54F 80%, transparent 100%);
    transform: translateY(-50%);
    border-radius: 6px;
}

.divider-line {
    display: none;
}

.divider-icon {
    font-size: 28px;
    color: #FFB300;
    position: relative;
    z-index: 1;
    padding: 0 18px;
    background: #fff;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 0 #FFB300;
    text-shadow: 0 2px 0 #F57C00;
}

.divider-light .divider-icon {
    background: #6C4DFF;
    color: #FFF176;
    box-shadow: 0 4px 0 #3D2C8D;
}

/* ===== 游戏特色 ===== */
.features {
    padding: 90px 0 60px;
    background-color: #625BA8;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.features.is-bg-ready {
    background-image: url('../images/background3.jpg');
}

.features::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 0%, rgba(255, 107, 157, 0.28), transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 213, 79, 0.18), transparent 35%),
        linear-gradient(180deg, rgba(91, 75, 204, 0.32) 0%, rgba(61, 44, 141, 0.22) 55%, rgba(46, 26, 107, 0.42) 100%);
    pointer-events: none;
}

.features .container {
    position: relative;
    z-index: 1;
}

.features .section-title {
    color: #FFFDE7;
    -webkit-text-stroke: 5px #4C2BB0;
    text-shadow:
        0 4px 0 #2A1060,
        0 8px 14px rgba(20, 0, 60, 0.4);
}

.features-swiper-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    padding: 16px 0 28px;
}

.featuresSwiper {
    width: min(640px, calc(100% - 140px));
    margin: 0 auto;
    overflow: visible;
    padding-bottom: 56px;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 24px;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    border: 5px solid #fff;
    border-radius: 24px;
    box-shadow: 0 14px 28px rgba(20, 0, 60, 0.35);
}

.swiper-slide img:not([src]) {
    display: none;
}

.swiper-button-prev,
.swiper-button-next {
    --stone-50: #FFFDE7;
    --stone-800: #4C2BB0;
    --yellow-400: #C4B5FD;
    --swiper-navigation-size: 58px;
    width: 58px;
    height: 58px;
    margin-top: 0;
    top: calc((100% - 56px) / 2);
    background: #6C4DFF;
    border: 2px solid var(--yellow-400);
    border-radius: 50%;
    color: var(--stone-50);
    cursor: var(--cursor-hand);
    transform: translateY(calc(-50% - 6px));
    transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
    box-shadow:
        0 3px 0 0 var(--yellow-400),
        0 6px 0 0 var(--yellow-400),
        0 0 0 3px var(--stone-800),
        0 6px 0 3px var(--stone-800);
}

.features-swiper-wrap .swiper-button-prev {
    left: max(8px, calc(50% - min(600px, 50%) + 20px));
}

.features-swiper-wrap .swiper-button-next {
    right: max(8px, calc(50% - min(600px, 50%) + 20px));
    left: auto;
}

.features-swiper-wrap .swiper-button-prev svg,
.features-swiper-wrap .swiper-button-next svg {
    width: 32px;
    height: 32px;
    margin: auto;
    pointer-events: none;
    fill: none;
    stroke: #FFFDE7;
    overflow: visible;
}

.features-swiper-wrap .swiper-navigation-icon {
    display: none;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    color: var(--stone-50);
    transform: translateY(-50%);
    box-shadow:
        0 0 0 0 var(--yellow-400),
        0 0 0 0 var(--yellow-400),
        0 0 0 3px var(--stone-800),
        0 0 0 3px var(--stone-800);
}

.swiper-button-prev:active,
.swiper-button-next:active,
.swiper-button-prev.is-pressed,
.swiper-button-next.is-pressed {
    background: #4A2DB0;
    color: var(--stone-50);
    transform: translateY(calc(-50% + 2px)) scale(0.94);
    box-shadow:
        inset 0 3px 8px rgba(20, 0, 60, 0.4),
        0 0 0 0 var(--yellow-400),
        0 0 0 0 var(--yellow-400),
        0 0 0 3px var(--stone-800),
        0 0 0 3px var(--stone-800);
}

.swiper-pagination-bullet,
.swiper-pagination-clickable .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.45);
    opacity: 1;
    cursor: var(--cursor-hand);
}

.swiper-pagination-bullet-active {
    background: #FFD54F;
    transform: scale(1.2);
}

/* ===== 注意事项 ===== */
.notice {
    padding: 90px 0 80px;
    background-color: #7D8D99;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.notice.is-bg-ready {
    background-image: url('../images/background4.jpg');
}

.notice::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.2), transparent 28%),
        linear-gradient(180deg, rgba(225, 245, 254, 0.36) 0%, rgba(255, 248, 231, 0.28) 100%);
    pointer-events: none;
}

.notice .container {
    position: relative;
    z-index: 1;
}

.notice .section-title {
    color: #E8EEF4;
    -webkit-text-stroke: 5px #2C3E50;
    text-shadow:
        0 4px 0 #1A2834,
        0 8px 12px rgba(26, 40, 52, 0.28);
}

.notice-content {
    max-width: 800px;
    margin: 0 auto;
}

.notice-item {
    display: flex;
    gap: 18px;
    margin-bottom: 18px;
    padding: 22px 24px;
    background: linear-gradient(180deg, #F7F9FC 0%, #E8EEF4 100%);
    border: 3px solid #C5D0DB;
    border-radius: 22px;
    box-shadow: 0 6px 0 #8A9AA8;
    transition: all 0.25s ease;
}

.notice-item:hover {
    transform: translateY(-3px);
    border-color: #A8B8C6;
    box-shadow: 0 9px 0 #6E7F8E;
}

.notice-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #F7F9FC;
    background: linear-gradient(180deg, #6B7F90, #3D5163);
    border-radius: 50%;
    box-shadow: 0 3px 0 #2C3E50;
    text-shadow: 0 1px 0 #1A2834;
}

.notice-text h3 {
    font-size: 18px;
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 8px;
}

.notice-text p {
    font-size: 14px;
    color: #4A5C6A;
    line-height: 1.6;
}

/* ===== 底部 ===== */
.footer {
    padding: 36px 0 42px;
    background: #3A444C;
    text-align: center;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}

.footer-logo {
    height: 56px;
    width: auto;
    margin-bottom: 14px;
}

.back-to-top {
    --stone-50: #fafaf9;
    --stone-800: #292524;
    --yellow-400: #facc15;
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 200;
    width: 44px;
    height: 44px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--yellow-400);
    border-radius: 50%;
    background: var(--btn-fill);
    color: var(--stone-50);
    box-shadow:
        0 4px 0 0 var(--yellow-400),
        0 8px 0 0 var(--yellow-400),
        0 0 0 3px var(--stone-800),
        0 8px 0 3px var(--stone-800),
        0 0 0 4px var(--stone-50),
        0 8px 0 4px var(--stone-50);
    cursor: var(--cursor-hand);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    outline: none;
    -webkit-tap-highlight-color: transparent;
    overflow: visible;
    transition: opacity 0.25s ease, transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-8px);
}

.back-to-top::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    opacity: 0.1;
    background-image:
        radial-gradient(rgb(255 255 255 / 80%) 20%, transparent 20%),
        radial-gradient(rgb(255 255 255 / 100%) 20%, transparent 20%);
    background-position: 0 0, 6px 6px;
    background-size: 12px 12px;
    mix-blend-mode: hard-light;
    box-shadow: inset 0 0 0 1px var(--btn-fill);
    animation: dots-up 0.4s infinite linear;
    pointer-events: none;
}

.back-to-top svg {
    position: relative;
    z-index: 1;
    width: 20px;
    height: 20px;
    margin: auto;
    pointer-events: none;
    fill: none;
    stroke: #000000;
    overflow: visible;
}

.back-to-top.is-visible:hover {
    transform: translateY(0);
    box-shadow:
        0 0 0 0 var(--yellow-400),
        0 0 0 0 var(--yellow-400),
        0 0 0 3px var(--stone-800),
        0 0 0 3px var(--stone-800),
        0 0 0 4px var(--stone-50),
        0 0 0 4px var(--stone-50);
}

.back-to-top.is-visible:active,
.back-to-top.is-visible.is-pressed {
    background: #EA580C;
    transform: translateY(3px) scale(0.97);
    box-shadow:
        0 0 0 0 var(--yellow-400),
        0 0 0 0 var(--yellow-400),
        0 0 0 3px var(--stone-800),
        0 0 0 3px var(--stone-800),
        0 0 0 4px var(--stone-50),
        0 0 0 4px var(--stone-50);
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .rewards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 0 15px;
    }

    .reward-item {
        padding: 20px 10px 16px;
        border-radius: 22px;
        box-shadow: 0 7px 0 #FFB300;
    }

    .hero-bottom-left {
        bottom: 30px;
        left: 10px;
        font-size: 11px;
        max-width: 35%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .hero-bottom-right {
        bottom: 30px;
        right: 10px;
        font-size: 11px;
        max-width: 35%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .hero-tagline {
        font-size: 28px;
        top: -24px;
    }

    .lang-switch {
        top: 12px;
        right: 12px;
        padding: 3px;
    }

    .lang-switch button {
        font-size: 12px;
        padding: 5px 9px;
    }

    .hero {
        --hero-next: 3.1rem;
        --hero-cta: 7.4rem;
        min-height: max(640px, 100dvh);
    }

    @media (min-height: 640px) {
        .hero-dock {
            grid-template-rows: 1fr;
        }

        .hero-next {
            grid-row: 1;
            align-self: stretch;
        }

        .hero-cta {
            position: absolute;
            inset-inline: 0;
            top: calc(100vh * 2 / 3);
            top: calc(100svh * 2 / 3);
            bottom: auto;
            margin-top: 0;
            padding-bottom: 0;
            transform: translateY(-50%);
        }
    }

    .hero-content {
        padding: clamp(48px, 8vh, 80px) 16px 12px;
        gap: clamp(16px, 2.4vh, 28px);
    }

    .back-to-top {
        right: 14px;
        bottom: 16px;
        width: 40px;
        height: 40px;
    }

    .back-to-top svg {
        width: 18px;
        height: 18px;
    }

    .slogan-main {
        font-size: 34px;
        letter-spacing: 0.06em;
        -webkit-text-stroke-width: 4px;
        text-shadow: 0 3px 0 #2C1200, 0 5px 6px rgba(20, 6, 0, 0.35);
    }

    .btn-register {
        font-size: 1.4rem;
        letter-spacing: 2px;
    }

    .btn-register > div > div > div {
        padding: 0.85rem 1.6rem;
    }

    .section-title {
        font-size: 36px;
        letter-spacing: 0.06em;
        -webkit-text-stroke-width: 4px;
    }

    .features-swiper-wrap .swiper-button-prev,
    .features-swiper-wrap .swiper-button-next,
    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }

    .featuresSwiper {
        width: min(640px, 92%);
    }

    .features-swiper-wrap {
        padding: 12px 0 20px;
    }

    .swiper-slide img {
        border-width: 4px;
    }
}

@media (max-width: 480px) {
    .rewards-grid {
        gap: 12px;
        padding: 0 10px;
        max-width: 360px;
    }

    .reward-item {
        padding: 16px 8px 14px;
    }

    .reward-icon > img {
        width: 72px;
        height: 72px;
    }

    .slogan-main {
        font-size: 28px;
    }
}
