/* ============================================================
   11 · Stories / Reels — TikTok-style full-screen scroll-snap pages
   Layout: each platform = 100vh section, vertical scroll-snap
   ============================================================ */
* { 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: #000;
    color: #fff;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; cursor: pointer; }
.ico { width: 1em; height: 1em; vertical-align: -0.15em; }

/* Container with vertical snap */
.reels {
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.reels::-webkit-scrollbar { display: none; }

.slide {
    position: relative;
    height: 100vh;
    width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 80px 28px calc(120px + env(safe-area-inset-bottom));
    overflow: hidden;
}

.bg {
    position: absolute; inset: 0; z-index: 0;
    pointer-events: none;
}
.bg::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.4) 0%, transparent 35%, rgba(0,0,0,.55) 75%, rgba(0,0,0,.85) 100%);
}

.bg-intro {
    background:
        radial-gradient(circle at 30% 20%, rgba(255,0,110,.6), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0,212,255,.55), transparent 55%),
        radial-gradient(circle at 50% 100%, rgba(124,58,237,.45), transparent 55%),
        #000;
}
.bg-1 {
    background:
        radial-gradient(circle at 70% 30%, rgba(217,70,239,.55), transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(56,189,248,.5), transparent 50%),
        linear-gradient(180deg, #1a0033 0%, #000820 100%);
}
.bg-2 {
    background:
        radial-gradient(circle at 30% 40%, rgba(251,191,36,.5), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(239,68,68,.5), transparent 55%),
        linear-gradient(180deg, #1a0006 0%, #2d0808 100%);
}
.bg-3 {
    background:
        radial-gradient(circle at 60% 20%, rgba(0,212,255,.5), transparent 50%),
        radial-gradient(circle at 20% 70%, rgba(34,197,94,.45), transparent 55%),
        linear-gradient(180deg, #001a14 0%, #001a2d 100%);
}
.bg-4 {
    background:
        radial-gradient(circle at 50% 30%, rgba(168,85,247,.55), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(244,114,182,.5), transparent 55%),
        linear-gradient(180deg, #14001a 0%, #2d0033 100%);
}
.bg-promo {
    background:
        radial-gradient(circle at 50% 40%, rgba(251,191,36,.65), transparent 50%),
        radial-gradient(circle at 30% 80%, rgba(239,68,68,.5), transparent 55%),
        linear-gradient(180deg, #2d0808 0%, #1a0606 100%);
}

/* Animated grain particles via subtle radial gradients shifting */
.bg::before {
    content: "";
    position: absolute; inset: -10%;
    background:
        radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,.3), transparent),
        radial-gradient(2px 2px at 70% 50%, rgba(255,255,255,.25), transparent),
        radial-gradient(1.5px 1.5px at 40% 70%, rgba(255,255,255,.35), transparent),
        radial-gradient(2px 2px at 90% 20%, rgba(255,255,255,.3), transparent),
        radial-gradient(1.5px 1.5px at 10% 80%, rgba(255,255,255,.25), transparent);
    background-size: 100% 100%;
    animation: rl-float 30s ease-in-out infinite alternate;
    opacity: .6;
}
@keyframes rl-float {
    0% { transform: translate(0,0); }
    100% { transform: translate(-2%,2%); }
}

/* Top bar */
.rl-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(0,0,0,.55), transparent);
}
.rl-brand { display: flex; align-items: center; gap: 8px; }
.rl-mark {
    width: 32px; height: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ff006e, #00d4ff);
    color: #fff;
    font-weight: 800; font-size: 1.05rem;
    display: grid; place-items: center;
    box-shadow: 0 6px 18px rgba(255,0,110,.4);
}
.rl-name { font-size: .92rem; font-weight: 700; letter-spacing: .5px; }
.rl-kefu {
    background: rgba(255,255,255,.16);
    color: #fff;
    border: 1px solid rgba(255,255,255,.25);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

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

/* Slide content */
.slide-content {
    position: relative; z-index: 1;
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
}
.eyebrow {
    display: inline-block;
    font-size: .68rem; font-weight: 700;
    letter-spacing: 3px;
    color: rgba(255,255,255,.85);
    padding: 6px 14px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 999px;
    backdrop-filter: blur(10px);
    margin-bottom: 22px;
    text-transform: uppercase;
}

.intro h1, .promo h1 {
    font-size: 3.4rem;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 16px;
}
.intro h1 em {
    font-style: normal;
    background: linear-gradient(135deg, #ff006e, #00d4ff, #fbbf24);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.promo-amt {
    font-size: 6rem !important;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    text-shadow: 0 12px 36px rgba(251,191,36,.35);
    margin-bottom: 6px !important;
}
.intro p, .promo p {
    font-size: 1rem;
    color: rgba(255,255,255,.88);
    line-height: 1.5;
    margin-bottom: 24px;
}

.quick-stats {
    display: flex; align-items: center;
    gap: 10px;
    font-size: .82rem;
    color: rgba(255,255,255,.85);
    flex-wrap: wrap;
}
.quick-stats strong {
    color: #fff;
    font-weight: 800;
    margin-right: 4px;
    font-size: 1.1em;
}
.quick-stats sup { font-size: .65em; vertical-align: super; opacity: .85; }

.platform h2 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin-bottom: 14px;
    text-shadow: 0 6px 24px rgba(0,0,0,.5);
}
.platform .tagline {
    font-size: 1.05rem;
    color: rgba(255,255,255,.92);
    line-height: 1.55;
    margin-bottom: 16px;
    max-width: 90%;
}
.meta-line {
    display: flex; flex-wrap: wrap; align-items: center;
    gap: 10px;
    font-size: .8rem;
    color: rgba(255,255,255,.85);
    margin-bottom: 26px;
}
.dot-sep {
    width: 4px; height: 4px; border-radius: 50%;
    background: rgba(255,255,255,.5);
    flex-shrink: 0;
}

.badge {
    display: inline-block;
    font-size: .72rem; font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
    color: #fff;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.28);
    margin-bottom: 14px;
    letter-spacing: .5px;
}
.badge.hot { background: linear-gradient(135deg, #ff006e, #ef4444); border-color: transparent; }
.badge.vip { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #422006; border-color: transparent; }
.badge.new { background: linear-gradient(135deg, #00d4ff, #3b82f6); border-color: transparent; }

.big-cta {
    display: inline-block;
    background: #fff;
    color: #000;
    font-weight: 800;
    font-size: 1.05rem;
    padding: 16px 38px;
    border-radius: 999px;
    letter-spacing: .5px;
    box-shadow: 0 16px 40px rgba(255,255,255,.18);
    transition: transform .15s;
}
.big-cta:active { transform: scale(.96); }

.swipe-hint {
    position: absolute;
    left: 50%; bottom: calc(140px + env(safe-area-inset-bottom));
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    font-size: .68rem; letter-spacing: 2px;
    color: rgba(255,255,255,.7);
    z-index: 1;
    text-transform: uppercase;
    font-weight: 600;
    animation: rl-bounce 1.8s ease-in-out infinite;
}
.swipe-hint .ico { font-size: 16px; }
@keyframes rl-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(0,0,0,.85);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255,255,255,.1);
    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(255,255,255,.55);
    font-size: .66rem;
    flex: 1; min-width: 0;
}
.nav-item.active { color: #00d4ff; }
.nav-item.primary {
    background: linear-gradient(135deg, #ff006e, #00d4ff);
    color: #000 !important;
    border-radius: 16px;
    padding: 9px 12px;
    font-weight: 800;
    box-shadow: 0 10px 26px rgba(255,0,110,.42);
    flex: 0 1 auto;
}
.nav-item .ico { font-size: 18px; }

/* Smaller screens — adjust headlines */
@media (max-width: 380px) {
    .intro h1, .promo h1 { font-size: 2.8rem; }
    .platform h2 { font-size: 2.4rem; }
    .promo-amt { font-size: 4.8rem !important; }
}
