/* ====================================================
   TV YAKO CINEMA STREAMING PLATFORM
   High-end Dark Emerald Cinematic Theme
   ==================================================== */

:root {
    --bg-main: #080a0d;
    --bg-surface: #0f1319;
    --bg-surface-elevated: #151b23;
    --bg-glass: rgba(15, 19, 25, 0.85);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-gold: rgba(34, 197, 94, 0.3);
    --border-glass-brand: rgba(34, 197, 94, 0.35);

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    /* TV YAKO Brand Color Palette (Matches TV YAKO Emblem) */
    --brand-primary: #22c55e;
    --brand-hover: #16a34a;
    --brand-glow: rgba(34, 197, 94, 0.45);
    --brand-light: #4ade80;
    --brand-dark: #15803d;
    --brand-accent: #2ecc71;

    /* Legacy aliases for 100% template compatibility */
    --gold-primary: #22c55e;
    --gold-hover: #16a34a;
    --gold-glow: rgba(34, 197, 94, 0.45);

    --whatsapp-green: #25D366;
    --whatsapp-hover: #20ba59;
    --whatsapp-glow: rgba(37, 211, 102, 0.4);

    --accent-red: #ef4444;
    --accent-blue: #3b82f6;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 0 30px rgba(34, 197, 94, 0.25);
    --shadow-brand: 0 0 30px rgba(34, 197, 94, 0.25);
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.7);

    --font-heading: 'Cinzel', serif;
    --font-body: 'Outfit', sans-serif;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* Background Ambient Orbs */
.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.22;
}
.glow-top-left {
    top: -150px;
    left: -150px;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, #22c55e, transparent 70%);
}
.glow-bottom-right {
    bottom: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #059669, transparent 70%);
}

/* Background Big Logo Watermark */
.bg-logo-watermark {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(88vw, 850px);
    height: min(88vw, 850px);
    background-image: url('watermark-logo.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.14;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 0;
    filter: drop-shadow(0 0 70px rgba(34, 197, 94, 0.45));
    user-select: none;
}

@media (max-width: 768px) {
    .bg-logo-watermark {
        width: 95vw;
        height: 95vw;
        opacity: 0.12;
    }
}

/* ================= NAVIGATION ================= */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(8, 10, 13, 0.88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition);
    padding-top: env(safe-area-inset-top, 0px);
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 14px 24px;
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.brand-logo-img, .main-brand-icon {
    height: 50px;
    width: 50px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    border: 1.5px solid rgba(34, 197, 94, 0.5);
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.4), 0 4px 12px rgba(0, 0, 0, 0.5);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.brand-logo:hover .brand-logo-img,
.brand-logo:hover .main-brand-icon {
    transform: scale(1.06);
    box-shadow: 0 0 28px rgba(34, 197, 94, 0.65), 0 6px 16px rgba(0, 0, 0, 0.7);
}

.admin-app-logo {
    height: 48px;
    width: 48px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.45);
    border: 1.5px solid rgba(34, 197, 94, 0.5);
    object-fit: cover;
}

.brand-text-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 900;
    letter-spacing: 2px;
    line-height: 1.05;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 40%, #f1f5f9 60%, #4ade80 85%, #22c55e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
}

.brand-accent-text {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

.brand-sub-badge {
    background: linear-gradient(90deg, rgba(34, 197, 94, 0.2), rgba(16, 185, 129, 0.1));
    border: 1px solid rgba(34, 197, 94, 0.45);
    color: #4ade80;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 2px 10px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.25);
    display: inline-block;
}

/* Admin Specific Branding Elements */
.admin-header-brand-group {
    display: flex;
    align-items: center;
    gap: 18px;
}
.admin-header-emblem {
    height: 62px;
    width: 62px;
    border-radius: 14px;
    box-shadow: 0 0 25px rgba(34, 197, 94, 0.55), 0 6px 18px rgba(0, 0, 0, 0.7);
    border: 2px solid #22c55e;
    object-fit: cover;
    flex-shrink: 0;
}
.admin-header-title {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: #fff;
    margin-top: 4px;
}

/* Admin Lock Screen Hero */
.lock-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}
.lock-hero-logo {
    height: 96px;
    width: 96px;
    border-radius: 22px;
    box-shadow: 0 0 35px rgba(34, 197, 94, 0.65), 0 10px 30px rgba(0, 0, 0, 0.8);
    border: 2.5px solid #22c55e;
    object-fit: cover;
}
.lock-title-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.lock-brand-title {
    font-size: 2.4rem !important;
    letter-spacing: 3px !important;
    font-weight: 900;
}
.lock-sub-pill {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid #22c55e;
    color: #4ade80;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    letter-spacing: 2px;
    margin-top: 2px;
    display: inline-block;
}

/* Admin Notification Permission Banner */
.admin-permission-banner {
    background: linear-gradient(135deg, rgba(20, 83, 45, 0.45), rgba(8, 12, 16, 0.95));
    border: 1.5px solid #22c55e;
    border-radius: var(--radius-md);
    padding: 14px 18px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.15);
}
.admin-permission-banner.granted {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
}
.permission-banner-content {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
}
.permission-banner-content i {
    font-size: 1.5rem;
    color: #4ade80;
}

.logo-icon {
    font-size: 24px;
    color: var(--brand-primary);
    filter: drop-shadow(0 0 8px var(--brand-glow));
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.admin-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: var(--transition);
}
.admin-btn:hover {
    background: rgba(34, 197, 94, 0.15);
    color: var(--brand-light);
    border-color: var(--brand-primary);
}

/* User Account Pill in Nav */
.user-nav-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-surface-elevated);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-glass);
}
.user-avatar {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    color: #ffffff;
}
.user-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}
.status-approved-dot { background: var(--brand-primary); box-shadow: 0 0 8px var(--brand-primary); }
.status-pending-dot { background: #facc15; box-shadow: 0 0 8px #facc15; }

/* ================= BUTTONS & BADGES ================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.btn-sm {
    padding: 6px 14px;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1.1rem;
    border-radius: var(--radius-md);
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #22c55e, #15803d);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.4);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(34, 197, 94, 0.65);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 4px 20px var(--whatsapp-glow);
}
.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
}
.btn-outline:hover {
    border-color: var(--brand-primary);
    color: var(--brand-light);
    background: rgba(34, 197, 94, 0.1);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
}
.btn-glass:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-gold {
    background: linear-gradient(135deg, #22c55e, #15803d);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.35);
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.55);
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.badge-gold {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid var(--brand-primary);
    color: var(--brand-light);
}
.badge-glass {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
}
.badge-rating {
    background: rgba(234, 179, 8, 0.15);
    color: #facc15;
}
.badge-quality {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid #3b82f6;
    color: #60a5fa;
}

/* ================= MAIN WRAPPER ================= */
.main-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 30px 24px 60px;
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
    position: relative;
    z-index: 10;
}

/* ================= HERO SECTION ================= */
.hero-section {
    position: relative;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 40px;
    align-items: center;
    padding: 40px 0 60px;
}

.hero-backdrop {
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    background-image: url('https://images.unsplash.com/photo-1534447677768-be436bb09401?q=80&w=1000&auto=format&fit=crop');
    background-size: cover;
    background-position: center 25%;
    opacity: 0.12;
    filter: blur(25px);
    z-index: -1;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-main) 80%);
}

.movie-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: 1.5px;
    background: linear-gradient(135deg, #ffffff 50%, #e2e8f0 75%, var(--brand-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-tagline {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 650px;
}

.hero-starring-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid var(--border-glass-gold);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-full);
    padding: 8px 18px;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 22px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.hero-starring-badge strong {
    color: var(--brand-light);
}
.hero-starring-badge i {
    font-size: 1rem;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 32px;
}
.hero-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}
.price-highlight {
    color: var(--brand-light);
    font-weight: 700;
    font-size: 1.1rem;
    background: rgba(34, 197, 94, 0.12);
    padding: 2px 10px;
    border-radius: var(--radius-sm);
    border: 1px dashed var(--brand-primary);
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

/* User Status Banner */
.status-banner {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}
.status-banner.approved {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid var(--brand-primary);
    color: #a7f3d0;
}
.status-banner.pending {
    background: rgba(250, 204, 21, 0.1);
    border: 1px solid #facc15;
    color: #fde68a;
}

/* Floating Poster Card */
.hero-poster-wrapper {
    display: flex;
    justify-content: center;
}
.poster-card {
    position: relative;
    width: 340px;
    max-width: 100%;
    aspect-ratio: 724 / 1024;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid var(--border-glass-gold);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), var(--shadow-gold);
    transition: transform 0.4s ease;
    background: #080a0d;
}
.poster-card:hover {
    transform: translateY(-8px) scale(1.02);
}
.poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.poster-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(8, 10, 13, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--brand-primary);
    color: var(--brand-light);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
}
.poster-price-chip {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: linear-gradient(135deg, #22c55e, #15803d);
    color: #ffffff;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 15px rgba(34, 197, 94, 0.35);
}

/* ================= THEATER & VIDEO PLAYER ================= */
.theater-section {
    margin: 40px 0 60px;
    scroll-margin-top: 100px;
}

.theater-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.theater-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stream-live-pill {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--whatsapp-green);
    letter-spacing: 1px;
}
.stream-live-pill i {
    font-size: 0.65rem;
    margin-right: 4px;
}

.theater-header h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

/* Player Container */
.player-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0,0,0,0.5);
    border: 1px solid var(--border-glass);
}

.video-player {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    display: block;
}

.iframe-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 2;
    background: #000;
}

/* Anti-Piracy Watermark */
.player-watermark {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    pointer-events: none;
    z-index: 10;
}

/* Lock Overlay */
.player-lock-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 11, 16, 0.92);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    z-index: 20;
    text-align: center;
    transition: opacity 0.3s ease;
}

.lock-card {
    max-width: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.lock-icon-wrap {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.15);
    border: 2px solid var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-light);
    font-size: 1.8rem;
    box-shadow: 0 0 30px var(--brand-glow);
}

.lock-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #fff;
}

.lock-card p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.lock-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    padding: 14px 20px;
    border-radius: var(--radius-md);
    width: 100%;
    font-size: 0.9rem;
    color: var(--text-primary);
}
.lock-features i {
    color: var(--brand-primary);
    margin-right: 8px;
}

.lock-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 8px;
}

/* Custom Player Controls */
.custom-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95), transparent);
    padding: 20px 20px 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 15;
}

.player-container:hover .custom-controls,
.custom-controls:focus-within {
    opacity: 1;
}

.progress-bar-container {
    position: relative;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 14px;
    transition: height 0.15s ease;
}
.progress-bar-container:hover {
    height: 9px;
}
.progress-bar-buffered {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    width: 0%;
}
.progress-bar-filled {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--brand-primary);
    border-radius: 4px;
    width: 0%;
    box-shadow: 0 0 10px var(--brand-primary);
}

.controls-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.controls-left, .controls-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ctrl-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}
.ctrl-btn:hover {
    color: var(--brand-light);
    transform: scale(1.1);
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 8px;
}
.volume-slider {
    width: 70px;
    height: 4px;
    accent-color: var(--brand-primary);
    cursor: pointer;
}

.time-display {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-variant-numeric: tabular-nums;
}

/* Payment Quick Bar Under Video */
.payment-quick-bar {
    background: linear-gradient(90deg, rgba(34, 197, 94, 0.12), rgba(15, 19, 25, 0.95));
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--radius-md);
    padding: 18px 24px;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.pq-left {
    display: flex;
    align-items: center;
    gap: 16px;
}
.whatsapp-pulse-icon {
    font-size: 2.2rem;
    color: var(--whatsapp-green);
    filter: drop-shadow(0 0 12px var(--whatsapp-glow));
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.pq-left h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}
.pq-left p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ================= DETAILS & SYNOPSIS ================= */
.details-section {
    margin-top: 40px;
}

.details-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 30px;
}

.glass-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-card);
}

.glass-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.glass-card h3 i {
    color: var(--brand-primary);
}

.storyline-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.divider {
    border: 0;
    height: 1px;
    background: var(--border-glass);
    margin: 28px 0;
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 16px;
}
.step-card {
    background: var(--bg-surface-elevated);
    padding: 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-glass);
    position: relative;
}
.step-number {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 26px;
    height: 26px;
    background: rgba(34, 197, 94, 0.2);
    color: var(--brand-light);
    border: 1px solid rgba(34, 197, 94, 0.35);
    border-radius: 50%;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}
.step-card h4 {
    font-size: 1rem;
    margin-bottom: 6px;
    color: #fff;
}
.step-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Reviews List */
.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.review-item {
    background: var(--bg-surface-elevated);
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-glass);
}
.review-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.review-author {
    font-weight: 600;
    color: #fff;
}
.review-stars {
    color: #facc15;
    font-size: 0.85rem;
}
.review-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Sidebar Info List */
.info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.info-list li {
    display: flex;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
}
.info-list li strong {
    color: var(--text-secondary);
}
.price-pill {
    background: rgba(34, 197, 94, 0.15);
    color: var(--brand-light);
    border: 1px solid rgba(34, 197, 94, 0.3);
    padding: 2px 10px;
    border-radius: var(--radius-sm);
    font-weight: 700;
}

/* VIP Code Form */
.vip-code-form .input-group {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}
.vip-code-form input {
    flex: 1;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.vip-code-form input:focus {
    outline: none;
    border-color: var(--brand-primary);
}

.faq-item {
    margin-bottom: 14px;
}
.faq-q {
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}
.faq-a {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ================= FOOTER ================= */
.footer {
    border-top: 1px solid var(--border-glass);
    background: #08090d;
    padding: 30px 24px;
    margin-top: 60px;
}
.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.footer-right {
    display: flex;
    gap: 16px;
}
.footer-link {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}
.footer-link:hover {
    color: var(--brand-light);
}

/* ================= MODAL STYLING ================= */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.2s ease;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass-gold);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), var(--shadow-gold);
}

.modal-lg {
    max-width: 620px;
}

.modal-xl {
    max-width: 900px;
}

.modal-video {
    max-width: 800px;
    padding: 24px;
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: var(--text-secondary);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.modal-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-glass);
    margin-bottom: 24px;
}
.modal-tab {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}
.modal-tab.active {
    color: var(--brand-light);
}
.modal-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--brand-primary);
    box-shadow: 0 0 10px var(--brand-primary);
}

/* Forms */
.modal-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.form-subtext {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

/* Payment Modal Specific */
.payment-modal-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}
.whatsapp-badge-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.15);
    border: 2px solid var(--whatsapp-green);
    color: var(--whatsapp-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}
.payment-modal-header h2 {
    font-size: 1.4rem;
    color: #fff;
}
.payment-modal-header p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.payment-summary-card {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}
.pay-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
}
.ref-code-badge {
    background: rgba(34, 197, 94, 0.15);
    color: var(--brand-light);
    border: 1px solid rgba(34, 197, 94, 0.3);
    font-family: monospace;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    letter-spacing: 1px;
}
.total-row {
    border-top: 1px solid var(--border-glass);
    padding-top: 10px;
    margin-top: 4px;
}
.total-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--brand-light);
}

.payment-instructions-box {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 24px;
}
.payment-instructions-box h4 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.payment-instructions-box ol {
    padding-left: 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.modal-actions-stacked {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.code-unlock-toggle {
    margin-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.code-unlock-toggle a {
    color: var(--brand-light);
    text-decoration: underline;
    cursor: pointer;
}
.inline-code-wrap {
    margin-top: 12px;
}
.inline-code-wrap .input-group {
    display: flex;
    gap: 8px;
}
.inline-code-wrap input {
    flex: 1;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 8px 14px;
    color: #fff;
    text-transform: uppercase;
}

/* Trailer Video Modal */
.trailer-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin: 16px 0;
}
.trailer-wrapper video {
    width: 100%;
    height: 100%;
    display: block;
}
.trailer-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* Star Rating in Review Modal */
.star-rating-select {
    display: flex;
    gap: 8px;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
}
.star-rating-select i.active {
    color: #facc15;
}

/* ================= ADMIN CONTROL PANEL ================= */
.admin-modal-box {
    max-height: 92vh;
}
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 18px;
    margin-bottom: 24px;
}
.admin-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.admin-auth-barrier {
    padding: 40px 20px;
    display: flex;
    justify-content: center;
}
.admin-pin-card {
    max-width: 380px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.admin-pin-card input {
    text-align: center;
    letter-spacing: 4px;
    font-size: 1.4rem;
    font-weight: 700;
}

.admin-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border-glass);
    margin-bottom: 24px;
    overflow-x: auto;
}
.admin-tab {
    background: transparent;
    border: none;
    padding: 12px 18px;
    color: var(--text-secondary);
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}
.admin-tab.active {
    color: var(--brand-light);
    border-bottom-color: var(--brand-primary);
}

.admin-tab-pane {
    display: none;
}
.admin-tab-pane.active {
    display: block;
    animation: fadeIn 0.25s ease;
}

.admin-pane-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.admin-pane-header h3 {
    font-size: 1.2rem;
    color: #fff;
}
.admin-pane-header p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Admin Table */
.table-responsive {
    overflow-x: auto;
    background: var(--bg-surface-elevated);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-glass);
    margin-bottom: 24px;
}
.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
}
.admin-table th {
    background: rgba(0, 0, 0, 0.3);
    padding: 12px 16px;
    color: var(--text-secondary);
    font-weight: 600;
    border-bottom: 1px solid var(--border-glass);
}
.admin-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
}
.status-pill {
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.status-pill.approved {
    background: rgba(34, 197, 94, 0.15);
    color: var(--brand-light);
    border: 1px solid var(--brand-primary);
}
.status-pill.pending {
    background: rgba(250, 204, 21, 0.15);
    color: #facc15;
    border: 1px solid #facc15;
}

.table-action-btns {
    display: flex;
    gap: 6px;
}

/* VIP passcodes chips */
.vip-codes-section {
    background: var(--bg-surface-elevated);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    border: 1px solid var(--border-glass);
}
.vip-codes-section h4 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 4px;
}
.vip-chips-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}
.vip-chip {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid var(--brand-primary);
    color: var(--brand-light);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-family: monospace;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.vip-chip-del {
    background: none;
    border: none;
    color: var(--accent-red);
    cursor: pointer;
    font-size: 0.9rem;
}

/* Video config box inside admin */
.video-config-box {
    background: var(--bg-surface-elevated);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-glass);
    margin-top: 16px;
}
.video-config-box h4 {
    margin-bottom: 4px;
    color: #fff;
}
.input-with-upload {
    display: flex;
    gap: 10px;
}
.input-with-upload input {
    flex: 1;
}
.file-upload-btn {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    padding: 10px 16px;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}
.file-upload-btn:hover {
    border-color: var(--brand-primary);
    color: var(--brand-light);
}
.hidden-file-input {
    display: none;
}

/* ================= TOAST NOTIFICATIONS ================= */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.toast {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-glass);
    color: #fff;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideUp 0.3s ease;
    min-width: 280px;
}
@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.toast-success { border-color: var(--brand-primary); }
.toast-success i { color: var(--brand-primary); }
.toast-warning { border-color: #facc15; }
.toast-warning i { color: #facc15; }
.toast-error { border-color: var(--accent-red); }
.toast-error i { color: var(--accent-red); }

/* Utility Classes */
.hidden { display: none !important; }
.text-gold { color: var(--brand-light); }
.text-brand { color: var(--brand-light); }
.text-whatsapp { color: var(--whatsapp-green); }
.text-danger { color: var(--accent-red); }
.text-muted { color: var(--text-muted); }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }

/* ================= ECOCASH & PAYMENT UI ================= */
.ecocash-instructions-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}
.eco-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.eco-num {
    width: 24px;
    height: 24px;
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid var(--brand-primary);
    color: var(--brand-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}
.eco-phone-box {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-glass-gold);
    padding: 6px 14px;
    border-radius: var(--radius-md);
    margin-top: 6px;
}
.eco-phone-num {
    font-weight: 800;
    color: #fff;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}
.copy-phone-btn {
    padding: 3px 8px;
    font-size: 0.75rem;
}

/* EcoCash Form Card */
.ecocash-form-card {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-glass-gold);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ecocash-form-card label {
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
}
.ecocash-form-card .input-group {
    display: flex;
    gap: 8px;
}
.ecocash-form-card input {
    flex: 1;
    background: #0b0e13;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    color: #fff;
    font-family: monospace;
    font-size: 1.05rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.ecocash-form-card input:focus {
    outline: none;
    border-color: var(--brand-primary);
}

/* Pending Payment Box */
.payment-pending-box {
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid var(--brand-primary);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.pending-icon-row {
    display: flex;
    align-items: center;
    gap: 14px;
}
.pending-icon-row i {
    font-size: 1.8rem;
}
.pending-icon-row h4 {
    font-size: 1.05rem;
    color: #fff;
    margin-bottom: 2px;
}
.pending-sub {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

/* Device Blocked Overlay */
.device-lock-overlay {
    background: rgba(8, 10, 13, 0.96) !important;
}
.lock-danger {
    background: rgba(239, 68, 68, 0.15) !important;
    border-color: var(--accent-red) !important;
    color: var(--accent-red) !important;
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.4) !important;
}
.device-alert-features {
    border-color: rgba(239, 68, 68, 0.3) !important;
    background: rgba(239, 68, 68, 0.05) !important;
}

/* Dynamic Moving Anti-Piracy Watermark */
.player-watermark {
    position: absolute;
    top: 20%;
    left: 20%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    pointer-events: none;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    user-select: none;
}
.player-watermark i {
    color: var(--brand-primary);
}

/* TVYAKO Brand Badges */
.brand-badge-pill {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark));
    color: #ffffff;
    font-weight: 900;
    font-size: 0.95rem;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px var(--brand-glow);
}
.brand-sub-badge {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid var(--border-glass-gold);
    color: var(--brand-light);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 2px;
}

/* Free Trailer Showcase on 1st Page */
.trailer-showcase-section {
    max-width: 1100px;
    margin: 40px auto 60px;
    padding: 0 10px;
}
.section-title-wrapper {
    text-align: center;
    margin-bottom: 24px;
}
.section-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid var(--border-glass-gold);
    color: var(--brand-light);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.section-title-wrapper h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: #fff;
    margin-bottom: 6px;
}
.section-title-wrapper p {
    color: var(--text-secondary);
    font-size: 1rem;
}
.home-trailer-container {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass-gold);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card), var(--shadow-gold);
}
.home-trailer-frame-wrap {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}
.home-trailer-iframe, .modal-trailer-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.home-trailer-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: var(--bg-surface-elevated);
    border-top: 1px solid var(--border-glass);
    flex-wrap: wrap;
    gap: 12px;
}
.htb-info {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Quality Guide Bar */
.quality-guide-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 19, 25, 0.85);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    padding: 10px 18px;
    font-size: 0.82rem;
    flex-wrap: wrap;
    gap: 10px;
}
.quality-pills {
    display: flex;
    gap: 8px;
}
.quality-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.quality-pill.active {
    background: rgba(34, 197, 94, 0.2);
    border-color: var(--brand-primary);
    color: var(--brand-light);
}
.quality-tip {
    color: var(--text-muted);
}

/* Start Watching Prompt Overlay */
.player-start-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 10, 13, 0.9);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 25;
    padding: 20px;
    text-align: center;
    animation: fadeIn 0.3s ease;
}
.start-card {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-glass-gold);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), var(--shadow-gold);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.start-badge {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid var(--brand-primary);
    color: var(--brand-light);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-full);
}
.start-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: #fff;
}
.start-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.btn-xl {
    padding: 16px 32px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 0 25px var(--brand-glow);
}

/* Invisible Click Guard to Absorb Clicks on Google Drive Pop-out & Download Top Bar */
.iframe-top-guard {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    z-index: 4;
    background: transparent;
    cursor: default;
    pointer-events: auto;
}

.eco-name-tag {
    font-size: 0.85rem;
    font-weight: 700;
    margin-left: 6px;
}

/* Admin Dashboard Stats Grid */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}
.stat-card {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
}
.stat-card:hover {
    transform: translateY(-3px);
}
.stat-icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.stat-card-gold .stat-icon-wrap {
    background: rgba(34, 197, 94, 0.15);
    color: var(--brand-light);
    border: 1px solid var(--border-glass-gold);
}
.stat-card-green .stat-icon-wrap {
    background: rgba(37, 211, 102, 0.15);
    color: var(--whatsapp-green);
    border: 1px solid var(--whatsapp-green);
}
.stat-card-blue .stat-icon-wrap {
    background: rgba(59, 130, 246, 0.15);
    color: var(--accent-blue);
    border: 1px solid rgba(59, 130, 246, 0.4);
}
.stat-card-purple .stat-icon-wrap {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.4);
}
.stat-info {
    display: flex;
    flex-direction: column;
}
.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}
.stat-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    font-family: var(--font-heading);
    line-height: 1.2;
}
.stat-card-gold .stat-value {
    color: var(--brand-light);
}

.user-num-badge {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem;
    display: inline-block;
}

/* ====================================================
   RESPONSIVE DESIGN SYSTEM (PHONES, TABLETS & ORIENTATION)
   ==================================================== */

/* --- TABLETS & SMALL LAPTOPS (max-width: 1100px) --- */
@media (max-width: 1100px) {
    .main-wrapper {
        padding: 24px 20px 50px;
    }
    .hero-section {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 30px;
        padding: 30px 0 50px;
    }
    .hero-title {
        font-size: clamp(2rem, 4.5vw, 3.2rem);
    }
    .poster-card {
        width: 300px;
    }
    .details-grid {
        gap: 24px;
    }
}

/* --- TABLETS PORTRAIT (max-width: 992px) --- */
@media (max-width: 992px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 36px;
        padding: 24px 0 40px;
    }
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0 auto;
        max-width: 720px;
    }
    .movie-badges, .hero-meta, .hero-cta-group {
        justify-content: center;
    }
    .hero-tagline {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-poster-wrapper {
        order: -1;
        margin-bottom: 10px;
    }
    .poster-card {
        max-width: 280px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), var(--shadow-brand);
    }
    .details-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .admin-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

/* --- LARGE PHONES & SMALL TABLETS (max-width: 768px) --- */
@media (max-width: 768px) {
    .navbar {
        padding: 0;
    }
    .nav-container {
        padding: 12px 16px;
    }
    .brand-logo-img {
        height: 34px;
    }
    .brand-sub-badge {
        font-size: 0.65rem;
        padding: 2px 6px;
    }
    .main-wrapper {
        padding: 16px 14px 40px;
    }
    
    /* Hero adjustments */
    .hero-title {
        font-size: clamp(1.85rem, 6vw, 2.6rem);
        letter-spacing: 0.5px;
        margin-bottom: 12px;
    }
    .hero-tagline {
        font-size: 1rem;
        margin-bottom: 18px;
    }
    .hero-meta {
        gap: 12px 18px;
        font-size: 0.88rem;
        margin-bottom: 24px;
    }
    .hero-cta-group {
        width: 100%;
        max-width: 440px;
        flex-direction: column;
        gap: 12px;
    }
    .hero-cta-group .btn {
        width: 100%;
        min-height: 48px;
        font-size: 1rem;
    }

    /* Theater & Video Player */
    .theater-section {
        margin: 24px 0 40px;
        scroll-margin-top: 80px;
    }
    .theater-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 14px;
    }
    .theater-header h2 {
        font-size: 1.3rem;
    }
    .quality-guide-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 10px 14px;
    }
    .quality-pills {
        flex-wrap: wrap;
        gap: 6px;
    }
    
    /* Quick Payment Bar */
    .payment-quick-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 16px;
        text-align: center;
    }
    .pq-left {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    .payment-quick-bar .btn {
        width: 100%;
        min-height: 46px;
        font-size: 0.95rem;
    }

    /* Trailer Section */
    .section-title-wrapper h2 {
        font-size: 1.5rem;
    }
    .home-trailer-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 14px 16px;
    }
    .htb-info {
        justify-content: space-between;
        font-size: 0.85rem;
    }
    .home-trailer-bar .btn {
        width: 100%;
        min-height: 44px;
    }

    /* Steps Grid */
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .step-card {
        padding: 16px;
    }

    /* Glass Cards */
    .glass-card {
        padding: 20px 16px;
        border-radius: var(--radius-md);
        margin-bottom: 18px;
    }
    .glass-card h3 {
        font-size: 1.2rem;
    }
    
    /* Modals for Mobile Viewports */
    .modal-backdrop {
        padding: 12px;
        align-items: center;
    }
    .modal-box {
        padding: 24px 18px;
        max-height: 90vh;
        max-height: 90dvh;
        width: 100%;
        border-radius: var(--radius-md);
    }
    .modal-close {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
        font-size: 1.5rem;
    }
    .form-grid-2, .form-grid-3 {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    /* Admin Portal on Mobile/Tablet */
    .admin-page-container {
        margin: 20px auto;
        padding: 0 12px;
    }
    .admin-card-main {
        padding: 20px 16px;
        border-radius: var(--radius-md);
    }
    .admin-portal-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .admin-portal-header h1 {
        font-size: 1.4rem;
    }
    .admin-pane-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .admin-user-quick-actions {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        gap: 8px;
    }
    .admin-user-quick-actions .btn {
        flex: 1;
        min-width: 130px;
        justify-content: center;
    }
    .input-with-upload {
        flex-direction: column;
        gap: 8px;
    }
    .input-with-upload .btn, .input-with-upload .file-upload-btn {
        width: 100%;
        justify-content: center;
    }

    /* Player Lock Card */
    .lock-card {
        padding: 10px;
    }
    .lock-icon-wrap {
        width: 58px;
        height: 58px;
        font-size: 1.4rem;
    }
    .lock-card h3 {
        font-size: 1.35rem;
    }
    .lock-features {
        padding: 12px 14px;
        font-size: 0.85rem;
    }
    .lock-buttons .btn {
        min-height: 46px;
    }
}

/* --- PHONES (max-width: 480px) --- */
@media (max-width: 480px) {
    .nav-container {
        padding: 10px 12px;
    }
    .brand-logo-img {
        height: 28px;
    }
    .brand-sub-badge {
        display: none; /* Hide subtitle badge on very compact screens to avoid clutter */
    }
    .nav-actions {
        gap: 6px;
    }
    .nav-actions .btn {
        padding: 6px 10px;
        font-size: 0.78rem;
    }
    #navSignupBtn {
        padding: 7px 12px;
        font-size: 0.8rem;
        font-weight: 700;
    }
    .user-nav-pill {
        max-width: 140px;
        padding: 4px 8px;
        font-size: 0.78rem;
        gap: 6px;
    }
    .user-nav-pill span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Hero section */
    .hero-title {
        font-size: clamp(1.6rem, 7.5vw, 2.1rem);
        line-height: 1.15;
    }
    .hero-tagline {
        font-size: 0.9rem;
        line-height: 1.45;
    }
    .hero-meta {
        font-size: 0.8rem;
        gap: 8px 12px;
    }
    .price-highlight {
        font-size: 0.95rem;
        padding: 2px 8px;
    }
    .poster-card {
        max-width: 230px;
    }
    .poster-badge {
        font-size: 0.68rem;
        padding: 3px 8px;
    }
    .poster-price-chip {
        font-size: 0.78rem;
        padding: 4px 12px;
    }
    
    /* Inputs prevent auto-zoom on iOS */
    input, select, textarea,
    .form-group input, .form-group select, .form-group textarea {
        font-size: 16px !important; /* Prevents auto zoom-in on iPhone/iPad */
    }

    /* Status banner */
    .status-banner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 12px 14px;
        gap: 10px;
    }
    .status-banner .btn {
        width: 100%;
        justify-content: center;
    }

    /* Movie Info List */
    .info-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding-bottom: 8px;
    }

    /* Payment modal EcoCash Box */
    .eco-phone-box {
        width: 100%;
        justify-content: space-between;
    }
    .ecocash-form-card .input-group {
        flex-direction: column;
        gap: 8px;
    }
    .ecocash-form-card .btn {
        width: 100%;
        min-height: 44px;
    }
    .vip-code-form .input-group {
        flex-direction: column;
        gap: 8px;
    }
    .vip-code-form .btn {
        width: 100%;
        min-height: 44px;
    }

    /* Admin Portal */
    .admin-stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .stat-card {
        padding: 14px;
        gap: 12px;
    }
    .stat-icon-wrap {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
    }
    .stat-value {
        font-size: 1.35rem;
    }
    .admin-tabs {
        gap: 4px;
        padding-bottom: 2px;
    }
    .admin-tab {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    .table-responsive {
        border-radius: var(--radius-sm);
    }
    .admin-table th, .admin-table td {
        padding: 8px 10px;
        font-size: 0.78rem;
    }
    .vip-chips-wrap {
        gap: 6px;
    }
    .vip-chip {
        padding: 4px 10px;
        font-size: 0.78rem;
    }

    /* Footer */
    .footer {
        padding: 24px 16px;
        text-align: center;
    }
    .footer-container {
        flex-direction: column;
        gap: 14px;
        text-align: center;
    }
    .footer-right {
        justify-content: center;
    }

    /* Toast notifications on mobile */
    .toast-container {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }
    .toast {
        min-width: unset;
        width: 100%;
        padding: 12px 14px;
        font-size: 0.85rem;
    }
}

/* --- ULTRA COMPACT PHONES (max-width: 360px) --- */
@media (max-width: 360px) {
    .nav-container {
        padding: 8px 10px;
    }
    .brand-logo-img {
        height: 25px;
    }
    .hero-title {
        font-size: 1.5rem;
    }
    .badge {
        font-size: 0.65rem;
        padding: 2px 6px;
    }
    .modal-box {
        padding: 18px 12px;
    }
}

/* --- MOBILE LANDSCAPE MODE (max-height: 520px) --- */
@media (max-height: 520px) and (orientation: landscape) {
    .navbar {
        position: relative; /* Unpin in landscape to allow maximum video viewport space */
    }
    .main-wrapper {
        padding: 12px 16px 30px;
    }
    .hero-section {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding: 14px 0 24px;
    }
    .poster-card {
        max-width: 180px;
    }
    .theater-section {
        margin: 14px 0 24px;
    }
    .modal-box {
        max-height: 94vh;
        max-height: 94dvh;
        padding: 18px 20px;
    }
    .modal-form {
        gap: 12px;
    }
}

/* --- TOUCH SCREEN TARGET & SCROLL ENHANCEMENTS --- */
@media (hover: none) and (pointer: coarse) {
    .btn, button, .modal-tab, .admin-tab, .ctrl-btn {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    .progress-bar-container {
        height: 8px; /* Taller touch hit-area on touchscreen */
    }
    .progress-bar-container:active {
        height: 12px;
    }
    .custom-controls {
        opacity: 1; /* Keep controls accessible on touch */
        background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 70%, transparent 100%);
    }
    .table-responsive {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    .admin-tabs {
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .admin-tabs::-webkit-scrollbar {
        display: none;
    }
}

/* ========================================================
   CINEMA ACCESS & MOVIE PASSWORD STYLING
   Single-Device Lock, WhatsApp Payment & Password Redemption
   ======================================================== */
.cinema-access-bar {
    margin-top: 24px;
    margin-bottom: 24px;
    width: 100%;
}

.cab-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.cab-card {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.cab-card:hover {
    transform: translateY(-2px);
}

.cab-pay-card {
    border-color: rgba(37, 211, 102, 0.35);
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(20, 83, 45, 0.15));
}
.cab-pay-card:hover {
    box-shadow: 0 12px 35px -8px rgba(37, 211, 102, 0.25);
    border-color: rgba(37, 211, 102, 0.6);
}

.cab-unlock-card {
    border-color: rgba(234, 179, 8, 0.35);
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(113, 63, 18, 0.15));
}
.cab-unlock-card:hover {
    box-shadow: 0 12px 35px -8px rgba(234, 179, 8, 0.25);
    border-color: rgba(234, 179, 8, 0.6);
}

.cab-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.cab-header h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cab-step-badge {
    background: rgba(37, 211, 102, 0.2);
    color: #25d366;
    border: 1px solid rgba(37, 211, 102, 0.4);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 1px;
}

.cab-step-badge.step-gold {
    background: rgba(234, 179, 8, 0.2);
    color: #facc15;
    border-color: rgba(234, 179, 8, 0.4);
}

.cab-desc {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 18px;
}

.movie-password-form {
    width: 100%;
}

.movie-password-form .input-group {
    display: flex;
    gap: 8px;
    width: 100%;
}

.movie-pwd-input {
    flex: 1;
    background: rgba(2, 6, 23, 0.85);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 12px 16px;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: monospace, inherit;
    transition: all 0.2s ease;
}

.movie-pwd-input::placeholder {
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
    font-family: inherit;
    font-size: 0.95rem;
    color: #64748b;
}

.movie-pwd-input:focus {
    outline: none;
    border-color: #facc15;
    box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.25);
    background: rgba(15, 23, 42, 0.95);
}

.single-device-tag {
    margin-top: 10px;
    font-size: 0.82rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Password Box inside Player Lock Overlay */
.lock-password-box {
    margin-top: 16px;
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(234, 179, 8, 0.35);
    border-radius: 14px;
    padding: 16px 20px;
    width: 100%;
    text-align: left;
}

.lock-password-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #facc15;
    font-size: 1rem;
    margin-bottom: 6px;
}

.lock-password-sub {
    font-size: 0.88rem;
    color: #cbd5e1;
    margin-bottom: 12px;
    line-height: 1.45;
}

.btn-pulse {
    animation: btnGlowPulse 2.5s infinite;
}

@keyframes btnGlowPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
    }
    50% {
        box-shadow: 0 4px 28px rgba(37, 211, 102, 0.7);
        transform: scale(1.015);
    }
}

/* ========================================================
   WEB PROOF OF PAYMENT & AI VERIFIER MODAL STYLES
   ======================================================== */
.badge-ai-live {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.25), rgba(34, 197, 94, 0.25));
    border: 1px solid rgba(234, 179, 8, 0.6);
    color: #facc15;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ecocash-merchant-banner {
    background: linear-gradient(135deg, rgba(20, 83, 45, 0.25), rgba(15, 23, 42, 0.9));
    border: 1.5px solid rgba(34, 197, 94, 0.45);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    margin: 16px 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.emb-label {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #4ade80;
    display: block;
    margin-bottom: 4px;
}

.emb-details {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.emb-num {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.emb-name {
    font-size: 0.95rem;
    font-weight: 600;
}

.web-proof-preview-wrap {
    margin-top: 14px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 14px;
    text-align: center;
}

.preview-box {
    position: relative;
    max-height: 280px;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.proof-preview-image {
    max-height: 280px;
    max-width: 100%;
    object-fit: contain;
    display: block;
    border-radius: 8px;
}

.scanner-laser {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #22c55e;
    box-shadow: 0 0 16px 4px #22c55e;
    animation: scanSweep 2s ease-in-out infinite alternate;
}

@keyframes scanSweep {
    0% { top: 5%; }
    100% { top: 95%; }
}

.preview-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding: 0 4px;
    font-size: 0.88rem;
}

.web-proof-state {
    padding: 30px 16px;
    text-align: center;
}

.ai-scan-spinner {
    margin-bottom: 20px;
}

.scan-progress-bar {
    width: 100%;
    max-width: 400px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin: 20px auto 0;
    overflow: hidden;
}

.scan-progress-fill {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #22c55e, #facc15, #22c55e);
    background-size: 200% 100%;
    animation: shimmerProgress 1.5s linear infinite;
}

@keyframes shimmerProgress {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.password-awarded-card {
    background: linear-gradient(145deg, rgba(234, 179, 8, 0.15), rgba(15, 23, 42, 0.95));
    border: 2px solid #facc15;
    box-shadow: 0 10px 40px rgba(234, 179, 8, 0.35);
    border-radius: 18px;
    padding: 24px;
    margin: 20px 0;
    text-align: center;
}

.pac-label {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #facc15;
    margin-bottom: 8px;
}

.pac-code-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.pac-code {
    font-family: monospace, inherit;
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 900;
    letter-spacing: 6px;
    color: #ffffff;
    text-shadow: 0 0 25px rgba(234, 179, 8, 0.7);
}

.pac-tag {
    font-size: 0.88rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ==========================================
   MOVIE PASSWORD MODAL & TV FLOW STYLES
   ========================================== */
.btn-outline-gold {
    background: transparent;
    border: 2px solid #eab308;
    color: #facc15;
    font-weight: 700;
    transition: all 0.25s ease;
}

.btn-outline-gold:hover {
    background: rgba(234, 179, 8, 0.15);
    color: #ffffff;
    border-color: #fde047;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(234, 179, 8, 0.3);
}

.password-modal-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.2), rgba(202, 138, 4, 0.35));
    border: 2px solid rgba(234, 179, 8, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #facc15;
    font-size: 1.8rem;
    box-shadow: 0 0 25px rgba(234, 179, 8, 0.3);
}

.modal-pwd-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #cbd5e1;
    margin-bottom: 8px;
}

.movie-pwd-input-large {
    width: 100%;
    max-width: 360px;
    margin: 0 auto 18px;
    padding: 16px 20px;
    font-size: 1.8rem;
    font-weight: 800;
    font-family: monospace, inherit;
    letter-spacing: 4px;
    text-align: center;
    text-transform: uppercase;
    background: rgba(15, 23, 42, 0.85);
    border: 2px solid rgba(234, 179, 8, 0.5);
    border-radius: 14px;
    color: #ffffff;
    outline: none;
    transition: all 0.25s ease;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.5);
}

.movie-pwd-input-large:focus {
    border-color: #facc15;
    background: rgba(15, 23, 42, 0.98);
    box-shadow: 0 0 20px rgba(234, 179, 8, 0.45);
}

.modal-device-notice {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 16px;
    margin-top: 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-device-notice .mdn-item {
    font-size: 0.86rem;
    color: #94a3b8;
    line-height: 1.5;
}

.modal-device-notice .mdn-item strong {
    color: #e2e8f0;
}

.modal-device-notice .mdn-item code {
    background: rgba(0, 0, 0, 0.4);
    padding: 2px 6px;
    border-radius: 4px;
    color: #facc15;
    font-weight: 700;
}

.modal-switch-action {
    margin-top: 18px;
    text-align: center;
    font-size: 0.92rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-text-link {
    background: none;
    border: none;
    color: #facc15;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    font-size: 0.92rem;
    padding: 4px 6px;
    transition: color 0.2s ease;
}

.btn-text-link:hover {
    color: #ffffff;
}

.tv-instructions-box {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(234, 179, 8, 0.35);
    border-radius: 14px;
    padding: 18px 20px;
    text-align: left;
}

.tv-instructions-box h4 {
    font-size: 1rem;
    color: #facc15;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tv-instructions-box ol {
    margin: 0 0 12px 20px;
    padding: 0;
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.7;
}

.tv-instructions-box ol strong {
    color: #ffffff;
}


