/* ══════════════════════════════════════════════════════════════════════════
   MOOGLY TV — Ultra-Modern Cinema & Streaming Design System
   Aesthetic: Cyber-Midnight · Electric Cyan · Neon Violet · Radiant Amber
   ══════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    /* ── Canvas & Surfaces ── */
    --bg-void:        #03050c;
    --bg-deep:        #070a14;
    --bg-surface:     #0c1020;
    --bg-elevated:    #12172d;
    --bg-card:        rgba(12, 16, 32, 0.72);
    --bg-glass:       rgba(14, 19, 38, 0.55);

    /* ── Electric Brand Accents ── */
    --cyan:           #00f0ff;
    --cyan-dim:       #00c4d4;
    --cyan-glow:      rgba(0, 240, 255, 0.35);
    --cyan-subtle:    rgba(0, 240, 255, 0.08);
    --cyan-grad:      linear-gradient(135deg, #00f0ff 0%, #0088ff 100%);

    --violet:         #8b5cf6;
    --violet-glow:    rgba(139, 92, 246, 0.35);
    --violet-grad:    linear-gradient(135deg, #a855f7 0%, #6366f1 100%);

    --magenta:        #ff007a;
    --magenta-glow:   rgba(255, 0, 122, 0.35);

    --amber:          #ffb800;
    --amber-glow:     rgba(255, 184, 0, 0.35);
    --amber-grad:     linear-gradient(135deg, #ffb800 0%, #ff8800 100%);

    --brand-grad:     linear-gradient(135deg, #00f0ff 0%, #8b5cf6 50%, #ff007a 100%);

    /* ── Typography & Borders ── */
    --text-white:     #ffffff;
    --text-bright:    #f1f5f9;
    --text-main:      #cbd5e1;
    --text-muted:     #8291a5;
    --text-dim:       #4c586e;

    --border:         rgba(255, 255, 255, 0.08);
    --border-mid:     rgba(0, 240, 255, 0.22);
    --border-bright:  rgba(0, 240, 255, 0.5);
    --border-subtle:  rgba(255, 255, 255, 0.05);

    /* ── Semantics ── */
    --live:           #ff2b56;
    --live-glow:      rgba(255, 43, 86, 0.6);
    --success:        #10b981;
    --warning:        #ffb800;
    --danger:         #ff2b56;
    --info:           #00f0ff;

    /* ── Geometry & Motion ── */
    --r-xs:   8px;
    --r-sm:   12px;
    --r-md:   18px;
    --r-lg:   26px;
    --r-xl:   36px;
    --r-full: 9999px;

    --ease:   cubic-bezier(0.16, 1, 0.3, 1);
    --trans:  all 0.3s var(--ease);
    --trans-fast: all 0.15s ease;

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

    /* Aliases for compatibility */
    --primary:          var(--cyan);
    --primary-gradient: var(--cyan-grad);
    --primary-hover:    var(--cyan-dim);
    --primary-glow:     var(--cyan-glow);
    --accent:           var(--cyan);
    --teal:             var(--cyan);
    --gold:             var(--amber);
}

/* ─────────────────────────────────────────────────────────────
   GLOBAL RESET & ATMOSPHERE
───────────────────────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    color-scheme: dark;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-void);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Ambient dynamic background lighting */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 900px 500px at 15% -10%, rgba(0, 240, 255, 0.07) 0%, transparent 70%),
        radial-gradient(ellipse 800px 600px at 85% 15%, rgba(139, 92, 246, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 1000px 700px at 50% 90%, rgba(255, 0, 122, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

body > * {
    position: relative;
    z-index: 1;
}

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Glassmorphism helpers */
.glass {
    background: var(--bg-glass);
    backdrop-filter: blur(20px) saturate(190%);
    -webkit-backdrop-filter: blur(20px) saturate(190%);
    border: 1px solid var(--border);
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    transition: var(--trans);
}

.glass-card:hover {
    border-color: var(--border-mid);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 24px var(--cyan-subtle);
}

/* ─────────────────────────────────────────────────────────────
   NAVBAR
───────────────────────────────────────────────────────────── */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 74px;
    display: flex;
    align-items: center;
    background: rgba(3, 5, 12, 0.85);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border-bottom: 1px solid var(--border);
    transition: var(--trans);
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--cyan) 25%, var(--violet) 75%, transparent 100%);
    opacity: 0.35;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Brand Link & Luminous Logo */
.brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-logo-img {
    height: 42px;
    max-height: 42px;
    max-width: 200px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
    transition: transform 0.25s ease, filter 0.25s ease;
}

.brand-link:hover .brand-logo-img {
    transform: scale(1.04);
    filter: drop-shadow(0 4px 14px var(--cyan-glow, rgba(0,240,255,0.4)));
}

.brand-icon-box {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #00f0ff 0%, #8b5cf6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 24px var(--cyan-glow), 0 4px 14px rgba(0,0,0,0.5);
    transition: var(--trans);
}

.brand-link:hover .brand-icon-box {
    transform: scale(1.08) rotate(-4deg);
    box-shadow: 0 0 32px var(--cyan-glow), 0 6px 18px rgba(0,0,0,0.6);
}

.brand-icon-box svg {
    width: 20px;
    height: 20px;
    fill: #03050c;
    margin-left: 2px;
}

.brand-wordmark {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.5px;
    background: linear-gradient(90deg, #ffffff 0%, #d8e2ff 60%, #00f0ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.brand-sub {
    font-family: var(--font-heading);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--cyan);
    margin-top: 1px;
}

/* Navigation Links */
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 6px;
}

.nav-link {
    position: relative;
    padding: 8px 18px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--r-full);
    transition: var(--trans);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-link .live-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--live);
    box-shadow: 0 0 10px var(--live);
    animation: livePulse 1.6s infinite;
}

.nav-link:hover {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
    color: var(--cyan);
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.2);
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ─────────────────────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    border-radius: var(--r-full);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: var(--trans);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #00f0ff 0%, #0077fe 100%);
    color: #03050c;
    box-shadow: 0 4px 20px var(--cyan-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--cyan-glow);
    color: #03050c;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-mid);
    color: var(--cyan);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--cyan);
    border: 1px solid var(--border-mid);
}

.btn-outline:hover {
    background: var(--cyan-subtle);
    border-color: var(--cyan);
    box-shadow: 0 0 16px var(--cyan-glow);
}

.btn-sm {
    padding: 7px 16px;
    font-size: 13px;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
    letter-spacing: 0.3px;
}

.w-full {
    width: 100%;
}

/* ─────────────────────────────────────────────────────────────
   USER MENU & DROPDOWN
───────────────────────────────────────────────────────────── */
.user-menu-wrapper {
    position: relative;
}

.user-avatar-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    padding: 5px 14px 5px 6px;
    border-radius: var(--r-full);
    cursor: pointer;
    color: var(--text-white);
    font-size: 13px;
    font-weight: 600;
    transition: var(--trans);
}

.user-avatar-btn:hover {
    background: rgba(0, 240, 255, 0.08);
    border-color: var(--border-mid);
}

.avatar-ring {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--cyan-grad);
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-fallback {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: var(--cyan);
}

.user-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    width: 240px;
    background: rgba(12, 16, 32, 0.95);
    border: 1px solid var(--border-mid);
    border-radius: var(--r-md);
    padding: 8px;
    box-shadow: 0 20px 48px rgba(0,0,0,0.8), 0 0 20px rgba(0,240,255,0.08);
    backdrop-filter: blur(20px);
    display: none;
    z-index: 1001;
    animation: fadeInDown 0.2s ease;
}

.user-menu-wrapper:hover .user-dropdown,
.user-menu-wrapper:focus-within .user-dropdown {
    display: block;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    border-radius: var(--r-xs);
    transition: var(--trans-fast);
}

.dropdown-item:hover {
    color: #fff;
    background: rgba(0, 240, 255, 0.08);
    transform: translateX(4px);
}

.dropdown-item.danger {
    color: #ff6b8b;
}

.dropdown-item.danger:hover {
    background: rgba(255, 43, 86, 0.1);
    color: #ff2b56;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    padding: 8px;
    cursor: pointer;
}

.mobile-drawer {
    display: none;
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    background: rgba(7, 10, 20, 0.98);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.mobile-drawer.active {
    display: flex;
}

.mobile-drawer a {
    color: var(--text-bright);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-subtle);
}

/* ─────────────────────────────────────────────────────────────
   HERO / SPOTLIGHT SECTION
───────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    padding: 90px 0 80px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: var(--r-full);
    color: var(--cyan);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    box-shadow: 0 0 16px var(--cyan-subtle);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.08;
    color: var(--text-white);
    margin-bottom: 20px;
}

.hero-title .gradient-text {
    background: linear-gradient(90deg, #00f0ff 0%, #8b5cf6 60%, #ff007a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 36px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.hero-stat-item .stat-num {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1;
}

.hero-stat-item .stat-desc {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Spotlight Live Preview Card */
.spotlight-card {
    position: relative;
    border-radius: var(--r-lg);
    background: linear-gradient(145deg, rgba(18, 23, 45, 0.8) 0%, rgba(7, 10, 20, 0.9) 100%);
    border: 1px solid var(--border-mid);
    padding: 24px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 30px var(--cyan-subtle);
    overflow: hidden;
    transition: var(--trans);
}

.spotlight-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 32px 70px rgba(0, 0, 0, 0.9), 0 0 40px var(--cyan-glow);
    border-color: var(--border-bright);
}

.spotlight-screen {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--r-md);
    background: #020308;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spotlight-screen img {
    max-width: 65%;
    max-height: 65%;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.6));
    transition: transform 0.4s var(--ease);
}

.spotlight-card:hover .spotlight-screen img {
    transform: scale(1.08);
}

.spotlight-screen .play-aura {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--cyan-grad);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #03050c;
    box-shadow: 0 0 30px var(--cyan-glow);
    transition: var(--trans);
    z-index: 3;
}

.spotlight-card:hover .play-aura {
    transform: scale(1.15);
}

.spotlight-info {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.spotlight-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-white);
}

.spotlight-meta {
    font-size: 13px;
    color: var(--cyan);
    font-weight: 600;
    margin-top: 2px;
}

/* ─────────────────────────────────────────────────────────────
   FEATURES HIGHLIGHTS
───────────────────────────────────────────────────────────── */
.features-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0 60px;
}

.feature-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 24px;
    transition: var(--trans);
    backdrop-filter: blur(12px);
}

.feature-box:hover {
    border-color: var(--border-mid);
    background: rgba(18, 23, 45, 0.85);
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.5), 0 0 15px var(--cyan-subtle);
}

.feature-icon {
    font-size: 28px;
    margin-bottom: 14px;
    display: inline-block;
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 6px;
}

.feature-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ─────────────────────────────────────────────────────────────
   CATEGORIES CAROUSEL BAR
───────────────────────────────────────────────────────────── */
.categories-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 0 16px;
    margin-bottom: 36px;
    scrollbar-width: none;
}

.categories-bar::-webkit-scrollbar {
    display: none;
}

.cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    color: var(--text-main);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--trans);
}

.cat-pill:hover {
    background: rgba(0, 240, 255, 0.08);
    border-color: var(--border-mid);
    color: var(--cyan);
    transform: translateY(-2px);
}

.cat-pill.active {
    background: var(--cyan-grad);
    color: #03050c;
    border-color: transparent;
    font-weight: 800;
    box-shadow: 0 4px 18px var(--cyan-glow);
}

.cat-count {
    font-size: 11px;
    opacity: 0.7;
    background: rgba(0, 0, 0, 0.2);
    padding: 2px 7px;
    border-radius: var(--r-full);
}

/* ─────────────────────────────────────────────────────────────
   CHANNELS GRID & CHANNEL CARDS
───────────────────────────────────────────────────────────── */
.section {
    padding: 40px 0;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
}

.section-label {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: -0.5px;
}

.channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.channel-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: var(--trans);
    backdrop-filter: blur(14px);
}

.channel-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--border-bright);
    box-shadow: 0 20px 40px rgba(0,0,0,0.8), 0 0 25px var(--cyan-glow);
}

.channel-poster {
    aspect-ratio: 16 / 9;
    background: radial-gradient(circle at center, #131830 0%, #060914 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow: hidden;
}

.channel-logo {
    max-width: 75%;
    max-height: 75%;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.6));
    transition: transform 0.4s var(--ease);
    z-index: 1;
}

.channel-card:hover .channel-logo {
    transform: scale(1.12);
}

.channel-monogram {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, hsl(var(--h, 200), 70%, 45%), hsl(calc(var(--h, 200) + 40), 70%, 25%));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

.play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(3, 5, 12, 0.65);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--trans);
    z-index: 2;
}

.channel-card:hover .play-overlay {
    opacity: 1;
}

.play-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--cyan-grad);
    color: #03050c;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px var(--cyan-glow);
    transform: scale(0.8);
    transition: transform 0.3s var(--ease);
}

.channel-card:hover .play-circle {
    transform: scale(1);
}

/* Badges */
.badge-live {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 43, 86, 0.9);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 3;
    box-shadow: 0 0 12px var(--live-glow);
}

.live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    animation: livePulse 1.4s infinite;
}

.badge-premium {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--amber-grad);
    color: #03050c;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 3;
    box-shadow: 0 0 14px var(--amber-glow);
}

.channel-info {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: linear-gradient(180deg, rgba(12,16,32,0.4) 0%, rgba(7,10,20,0.8) 100%);
}

.channel-name {
    font-family: var(--font-heading);
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text-white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 6px;
}

.channel-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
}

.category-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--cyan);
}

.fav-btn-inline {
    background: none;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    font-size: 15px;
    transition: var(--trans-fast);
}

.fav-btn-inline:hover, .fav-btn-inline.active {
    color: var(--live);
    transform: scale(1.25);
}

/* ─────────────────────────────────────────────────────────────
   PRICING / TIERS
───────────────────────────────────────────────────────────── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--trans);
    backdrop-filter: blur(16px);
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-mid);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.7);
}

.pricing-card.featured {
    border-color: var(--cyan);
    background: linear-gradient(165deg, rgba(0, 240, 255, 0.08) 0%, rgba(12, 16, 32, 0.95) 70%);
    box-shadow: 0 0 35px var(--cyan-glow), 0 20px 50px rgba(0,0,0,0.8);
    transform: translateY(-10px);
}

.pricing-card.featured:hover {
    transform: translateY(-16px);
}

.pricing-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--cyan-grad);
    color: #03050c;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 18px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 16px var(--cyan-glow);
}

.plan-name {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 8px;
}

.plan-price {
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 900;
    color: var(--text-white);
    margin: 16px 0 24px;
    display: flex;
    align-items: baseline;
    gap: 6px;
    line-height: 1;
}

.plan-price span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

.plan-features {
    list-style: none;
    margin-bottom: 32px;
    flex-grow: 1;
}

.plan-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 13.5px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 12px;
}

.plan-features li:last-child {
    border-bottom: none;
}

.check-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
}

/* ─────────────────────────────────────────────────────────────
   FORMS & INPUTS
───────────────────────────────────────────────────────────── */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    color: var(--text-white);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: var(--trans);
}

.form-control:focus {
    border-color: var(--cyan);
    background: rgba(0, 240, 255, 0.04);
    box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.15);
}

/* ─────────────────────────────────────────────────────────────
   CATALOG TOOLBAR & SEARCH
───────────────────────────────────────────────────────────── */
.toolbar form {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
    padding: 16px;
    border-radius: var(--r-md);
    background: var(--bg-card);
    border: 1px solid var(--border);
    margin-bottom: 32px;
}

.search-wrap {
    flex-grow: 1;
    position: relative;
    min-width: 240px;
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-wrap .form-control {
    padding-left: 42px;
}

/* ─────────────────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────────────────── */
.footer {
    background: linear-gradient(180deg, #0a0a0f 0%, #050508 100%);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 60px 0 0;
    margin-top: auto;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(0,240,255,0.5) 20%, rgba(139,92,246,0.5) 50%, rgba(0,240,255,0.5) 80%, transparent 100%);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    padding: 40px 0;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    max-height: 48px;
    width: auto;
    object-fit: contain;
}

.footer-logo-placeholder {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 800;
    color: #fff;
}

.footer-logo-placeholder svg {
    color: var(--cyan);
}

.footer-tagline {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255,255,255,0.6);
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: rgba(255,255,255,0.7);
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background: rgba(0,240,255,0.1);
    border-color: rgba(0,240,255,0.3);
    color: var(--cyan);
    transform: translateY(-2px);
}

.footer-links-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-links-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-list a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.footer-links-list a:hover {
    color: var(--cyan);
    transform: translateX(4px);
}

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-copyright {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-copyright p {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    margin: 0;
}

.footer-tech {
    font-size: 12px;
    color: rgba(255,255,255,0.3);
}

.footer-badges {
    display: flex;
    gap: 16px;
}

.footer-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

.footer-badge span:first-child {
    font-size: 14px;
}

/* ─────────────────────────────────────────────────────────────
   TOASTS & ALERTS
───────────────────────────────────────────────────────────── */
.toast {
    padding: 14px 20px;
    border-radius: var(--r-sm);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    backdrop-filter: blur(16px);
    animation: fadeInDown 0.3s ease;
}

.toast.success {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
}

.toast.error {
    background: rgba(255, 43, 86, 0.12);
    border: 1px solid rgba(255, 43, 86, 0.3);
    color: #ff6b8b;
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE DESIGN
───────────────────────────────────────────────────────────── */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 42px; }
    .features-strip { grid-template-columns: repeat(2, 1fr); }
    .footer-main { grid-template-columns: 1fr; gap: 40px; }
    .footer-links-section { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .mobile-menu-btn { display: block; }
    .hero { padding: 60px 0; }
    .hero-title { font-size: 34px; }
    .features-strip { grid-template-columns: 1fr; }
    .channels-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .footer-main { grid-template-columns: 1fr; gap: 32px; }
    .footer-links-section { grid-template-columns: 1fr; }
    .footer-bottom-content { flex-direction: column; align-items: flex-start; }
    .footer-badges { flex-wrap: wrap; }
}

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

/* ─────────────────────────────────────────────────────────────
   KEYFRAMES
───────────────────────────────────────────────────────────── */
@keyframes livePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ─────────────────────────────────────────────────────────────
   CHANNELS CATALOG & SMART PAGINATION (LUXURY STREAMING)
───────────────────────────────────────────────────────────── */
.catalog-header-wrap {
    margin-bottom: 28px;
}

.catalog-control-hub {
    background: var(--bg-card, rgba(13, 17, 34, 0.7));
    border: 1px solid var(--border-mid, rgba(255, 255, 255, 0.12));
    border-radius: var(--r-lg, 16px);
    padding: 16px 20px;
    margin-bottom: 24px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 24px var(--cyan-subtle, rgba(0, 240, 255, 0.05));
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.catalog-form-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    width: 100%;
}

.search-box-luxury {
    position: relative;
    flex-grow: 1;
    min-width: 260px;
    display: flex;
    align-items: center;
}

.search-icon-left {
    position: absolute;
    left: 14px;
    color: var(--cyan);
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-input-luxury {
    width: 100%;
    height: 46px;
    background: rgba(3, 5, 12, 0.7);
    border: 1px solid var(--border-mid);
    border-radius: var(--r-full, 9999px);
    padding: 0 46px 0 44px;
    color: var(--text-white);
    font-size: 14px;
    outline: none;
    transition: all 0.25s ease;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5);
}

.search-input-luxury:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 20px var(--cyan-glow), inset 0 2px 6px rgba(0, 0, 0, 0.5);
    background: rgba(3, 5, 12, 0.95);
}

.btn-search-clear {
    position: absolute;
    right: 14px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    transition: all 0.2s ease;
}

.btn-search-clear:hover {
    background: var(--live);
    color: #fff;
    transform: scale(1.1);
}

.search-spinner-inline {
    position: absolute;
    right: 44px;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0, 240, 255, 0.2);
    border-top-color: var(--cyan);
    border-radius: 50%;
    animation: spin 0.6s infinite linear;
    display: none;
}

.select-luxury {
    height: 46px;
    background: rgba(3, 5, 12, 0.7);
    border: 1px solid var(--border-mid);
    border-radius: var(--r-full, 9999px);
    padding: 0 18px;
    color: var(--text-main);
    font-size: 13.5px;
    font-weight: 600;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 170px;
}

.select-luxury:hover, .select-luxury:focus {
    border-color: var(--cyan);
    color: #fff;
}

.btn-catalog-search {
    height: 46px;
    padding: 0 22px;
    border-radius: var(--r-full, 9999px);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    flex-shrink: 0;
}

/* Active Filter Chips */
.filter-chips-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 4px;
    font-size: 12.5px;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: var(--r-full, 9999px);
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.35);
    color: var(--cyan);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.filter-chip:hover {
    background: rgba(0, 240, 255, 0.2);
    transform: translateY(-1px);
}

.filter-chip .chip-remove {
    font-size: 14px;
    opacity: 0.7;
    margin-left: 2px;
}

.filter-chip-clear-all {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: var(--r-full);
    transition: color 0.15s ease;
}

.filter-chip-clear-all:hover {
    color: var(--live);
    text-decoration: underline;
}

/* Catalog Status Bar */
.catalog-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    flex-wrap: wrap;
    gap: 12px;
}

.catalog-count-badge {
    font-size: 13.5px;
    color: var(--text-muted);
}

.catalog-count-badge strong {
    color: var(--text-white);
}

/* Smart Windowed Pagination */
.smart-pagination-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 50px;
}

.pagination-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
    background: rgba(13, 17, 34, 0.6);
    border: 1px solid var(--border);
    border-radius: var(--r-full, 9999px);
    padding: 6px 10px;
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-pill {
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border-radius: var(--r-full, 9999px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-muted);
    background: transparent;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.page-pill:hover:not(.disabled) {
    color: var(--cyan);
    background: rgba(0, 240, 255, 0.1);
    border-color: rgba(0, 240, 255, 0.3);
    transform: translateY(-2px);
}

.page-pill.active {
    background: var(--cyan-grad);
    color: #03050c;
    border-color: transparent;
    box-shadow: 0 4px 16px var(--cyan-glow);
    pointer-events: none;
}

.page-pill.nav-btn {
    padding: 0 14px;
    gap: 6px;
    font-size: 12.5px;
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--border-subtle);
    color: var(--text-white);
}

.page-pill.nav-btn:hover:not(.disabled) {
    background: rgba(0, 240, 255, 0.15);
    border-color: var(--cyan);
    color: var(--cyan);
}

.page-pill.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.page-ellipsis {
    min-width: 28px;
    text-align: center;
    color: var(--text-dim);
    font-weight: 800;
    font-size: 14px;
    user-select: none;
}

.pagination-footer-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12.5px;
    color: var(--text-muted);
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-jumper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pagination-jumper select {
    background: rgba(3, 5, 12, 0.8);
    border: 1px solid var(--border-mid);
    color: var(--cyan);
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 12px;
    font-weight: 700;
    outline: none;
    cursor: pointer;
}

/* --------------------------------------------------------------------------
   MOOGLY TV � HOME PAGE v2 (Professional Streaming Redesign)
   Classes prefixed with "mhome-" to avoid conflicts
   -------------------------------------------------------------------------- */

/* --- BUTTONS ----------------------------------------------------------- */
.mhome-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.mhome-btn--primary {
    background: var(--cyan-grad);
    color: #03050c;
    box-shadow: 0 4px 20px var(--cyan-glow);
}
.mhome-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--cyan-glow);
    filter: brightness(1.1);
}
.mhome-btn--ghost {
    background: rgba(255,255,255,0.06);
    color: var(--text-bright);
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
}
.mhome-btn--ghost:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}
.mhome-btn--outline-sm {
    padding: 7px 16px;
    font-size: 12px;
    background: transparent;
    color: var(--cyan);
    border: 1px solid rgba(0,240,255,0.5);
    border-radius: 999px;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.3px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.mhome-btn--outline-sm:hover {
    background: rgba(0,240,255,0.1);
    border-color: var(--cyan);
}
.mhome-btn--ghost-sm {
    padding: 8px 18px;
    font-size: 13px;
    background: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 999px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}
.mhome-btn--ghost-sm:hover {
    color: var(--cyan);
    border-color: rgba(0,240,255,0.4);
}
.mhome-btn--lg {
    padding: 15px 32px;
    font-size: 15px;
}

/* --- LIVE PULSE DOT --------------------------------------------------- */
.mhome-livepulse {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff2b56;
    animation: mhomePulse 1.4s infinite;
    flex-shrink: 0;
}
.mhome-livepulse--sm {
    width: 6px;
    height: 6px;
}
@keyframes mhomePulse {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(255,43,86,0.6); }
    50% { opacity: 0.85; transform: scale(1.15); box-shadow: 0 0 0 4px rgba(255,43,86,0); }
}

/* Shared badges */
.mhome-live-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255,43,86,0.92);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 3;
    box-shadow: 0 0 12px rgba(255,43,86,0.6);
}
.mhome-live-badge--sm { font-size: 9px; padding: 2px 7px; }
.mhome-premium-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg,#ffb800,#ff8800);
    color: #03050c;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 3;
    box-shadow: 0 0 14px rgba(255,184,0,0.35);
}
.mhome-new-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(16,185,129,0.9);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    font-family: var(--font-heading);
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    z-index: 3;
}

/* --- HERO ------------------------------------------------------------- */
.mhome-hero {
    position: relative;
    padding: 60px 0 60px;
    overflow: hidden;
}
.mhome-hero__mesh { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.mhome-hero__mesh-layer {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}
.mhome-hero__mesh-layer--1 {
    width: 700px; height: 500px;
    top: -150px; left: -100px;
    background: radial-gradient(circle, rgba(0,240,255,0.1) 0%, transparent 70%);
}
.mhome-hero__mesh-layer--2 {
    width: 600px; height: 600px;
    top: -50px; right: -80px;
    background: radial-gradient(circle, rgba(139,92,246,0.12) 0%, transparent 70%);
}
.mhome-hero__mesh-layer--3 {
    width: 500px; height: 400px;
    bottom: -50px; left: 30%;
    background: radial-gradient(circle, rgba(255,0,122,0.06) 0%, transparent 70%);
}
.mhome-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.mhome-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 10px;
    background: rgba(255,43,86,0.1);
    border: 1px solid rgba(255,43,86,0.3);
    border-radius: 999px;
    color: #ff6b8b;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

/* New premium badge */
.mhome-hero__premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px 8px 12px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(234, 88, 12, 0.2));
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 999px;
    color: #fbbf24;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 28px;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
}

.mhome-premium-icon {
    font-size: 16px;
    animation: sparkle 2s infinite;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Main headline */
.mhome-hero__headline {
    margin-bottom: 32px;
}

.mhome-hero__title {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mhome-hero__title-main {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.mhome-hero__title-sub {
    font-size: 24px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.5px;
}

/* Value proposition */
.mhome-hero__value {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.mhome-value-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.mhome-value-item:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.2);
    transform: translateX(8px);
}

.mhome-value-icon {
    font-size: 28px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0,240,255,0.2), rgba(139,92,246,0.2));
    border-radius: 12px;
    flex-shrink: 0;
}

.mhome-value-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mhome-value-text strong {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.mhome-value-text span {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

/* Description */
.mhome-hero__description {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255,255,255,0.8);
    margin-bottom: 32px;
    max-width: 500px;
}

/* Trust indicators */
.mhome-hero__trust {
    display: flex;
    gap: 24px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.mhome-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.mhome-trust-icon {
    color: #10b981;
    font-weight: 700;
    font-size: 16px;
}
.mhome-hero__brand { margin-bottom: 18px; display: none; }
.mhome-hero__wordmark {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1;
    background: linear-gradient(90deg, #fff 0%, #d8e2ff 50%, #00f0ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: none;
}
.mhome-hero__logo {
    max-height: 72px;
    max-width: 320px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 20px rgba(0,0,0,0.5));
    display: none;
}
.mhome-hero__tagline {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 36px;
    display: none;
}
.mhome-hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}
.mhome-hero__stats {
    display: flex;
    align-items: center;
    gap: 0;
    padding-top: 28px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 0;
}
.mhome-stat {
    display: flex;
    flex-direction: column;
    padding: 0 24px 0 0;
}
.mhome-stat:first-child { padding-left: 0; }
.mhome-stat__num {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 3px;
}
.mhome-stat__lbl {
    font-size: 11.5px;
    color: var(--text-dim);
    font-weight: 500;
}
.mhome-stat__div {
    width: 1px;
    height: 34px;
    background: var(--border);
    margin: 0 24px 0 0;
}

/* Spotlight card */
.mhome-hero__spotlight { position: relative; }
.mhome-spotlight {
    display: block;
    text-decoration: none;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(18,23,45,0.95), rgba(7,10,20,0.98));
    border: 1px solid var(--border-mid);
    padding: 20px;
    box-shadow: 0 32px 80px rgba(0,0,0,0.8), 0 0 0 1px rgba(0,240,255,0.08), 0 0 40px var(--cyan-subtle);
    transition: all 0.35s ease;
}
.mhome-spotlight:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 90px rgba(0,0,0,0.9), 0 0 0 1px rgba(0,240,255,0.25), 0 0 60px var(--cyan-glow);
    border-color: rgba(0,240,255,0.4);
}
.mhome-spotlight__screen {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 12px;
    background: #020308;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 16px;
}
.mhome-spotlight__screen img {
    max-width: 60%;
    max-height: 60%;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.7));
    transition: transform 0.4s ease;
    z-index: 2;
    position: relative;
}
.mhome-spotlight:hover .mhome-spotlight__screen img { transform: scale(1.08); }
.mhome-spotlight__scanlines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.05) 2px, rgba(0,0,0,0.05) 4px);
    pointer-events: none;
    z-index: 3;
}
.mhome-spotlight__monogram {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, hsl(var(--h,200),70%,45%), hsl(calc(var(--h,200) + 40),70%,25%));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    z-index: 2;
    position: relative;
}
.mhome-spotlight__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.mhome-spotlight__play::before {
    content: '';
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--cyan-grad);
    position: absolute;
    box-shadow: 0 0 30px var(--cyan-glow);
}
.mhome-spotlight__play svg {
    position: relative;
    color: #03050c;
    margin-left: 2px;
}
.mhome-spotlight:hover .mhome-spotlight__play { opacity: 1; }
.mhome-spotlight__info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.mhome-spotlight__name {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: #fff;
}
.mhome-spotlight__cat {
    font-size: 12px;
    color: var(--cyan);
    font-weight: 600;
    margin-top: 2px;
}

/* Floating mini-cards */
.mhome-hero__floaters { position: absolute; inset: 0; pointer-events: none; }
.mhome-floater {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(12,16,32,0.9);
    border: 1px solid var(--border-mid);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-main);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
    animation: mhomeFloat 4s ease-in-out infinite;
}
.mhome-floater--tl { top: -16px; left: -20px; animation-delay: 0s; }
.mhome-floater--br { bottom: 40px; right: -24px; animation-delay: 2s; }
@keyframes mhomeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* --- CATEGORY QUICK-NAV ----------------------------------------------- */
.mhome-catnav {
    background: rgba(7,10,20,0.8);
    border-bottom: 1px solid var(--border);
    border-top: 1px solid var(--border);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 74px;
    z-index: 100;
}
.mhome-catnav__inner {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: none;
}
.mhome-catnav__inner::-webkit-scrollbar { display: none; }
.mhome-catpill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    flex-shrink: 0;
}
.mhome-catpill:hover {
    color: var(--cyan);
    background: rgba(0,240,255,0.07);
    border-color: rgba(0,240,255,0.25);
}
.mhome-catpill--active {
    color: #03050c;
    background: var(--cyan-grad);
    font-weight: 800;
}
.mhome-catpill--active:hover { color: #03050c; filter: brightness(1.1); }
.mhome-catpill__cnt {
    font-size: 10px;
    opacity: 0.7;
    background: rgba(0,0,0,0.2);
    padding: 1px 5px;
    border-radius: 999px;
}

/* --- SECTION ---------------------------------------------------------- */
.mhome-section { padding: 32px 0; }
.mhome-section__hd {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
    gap: 16px;
}
.mhome-section__label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 6px;
}
.mhome-section__label--live { color: #ff6b8b; }
.mhome-section__title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.3px;
    line-height: 1.15;
}

/* --- CHANNEL CARD (HOME ROW) ------------------------------------------ */
.mhome-channels-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}
.mhome-ch-card {
    position: relative;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(12,16,32,0.72);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
}
.mhome-ch-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(0,240,255,0.45);
    box-shadow: 0 20px 45px rgba(0,0,0,0.8), 0 0 25px var(--cyan-glow);
}
.mhome-ch-card__poster {
    aspect-ratio: 16/9;
    background: radial-gradient(circle at center, #131830 0%, #060914 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    overflow: hidden;
}
.mhome-ch-card__poster img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.6));
    transition: transform 0.4s ease;
    z-index: 1;
    position: relative;
}
.mhome-ch-card:hover .mhome-ch-card__poster img { transform: scale(1.1); }
.mhome-ch-card__monogram {
    width: 54px; height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, hsl(var(--h,200),70%,45%), hsl(calc(var(--h,200)+40),70%,25%));
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading);
    font-size: 22px; font-weight: 800; color: #fff;
    z-index: 1; position: relative;
}
.mhome-ch-card__play {
    position: absolute; inset: 0; z-index: 4;
    display: flex; align-items: center; justify-content: center;
    background: rgba(3,5,12,0.6);
    opacity: 0; transition: opacity 0.25s ease;
}
.mhome-ch-card__play::before {
    content: '';
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--cyan-grad);
    position: absolute;
    box-shadow: 0 0 20px var(--cyan-glow);
}
.mhome-ch-card__play svg { position: relative; color: #03050c; margin-left: 2px; }
.mhome-ch-card:hover .mhome-ch-card__play { opacity: 1; }
.mhome-ch-card__info {
    padding: 12px 14px;
    background: linear-gradient(180deg, rgba(12,16,32,0.4) 0%, rgba(7,10,20,0.9) 100%);
}
.mhome-ch-card__name {
    font-family: var(--font-heading);
    font-size: 14px; font-weight: 700; color: #fff;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    margin-bottom: 3px;
}
.mhome-ch-card__cat {
    font-size: 11px; color: var(--text-dim); font-weight: 500;
}
/* Ranked variant */
.mhome-ch-card--ranked { position: relative; }
.mhome-ch-card__rank {
    position: absolute;
    top: 0; left: 0; z-index: 10;
    width: 28px; height: 28px;
    background: rgba(3,5,12,0.85);
    border-bottom-right-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading);
    font-size: 13px; font-weight: 900; color: var(--cyan);
}

/* --- PLATFORM STRIP --------------------------------------------------- */
.mhome-platform-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border-radius: 16px;
    overflow: hidden;
    margin: 12px 0 52px;
    border: 1px solid var(--border);
}
.mhome-strip-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 24px;
    background: rgba(10,14,28,0.7);
    backdrop-filter: blur(12px);
    transition: background 0.2s ease;
}
.mhome-strip-card:hover { background: rgba(12,16,32,0.95); }
.mhome-strip-card__icon { font-size: 24px; flex-shrink: 0; }
.mhome-strip-card__ttl {
    font-family: var(--font-heading);
    font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 2px;
}
.mhome-strip-card__sub { font-size: 12px; color: var(--text-dim); }

/* --- CATEGORY CARDS GRID ---------------------------------------------- */
.mhome-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
}
.mhome-cat-card {
    position: relative;
    padding: 28px 20px 24px;
    border-radius: 14px;
    background: rgba(12,16,32,0.72);
    border: 1px solid rgba(255,255,255,0.07);
    text-decoration: none;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.mhome-cat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg,
        hsl(var(--cat-h,200),70%,55%),
        hsl(calc(var(--cat-h,200) + 40),70%,55%));
    opacity: 0.8;
}
.mhome-cat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.18);
    box-shadow: 0 16px 36px rgba(0,0,0,0.6);
    background: rgba(18,23,45,0.9);
}
.mhome-cat-card__glow {
    position: absolute; inset: 0; opacity: 0;
    background: radial-gradient(circle at 30% 0%, hsla(var(--cat-h,200),70%,55%,0.12) 0%, transparent 70%);
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.mhome-cat-card:hover .mhome-cat-card__glow { opacity: 1; }
.mhome-cat-card__name {
    font-family: var(--font-heading);
    font-size: 15px; font-weight: 700; color: #fff;
}
.mhome-cat-card__count { font-size: 12px; color: var(--text-dim); }
.mhome-cat-card__arrow {
    position: absolute;
    bottom: 18px; right: 18px;
    font-size: 16px; color: var(--text-dim);
    transition: all 0.2s ease;
}
.mhome-cat-card:hover .mhome-cat-card__arrow { color: var(--cyan); transform: translateX(4px); }

/* --- EVENTS GRID ------------------------------------------------------ */
.mhome-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.mhome-event-card {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(10,14,28,0.8);
    border: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}
.mhome-event-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0,240,255,0.3);
    box-shadow: 0 20px 50px rgba(0,0,0,0.7), 0 0 20px var(--cyan-subtle);
}
.mhome-event-card__poster {
    position: relative;
    height: 160px;
    overflow: hidden;
    background: #070b1a;
    display: flex; align-items: center; justify-content: center;
}
.mhome-event-card__poster img {
    width: 100%; height: 100%; object-fit: cover;
    filter: brightness(0.6);
    transition: transform 0.4s ease;
}
.mhome-event-card:hover .mhome-event-card__poster img { transform: scale(1.06); }
.mhome-event-card__poster-bg {
    position: absolute; inset: 0;
    background: radial-gradient(circle at center, rgba(99,102,241,0.2) 0%, rgba(3,5,12,0.95) 100%);
}
.mhome-event-card__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(7,10,20,0.8) 0%, transparent 60%);
    pointer-events: none;
}
.mhome-event-card__status {
    position: absolute; top: 10px; left: 10px; z-index: 4;
    font-family: var(--font-heading);
    font-size: 10px; font-weight: 800; padding: 3px 9px; border-radius: 4px;
    display: flex; align-items: center; gap: 5px;
    letter-spacing: 0.6px; text-transform: uppercase;
}
.mhome-event-card__status--live {
    background: rgba(255,43,86,0.9); color: #fff;
    box-shadow: 0 0 12px rgba(255,43,86,0.5);
}
.mhome-event-card__status--soon {
    background: rgba(245,158,11,0.9); color: #000;
}
.mhome-event-card__vs {
    position: relative; z-index: 3;
    display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%;
}
.mhome-event-card__vs--solo { flex-direction: column; gap: 4px; }
.mhome-event-card__team {
    display: flex; flex-direction: column; align-items: center; gap: 4px; width: 40%; text-align: center;
}
.mhome-event-card__team img {
    width: 42px; height: 42px; object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.6));
    transition: none !important; transform: none !important;
}
.mhome-event-card__team-init {
    width: 42px; height: 42px; border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; color: #fff; font-size: 18px;
}
.mhome-event-card__team span:last-child {
    font-size: 11px; font-weight: 700; color: #fff;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}
.mhome-event-card__vs-txt {
    font-family: var(--font-heading); font-size: 15px; font-weight: 900;
    color: var(--cyan); text-shadow: 0 0 10px var(--cyan-glow);
}
.mhome-event-card__league {
    font-size: 11px; font-weight: 800; color: var(--cyan); text-transform: uppercase; letter-spacing: 0.5px;
}
.mhome-event-card__body {
    padding: 16px;
    display: flex; flex-direction: column; gap: 4px; flex-grow: 1;
}
.mhome-event-card__sport {
    font-size: 10px; font-weight: 800; color: var(--cyan); text-transform: uppercase; letter-spacing: 0.8px;
    font-family: var(--font-heading);
}
.mhome-event-card__league-tag {
    font-size: 10px; color: var(--text-dim); margin-left: 6px;
}
.mhome-event-card__title {
    font-family: var(--font-heading);
    font-size: 14.5px; font-weight: 700; color: #fff;
    line-height: 1.3; margin-top: 2px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mhome-event-card__foot {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: auto; padding-top: 12px;
    border-top: 1px solid var(--border-subtle);
    font-size: 11px;
}
.mhome-event-card__time {
    color: var(--text-muted); display: flex; align-items: center; gap: 4px;
}
.mhome-event-card__cta { color: var(--cyan); font-weight: 700; }

/* --- AD BANNER -------------------------------------------------------- */
.mhome-ad-wrap { padding: 12px 0 32px; }
.mhome-ad-box {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 20px; min-height: 80px;
    background: rgba(10,14,28,0.6);
    border: 1px dashed rgba(255,255,255,0.1);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14px;
    transition: background 0.2s ease;
}
.mhome-ad-box:hover { background: rgba(12,16,32,0.8); }
.mhome-ad-box__label {
    font-size: 10px; text-transform: uppercase; letter-spacing: 1px; opacity: 0.5;
    margin-bottom: 4px;
}

/* --- CTA BANNER ------------------------------------------------------- */
.mhome-cta-banner {
    position: relative;
    margin: 12px 0 52px;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0,240,255,0.07) 0%, rgba(139,92,246,0.1) 50%, rgba(255,0,122,0.06) 100%);
    border: 1px solid rgba(0,240,255,0.2);
    box-shadow: 0 0 60px rgba(0,240,255,0.06), inset 0 0 60px rgba(0,0,0,0.4);
}
.mhome-cta-banner__glow {
    position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse 80% 60% at 80% 50%, rgba(0,240,255,0.08) 0%, transparent 70%);
}
.mhome-cta-banner__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 44px 52px;
    flex-wrap: wrap;
}
.mhome-cta-banner__title {
    font-family: var(--font-heading);
    font-size: 28px; font-weight: 800; color: #fff; letter-spacing: -0.3px; margin: 6px 0 8px;
}
.mhome-cta-banner__sub { font-size: 15px; color: var(--text-muted); max-width: 480px; line-height: 1.6; }
.mhome-cta-banner__actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; flex-shrink: 0; }

/* --- RESPONSIVE ------------------------------------------------------- */
@media (max-width: 1024px) {
    .mhome-hero__grid { grid-template-columns: 1fr; gap: 40px; }
    .mhome-hero__wordmark { font-size: 52px; }
    .mhome-platform-strip { grid-template-columns: repeat(2, 1fr); }
    .mhome-cta-banner__inner { padding: 32px; }
}
@media (max-width: 768px) {
    .mhome-hero { padding: 52px 0 64px; }
    .mhome-hero__wordmark { font-size: 40px; }
    .mhome-hero__tagline { font-size: 15px; }
    .mhome-hero__logo { max-height: 52px; }
    .mhome-channels-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .mhome-events-grid { grid-template-columns: 1fr; }
    .mhome-cat-grid { grid-template-columns: repeat(2, 1fr); }
    .mhome-platform-strip { grid-template-columns: 1fr; }
    .mhome-cta-banner__inner { padding: 28px 24px; flex-direction: column; }
    .mhome-cta-banner__title { font-size: 22px; }
    .mhome-section__hd { flex-wrap: wrap; gap: 10px; }
    .mhome-hero__stats { gap: 0; }
    .mhome-stat { padding: 0 16px 0 0; }
    .mhome-stat__div { margin: 0 16px 0 0; }
}
@media (max-width: 480px) {
    .mhome-channels-row { grid-template-columns: repeat(2, 1fr); }
    .mhome-hero__actions { flex-direction: column; }
    .mhome-hero__wordmark { font-size: 34px; }
    .mhome-cat-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════════════════════════════
   MOBILE OVERFLOW PREVENTION & RESPONSIVE NAVBAR FIXES
══════════════════════════════════════════════════════════════ */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
}

body.menu-open {
    overflow: hidden !important;
}

.navbar {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: clip;
}

.nav-container {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

/* Mobile drawer backdrop */
.mobile-drawer-backdrop {
    position: fixed;
    inset: 0;
    top: 74px;
    background: rgba(3, 5, 12, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.mobile-drawer-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

/* Mobile Drawer with smooth slide-down */
.mobile-drawer {
    display: flex !important;
    position: fixed !important;
    top: 74px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: rgba(5, 8, 20, 0.98) !important;
    backdrop-filter: blur(28px) !important;
    -webkit-backdrop-filter: blur(28px) !important;
    border-bottom: 1px solid rgba(0, 240, 255, 0.25) !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.95), 0 0 30px rgba(0, 240, 255, 0.08) !important;
    padding: 16px 20px 28px !important;
    flex-direction: column !important;
    gap: 6px !important;
    z-index: 1200 !important;
    max-height: calc(100vh - 74px) !important;
    overflow-y: auto !important;
    transform: translateY(-110%) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease !important;
}

.mobile-drawer.active {
    transform: translateY(0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.mobile-drawer a {
    color: var(--text-bright) !important;
    text-decoration: none !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 12px 14px !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
    transition: all 0.15s ease !important;
}

.mobile-drawer a:hover,
.mobile-drawer a:active {
    background: rgba(0, 240, 255, 0.1) !important;
    color: var(--cyan) !important;
}

@media (max-width: 768px) {
    /* Hide topbar desktop action buttons on mobile so navbar never overflows */
    .nav-actions > .btn {
        display: none !important;
    }

    .nav-container {
        padding: 0 14px !important;
        gap: 8px !important;
    }

    .brand-link {
        gap: 8px !important;
        min-width: 0 !important;
        max-width: calc(100% - 60px) !important;
    }

    .brand-logo-img {
        max-height: 38px !important;
        max-width: 150px !important;
        object-fit: contain !important;
    }

    .brand-title {
        font-size: 17px !important;
        white-space: nowrap !important;
    }

    .brand-sub {
        display: none !important;
    }

    .user-menu-wrapper > .user-avatar-btn span:not(.avatar-ring) {
        display: none !important;
    }

    .user-menu-wrapper > .user-avatar-btn svg {
        display: none !important;
    }

    .mobile-menu-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        border-radius: 10px !important;
        background: rgba(255, 255, 255, 0.07) !important;
        border: 1px solid rgba(255, 255, 255, 0.14) !important;
        color: #fff !important;
        cursor: pointer !important;
        padding: 0 !important;
        flex-shrink: 0 !important;
        transition: all 0.2s ease !important;
    }

    .mobile-menu-btn:active,
    .mobile-menu-btn.active {
        background: rgba(0, 240, 255, 0.2) !important;
        border-color: var(--cyan) !important;
        color: var(--cyan) !important;
        box-shadow: 0 0 16px rgba(0, 240, 255, 0.3) !important;
    }

    /* Prevent home page overflow and right shift */
    .mhome-hero {
        overflow: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }

    .mhome-hero__wordmark {
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
        max-width: 100% !important;
    }

    .mhome-hero__stats {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
        padding-top: 20px !important;
        width: 100% !important;
    }

    .mhome-stat {
        padding: 0 !important;
    }

    .mhome-stat__div {
        display: none !important;
    }

    .mhome-stat__num {
        font-size: 18px !important;
    }

    .mhome-stat__lbl {
        font-size: 10.5px !important;
    }
}
