/* RESET & COLOR VARIABLES */
:root {
    --bg-main: #030712;
    --card-bg: rgba(15, 23, 42, 0.85);
    --card-border: rgba(255, 255, 255, 0.12);
    --card-border-glow: rgba(56, 189, 248, 0.35);
    
    --accent-blue: #0088cc;
    --accent-telegram: #229ED9;
    --accent-cyan: #38bdf8;
    --accent-green: #10b981;
    --accent-green-bright: #34d399;
    --accent-gold: #fbbf24;
    --accent-rose: #f43f5e;
    --accent-purple: #a855f7;

    --text-primary: #ffffff;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;

    --gradient-title: linear-gradient(135deg, #ffffff 0%, #38bdf8 50%, #a855f7 100%);
    --gradient-telegram: linear-gradient(90deg, #0088cc 0%, #229ED9 50%, #00aaff 100%);
    --gradient-telegram-hover: linear-gradient(90deg, #0099ee 0%, #00aaff 50%, #38bdf8 100%);
    --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    --gradient-insta: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --shadow-card: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(56, 189, 248, 0.1);
    --shadow-btn-telegram: 0 12px 35px rgba(0, 136, 204, 0.6), 0 0 20px rgba(0, 170, 255, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-body);
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-snap-type: y mandatory;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    padding-bottom: 75px;
    position: relative;
    overflow-x: hidden;
}

/* Ambient Glowing Orbs */
.ambient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.45;
    pointer-events: none;
}

.orb-1 {
    width: 380px;
    height: 380px;
    background: #a855f7;
    top: -100px;
    left: -100px;
    animation: floatOrb 8s infinite alternate ease-in-out;
}

.orb-2 {
    width: 420px;
    height: 420px;
    background: #0284c7;
    top: 30%;
    right: -150px;
    animation: floatOrb 10s infinite alternate ease-in-out;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: #10b981;
    bottom: -100px;
    left: 20%;
    animation: floatOrb 9s infinite alternate ease-in-out;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, 30px) scale(1.1); }
}

/* Urgency Top Bar */
.urgency-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 15, 25, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(56, 189, 248, 0.3);
    padding: 10px 15px;
    height: 46px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.urgency-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.88rem;
    font-weight: 600;
    height: 100%;
}

.urgency-text strong {
    color: var(--accent-gold);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    padding: 0 4px;
}

/* Floating Admin Gear Button */
.admin-gear-btn {
    position: fixed;
    bottom: 85px;
    right: 20px;
    z-index: 140;
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    padding: 10px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(56, 189, 248, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.admin-gear-btn:hover {
    background: var(--accent-cyan);
    color: #000000;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(56, 189, 248, 0.8);
}

/* Container */
.container {
    max-width: 580px;
    margin: 0 auto;
    padding: 14px 14px 20px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* HERO SECTION CARD (FIXED TOP OVERLAP & SCROLL MARGIN) */
.hero-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 28px 20px 24px;
    margin-top: 12px;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-margin-top: 56px;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0088cc 0%, #229ED9 50%, #00aaff 100%);
}

/* Channel Header */
.channel-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    margin-bottom: 20px;
    padding-top: 6px;
}

.avatar-wrapper {
    position: relative;
    width: 92px;
    height: 92px;
    margin-top: 4px;
}

.channel-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #0b0f19;
    box-shadow: 0 10px 30px rgba(0, 136, 204, 0.5);
}

.avatar-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0088cc 0%, #229ED9 50%, #00aaff 100%);
    animation: rotateGlow 5s linear infinite;
    z-index: -1;
}

@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.verified-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: #0284c7;
    color: #ffffff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    border: 2px solid #0b0f19;
}

.gradient-title {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 0%, #38bdf8 50%, #0088cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.verified-shield {
    color: var(--accent-cyan);
    font-size: 1.2rem;
    -webkit-text-fill-color: initial;
}

/* MAIN TOP POSTER WRAPPER */
.main-poster-wrapper {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 22px;
    border: 1px solid var(--card-border-glow);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
    aspect-ratio: 16 / 9;
}

.main-poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.main-poster-wrapper:hover .main-poster-img {
    transform: scale(1.04);
}

.poster-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(3, 7, 18, 0.95) 0%, rgba(3, 7, 18, 0.2) 60%, transparent 100%);
}

/* HERO TELEGRAM CTA BUTTON (PERFECTLY CENTERED VIP LAYOUT) */
.cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.glow-cta-btn {
    position: relative;
    width: 100%;
    color: #ffffff;
    text-decoration: none;
    padding: 16px 22px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-align: center;
}

/* Telegram Blue Theme Button Class */
.telegram-theme-btn {
    background: var(--gradient-telegram) !important;
    box-shadow: var(--shadow-btn-telegram) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    animation: tgPulseGlow 2.2s infinite alternate !important;
}

@keyframes tgPulseGlow {
    0% {
        box-shadow: 0 0 20px rgba(0, 136, 204, 0.5);
        transform: scale(1);
    }
    100% {
        box-shadow: 0 0 45px rgba(0, 170, 255, 0.95), 0 0 15px rgba(255, 255, 255, 0.6);
        transform: scale(1.02);
    }
}

.telegram-theme-btn:hover {
    background: var(--gradient-telegram-hover) !important;
    transform: translateY(-3px) scale(1.03) !important;
    box-shadow: 0 18px 50px rgba(0, 136, 204, 0.95) !important;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-20deg);
    animation: shineEffect 3s infinite;
}

@keyframes shineEffect {
    0% { left: -100%; }
    25% { left: 150%; }
    100% { left: 150%; }
}

.btn-icon-wrapper {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-text-group {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-main-text {
    font-family: var(--font-heading);
    font-size: 1.28rem;
    font-weight: 900;
    letter-spacing: 0.8px;
    line-height: 1;
    text-transform: uppercase;
}

.btn-arrow-box {
    font-size: 1.3rem;
    display: flex;
    align-items: center;
}

.cta-micro-copy {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
}

/* SECTION 2: FULL SCREEN SNAP-SCROLL INSTAGRAM REELS FEED */
.reels-feed-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    scroll-snap-align: start;
    scroll-margin-top: 56px;
}

.feed-header-title {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.section-tag {
    background: var(--gradient-insta);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.8px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
}

.section-heading {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
}

.section-subheading {
    font-size: 0.85rem;
    color: var(--text-secondary);
    max-width: 460px;
}

/* FULL SCREEN SNAP SCROLL REELS CONTAINER (EXACT 100VH INSTAGRAM SWIPE FEED) */
.reels-snap-feed {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.full-reel-screen {
    width: 100%;
    height: calc(100vh - 56px);
    height: calc(100dvh - 56px);
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #000000;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95), 0 0 35px rgba(0, 136, 204, 0.5);
    border: 2px solid var(--card-border-glow);
    scroll-snap-align: start;
    scroll-snap-stop: always;
    scroll-margin-top: 56px;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .container {
        padding: 10px 0;
        gap: 16px;
    }

    .hero-card {
        margin-top: 8px;
        padding-top: 24px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .full-reel-screen {
        height: calc(100vh - 56px);
        height: calc(100dvh - 56px);
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
}

.reel-video-frame {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000000;
    overflow: hidden;
}

.full-reel-img, .full-reel-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Center Play Overlay */
.reel-center-play {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.play-btn-circle {
    width: 75px;
    height: 75px;
    background: var(--gradient-telegram);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    padding-left: 5px;
    box-shadow: 0 0 40px rgba(0, 170, 255, 0.95);
    animation: playPulse 1.5s infinite alternate;
}

@keyframes playPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 15px rgba(0, 136, 204, 0.6); }
    100% { transform: scale(1.1); box-shadow: 0 0 45px rgba(0, 170, 255, 1), 0 0 18px rgba(255, 255, 255, 0.95); }
}

.play-hint {
    font-size: 0.85rem;
    font-weight: 800;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.85);
    padding: 6px 18px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.3);
    letter-spacing: 0.4px;
}

/* Reel Bottom Overlay & JOIN TELEGRAM BUTTON (PERFECTLY CENTERED VIP LAYOUT) */
.reel-overlay-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 30px 16px 24px;
    background: linear-gradient(to top, rgba(3, 7, 18, 0.98) 0%, rgba(3, 7, 18, 0.75) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* FULL SCREEN REEL CTA BUTTON (CENTERED VIP STYLE) */
.reel-full-cta-btn {
    position: relative;
    width: 100%;
    background: var(--gradient-telegram) !important;
    color: #ffffff;
    text-decoration: none;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: 0.8px;
    box-shadow: var(--shadow-btn-telegram) !important;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    transition: all 0.25s ease;
    text-align: center;
}

.reel-full-cta-btn:hover {
    background: var(--gradient-telegram-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 136, 204, 0.95) !important;
}

.reel-full-cta-btn i {
    font-size: 1.3rem;
}

/* User Reviews Section */
.text-center { text-align: center; }

.reviews-section {
    scroll-snap-align: start;
    scroll-margin-top: 56px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 14px;
}

@media (max-width: 600px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

.review-card {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 14px;
    font-size: 0.83rem;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
    color: #fff;
}

.av-1 { background: #0284c7; }
.av-2 { background: #059669; }
.av-3 { background: #7c3aed; }

.review-card h4 {
    color: #f8fafc;
    font-size: 0.86rem;
    font-weight: 700;
}

.stars {
    color: var(--accent-gold);
    font-size: 0.75rem;
}

.review-card p {
    color: var(--text-secondary);
    line-height: 1.45;
}

/* Bottom CTA Section */
.bottom-cta-section {
    scroll-snap-align: start;
    scroll-margin-top: 56px;
}

.bottom-cta-card {
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.3) 0%, rgba(34, 158, 217, 0.3) 100%);
    border: 1px solid var(--accent-cyan);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
}

.bottom-cta-card h2 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: #ffffff;
    font-weight: 800;
}

.bottom-cta-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.secondary-btn {
    max-width: 420px;
    justify-content: center;
}

/* Live Join Toast Notification */
.live-toast-box {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 130;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid var(--accent-cyan);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.8);
    transform: translateY(120px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
    max-width: 320px;
}

.live-toast-box.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.toast-icon {
    width: 36px;
    height: 36px;
    background: rgba(0, 136, 204, 0.25);
    color: var(--accent-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.toast-content p {
    font-size: 0.82rem;
    color: #f1f5f9;
    line-height: 1.3;
}

.toast-time {
    font-size: 0.72rem;
    color: var(--accent-green-bright);
    font-weight: 700;
}

/* Footer */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(3, 7, 18, 0.98);
    padding: 24px 14px 35px;
    margin-top: 30px;
    text-align: center;
    scroll-snap-align: start;
    scroll-margin-top: 56px;
}

.footer-container {
    max-width: 580px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.trust-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 0.76rem;
    color: #94a3b8;
}

.footer-disclaimer {
    font-size: 0.74rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.footer-links {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-links a {
    color: var(--accent-cyan);
    text-decoration: none;
}

.copyright {
    font-size: 0.75rem;
    color: var(--text-muted);
}
