:root {
    --ink: #130e11;
    --panel: #21171b;
    --gold: #f1cd82;
    --light: #fff1d9;
    --muted: #c9b8a4;
    --line: #745234;
}
html body {
    color: var(--light);
    background: radial-gradient(ellipse at 50% 0, #40121c, var(--ink) 620px);
    font-family: system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
}
body > .container { width: min(100%, 960px); padding: 0 16px 44px; }
.site-bar, .promo-banner, .download-panel, .promo-details, .tutorial-container {
    width: 100%;
    margin-inline: auto;
}
.site-bar {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.site-bar a { color: var(--light); text-decoration: none; }
.site-brand { font-size: 17px; font-weight: 800; white-space: nowrap; }
.site-brand span { color: var(--gold); }
.site-bar nav { display: flex; gap: clamp(10px, 3vw, 24px); font-size: 13px; }
.site-bar nav a { color: var(--muted); }
.site-bar a:hover, .site-bar a:focus-visible { color: var(--gold); }
.promo-banner {
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    min-height: clamp(240px, 40vw, 400px);
    padding: 42px 12px;
    overflow: hidden;
    text-align: center;
    border: 1px solid #c59852;
    border-radius: 21px;
    background:
        radial-gradient(ellipse at 52% -15%, #f6b46788, transparent 58%),
        repeating-linear-gradient(125deg, #ffffff06 0 1px, transparent 1px 16px),
        linear-gradient(140deg, #3d0719, #861b28 50%, #310916);
    box-shadow: 0 14px 42px #08060980, inset 0 0 70px #2d020a99;
}
.promo-banner::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 8px;
    border: 1px solid #e2b36565;
    border-radius: 14px;
    pointer-events: none;
}
.promo-content { position: relative; }
.promo-kicker { margin: 0 0 12px; color: #ffe8ba; font-size: clamp(11px, 2.7vw, 15px); font-weight: 700; }
.promo-banner h1 {
    margin: 0;
    color: #ffe4ab;
    font-family: Georgia, "Songti SC", SimSun, serif;
    font-size: clamp(47px, 11.5vw, 128px);
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    text-shadow: 0 4px 0 #66330e, 0 10px 26px #24030c;
}
.promo-banner h1 span { font-size: .66em; margin-inline: .08em; }
.promo-banner a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 25px;
    padding: 9px 17px;
    color: #fff1cf;
    background: #330e1a;
    border: 1px solid #d4a256;
    border-radius: 999px;
    text-decoration: none;
    font-size: 13px;
}
.playing-cards { position: absolute; z-index: -1; display: flex; opacity: .68; bottom: 13%; }
.playing-cards-left { left: 3%; transform: rotate(-18deg); }
.playing-cards-right { right: 3%; transform: rotate(18deg); }
.playing-cards span {
    display: grid;
    place-items: center;
    width: clamp(32px, 9vw, 83px);
    aspect-ratio: 2 / 3;
    border: 2px solid #dba564;
    border-radius: 9px;
    color: #461423;
    background: #fce5b5;
    font: 700 clamp(19px, 5vw, 43px) Georgia, serif;
    box-shadow: 0 4px 12px #20050e;
}
.playing-cards span + span { margin-left: -22%; transform: translateY(15%) rotate(21deg); color: #a3142e; }
.download-panel, .promo-details {
    margin-top: 18px;
    padding: clamp(16px, 4vw, 32px);
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(155deg, #2c1c22, var(--panel));
}
.download-panel .logo-container { margin: 0; padding: 0; }
.download-panel .app-logo { width: 60px; height: 60px; margin-bottom: 8px; border-radius: 16px; }
.download-panel h2, .promo-details h2 { color: var(--light); font-size: clamp(21px, 4.5vw, 29px); margin: 0 0 14px; }
.download-panel .server-info p { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 6px 0; }
.download-panel .server-info .copy-btn { color: var(--gold); }
.download-panel .server-copy small { color: var(--muted); }
.download-panel .smart-download-area { margin: 16px 0 0; }
.download-panel .smart-download-area .download-btn.smart-download {
    max-width: 100%;
    color: #2a160d;
    background: linear-gradient(105deg, #c18c44, #ffe5a2 50%, #d09b50);
    border-color: #e6c28a;
    box-shadow: 0 8px 20px #0e070969;
}
.download-panel .smart-download-area .smart-download-hint { color: var(--muted); }
.promo-details { scroll-margin-top: 12px; }
.promo-details details + details { margin-top: 9px; }
.promo-details summary {
    padding: 12px 14px;
    color: var(--light);
    background: #491827;
    border: 1px solid #815144;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
}
.promo-details table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 14px; }
.promo-details th, .promo-details td { padding: 8px 4px; text-align: center; border-bottom: 1px solid #66463a; }
.promo-details th, .promo-details td:nth-child(2) { color: var(--gold); }
.promo-details p { color: var(--muted); margin: 12px 0 0; font-size: 13px; line-height: 1.6; }
body .tutorial-container { margin-top: 18px; }
body .tutorial-title { color: #2a160d; background: var(--gold); }
body .step-header { background: #481828; }
body .step-number { background: var(--gold); color: #2a160d; }
body .step-content { background: #fff8eb; color: #39202a; }
body .tutorial-container .step-text { color: #39202a; }
body .tutorial-container .highlight { color: #80233a; }
@media (max-width: 520px) {
    .playing-cards { bottom: 9%; opacity: .47; }
    .playing-cards-left { left: 2%; }
    .playing-cards-right { right: 2%; }
}
.download-panel .smart-download-area .download-btn.smart-download { margin-inline: auto; }
@media (max-width: 350px) {
    body > .container { padding-inline: 12px; }
    body .tutorial-container .phone-frame { max-width: 100%; }
}

/* Campaign artwork and lighting */
body { background: radial-gradient(ellipse at 50% 0%, #571624, #170c12 720px); }
.site-bar { min-height: 58px; }
.site-brand { letter-spacing: .09em; }
.promo-banner {
    min-height: clamp(300px, 53vw, 490px);
    border-color: #efbd6e;
    border-radius: 20px;
    background-color: #47111e;
    background-image: radial-gradient(ellipse at 50% 50%, #32101915, #26061020 70%, #13070c88), url("../imgs/gala-hero.webp");
    background-size: cover;
    background-position: center;
    box-shadow: 0 0 0 2px #a7622533, 0 0 30px #ea71113b, 0 18px 46px #080407bf;
}
.promo-banner::before { z-index: 0; inset: 9px; border: 1px solid #e9c68966; }
.promo-banner::after {
    content: "";
    position: absolute;
    pointer-events: none;
    inset: 0;
    background: linear-gradient(105deg, transparent 43%, #ffe2a92e 49%, #fff3d066 50%, transparent 56%);
    transform: translateX(-130%);
    animation: banner-glint 7s ease-in-out infinite;
    mix-blend-mode: screen;
}
@keyframes banner-glint {
    0%, 58% { transform: translateX(-130%); }
    79%, 100% { transform: translateX(130%); }
}
.promo-content { z-index: 1; width: 100%; }
.promo-kicker { text-shadow: 0 2px 12px #0e0308, 0 0 16px #0e0308; }
.promo-banner h1 {
    position: relative;
    isolation: isolate;
    font-size: clamp(53px, 13.3vw, 144px);
    letter-spacing: -.055em;
    color: #ffdf95;
    background: linear-gradient(180deg, #ffedbc 12%, #fff4d2 30%, #edb558 52%, #a45b22 54%, #ffe8a5 72%, #e4a148 91%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: .45px #fff1b6;
    filter: drop-shadow(0 3px 0 #5c260d) drop-shadow(0 8px 14px #080104) drop-shadow(0 0 11px #f5a33a60);
    text-shadow: none;
}
.promo-banner a {
    margin-top: 22px;
    padding: 10px 20px;
    color: #301509;
    font-weight: 800;
    background: linear-gradient(115deg, #d8913e, #fff0bc 52%, #e2a34b);
    box-shadow: 0 0 20px #ffa73c5c, inset 0 1px #fff6c9;
}
.promo-details { background: linear-gradient(145deg, #371822, #1c1117); }
.promo-details h2 { color: #ffe0a0; margin-bottom: 14px; font-weight: 800; }
.promo-details details + details { margin-top: 12px; }
.promo-details summary {
    min-height: clamp(102px, 18vw, 145px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    list-style: none;
    padding: 15px clamp(14px, 4vw, 30px);
    border-color: #b07d49;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    box-shadow: inset 0 0 18px #18080c80, 0 3px 12px #0b060a60;
}
.promo-details summary::-webkit-details-marker { display: none; }
.promo-details summary::after { content: "+"; font-size: 25px; color: #ffe4a5; text-shadow: 0 2px 5px black; }
.promo-details details[open] summary::after { content: "−"; }
.promo-details summary strong, .promo-details summary small { display: block; text-shadow: 0 2px 6px #19050b; }
.promo-details summary strong { font-size: clamp(18px, 4vw, 26px); color: #ffe6aa; }
.promo-details summary small { margin-top: 5px; font-size: 12px; color: #fff1d9; }
.promo-details .event-dragon { background-image: linear-gradient(90deg, #190a10ee 5%, #230a13a0 50%, #230a1320 100%), url("../imgs/gala-dragon.webp"); }
.promo-details .event-cards { background-image: linear-gradient(90deg, #190a10ee 5%, #230a13a0 50%, #230a1320 100%), url("../imgs/gala-cards.webp"); }
.promo-details summary:focus-visible, .promo-banner a:focus-visible { outline: 2px solid #ffda8b; outline-offset: 4px; }
@media (max-width: 520px) {
    .promo-banner { background-size: auto 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .promo-banner::after { animation: none; opacity: 0; }
}

.promo-details .promo-note { margin: 0 0 18px; }
.event { overflow: hidden; border: 1px solid #8a613d; border-radius: 14px; background: #25151d; }
.event + .event { margin-top: 20px; }
.event-hero { padding: 25px clamp(14px, 5vw, 36px); background-size: cover; background-position: center; }
.event-hero h3 { margin: 4px 0; color: #ffe4a5; font-size: clamp(22px, 5vw, 36px); font-weight: 800; }
.event-hero p { color: #fff0cc; margin: 0; }
.event-tiers {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 14px;
}
.event-tiers li {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 6px;
    align-items: center;
    text-align: center;
    padding: 8px 4px;
    border: 1px solid #704b37;
    border-radius: 8px;
    background: #321b24;
    color: #f1cd82;
}
.event-tiers small, .event-tiers strong { display: block; white-space: nowrap; }
.event-tiers small { color: #f0d7bb; font-size: 11px; margin-bottom: 3px; }
.event-tiers strong { color: #ffe6ad; font-size: clamp(12px, 3.2vw, 21px); font-variant-numeric: tabular-nums; }
.event-copy { padding: 0 16px 16px; color: #f8e8d3; font-size: 14px; line-height: 1.65; }
.event-copy h4 { color: #ffe0a0; margin: 0 0 6px; font-weight: 700; }
.event-copy ul, .event-copy ol { margin: 0; padding-left: 1.35em; }
.event-copy li + li { margin-top: 5px; }
@media (max-width: 390px) { .event-tiers { grid-template-columns: 1fr; } }

.promo-banner { min-height: clamp(278px, 48vw, 455px); }
.promo-banner::after { animation-duration: 5.6s; }
.promo-banner h1 {
    background-image: linear-gradient(125deg, transparent 30%, #fff8d8 46%, transparent 59%), linear-gradient(180deg, #ffedbc 12%, #fff4d2 30%, #edb558 52%, #a45b22 54%, #ffe8a5 72%, #e4a148 91%);
    background-size: 250% 100%, 100% 100%;
    animation: title-sheen 5.2s ease-in-out infinite;
}
@keyframes title-sheen {
    0%, 38% { background-position: 100% 0, 0 0; }
    72%, 100% { background-position: 0 0, 0 0; }
}
.promo-sparks { position: absolute; inset: 0; pointer-events: none; }
.promo-sparks i {
    position: absolute;
    width: 18px;
    height: 18px;
    background: #fff3c6;
    clip-path: polygon(50% 0, 60% 39%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 39%);
    opacity: .7;
    animation: gold-twinkle 3.2s ease-in-out infinite alternate;
}
.promo-sparks i:nth-child(1) { top: 20%; left: 15%; }
.promo-sparks i:nth-child(2) { top: 16%; right: 21%; animation-delay: -.5s; }
.promo-sparks i:nth-child(3) { top: 42%; right: 11%; animation-delay: -1.1s; }
.promo-sparks i:nth-child(4) { bottom: 18%; left: 22%; animation-delay: -1.6s; }
.promo-sparks i:nth-child(5) { bottom: 14%; right: 18%; animation-delay: -2.2s; }
.promo-sparks i:nth-child(6) { top: 33%; left: 8%; animation-delay: -2.7s; }
@keyframes gold-twinkle {
    0%, 15% { opacity: .22; transform: scale(.5); }
    70%, 100% { opacity: 1; transform: scale(1.35); }
}
.event-shortcuts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin-top: 12px; }
.event-shortcuts a {
    display: flex;
    min-height: 78px;
    flex-direction: column;
    justify-content: center;
    padding: 9px 12px;
    background-size: cover;
    background-position: center;
    border: 1px solid #c38b52;
    border-radius: 12px;
    color: #ffe6ad;
    text-decoration: none;
    text-shadow: 0 1px 5px #140609;
}
.event-shortcuts .event-dragon { background-image: linear-gradient(90deg,#190a10eb,#190a1060),url("../imgs/gala-dragon.webp"); }
.event-shortcuts .event-cards { background-image: linear-gradient(90deg,#190a10eb,#190a1060),url("../imgs/gala-cards.webp"); }
.event-shortcuts strong { font-size: clamp(16px,4vw,22px); }
.event-shortcuts small { color: #fff2d9; margin-top: 3px; font-size: 11px; }
.event-shortcuts a:focus-visible { outline: 2px solid #ffda8b; outline-offset: 3px; }
.event-hero h3 { scroll-margin-top: 18px; }
.event-hero { position: relative; box-shadow: inset 0 -1px #e5ac5e80; }
.event-hero::after { content: "✦"; position: absolute; top: 14px; right: 14px; color: #fff0bd; text-shadow: 0 0 12px #ffb646; animation: gold-twinkle 3.8s ease-in-out infinite alternate; }
@media (max-width: 520px) {
    .event-tiers { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; padding: 9px; }
    .event-tiers li { grid-template-columns: minmax(0,1fr) auto minmax(0,1.35fr); padding: 7px 3px; gap: 3px; }
    .event-tiers small { font-size: 9px; }
    .event-tiers strong { font-size: clamp(10px, 2.9vw, 14px); }
    .event-copy { padding-inline: 12px; }
    .promo-details { padding: 12px; }
}
@media (max-width: 355px) {
    .event-tiers { grid-template-columns: 1fr; }
    .event-tiers strong { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .promo-banner h1, .promo-sparks i, .event-hero::after { animation: none; }
}

.promo-details { padding: 0; border: 0; background: none; }
.promo-details > h2 { margin: 19px 3px 12px; }
.promo-details .promo-note { margin: 12px 3px 0; font-size: 12px; }
.event-hero { min-height: 190px; padding: 18px 16px; }
.event-feature { margin-top: 13px; color: #fff0d0; }
.event-feature small, .event-feature strong { display: block; }
.event-feature small { font-size: 12px; color: #ffe5b6; }
.event-feature strong {
    margin: 2px 0;
    color: #fff1b5;
    font-size: clamp(24px, 6.4vw, 44px);
    line-height: 1.18;
    text-shadow: 0 0 16px #e99d4aa0, 0 2px #5c260d;
}
.event-feature strong span { color: #ffcc6d; }
.promo-details .event-pairs { width: calc(100% - 24px); margin: 12px auto 16px; font-size: 15px; }
.promo-details .event-pairs th { font-size: 13px; color: #f6d193; background: #472534; }
.promo-details .event-pairs td { font-variant-numeric: tabular-nums; }
.promo-details .event-pairs tr:nth-child(even) td { background: #301c27; }
.promo-details .event-pairs td:nth-child(2) { color: #ffdd96; font-weight: 800; }
.event-copy { margin: 0 12px 12px; padding: 12px; border: 1px solid #72503b; background: #1e141c; border-radius: 9px; }
.event-copy p { color: #e8d8ca; }
@media (max-width: 520px) {
    .promo-banner { min-height: 255px; }
    .event-hero { background-position: 55% center; }
}

.event-copy { text-align: left; }

body > .container { padding-top: 10px; }
.promo-banner { min-height: clamp(255px, 43vw, 438px); background-image: radial-gradient(ellipse at center,#150305a8,transparent 68%),url("../imgs/gala-hero.webp"); }
.promo-banner h1 { font-size: clamp(57px, 17vw, 155px); letter-spacing: -.055em; }
.promo-banner h1 span { font-size: .65em; margin-inline: .04em; }
.promo-banner a { margin-top: 17px; }
.campaign-download {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    margin-top: 11px;
    border-radius: 10px;
    background: linear-gradient(100deg,#d49846,#ffe9ae 55%,#d89b46);
    color: #32170d;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
}
.campaign-download:hover, .campaign-download:focus { color: #32170d; }
.promo-details { margin-top: 13px; }
.event-hero { display: grid; align-content: center; min-height: 135px; }
.event-feature { margin-top: 7px; }
.promo-details .event-pairs { margin-bottom: 12px; }
@media (max-width: 359px) { .promo-banner h1 { font-size: 54px; } }

.campaign-ticker { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 4px; }
.campaign-ticker li {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1px 8px;
    min-height: 30px;
    padding: 5px 9px;
    color: #ffedcf;
    background: linear-gradient(90deg, #4e1522, #261018);
    border: 1px solid #9e6543;
    border-radius: 7px;
    font-size: clamp(11px, 3.25vw, 15px);
    line-height: 1.4;
}
.campaign-ticker strong { color: #ffd180; }
.campaign-ticker li::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(108deg, transparent 40%, #fbd38442 50%, transparent 60%);
    transform: translateX(-110%);
    animation: banner-glint 4.8s linear infinite;
}
.campaign-ticker li:nth-child(2)::after { animation-delay: .45s; }
.campaign-ticker li:nth-child(3)::after { animation-delay: .9s; }
@media (prefers-reduced-motion: reduce) { .campaign-ticker li::after { animation: none; } }
@media (prefers-reduced-motion: no-preference) {
    .campaign-ticker li span { animation: ticker-reveal 6s steps(18, end) infinite; }
    .campaign-ticker li:nth-child(2) span { animation-delay: .35s; }
    .campaign-ticker li:nth-child(3) span { animation-delay: .7s; }
}
@keyframes ticker-reveal {
    0% { clip-path: inset(0 100% 0 0); }
    25%, 100% { clip-path: inset(0); }
}
.promo-banner .promo-kicker { margin: 0 0 8px; color: #ffe2a2; font-size: clamp(17px, 4.8vw, 30px); letter-spacing: .08em; }

.campaign-ticker { gap: 6px; margin-bottom: 12px; }
.campaign-ticker li {
    display: grid;
    grid-template-columns: 12px minmax(0, 1fr);
    gap: 2px 9px;
    padding: 8px 11px;
    background: radial-gradient(ellipse at 12% 0, #682637, transparent 76%), linear-gradient(95deg, #431322, #231016);
    border-color: #a7784c;
    border-radius: 10px;
    box-shadow: inset 0 1px #ffd19c20;
}
.campaign-ticker li::before {
    content: "◆";
    grid-row: span 2;
    place-self: center;
    color: #f4c474;
    font-size: 10px;
    text-shadow: 0 0 8px #ffc66eb0;
}
.campaign-ticker strong { font-size: clamp(16px, 4.7vw, 22px); line-height: 1.24; }
.campaign-ticker li span { font-size: clamp(14px, 4vw, 19px); line-height: 1.3; animation: none; }
@media (min-width: 600px) {
    .campaign-ticker li { grid-template-columns: 12px max-content minmax(0, 1fr); align-items: center; gap: 12px; }
    .campaign-ticker li::before { grid-row: auto; }
}

/* Keep campaign lettering distinct from the artwork on narrow screens. */
.event-hero {
    min-height: clamp(151px, 33vw, 230px);
    padding: 16px 9px;
    text-align: center;
}
.promo-details .event-hero.event-dragon {
    background-image: radial-gradient(ellipse at center, #180709f5 6%, #240810ad 56%, #25091326 92%), url("../imgs/gala-dragon.webp");
}
.promo-details .event-hero.event-cards {
    background-image: radial-gradient(ellipse at center, #180709f5 6%, #240810ad 56%, #25091326 92%), url("../imgs/gala-cards.webp");
}
.event-hero h3 {
    margin: 5px 0;
    color: #ffe9a9;
    font-size: clamp(27px, 7.75vw, 52px);
    font-weight: 900;
    line-height: 1.16;
    letter-spacing: -.045em;
    text-shadow: 0 2px 0 #783a17, 0 0 18px #0a0204, 0 0 12px #e395335b;
}
.promo-details .event-hero p {
    margin: 3px 0;
    color: #fff0c3;
    font-size: clamp(15px, 4.6vw, 23px);
    font-weight: 700;
    text-shadow: 0 2px 5px #17050b;
}
.event-hero .event-feature strong { font-size: clamp(29px, 8vw, 48px); }
.event-hero .event-feature small { font-size: clamp(14px, 3.8vw, 19px); }

.event-hero.event-cards .event-feature strong span {
    display: inline-block;
    color: #ffe9a9;
    text-shadow: 0 2px #683617, 0 0 18px #f5ac53b0;
}
.event-hero.event-cards .event-feature small {
    color: #fff0ca;
    font-weight: 700;
}
.promo-details .event-pairs {
    width: calc(100% - 20px);
    border-collapse: separate;
    border-spacing: 0 4px;
    table-layout: fixed;
}
.promo-details .event-pairs th {
    font-size: clamp(14px, 4.1vw, 19px);
    color: #ffebbb;
    background: #582939;
    border-bottom: 1px solid #ab7647;
}
.promo-details .event-pairs td {
    padding: 8px 2px;
    font-size: clamp(14px, 4.4vw, 21px);
    white-space: nowrap;
    border-bottom: 1px solid #754731;
    background: #2a171e;
}
.promo-details .event-pairs tr:nth-child(even) td { background: #35212a; }
.promo-details .event-pairs td:first-child, .promo-details .event-pairs th:first-child { border-radius: 7px 0 0 7px; }
.promo-details .event-pairs td:last-child, .promo-details .event-pairs th:last-child { border-radius: 0 7px 7px 0; }
.promo-details .event-pairs td:last-child { background: linear-gradient(100deg, #3c2326, #513320); color: #ffe6a1; }
.money-coin {
    display: inline-grid;
    place-items: center;
    vertical-align: .1em;
    width: 1.28em;
    height: 1.28em;
    margin-right: .33em;
    border: 1px solid #fff0b2;
    border-radius: 50%;
    color: #552a14;
    background: linear-gradient(145deg, #fff0ac, #d68d33 77%);
    box-shadow: 0 1px 3px #0d0507, inset 0 0 0 1px #a5672d88;
    font-size: .74em;
    line-height: 1;
}
.event-feature .money-coin { margin-right: .38em; }

.download-panel {
    text-align: center;
    background: radial-gradient(ellipse at 50% 0, #5c2635, transparent 58%), #25171f;
    border-color: #9c6844;
}
.download-panel .app-logo { box-shadow: 0 0 0 1px #ffd08285, 0 5px 20px #0d050a99; }
.download-panel h2 { font-weight: 850; }
.download-panel .server-info { display: grid; gap: 7px; max-width: 420px; margin: 0 auto; }
.download-panel .server-info .copy-btn {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 8px;
    align-items: center;
    width: 100%;
    min-height: 44px;
    padding: 6px 10px;
    text-align: left;
    border: 1px solid #805643;
    border-radius: 9px;
    background: #27171f;
}
.download-panel .server-info .copy-btn span { color: #fff0db; font-size: 13px; }
.download-panel .server-info .copy-btn strong { font-size: 16px; }
.download-panel .server-copy small { padding: 3px 6px; color: #fff0c1; background: #633941; border-radius: 5px; }
.download-panel .smart-download-area { align-items: center; }
body #tutorial .tutorial-title {
    margin: 0 0 10px;
    padding: 13px;
    color: #ffe5a3;
    background: linear-gradient(90deg,#3c1725,#623043,#3c1725);
    font-size: clamp(20px, 5.3vw, 28px);
    border: 1px solid #a37348;
    border-radius: 12px;
}
body #tutorial .tutorial-title::before, body #tutorial .tutorial-title::after { content: none; }
#tutorial .tutorial-steps { padding: 0; background: none; }
#tutorial .step {
    margin: 0 0 12px;
    padding: 0;
    border: 1px solid #936745;
    border-radius: 14px;
    background: #25171f;
}
#tutorial .step-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 10px 12px;
    text-align: left;
    background: linear-gradient(100deg,#542536,#361c28);
    border-radius: 13px 13px 0 0;
}
#tutorial .step-number {
    position: static;
    transform: none;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    background: linear-gradient(140deg,#fff1b5,#d69b48);
}
#tutorial .step-header h3 { padding: 0; margin: 0; font-size: clamp(16px,4.8vw,23px); color: #fff1cf; line-height: 1.32; }
#tutorial .step-content { padding: 10px 9px 14px; background: none; }
#tutorial .step-text {
    max-width: none;
    margin: 0;
    padding: 9px 11px;
    color: #fff1df;
    background: #362530;
    border-radius: 8px;
    text-align: left;
    font-size: 14px;
}
#tutorial .step-text p:last-child { margin-bottom: 0; }
#tutorial .step-text .highlight { color: #ffe0a3; }
#tutorial .step-images { gap: 12px; margin: 12px 0 0; padding: 0; }
#tutorial .phone-frame { width: min(270px, 100%) !important; margin: 0; }
.download-panel .smart-download-area .download-btn.smart-download { width: 100%; max-width: 420px; align-self: center; }

/* One centered track for the button and device hint. */
.download-panel .download-buttons.smart-download-area {
    display: grid;
    justify-items: center;
    width: 100%;
    padding: 0;
    margin: 17px auto 0;
    text-align: center;
}
.download-panel .smart-download-area #smart-download {
    position: relative;
    overflow: hidden;
    width: min(100%, 420px);
    max-width: 100%;
    margin: 0 auto;
    justify-self: center;
}
.download-panel .smart-download-area .smart-download-hint { width: 100%; padding: 0; }

.promo-details .event-pairs { border-spacing: 0 6px; }
.promo-details .event-pairs th { color: #fff0c6; background: linear-gradient(180deg,#623447,#472432); }
.promo-details .event-pairs td {
    padding: 10px 4px;
    font-family: system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: clamp(15px, 4.5vw, 23px);
    font-variant-numeric: lining-nums tabular-nums;
    letter-spacing: -.035em;
}
.promo-details .event-pairs td:first-child { font-weight: 650; color: #fff4e4; }
.promo-details .event-pairs tbody td:last-child {
    color: #ffdf91;
    font-size: clamp(17px, 5.25vw, 28px);
    font-weight: 850;
    text-shadow: 0 1px #673611, 0 0 11px #dd953647;
    background: linear-gradient(110deg,#432626,#563720 55%,#3c2325);
    border-bottom-color: #a57141;
}
.promo-details .event-pairs tbody tr:nth-child(even) td:last-child {
    background: linear-gradient(110deg,#4b2b29,#624025 55%,#46272b);
}
.promo-banner { animation: frame-halo 5.4s ease-in-out infinite alternate; }
@keyframes frame-halo {
    from { box-shadow: 0 0 18px #e780263a, 0 12px 35px #0c0509; }
    to { box-shadow: 0 0 31px #f6a54c72, 0 12px 42px #130508; }
}
.event-hero { overflow: hidden; }
.event-hero::before, .download-panel #smart-download::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(109deg, transparent 43%, #fff0c335 50%, transparent 57%);
    transform: translateX(-130%);
    animation: banner-glint 7s ease-in-out infinite;
}
.event-hero.event-cards::before { animation-delay: 1s; }
.download-panel #smart-download::after { animation-delay: 1.7s; }
.money-coin { animation: coin-lustre 3.7s ease-in-out infinite alternate; }
@keyframes coin-lustre {
    to { box-shadow: 0 0 8px #ffcf63a0, inset 0 0 0 1px #a5672d88; }
}
@media (prefers-reduced-motion: reduce) {
    .promo-banner, .event-hero::before, .download-panel #smart-download::after, .money-coin { animation: none; }
}

.promo-details .event-pairs th:last-child {
    color: #ffb1a6;
    background: linear-gradient(180deg, #531625, #360f1c);
}
.promo-details .event-pairs tbody td:last-child {
    color: #ff8275;
    text-shadow: 0 1px #5c0c1d, 0 0 13px #f4413f58;
    background: linear-gradient(115deg,#390f1c,#4e1424 60%,#390f1c);
    border-bottom-color: #a7444b;
}
.promo-details .event-pairs tbody tr:nth-child(even) td:last-child {
    background: linear-gradient(115deg,#431321,#571725 60%,#421120);
}
.gold-dust {
    position: fixed;
    z-index: 2;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.gold-dust i {
    position: absolute;
    bottom: -12px;
    left: var(--left);
    width: var(--size, 4px);
    height: var(--size, 4px);
    border-radius: 50%;
    background: #ffdb8c;
    box-shadow: 0 0 9px 2px #f9ad56a6;
    opacity: 0;
    animation: dust-float var(--duration, 12s) linear var(--delay, 0s) infinite;
}
.gold-dust i:nth-child(1) { --left: 4%; --delay: -3s; }
.gold-dust i:nth-child(2) { --left: 9%; --delay: -8s; --size: 6px; }
.gold-dust i:nth-child(3) { --left: 17%; --delay: -6s; --duration: 17s; }
.gold-dust i:nth-child(4) { --left: 26%; --delay: -10s; --size: 3px; }
.gold-dust i:nth-child(5) { --left: 36%; --delay: -12s; --duration: 18s; }
.gold-dust i:nth-child(6) { --left: 44%; --delay: -4s; --size: 2px; }
.gold-dust i:nth-child(7) { --left: 56%; --delay: -7s; --size: 3px; }
.gold-dust i:nth-child(8) { --left: 64%; --delay: -2s; --duration: 15s; }
.gold-dust i:nth-child(9) { --left: 73%; --delay: -11s; }
.gold-dust i:nth-child(10) { --left: 83%; --delay: -5s; --duration: 16s; }
.gold-dust i:nth-child(11) { --left: 91%; --delay: -9s; --size: 6px; }
.gold-dust i:nth-child(12) { --left: 96%; --delay: -6s; }
@keyframes dust-float {
    0% { opacity: 0; transform: translate3d(0,0,0) scale(.65); }
    18% { opacity: .68; }
    76% { opacity: .45; }
    100% { opacity: 0; transform: translate3d(25px,-105vh,0) scale(1.15); }
}
.promo-sparks::before {
    content: "";
    position: absolute;
    inset: -30%;
    background: radial-gradient(ellipse at center, #ffc57345, transparent 57%);
    mix-blend-mode: screen;
    animation: stage-light 7s ease-in-out infinite alternate;
}
@keyframes stage-light {
    from { transform: translate(-30%, -17%) scale(.68); opacity: .5; }
    to { transform: translate(28%, 15%) scale(1.12); opacity: 1; }
}
.event { animation: event-halo 6s ease-in-out infinite alternate; }
.event + .event { animation-delay: -3s; }
@keyframes event-halo {
    from { box-shadow: 0 0 4px #ff9b2833; border-color: #8a613d; }
    to { box-shadow: 0 0 17px #ff9b2858; border-color: #edac62; }
}
.download-panel #smart-download::after {
    background: linear-gradient(109deg, transparent 37%, #fff5d1b8 50%, transparent 63%);
    animation-duration: 4.8s;
}
@media (prefers-reduced-motion: reduce) {
    .gold-dust { display: none; }
    .promo-sparks::before, .event { animation: none; }
}

.event-pairs .money-unit { font-size: .72em; letter-spacing: normal; }

.hero-dragons { position: absolute; inset: 0; pointer-events: none; }
.hero-dragon {
    position: absolute;
    display: block;
    width: clamp(51px, 15.5%, 126px);
    height: auto;
    opacity: .82;
    filter: drop-shadow(0 0 8px #ffb64c9c);
    animation: dragon-hover 7s ease-in-out infinite alternate;
}
.hero-dragon-left { top: 14%; left: 10%; }
.hero-dragon-right { right: 10%; bottom: 10%; scale: -1 1; animation-delay: -3.5s; }
@keyframes dragon-hover {
    from { transform: translate3d(-4px, 6px, 0) rotate(-8deg); }
    to { transform: translate3d(7px, -10px, 0) rotate(5deg); }
}
@media (prefers-reduced-motion: reduce) { .hero-dragon { animation: none; } }

/* Fly through the darker space above and below the headline. */
.hero-dragons { z-index: 1; }
.hero-dragon {
    width: clamp(66px, 19%, 136px);
    opacity: 1;
    filter: brightness(1.15) saturate(1.18) drop-shadow(0 2px 3px #160007) drop-shadow(0 0 9px #ffbb506b);
    animation: dragon-glide 5.2s ease-in-out infinite alternate;
}
.hero-dragon-left { top: 7%; left: 23%; }
.hero-dragon-right { right: 23%; bottom: 5%; animation-delay: -1.9s; }
@keyframes dragon-glide {
    0% { transform: translate3d(-21px, 5px, 0) rotate(-10deg); }
    55% { transform: translate3d(4px, -2px, 0) rotate(0deg); }
    100% { transform: translate3d(23px, 5px, 0) rotate(7deg); }
}
@media (prefers-reduced-motion: reduce) { .hero-dragon { animation: none; } }

.promo-banner h1 {
    font-size: clamp(58px, 19vw, 170px);
    background: none;
    -webkit-text-fill-color: initial;
    -webkit-text-stroke: 0;
    filter: none;
    animation: none;
}
.promo-banner h1 strong {
    font-weight: 900;
    color: #ff5853;
    background: linear-gradient(180deg,#ff777e 8%,#ff344b 31%,#f01537 49%,#a00826 53%,#fa2445 80%,#dc0c2f);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: .7px #ffab8c;
    filter: drop-shadow(0 3px 0 #6f0d17) drop-shadow(0 0 9px #f4294e84);
}
.promo-banner h1 span {
    color: #ffe1a0;
    font-size: .57em;
    text-shadow: 0 2px #703318, 0 0 12px #e9a24c80;
}

.promo-banner h1 strong {
    display: inline-block;
    -webkit-text-stroke: clamp(1px, .022em, 2px) #ffdc92;
    transform-origin: center bottom;
    animation: headline-hop 2.6s ease-in-out infinite;
}
.promo-banner h1 strong:last-child { animation-delay: .65s; }
@keyframes headline-hop {
    0%, 32%, 100% { transform: translateY(0) scale(1); }
    15% { transform: translateY(-.12em) scale(1.045); }
    24% { transform: translateY(0) scale(1.025, .97); }
}
@media (prefers-reduced-motion: reduce) {
    .promo-banner h1 strong { animation: none; }
}

/* Separate flight paths keep the dragons clear of the headline. */
.hero-dragon-left {
    top: 9%;
    left: 17%;
    animation: dragon-upper-arc 8s linear infinite;
}
.hero-dragon-right {
    right: 18%;
    bottom: 6%;
    scale: none;
    animation: dragon-lower-arc 9s linear -2s infinite;
}
@keyframes dragon-upper-arc {
    0%, 100% { transform: translate(0, 5px) rotate(-16deg) scale(.85); opacity: 0; }
    15% { transform: translate(25%, -3px) rotate(-16deg) scale(.94); opacity: 1; animation-timing-function: ease-out; }
    45% { transform: translate(104%, -15px) rotate(-3deg) scale(1.03); opacity: 1; animation-timing-function: ease-in; }
    75% { transform: translate(175%, -2px) rotate(12deg) scale(.92); opacity: 1; animation-timing-function: ease-out; }
    91% { transform: translate(220%, 9px) rotate(7deg) scale(.84); opacity: 0; }
}
@keyframes dragon-lower-arc {
    0%, 100% { transform: translate(0, 5px) rotate(13deg) scale(-.86,.86); opacity: 0; }
    14% { transform: translate(-28%, 0) rotate(12deg) scale(-.95,.95); opacity: 1; animation-timing-function: ease-out; }
    44% { transform: translate(-105%, -12px) rotate(0deg) scale(-1.04,1.04); opacity: 1; animation-timing-function: ease-in; }
    74% { transform: translate(-172%, -3px) rotate(-10deg) scale(-.94,.94); opacity: 1; animation-timing-function: ease-out; }
    90% { transform: translate(-214%, 7px) rotate(-9deg) scale(-.83,.83); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-dragon-left, .hero-dragon-right { animation: none; opacity: 1; }
    .hero-dragon-right { transform: scaleX(-1); }
}

.promo-banner .promo-kicker {
    font-size: clamp(23px, 6.4vw, 42px);
    font-weight: 850;
    line-height: 1.2;
    text-shadow: 0 2px 4px #461508, 0 0 12px #edac626b;
}
