/* ============================================================
   聚鑫娱乐导航 — Template 03 · Premium Gold (luxury) · v5
   Same component contract as template 01; black + gold theme,
   serif accents, more cinematic.
   ============================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
                 "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
    background:
        radial-gradient(1200px 600px at 50% -20%, rgba(251,191,36,.18), transparent 60%),
        radial-gradient(800px 400px at 0% 100%, rgba(120,53,15,.35), transparent 60%),
        radial-gradient(800px 400px at 100% 100%, rgba(120,53,15,.25), transparent 60%),
        linear-gradient(180deg, #050300 0%, #1a0f02 100%);
    color: #f5e6c8;
    min-height: 100vh;
    padding-bottom: 96px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}
a, button { cursor: pointer; }
a { text-decoration: none; color: inherit; }
button { border: 0; background: none; color: inherit; font: inherit; }
.ico { width: 1em; height: 1em; vertical-align: -0.15em; }

/* gold-leaf accent helper */
:root {
    --gold-1: #fbe392;
    --gold-2: #d4a449;
    --gold-3: #8a5a13;
    --bg-card: rgba(36, 21, 4, .65);
    --bd-gold: rgba(212, 164, 73, .35);
    --serif: "Cormorant Garamond", "Noto Serif SC", Georgia, "STSong", "宋体", serif;
}

/* ─── scroll progress ─────────────────────────────────────────── */
.scroll-progress {
    position: fixed; top: 0; left: 0;
    height: 3px; width: 0;
    background: linear-gradient(90deg, var(--gold-1), var(--gold-2), var(--gold-1));
    z-index: 999;
    transition: width .12s ease-out;
    box-shadow: 0 0 14px rgba(251, 227, 146, .6);
}

/* ─── preloader ─────────────────────────────────────────── */
.preloader {
    position: fixed; inset: 0; z-index: 9999;
    background: radial-gradient(circle at 50% 50%, #2a1606 0%, #050300 80%);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
    transition: opacity .45s ease;
}
.preloader.hide { opacity: 0; pointer-events: none; }
.pre-mark {
    width: 84px; height: 84px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
    color: #1a0f02; font-weight: 900; font-size: 2.6rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 14px 40px rgba(212, 164, 73, .55), inset 0 -3px 8px rgba(0,0,0,.25);
    animation: pre-zoom 1.4s ease-in-out infinite alternate;
    border: 2px solid rgba(255,255,255,.25);
}
@keyframes pre-zoom { from { transform: scale(.95); } to { transform: scale(1.05); } }
.pre-name {
    font-family: var(--serif);
    font-size: 1.25rem; font-weight: 700;
    letter-spacing: 4px;
    background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.pre-bar { width: 140px; height: 2px; background: rgba(212, 164, 73, .15); border-radius: 2px; overflow: hidden; }
.pre-bar span {
    display: block; height: 100%; width: 30%;
    background: linear-gradient(90deg, var(--gold-1), var(--gold-2));
    border-radius: 2px;
    animation: pre-slide 1.1s ease-in-out infinite;
}
@keyframes pre-slide {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(180%); width: 30%; }
    100% { transform: translateX(380%); width: 10%; }
}

/* ─── particles ─────────────────────────────────────────── */
.particles { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.particles span {
    position: absolute; display: block;
    width: 4px; height: 4px;
    border-radius: 50%;
    opacity: .35;
    animation: float-up linear infinite;
    background: var(--gold-1) !important;
    box-shadow: 0 0 10px var(--gold-1) !important;
}
@keyframes float-up {
    0%   { transform: translateY(110vh) scale(.6); opacity: 0; }
    10%  { opacity: .55; }
    90%  { opacity: .4; }
    100% { transform: translateY(-10vh) scale(1.1); opacity: 0; }
}

/* z stacking */
.header        { z-index: 50; }
.ticker-strip, .banner-slider, .stats-row, .notice, .searchbar,
.tabs, .cards, .partners, .page-footer { position: relative; z-index: 1; }
.fab-top      { z-index: 99; }
.bottom-nav   { z-index: 100; }
.winner-toast { z-index: 200; }
.promo-modal  { z-index: 9000; }
.preloader    { z-index: 9999; }
.scroll-progress { z-index: 999; }

/* ─── reveal ─────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ─── header ─────────────────────────────────────────── */
.header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px;
    background: linear-gradient(180deg, rgba(26, 15, 2, .92) 0%, rgba(26, 15, 2, .72) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    position: sticky; top: 0;
    border-bottom: 1px solid var(--bd-gold);
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo {
    position: relative;
    width: 44px; height: 44px;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
    color: #1a0f02; font-weight: 900; font-size: 1.4rem;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 22px rgba(212, 164, 73, .55), inset 0 -2px 6px rgba(0,0,0,.25);
    border: 1px solid rgba(255,255,255,.25);
}
.brand-pulse {
    position: absolute; inset: -3px;
    border: 2px solid rgba(251, 227, 146, .55);
    border-radius: 16px;
    animation: pulse-ring 2s ease-out infinite;
    pointer-events: none;
}
@keyframes pulse-ring { 0% { transform: scale(.95); opacity: 1; } 100% { transform: scale(1.25); opacity: 0; } }
.brand-text { min-width: 0; }
.brand-name {
    font-family: var(--serif);
    font-size: 1.15rem; font-weight: 700; color: var(--gold-1);
    line-height: 1.2; margin-bottom: 2px; white-space: nowrap;
    letter-spacing: 1px;
}
.brand-tagline { font-size: 0.78rem; color: #b89763; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-domain { color: var(--gold-1); font-weight: 700; }

.kefu-btn {
    display: inline-flex; align-items: center; gap: 6px;
    background: linear-gradient(135deg, rgba(251,227,146,.15), rgba(212,164,73,.18));
    color: var(--gold-1);
    border: 1px solid var(--bd-gold);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.85rem; font-weight: 600;
    transition: transform .15s, box-shadow .15s, background .15s;
}
.kefu-btn:hover  { background: linear-gradient(135deg, rgba(251,227,146,.25), rgba(212,164,73,.3)); box-shadow: 0 4px 14px rgba(212, 164, 73, .35); }
.kefu-btn:active { transform: scale(.96); }
.kefu-btn .ico   { font-size: 14px; }

/* ─── ticker ─────────────────────────────────────────── */
.ticker-strip {
    margin: 12px 14px 8px;
    display: flex; align-items: center; gap: 10px;
    padding: 8px 12px 8px 8px;
    background: linear-gradient(90deg, rgba(212,164,73,.18), rgba(120,53,15,.18));
    border: 1px solid var(--bd-gold);
    border-radius: 10px;
    overflow: hidden;
}
.ticker-icon {
    width: 26px; height: 26px;
    background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
    color: #1a0f02; font-size: 14px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(251, 227, 146, .55);
    animation: tick-shake .8s ease-in-out infinite alternate;
    border: 1px solid rgba(255,255,255,.3);
}
@keyframes tick-shake { from { transform: rotate(-8deg); } to { transform: rotate(8deg); } }
.ticker-track {
    flex: 1; display: flex; gap: 32px; overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}
.ticker-track .ticker-row { display: flex; gap: 32px; flex-shrink: 0; animation: ticker-scroll 30s linear infinite; white-space: nowrap; }
.ticker-track .ticker-item { font-size: 0.82rem; color: #f0d391; white-space: nowrap; }
.ticker-track .ticker-item strong { color: #fff8e3; font-weight: 700; }
.ticker-track .ticker-item .amt { color: var(--gold-1); font-weight: 800; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* ─── banner ─────────────────────────────────────────── */
.banner-slider {
    margin: 8px 14px 14px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 14px 38px rgba(0, 0, 0, .65), 0 0 0 1px var(--bd-gold);
    aspect-ratio: 23 / 10;
    background: #1a0f02;
    position: relative;
}
.banner-track { display: flex; height: 100%; transition: transform .55s cubic-bezier(.4,.16,.3,1); will-change: transform; }
.slide { flex: 0 0 100%; width: 100%; height: 100%; position: relative; overflow: hidden; display: block; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* gold-themed slide gradients override the inline ones */
.slide:nth-child(1) { background: linear-gradient(135deg,#3b2706 0%,#7a4f10 50%,var(--gold-2) 100%) !important; }
.slide:nth-child(2) { background: linear-gradient(135deg,#1a0f02 0%,#5d3a0a 50%,#8a5a13 100%) !important; }
.slide:nth-child(3) { background: linear-gradient(135deg,#23150a 0%,#3b2706 60%,var(--gold-3) 100%) !important; }

.slide-bg { position: absolute; inset: 0; pointer-events: none; }
.slide-bg .dec {
    position: absolute; width: 80px; height: 80px;
    opacity: .55;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,.4));
    animation: float 6s ease-in-out infinite;
}
.slide-bg .d1 { top: 8%;    right: 6%;  width: 92px; height: 92px; animation-delay: 0s; }
.slide-bg .d2 { bottom: 10%; left: 8%;  width: 76px; height: 76px; transform: rotate(-15deg); animation-delay: 1.5s; }
.slide-bg .d3 { top: 14%;   left: 16%; width: 60px; height: 60px; transform: rotate(20deg); opacity: .35; animation-delay: 3s; }
.slide-bg .d4 { bottom: 18%; right: 22%; width: 58px; height: 58px; opacity: .35; animation-delay: 4.5s; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

.slide-text { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: #fff; max-width: 65%; z-index: 2; }
.slide-eyebrow {
    display: inline-block;
    background: rgba(0, 0, 0, .55);
    color: var(--gold-1);
    padding: 3px 10px; border-radius: 999px;
    font-size: .68rem; font-weight: 700; letter-spacing: 1.4px;
    margin-bottom: 8px;
    border: 1px solid var(--bd-gold);
}
.slide-title {
    font-family: var(--serif);
    font-size: 1.25rem; font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,.6);
    margin-bottom: 8px; line-height: 1.3;
    letter-spacing: 1px;
}
.slide-cta {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
    color: #1a0f02;
    font-size: .82rem; font-weight: 800;
    padding: 7px 16px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(212, 164, 73, .5);
    border: 1px solid rgba(255,255,255,.25);
}

.banner-dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 3; }
.banner-dots .dot { width: 6px; height: 6px; background: rgba(251, 227, 146, .35); border-radius: 50%; transition: width .3s, background .3s; cursor: pointer; }
.banner-dots .dot.active { width: 22px; background: var(--gold-1); border-radius: 6px; }

/* ─── stats ─────────────────────────────────────────── */
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 14px 14px; }
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--bd-gold);
    border-radius: 12px;
    padding: 10px 8px;
    text-align: center;
    overflow: hidden;
    position: relative;
}
.stat-card::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(135deg, transparent, rgba(212, 164, 73, .15));
    pointer-events: none;
}
.stat-value {
    font-family: var(--serif);
    font-size: 1.3rem; font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-suffix { font-size: .8em; color: var(--gold-1); }
.stat-label { font-size: .7rem; color: #b89763; margin-top: 3px; letter-spacing: .5px; }

/* ─── notice ─────────────────────────────────────────── */
.notice {
    display: flex; align-items: center; gap: 10px;
    margin: 0 14px 12px;
    padding: 9px 14px;
    background: var(--bg-card);
    border: 1px solid var(--bd-gold);
    border-radius: 12px;
    font-size: 0.82rem; color: #f0d391;
}
.notice-icon { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--gold-1), var(--gold-2)); color: #1a0f02; border-radius: 50%; flex-shrink: 0; }
.notice-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notice-tail { color: var(--gold-1); font-weight: 700; font-size: 0.85rem; flex-shrink: 0; }

/* ─── search ─────────────────────────────────────────── */
.searchbar {
    margin: 0 14px 12px;
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px;
    background: var(--bg-card);
    border: 1px solid var(--bd-gold);
    border-radius: 14px;
    transition: border-color .15s, box-shadow .15s;
}
.searchbar:focus-within { border-color: var(--gold-2); box-shadow: 0 0 0 3px rgba(212, 164, 73, .18); }
.searchbar .ico { font-size: 18px; color: #b89763; }
.searchbar input { flex: 1; background: transparent; border: 0; outline: 0; color: #f5e6c8; font-size: .92rem; }
.searchbar input::placeholder { color: #6b5333; }

/* ─── tabs ─────────────────────────────────────────── */
.tabs { display: flex; gap: 8px; padding: 0 14px; margin-bottom: 14px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab-btn {
    flex-shrink: 0;
    padding: 9px 18px;
    background: var(--bg-card);
    border: 1px solid var(--bd-gold);
    border-radius: 14px;
    color: #b89763;
    font-size: 0.88rem; font-weight: 500;
    transition: all .2s ease;
}
.tab-btn.active {
    background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
    color: #1a0f02;
    border-color: transparent;
    font-weight: 800;
    box-shadow: 0 6px 16px rgba(212, 164, 73, .5);
}

/* ─── cards ─────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 0 14px; }
.card-skeleton {
    height: 86px;
    border-radius: 14px;
    background: linear-gradient(90deg, rgba(212,164,73,.04) 25%, rgba(212,164,73,.12) 50%, rgba(212,164,73,.04) 75%);
    background-size: 200% 100%;
    animation: skel-shimmer 1.4s linear infinite;
    border: 1px solid rgba(212, 164, 73, .12);
}
@keyframes skel-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

.card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--bd-gold);
    border-radius: 14px;
    padding: 14px;
    display: flex; align-items: center; gap: 14px;
    overflow: hidden;
    transition: transform .2s, border-color .15s, box-shadow .2s, opacity .5s;
    opacity: 0; transform: translateY(8px);
}
.card.in-view { opacity: 1; transform: translateY(0); }
.card::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(251, 227, 146, .08) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform .55s ease;
    pointer-events: none;
}
.card:hover { border-color: var(--gold-2); box-shadow: 0 8px 26px rgba(212, 164, 73, .3); }
.card:hover::before { transform: translateX(100%); }
.card:active { transform: scale(.98); }

.card-logo {
    position: relative;
    width: 56px; height: 56px;
    border-radius: 14px;
    flex-shrink: 0;
    object-fit: cover;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .55), 0 0 0 1px rgba(251, 227, 146, .15);
}
.card-logo-initial {
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 900; font-size: 1.45rem;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, .35);
    border: 1px solid rgba(255, 255, 255, .15);
}
.online-dot { position: absolute; top: 2px; right: 2px; width: 12px; height: 12px; background: #10b981; border: 2px solid #1a0f02; border-radius: 50%; animation: ping 2s cubic-bezier(0,0,.2,1) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(16,185,129,.7); } 70% { box-shadow: 0 0 0 8px rgba(16,185,129,0); } 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); } }

.card-body { flex: 1; min-width: 0; }
.card-name-row { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.card-name { font-size: 1rem; font-weight: 700; color: #fff8e3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: var(--serif); letter-spacing: .5px; }
.card-tag { flex-shrink: 0; font-size: .58rem; font-weight: 800; letter-spacing: .5px; padding: 1px 6px; border-radius: 4px; text-transform: uppercase; display: inline-flex; align-items: center; gap: 2px; }
.card-tag.hot { background: linear-gradient(135deg, #ef4444, #f97316); color: #fff; }
.card-tag.new { background: linear-gradient(135deg, #06b6d4, #3b82f6); color: #fff; }
.card-tag.vip { background: linear-gradient(135deg, var(--gold-1), var(--gold-2)); color: #1a0f02; border: 1px solid rgba(255,255,255,.25); }
.card-tag .ico { font-size: 9px; }
.card-tagline { font-size: 0.78rem; color: #b89763; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-meta { font-size: 0.68rem; color: #6b5333; margin-top: 4px; display: flex; align-items: center; gap: 8px; }
.card-meta-dot { width: 6px; height: 6px; background: #10b981; border-radius: 50%; flex-shrink: 0; }

.card-cta {
    background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
    color: #1a0f02; font-weight: 800;
    font-size: 0.82rem;
    padding: 9px 18px;
    border-radius: 999px;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(212, 164, 73, .5);
    transition: transform .1s, box-shadow .15s;
    border: 1px solid rgba(255,255,255,.2);
}
.card-cta:active { transform: scale(.96); }

@media (max-width: 380px) {
    .card { padding: 12px; gap: 10px; }
    .card-logo { width: 48px; height: 48px; }
    .card-cta { padding: 7px 14px; font-size: 0.75rem; }
    .stats-row { grid-template-columns: repeat(3, 1fr); gap: 6px; }
    .stat-value { font-size: 1.1rem; }
}

/* ─── partners ─────────────────────────────────────────── */
.partners {
    margin: 24px 14px 16px;
    padding: 14px 12px;
    background: var(--bg-card);
    border: 1px solid var(--bd-gold);
    border-radius: 12px;
    overflow: hidden;
}
.partners-title { font-size: 0.7rem; color: #b89763; text-align: center; margin-bottom: 10px; letter-spacing: 1.5px; text-transform: uppercase; }
.partners-row { display: flex; gap: 18px; overflow: hidden; mask-image: linear-gradient(90deg, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%); }
.partners-row .strip { display: flex; gap: 18px; flex-shrink: 0; animation: partner-scroll 24s linear infinite; }
.partner-logo {
    flex-shrink: 0; height: 28px; padding: 4px 14px;
    background: rgba(251, 227, 146, .08);
    border: 1px solid var(--bd-gold);
    border-radius: 7px;
    font-size: 0.78rem; font-weight: 700;
    color: var(--gold-1);
    display: flex; align-items: center;
    letter-spacing: .5px; white-space: nowrap;
}
@keyframes partner-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── footer ─────────────────────────────────────────── */
.page-footer { text-align: center; color: #6b5333; font-size: 0.7rem; padding: 20px 16px 8px; line-height: 1.7; }
.page-footer .copy { color: #8a6f3f; margin-bottom: 4px; font-family: var(--serif); letter-spacing: 1px; }
.page-footer .legal { color: #5a4322; }

/* ─── winner toast ─────────────────────────────────────────── */
.winner-toast {
    position: fixed; top: 110px; left: 14px;
    background: linear-gradient(135deg, rgba(212,164,73,.95), rgba(120,53,15,.95));
    color: #fff8e3;
    padding: 10px 14px;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(212, 164, 73, .45);
    font-size: 0.82rem;
    transform: translateX(-120%);
    transition: transform .35s cubic-bezier(.34,1.56,.64,1);
    max-width: 240px;
    border: 1px solid rgba(251, 227, 146, .35);
}
.winner-toast.show { transform: translateX(0); }
.winner-toast .ico { margin-right: 6px; vertical-align: -.15em; color: var(--gold-1); }
.winner-toast strong { font-weight: 800; color: #fff; }
.winner-toast .amt { color: var(--gold-1); font-weight: 800; }

/* ─── back-to-top ─────────────────────────────────────────── */
.fab-top {
    position: fixed; right: 16px; bottom: 110px;
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
    color: #1a0f02;
    border-radius: 50%;
    box-shadow: 0 8px 22px rgba(212, 164, 73, .55);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transform: scale(.7);
    transition: opacity .25s, transform .25s;
    pointer-events: none;
    border: 1px solid rgba(255,255,255,.3);
}
.fab-top.show { opacity: 1; transform: scale(1); pointer-events: auto; }
.fab-top:active { transform: scale(.92); }
.fab-top .ico { font-size: 20px; }

/* ─── promo modal ─────────────────────────────────────────── */
.promo-modal {
    position: fixed; inset: 0;
    background: rgba(5, 3, 0, .88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: center; justify-content: center;
    padding: 20px;
}
.promo-modal.show { display: flex; animation: promo-fade .25s ease; }
@keyframes promo-fade { from { opacity: 0; } to { opacity: 1; } }

.promo-card {
    position: relative;
    width: 100%; max-width: 360px;
    background: linear-gradient(160deg, #2a1606 0%, #050300 100%);
    border: 1px solid var(--gold-2);
    border-radius: 20px;
    padding: 28px 22px 24px;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .85), 0 0 0 1px rgba(251, 227, 146, .25), inset 0 0 60px rgba(212, 164, 73, .08);
    animation: promo-pop .35s cubic-bezier(.34,1.56,.64,1);
}
@keyframes promo-pop { from { transform: scale(.8) translateY(20px); opacity: 0; } to { transform: scale(1) translateY(0); opacity: 1; } }

.promo-x {
    position: absolute; top: 12px; right: 12px;
    width: 30px; height: 30px;
    background: rgba(251, 227, 146, .1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #b89763;
    transition: background .15s, color .15s;
}
.promo-x:hover { background: rgba(251, 227, 146, .2); color: var(--gold-1); }
.promo-x .ico { font-size: 14px; }

.promo-burst {
    width: 76px; height: 76px;
    margin: 0 auto 14px;
    background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
    color: #1a0f02; font-size: 38px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 12px 32px rgba(212, 164, 73, .55);
    animation: burst-pulse 2s ease-in-out infinite;
    border: 2px solid rgba(255,255,255,.3);
}
@keyframes burst-pulse {
    0%, 100% { transform: scale(1);   box-shadow: 0 12px 32px rgba(212, 164, 73, .55), 0 0 0 0 rgba(251, 227, 146, .55); }
    50%      { transform: scale(1.04); box-shadow: 0 12px 32px rgba(212, 164, 73, .55), 0 0 0 18px rgba(251, 227, 146, 0); }
}

.promo-eyebrow {
    display: inline-block;
    background: rgba(251, 227, 146, .12);
    color: var(--gold-1);
    font-size: .68rem; font-weight: 800;
    padding: 3px 12px; border-radius: 999px;
    border: 1px solid var(--bd-gold);
    margin-bottom: 12px;
    letter-spacing: 1.4px;
}
.promo-title {
    font-family: var(--serif);
    font-size: 1.55rem; font-weight: 800; color: #fff8e3;
    margin-bottom: 6px; line-height: 1.3;
    letter-spacing: 1px;
}
.promo-amt {
    background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.7em;
}
.promo-sub { font-size: .82rem; color: #b89763; margin-bottom: 18px; }
.promo-cta {
    display: block;
    background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
    color: #1a0f02;
    font-weight: 800;
    font-size: 1rem;
    padding: 13px;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(212, 164, 73, .55);
    transition: transform .1s;
    text-align: center;
    border: 1px solid rgba(255,255,255,.25);
}
.promo-cta:active { transform: scale(.98); }
.promo-foot { font-size: .7rem; color: #6b5333; margin-top: 12px; }
.promo-foot strong { color: var(--gold-1); font-weight: 700; }

/* ─── bottom nav ─────────────────────────────────────────── */
.bottom-nav {
    position: fixed; left: 0; right: 0; bottom: 0;
    display: flex; justify-content: space-around; align-items: stretch;
    background: rgba(5, 3, 0, .96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--bd-gold);
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
}
.nav-item {
    flex: 1; display: flex; flex-direction: column; align-items: center;
    gap: 4px; padding: 4px 0;
    color: #6b5333; font-size: 0.74rem; font-weight: 500;
    transition: color .15s, transform .1s;
    position: relative;
}
.nav-item:active { transform: scale(.94); }
.nav-item .icon {
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    background: rgba(251, 227, 146, .04);
}
.nav-item .icon .ico { font-size: 18px; }
.nav-item.active { color: var(--gold-1); }
.nav-item.active .icon { background: linear-gradient(135deg, var(--gold-1), var(--gold-2)); color: #1a0f02; box-shadow: 0 4px 12px rgba(212, 164, 73, .55); }

.nav-item.primary { color: var(--gold-1); font-weight: 700; }
.nav-item.primary .icon {
    background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
    color: #1a0f02;
    box-shadow: 0 6px 22px rgba(212, 164, 73, .65), 0 0 0 0 rgba(251, 227, 146, .55);
    transform: scale(1.1);
    animation: cta-pulse 1.8s ease-in-out infinite;
    border: 1px solid rgba(255,255,255,.3);
}
@keyframes cta-pulse {
    0%, 100% { box-shadow: 0 6px 22px rgba(212, 164, 73, .65), 0 0 0 0 rgba(251, 227, 146, .6); }
    50%      { box-shadow: 0 6px 22px rgba(212, 164, 73, .65), 0 0 0 10px rgba(251, 227, 146, 0); }
}
.nav-item.primary .lbl { letter-spacing: .5px; }

.nav-item.placeholder       { color: #4a3a1a; }
.nav-item.placeholder .icon { background: rgba(251, 227, 146, .02); }
.nav-item.placeholder:active { transform: none; }
.badge-soon {
    position: absolute; top: 0; right: 12%;
    font-size: 0.55rem;
    background: rgba(251, 227, 146, .15);
    color: var(--gold-1);
    padding: 1px 6px; border-radius: 8px;
    font-weight: 700; letter-spacing: .3px;
    border: 1px solid var(--bd-gold);
}

/* generic toast */
.toast {
    position: fixed; bottom: 110px; left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(26, 15, 2, .96);
    color: var(--gold-1);
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 0.85rem; font-weight: 500;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .6);
    opacity: 0; pointer-events: none;
    transition: opacity .2s, transform .2s;
    border: 1px solid var(--bd-gold);
    z-index: 200;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.nav-item[data-locked="true"]::after {
    content: ""; position: absolute; top: 2px; right: 22%;
    width: 6px; height: 6px; border-radius: 50%; background: var(--gold-1);
    opacity: 0; transition: opacity .15s;
}
body.show-locks .nav-item[data-locked="true"]::after { opacity: 1; }
