/* ============================================================
   13 · Casino Floor — full-viewport parallax sections
   Layout: snap-scroll between 100vh sections, each with 3
   parallax depth layers (bg, mid decoration, foreground content)
   ============================================================ */
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; overflow: hidden; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif;
    background: #0a0303;
    color: #f5deb3;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; cursor: pointer; }
.ico { width: 1em; height: 1em; vertical-align: -0.15em; }

/* Snap container */
.cf-floor {
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    perspective: 1px;
    transform-style: preserve-3d;
}
.cf-floor::-webkit-scrollbar { display: none; }

/* Section base */
.cf-sec {
    position: relative;
    height: 100vh;
    width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.layer {
    position: absolute; inset: 0;
    pointer-events: none;
}
.layer-content {
    pointer-events: auto;
    z-index: 3;
    padding: 110px 28px calc(120px + env(safe-area-inset-bottom));
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    display: flex; flex-direction: column;
    justify-content: center;
    height: 100%;
}
.layer-bg {
    z-index: 0;
    will-change: transform;
}
.layer-bg::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, transparent 35%, rgba(0,0,0,.35) 70%, rgba(0,0,0,.85) 100%);
}
.layer-mid {
    z-index: 1;
    will-change: transform;
}

/* Section 0: Welcome */
.sec-welcome .layer-bg {
    background:
        radial-gradient(ellipse 80% 60% at 50% 30%, rgba(124,29,29,.85), transparent 70%),
        radial-gradient(ellipse 60% 50% at 80% 80%, rgba(201,164,73,.55), transparent 60%),
        radial-gradient(ellipse 50% 40% at 20% 70%, rgba(124,29,29,.65), transparent 60%),
        linear-gradient(180deg, #0a0303 0%, #1a0606 100%);
}
.chip-bg {
    position: absolute;
    width: 200px; height: 200px;
    color: rgba(201,164,73,.32);
    filter: drop-shadow(0 12px 30px rgba(201,164,73,.25));
    animation: cf-spin 30s linear infinite;
}
.c-1 { top: 8%;  left: -6%;  width: 220px; height: 220px; animation-duration: 38s; }
.c-2 { bottom: 12%; right: -8%; width: 280px; height: 280px; animation-duration: 46s; animation-direction: reverse; }
.c-3 { top: 35%; right: 10%; width: 120px; height: 120px; opacity: .7; animation-duration: 28s; }
@keyframes cf-spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }

/* Section 1: 领航国际 */
.sec-lh .bg-lh {
    background:
        radial-gradient(ellipse 70% 50% at 30% 40%, rgba(124,29,29,.9), transparent 70%),
        radial-gradient(ellipse 60% 50% at 80% 70%, rgba(201,164,73,.6), transparent 65%),
        linear-gradient(180deg, #1a0606 0%, #0a0303 100%);
}
.sec-lh .mid-lh {
    background:
        radial-gradient(circle 4px at 25% 30%, rgba(201,164,73,.6), transparent 5px),
        radial-gradient(circle 3px at 70% 25%, rgba(255,215,0,.5), transparent 4px),
        radial-gradient(circle 5px at 80% 60%, rgba(201,164,73,.5), transparent 6px),
        radial-gradient(circle 3px at 30% 80%, rgba(255,215,0,.4), transparent 4px),
        radial-gradient(circle 4px at 90% 90%, rgba(201,164,73,.45), transparent 5px);
    animation: cf-twinkle 5s ease-in-out infinite alternate;
}
@keyframes cf-twinkle {
    0%   { opacity: .6; }
    100% { opacity: 1; }
}

/* Section 2: 梦想国际 */
.sec-mx .bg-mx {
    background:
        radial-gradient(ellipse 65% 50% at 70% 35%, rgba(168,85,247,.75), transparent 70%),
        radial-gradient(ellipse 50% 50% at 20% 75%, rgba(124,58,237,.6), transparent 60%),
        radial-gradient(ellipse 60% 40% at 50% 90%, rgba(201,164,73,.4), transparent 55%),
        linear-gradient(180deg, #0a0014 0%, #14001a 100%);
}
.sec-mx .mid-mx {
    background:
        radial-gradient(circle 4px at 25% 30%, rgba(255,255,255,.5), transparent 5px),
        radial-gradient(circle 3px at 70% 20%, rgba(168,85,247,.5), transparent 4px),
        radial-gradient(circle 5px at 80% 60%, rgba(255,255,255,.4), transparent 6px),
        radial-gradient(circle 3px at 30% 80%, rgba(168,85,247,.4), transparent 4px);
    animation: cf-twinkle 6s ease-in-out infinite alternate;
}

/* Section 3: 汇赢国际 */
.sec-hy .bg-hy {
    background:
        radial-gradient(ellipse 70% 50% at 40% 30%, rgba(34,197,94,.75), transparent 70%),
        radial-gradient(ellipse 50% 40% at 80% 70%, rgba(201,164,73,.55), transparent 60%),
        linear-gradient(180deg, #001a0e 0%, #001a14 100%);
}
.sec-hy .mid-hy {
    background:
        radial-gradient(circle 4px at 20% 25%, rgba(255,255,255,.45), transparent 5px),
        radial-gradient(circle 3px at 75% 30%, rgba(34,197,94,.5), transparent 4px),
        radial-gradient(circle 5px at 60% 70%, rgba(201,164,73,.5), transparent 6px),
        radial-gradient(circle 3px at 30% 80%, rgba(255,255,255,.4), transparent 4px);
    animation: cf-twinkle 5.5s ease-in-out infinite alternate;
}

/* Section 4: Promo */
.sec-promo .bg-promo {
    background:
        radial-gradient(ellipse 75% 60% at 50% 35%, rgba(251,191,36,.85), transparent 70%),
        radial-gradient(ellipse 50% 40% at 30% 80%, rgba(239,68,68,.65), transparent 60%),
        linear-gradient(180deg, #2d1a06 0%, #1a0606 100%);
}
.sec-promo .mid-promo {
    background:
        radial-gradient(circle 5px at 20% 30%, rgba(255,255,255,.55), transparent 6px),
        radial-gradient(circle 4px at 75% 25%, rgba(251,191,36,.6), transparent 5px),
        radial-gradient(circle 6px at 80% 70%, rgba(255,255,255,.5), transparent 7px),
        radial-gradient(circle 4px at 30% 80%, rgba(251,191,36,.55), transparent 5px),
        radial-gradient(circle 5px at 90% 90%, rgba(255,255,255,.45), transparent 6px);
    animation: cf-twinkle 4s ease-in-out infinite alternate;
}

/* Section 5: List */
.sec-list .bg-list {
    background:
        radial-gradient(ellipse 70% 60% at 50% 40%, rgba(124,29,29,.7), transparent 70%),
        linear-gradient(180deg, #0a0303 0%, #1a0606 100%);
}

/* Header */
.cf-top {
    position: fixed; top: 0; left: 0; right: 0;
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 20px;
    z-index: 60;
    background: linear-gradient(180deg, rgba(10,3,3,.7), transparent);
    backdrop-filter: blur(12px);
}
.cf-brand { display: flex; align-items: center; gap: 10px; }
.cf-mark {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, #c9a449 0%, #7c1d1d 100%);
    color: #fdf6e3;
    font-weight: 800; font-size: 1.1rem;
    display: grid; place-items: center;
    box-shadow: 0 6px 18px rgba(124,29,29,.5);
}
.cf-name {
    font-family: "Cormorant Garamond","Noto Serif SC",Georgia,serif;
    font-size: 1rem; font-weight: 600;
    color: #fdf6e3;
    letter-spacing: 1.2px;
    line-height: 1.1;
}
.cf-sub {
    font-size: .58rem;
    color: rgba(201,164,73,.85);
    letter-spacing: 2.5px;
    margin-top: 2px;
    font-weight: 600;
}
.cf-kefu {
    background: rgba(201,164,73,.18);
    color: #c9a449;
    border: 1px solid rgba(201,164,73,.5);
    padding: 7px 14px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

/* Side dot pagination */
.cf-dots {
    position: fixed;
    right: 12px; top: 50%;
    transform: translateY(-50%);
    z-index: 70;
    display: flex; flex-direction: column; gap: 8px;
}
.cf-dots .d {
    width: 6px; height: 18px;
    border-radius: 3px;
    background: rgba(201,164,73,.3);
    transition: all .25s;
    cursor: pointer;
    display: block;
}
.cf-dots .d.active {
    background: #c9a449;
    height: 28px;
    box-shadow: 0 0 14px rgba(201,164,73,.7);
}

/* Editorial typography */
.cf-eyebrow {
    display: inline-block;
    font-size: .68rem; font-weight: 700;
    letter-spacing: 3px;
    color: rgba(245,222,179,.85);
    padding: 6px 14px;
    background: rgba(0,0,0,.35);
    border: 1px solid rgba(201,164,73,.45);
    border-radius: 999px;
    backdrop-filter: blur(8px);
    margin-bottom: 18px;
    text-transform: uppercase;
    align-self: flex-start;
}
.cf-eyebrow.gold { color: #c9a449; border-color: rgba(201,164,73,.7); }
.cf-num {
    font-family: "Cormorant Garamond",Georgia,serif;
    font-size: 4.2rem;
    font-weight: 600;
    line-height: 1;
    color: rgba(201,164,73,.4);
    margin-bottom: 6px;
    letter-spacing: -2px;
}
.cf-h-mega {
    font-family: "Cormorant Garamond","Noto Serif SC",Georgia,serif;
    font-size: 3.4rem;
    font-weight: 600;
    line-height: 1.05;
    color: #fdf6e3;
    margin-bottom: 16px;
    letter-spacing: -1px;
}
.cf-h-mega em {
    font-style: italic;
    background: linear-gradient(135deg, #c9a449, #fbbf24);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    font-weight: 700;
}
.cf-amount {
    font-size: 7rem !important;
    background: linear-gradient(135deg, #fbbf24, #c9a449);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    text-shadow: 0 12px 36px rgba(201,164,73,.3);
    margin: 8px 0 6px !important;
    line-height: .9;
}
.cf-h {
    font-family: "Cormorant Garamond","Noto Serif SC",Georgia,serif;
    font-size: 3.6rem;
    font-weight: 700;
    line-height: 1;
    color: #fdf6e3;
    margin-bottom: 14px;
    letter-spacing: -1.2px;
    text-shadow: 0 6px 24px rgba(0,0,0,.5);
}
.cf-h-list {
    font-family: "Cormorant Garamond",Georgia,serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: #fdf6e3;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}
.cf-lede {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(245,222,179,.92);
    margin-bottom: 22px;
}
.cf-tagline {
    font-size: 1.1rem;
    line-height: 1.5;
    color: rgba(245,222,179,.92);
    margin-bottom: 22px;
}

.cf-stats {
    display: flex; align-items: center;
    gap: 14px;
    font-size: .82rem;
}
.cf-stats > div { display: flex; flex-direction: column; }
.cf-stats strong {
    font-family: "Cormorant Garamond",Georgia,serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #c9a449;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.cf-stats sup { font-size: .55em; vertical-align: super; opacity: .85; }
.cf-stats em { font-style: normal; font-size: .65em; }
.cf-stats label {
    font-size: .58rem;
    color: rgba(245,222,179,.7);
    letter-spacing: 1.5px;
    margin-top: 4px;
    text-transform: uppercase;
    font-weight: 600;
}
.cf-vsep {
    width: 1px; height: 30px;
    background: linear-gradient(180deg, transparent, rgba(201,164,73,.4), transparent);
}

.cf-rating-row {
    display: flex; align-items: center; gap: 14px;
    margin-bottom: 26px;
}
.cf-rating {
    font-family: "Cormorant Garamond",Georgia,serif;
    font-size: 2.6rem;
    font-weight: 700;
    color: #c9a449;
    line-height: 1;
    text-shadow: 0 6px 20px rgba(201,164,73,.4);
}
.cf-stars {
    color: #c9a449;
    font-size: .9rem;
    letter-spacing: 2px;
    text-shadow: 0 2px 8px rgba(201,164,73,.4);
}
.cf-rev {
    font-size: .72rem;
    color: rgba(245,222,179,.7);
    letter-spacing: .5px;
    margin-top: 4px;
}

.cf-cta {
    display: inline-block;
    background: linear-gradient(135deg, #c9a449 0%, #7c1d1d 100%);
    color: #fdf6e3;
    font-weight: 800;
    font-size: 1rem;
    padding: 16px 36px;
    border-radius: 4px;
    letter-spacing: 1px;
    text-transform: uppercase;
    align-self: flex-start;
    box-shadow: 0 14px 36px rgba(124,29,29,.5), 0 0 0 1px rgba(201,164,73,.3) inset;
    transition: transform .15s;
}
.cf-cta:active { transform: scale(.96); }
.cf-cta.gold {
    background: linear-gradient(135deg, #fbbf24 0%, #c9a449 100%);
    color: #1a0606;
    box-shadow: 0 14px 36px rgba(251,191,36,.45);
}

/* List section */
.cf-list {
    list-style: none;
    margin-bottom: 22px;
}
.cf-list li { border-bottom: 1px solid rgba(201,164,73,.2); }
.cf-list li:first-child { border-top: 1px solid rgba(201,164,73,.2); }
.cf-list a {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 14px;
    align-items: center;
    padding: 14px 4px;
    transition: background .15s, padding .15s;
}
.cf-list a:hover { background: rgba(201,164,73,.06); padding-left: 14px; }
.cf-li-num {
    font-family: "Cormorant Garamond",Georgia,serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #c9a449;
    width: 32px;
}
.cf-li-n {
    font-family: "Cormorant Garamond",Georgia,serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fdf6e3;
}
.cf-li-t {
    font-size: .72rem;
    color: rgba(245,222,179,.6);
    letter-spacing: .5px;
}
.cf-li-arr {
    font-size: 1.1rem;
    color: #c9a449;
    transition: transform .15s;
}
.cf-list a:hover .cf-li-arr { transform: translateX(4px); }
.cf-foot-credit {
    font-size: .68rem;
    color: rgba(245,222,179,.45);
    text-align: center;
    margin-top: 12px;
    letter-spacing: 1.5px;
}

/* Scroll hint */
.cf-scroll-hint {
    position: absolute;
    left: 50%; bottom: calc(120px + env(safe-area-inset-bottom));
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    font-size: .62rem; letter-spacing: 2.5px;
    color: rgba(201,164,73,.7);
    z-index: 4;
    text-transform: uppercase;
    font-weight: 600;
    animation: cf-bounce 1.8s ease-in-out infinite;
}
.cf-scroll-hint .ico { font-size: 16px; color: #c9a449; }
@keyframes cf-bounce {
    0%,100% { transform: translateX(-50%) translateY(0); opacity: .6; }
    50%     { transform: translateX(-50%) translateY(6px); opacity: 1; }
}

/* Bottom nav */
.bottom-nav {
    position: fixed; bottom: 0; left: 0; right: 0;
    display: flex; justify-content: space-around; align-items: center;
    background: rgba(10,3,3,.92);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(201,164,73,.3);
    padding: 6px 12px calc(8px + env(safe-area-inset-bottom));
    z-index: 100; gap: 8px;
}
.nav-item {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 8px 14px;
    color: rgba(201,164,73,.55);
    font-size: .66rem;
    flex: 1; min-width: 0;
}
.nav-item.active { color: #c9a449; }
.nav-item.primary {
    background: linear-gradient(135deg, #c9a449, #7c1d1d);
    color: #fdf6e3 !important;
    border-radius: 4px;
    padding: 9px 12px;
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(124,29,29,.5);
    flex: 0 1 auto;
    letter-spacing: .5px;
}
.nav-item .ico { font-size: 18px; }

/* Smaller screens */
@media (max-width: 380px) {
    .cf-h-mega, .cf-h { font-size: 2.6rem; }
    .cf-amount { font-size: 5.5rem !important; }
    .cf-num { font-size: 3.4rem; }
    .cf-rating { font-size: 2.2rem; }
}
