/* ==========================================================================
   NEXUS IPTV PRO - ULTIMATE SMART TV & WEB DESIGN SYSTEM
   Inspirado em TiviMate, XCIPTV, SopCast, Apple TV+ e Netflix
   ========================================================================== */

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

:root {
    --bg-black: #06080d;
    --bg-dark: #0b0f19;
    --bg-card: rgba(18, 24, 38, 0.75);
    --bg-card-hover: rgba(28, 38, 60, 0.9);
    --bg-glass: rgba(14, 20, 32, 0.65);
    --bg-glass-heavy: rgba(10, 14, 24, 0.85);

    --border-color: rgba(255, 255, 255, 0.08);
    --border-focus: #00d2ff;
    --border-glow: rgba(0, 210, 255, 0.5);

    --accent: #00d2ff;
    --accent-blue: #0070f3;
    --accent-gradient: linear-gradient(135deg, #00d2ff 0%, #0070f3 100%);
    --purple: #7928ca;
    --purple-gradient: linear-gradient(135deg, #a855f7 0%, #7928ca 100%);
    --orange-gradient: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    --green-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);

    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --danger: #ef4444;
    --success: #10b981;
    --warning: #f59e0b;

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

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

    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 25px rgba(0, 210, 255, 0.4);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.6);

    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* RESET & BASE */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    -webkit-user-drag: none;
}

html, body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: var(--bg-black);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
}

/* AMBIENT BACKGROUND GLOW */
.ambient-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-size: cover;
    background-position: center;
    filter: blur(70px) brightness(0.22) saturate(1.4);
    transform: scale(1.1);
    z-index: 0;
    transition: background-image 0.8s ease-in-out;
    pointer-events: none;
}

.ambient-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 80% 20%, rgba(0, 210, 255, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(121, 40, 202, 0.08) 0%, transparent 50%),
                linear-gradient(to bottom, rgba(6, 8, 13, 0.7) 0%, #06080d 100%);
    z-index: 1;
    pointer-events: none;
}

/* VIEWPORT CONTAINER */
.app-viewport {
    position: relative;
    width: 100vw;
    height: 100vh;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

/* UTILITÁRIOS */
.hidden { display: none !important; }
.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

/* FOCUS SYSTEM (SMART TV DPAD) */
.nav-focusable {
    outline: none;
    cursor: pointer;
    transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.nav-focusable:focus,
.nav-focusable.dpad-focused {
    transform: scale(1.04) translateZ(0);
    border-color: var(--border-focus) !important;
    box-shadow: 0 0 25px var(--border-glow), inset 0 0 15px rgba(0, 210, 255, 0.15) !important;
    z-index: 10;
}

/* ==========================================================================
   1. TELA DE ATIVAÇÃO / MAC ADDRESS SCREEN
   ========================================================================== */
#screen-activation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    z-index: 100;
}

.activation-card {
    width: 100%;
    max-width: 780px;
    background: linear-gradient(145deg, rgba(14, 22, 38, 0.9) 0%, rgba(8, 12, 22, 0.95) 100%);
    border: 1px solid rgba(0, 210, 255, 0.35);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card), 0 0 60px rgba(0, 210, 255, 0.18);
    padding: 38px 48px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    animation: fadeIn 0.4s ease-out;
}

.activation-header {
    display: flex;
    align-items: center;
    gap: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 22px;
}

.activation-header .brand-icon {
    width: 58px;
    height: 58px;
    background: var(--accent-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #fff;
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.55);
}

.activation-header h2 {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.activation-header h2 span {
    color: var(--accent);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.activation-header p {
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 2px;
}

.activation-body {
    display: grid;
    grid-template-columns: 1fr 180px;
    gap: 32px;
    align-items: center;
}

.activation-data-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.activation-field {
    background: rgba(6, 9, 16, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.activation-field .field-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: var(--text-dim);
    text-transform: uppercase;
}

.activation-field .mac-val {
    font-family: 'Courier New', monospace;
    font-size: 21px;
    font-weight: 900;
    color: var(--accent);
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
}

.activation-field .key-val {
    font-family: 'Courier New', monospace;
    font-size: 19px;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: 2.5px;
}

.status-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 800;
}

.status-tag.active {
    background: rgba(16, 185, 129, 0.16);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.35);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.status-tag.pending {
    background: rgba(245, 158, 11, 0.16);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.35);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
}

.status-tag.expired {
    background: rgba(239, 68, 68, 0.16);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.35);
}

.status-tag.blocked {
    background: rgba(239, 68, 68, 0.25);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.5);
}

.activation-msg-banner {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    font-size: 13.5px;
    color: #ffd166;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.4;
    transition: all var(--transition-normal);
}

.activation-msg-banner.error {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.35);
    color: #ff6b6b;
}

.activation-msg-banner.success {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.35);
    color: #10b981;
}

.activation-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.qr-box {
    width: 140px;
    height: 140px;
    background: #ffffff;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
    padding: 12px;
}

.activation-qr small {
    font-size: 11px;
    color: var(--text-dim);
    font-weight: 600;
}

.activation-footer {
    display: flex;
    margin-top: 8px;
}

.btn-tv-primary {
    width: 100%;
    background: var(--accent-gradient);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    padding: 18px 28px;
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 6px 28px rgba(0, 210, 255, 0.45);
    letter-spacing: 0.5px;
}

.btn-tv-primary:focus,
.btn-tv-primary.dpad-focused {
    transform: scale(1.03) translateZ(0);
    box-shadow: 0 0 35px rgba(0, 210, 255, 0.7), inset 0 0 15px rgba(255, 255, 255, 0.3) !important;
}

.btn-tv-secondary {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

/* ==========================================================================
   2. APP PRINCIPAL / TOPBAR & NAVIGATION
   ========================================================================== */
#screen-main {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   3. TOPBAR HEADER & NAVEGAÇÃO
   ========================================================================== */
.topbar-header {
    height: 68px;
    padding: 0 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(6, 8, 14, 0.92);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: 50;
    flex-shrink: 0;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 32px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 21px;
    font-weight: 900;
    letter-spacing: -0.5px;
    cursor: pointer;
}

.brand-logo .logo-dot {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    box-shadow: 0 0 16px rgba(0, 210, 255, 0.5);
}

.brand-logo span {
    background: linear-gradient(135deg, #00d2ff 0%, #0070f3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.top-nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-nav-btn {
    background: transparent;
    border: 1px solid transparent;
    color: #94a3b8;
    padding: 7px 15px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 13.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.top-nav-btn i {
    font-size: 13px;
    opacity: 0.8;
}

.top-nav-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.top-nav-btn.active {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.2) 0%, rgba(0, 112, 243, 0.3) 100%);
    border-color: rgba(0, 210, 255, 0.6);
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.35);
}

.top-nav-btn.active i {
    color: var(--accent);
    opacity: 1;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-right: 8px;
}

.network-badge {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 700;
    color: #10b981;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    padding: 5px 13px;
    border-radius: var(--radius-full);
}

.live-pulse-dot {
    width: 7px;
    height: 7px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
    animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(0.9); opacity: 0.7; box-shadow: 0 0 4px #10b981; }
    50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 12px #10b981; }
    100% { transform: scale(0.9); opacity: 0.7; box-shadow: 0 0 4px #10b981; }
}

.topbar-clock {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   4. CONTEÚDO PRINCIPAL (VIEWS SLOTS)
   ========================================================================== */
.main-content-area {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.content-view {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 24px 36px 40px;
    display: none;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.content-view.active {
    display: block;
    opacity: 1;
}

/* SCROLLBAR CUSTOMIZADA */
.content-view::-webkit-scrollbar,
.custom-scroll::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.content-view::-webkit-scrollbar-thumb,
.custom-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
}

/* ==========================================================================
   5. VIEW: HOME DASHBOARD (HUB CARDS + HERO BANNER)
   ========================================================================== */
.home-layout {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* MEGA GRID DE CATEGORIAS (HUB CARDS 2026) */
.mega-category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.mega-card {
    height: 108px;
    border-radius: 16px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.mega-card-glow {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    filter: blur(35px);
    opacity: 0.4;
    pointer-events: none;
}

.mega-card.tv-live {
    background: linear-gradient(135deg, rgba(0, 112, 243, 0.28) 0%, rgba(6, 14, 30, 0.92) 100%);
    border-color: rgba(0, 140, 255, 0.35);
}
.mega-card.tv-live .mega-card-glow { background: #00d2ff; }

.mega-card.vod-movies {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.28) 0%, rgba(20, 8, 32, 0.92) 100%);
    border-color: rgba(168, 85, 247, 0.35);
}
.mega-card.vod-movies .mega-card-glow { background: #a855f7; }

.mega-card.vod-series {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.28) 0%, rgba(32, 14, 6, 0.92) 100%);
    border-color: rgba(245, 158, 11, 0.35);
}
.mega-card.vod-series .mega-card-glow { background: #f59e0b; }

.mega-card.sports-live {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.28) 0%, rgba(6, 26, 16, 0.92) 100%);
    border-color: rgba(16, 185, 129, 0.35);
}
.mega-card.sports-live .mega-card-glow { background: #10b981; }

.mega-card.settings-card {
    background: linear-gradient(135deg, rgba(100, 116, 139, 0.25) 0%, rgba(12, 16, 24, 0.92) 100%);
    border-color: rgba(148, 163, 184, 0.3);
}
.mega-card.settings-card .mega-card-glow { background: #94a3b8; }

.mega-card:hover,
.mega-card:focus,
.mega-card.dpad-focused {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 210, 255, 0.3);
    border-color: var(--accent) !important;
}

.mega-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.mega-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.mega-card-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.3px;
}

.mega-card-badge.live {
    background: rgba(239, 68, 68, 0.22);
    color: #ff6b6b;
    border: 1px solid rgba(239, 68, 68, 0.4);
}
.mega-card-badge.live i { font-size: 7px; animation: pulseGlow 1.2s infinite; }

.mega-card-badge.movies {
    background: rgba(168, 85, 247, 0.22);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.4);
}

.mega-card-badge.series {
    background: rgba(245, 158, 11, 0.22);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.mega-card-badge.sports {
    background: rgba(16, 185, 129, 0.22);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.mega-card-badge.settings {
    background: rgba(148, 163, 184, 0.2);
    color: #cbd5e1;
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.mega-card-bottom {
    position: relative;
    z-index: 2;
}

.mega-card-bottom h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2px;
    letter-spacing: -0.2px;
}

.mega-card-sub {
    font-size: 11.5px;
    color: var(--text-muted);
    font-weight: 500;
}

/* HERO BANNER CINEMÁTICO */
.hero-banner-card {
    height: 330px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 36px 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.hero-banner-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-banner-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(6, 8, 14, 0.96) 0%, rgba(6, 8, 14, 0.82) 42%, rgba(6, 8, 14, 0.1) 85%, transparent 100%),
                linear-gradient(0deg, rgba(6, 8, 14, 0.95) 0%, transparent 60%);
    z-index: 2;
}

.hero-banner-content {
    position: relative;
    z-index: 3;
    max-width: 620px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-badges-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-tag {
    background: var(--accent-gradient);
    color: #fff;
    font-size: 11.5px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    letter-spacing: 0.6px;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
}

.hero-meta {
    font-size: 13.5px;
    color: #cbd5e1;
    font-weight: 600;
}

.hero-banner-content h1 {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.6px;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.hero-banner-content p {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-actions-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 6px;
}

.btn-hero-play {
    background: #ffffff;
    color: #06080d;
    border: none;
    padding: 12px 26px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 14.5px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.35);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-hero-play:hover,
.btn-hero-play:focus,
.btn-hero-play.dpad-focused {
    transform: scale(1.05);
    box-shadow: 0 0 35px rgba(255, 255, 255, 0.6);
}

.btn-hero-info {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 12px 22px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 14.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-hero-info:hover,
.btn-hero-info:focus,
.btn-hero-info.dpad-focused {
    background: rgba(255, 255, 255, 0.22);
    border-color: #fff;
    transform: scale(1.04);
}

/* FILEIRAS DE CARDS DA HOME */
.home-section {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.home-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.home-section-header h2 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

.home-section-header h2 i {
    color: var(--accent);
}

.horizontal-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 8px 4px 16px;
}

.horizontal-carousel::-webkit-scrollbar {
    display: none;
}

/* CARDS DE CONTINUAR ASSISTINDO */
.continue-card {
    flex: 0 0 280px;
    height: 155px;
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.continue-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.continue-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(0deg, #06080d 0%, rgba(6, 8, 13, 0.85) 60%, transparent 100%);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.continue-card-title {
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.continue-card-time {
    font-size: 11px;
    color: var(--accent);
    font-weight: 600;
}

.continue-progress {
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.continue-progress-fill {
    height: 100%;
    background: var(--accent);
    border-radius: var(--radius-full);
}

/* CARDS DE JOGOS DO DIA */
.match-card {
    flex: 0 0 290px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.match-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.badge-live-pulse {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.4);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 5px;
}

.badge-live-pulse .dot {
    width: 6px;
    height: 6px;
    background: var(--danger);
    border-radius: var(--radius-full);
    animation: pulse 1.5s infinite;
}

.match-teams-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
}

.match-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 90px;
    text-align: center;
}

.match-team img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.match-team span {
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.match-score {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--accent);
}

.match-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 8px;
    font-size: 11px;
    color: var(--text-dim);
}

/* CARDS DE FILMES / VOD / TOP 10 */
.poster-card {
    flex: 0 0 170px;
    height: 250px;
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.poster-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.poster-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(0deg, #06080d 0%, rgba(6, 8, 13, 0.8) 60%, transparent 100%);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.poster-card-title {
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.poster-card-info {
    font-size: 11px;
    color: var(--text-muted);
}

/* TOP 10 ITEM COM NÚMERO 3D */
.top10-card {
    flex: 0 0 220px;
    height: 240px;
    display: flex;
    align-items: flex-end;
    position: relative;
}

.top10-num {
    font-family: var(--font-heading);
    font-size: 110px;
    font-weight: 900;
    line-height: 0.8;
    color: #06080d;
    -webkit-text-stroke: 3px rgba(0, 210, 255, 0.8);
    position: absolute;
    left: -10px;
    bottom: 0;
    z-index: 1;
    filter: drop-shadow(0 0 15px rgba(0, 210, 255, 0.4));
}

.top10-poster-wrap {
    width: 155px;
    height: 220px;
    margin-left: auto;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    z-index: 2;
    border: 1px solid var(--border-color);
}

.top10-poster-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   5. VIEW: TV AO VIVO (3 ZONAS PRO: SIDEBAR + PIP/EPG + CATCHUP 7 DIAS)
   ========================================================================== */
.live-pro-dashboard {
    display: grid;
    grid-template-columns: 330px 1fr 95px;
    gap: 14px;
    height: calc(100vh - 100px);
}

/* COLUNA 1: SIDEBAR DE CATEGORIAS E CANAIS */
.live-sidebar-column {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: rgba(11, 16, 28, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    padding: 12px;
    gap: 10px;
}

.sidebar-top-bar {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.sidebar-icon-btn:hover,
.sidebar-icon-btn:focus,
.sidebar-icon-btn.dpad-focused {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
    transform: scale(1.05);
}

.sidebar-view-title-box {
    flex: 1;
    height: 38px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 10px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.sidebar-view-title-box:hover,
.sidebar-view-title-box:focus,
.sidebar-view-title-box.dpad-focused {
    background: rgba(99, 102, 241, 0.25);
    border-color: #818cf8;
}

.sidebar-view-title-box i {
    color: var(--accent);
    font-size: 14px;
}

.sidebar-view-title-box span {
    font-family: var(--font-heading);
    font-size: 13.5px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* BUSCA NA SIDEBAR */
.sidebar-search-box {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0 12px;
    height: 36px;
    gap: 10px;
}

.sidebar-search-box i {
    color: var(--text-dim);
    font-size: 13px;
}

.sidebar-search-box input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
}

.sidebar-scroll-list {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-right: 4px;
}

/* BOTÃO DE CATEGORIA */
.pro-cat-btn {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    font-family: var(--font-heading);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.3px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    transition: all var(--transition-fast);
}

.pro-cat-btn:hover,
.pro-cat-btn:focus,
.pro-cat-btn.dpad-focused {
    background: rgba(99, 102, 241, 0.2);
    border-color: #818cf8;
    color: #fff;
    transform: translateX(4px);
}

.pro-cat-btn.active {
    background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 100%);
    border-color: #a78bfa;
    color: #fff;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
    font-weight: 800;
}

.pro-cat-count {
    font-size: 11.5px;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    color: #e2e8f0;
}

/* BOTÃO DE CANAL */
.pro-channel-btn {
    width: 100%;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-align: left;
    transition: all var(--transition-fast);
}

.pro-channel-btn:hover,
.pro-channel-btn:focus,
.pro-channel-btn.dpad-focused {
    background: rgba(99, 102, 241, 0.2);
    border-color: #818cf8;
    color: #fff;
    transform: translateX(4px);
}

.pro-channel-btn.active {
    background: linear-gradient(90deg, #4338ca 0%, #6366f1 100%);
    border-color: #a5b4fc;
    color: #fff;
    box-shadow: 0 4px 15px rgba(67, 56, 202, 0.5);
}

.pro-ch-number {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 800;
    color: #a5b4fc;
    background: rgba(0, 0, 0, 0.35);
    padding: 3px 6px;
    border-radius: 6px;
    min-width: 34px;
    text-align: center;
}

.pro-channel-btn.active .pro-ch-number {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
}

.pro-ch-logo {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.pro-ch-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pro-ch-title {
    flex: 1;
    font-family: var(--font-heading);
    font-size: 13.5px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pro-ch-rec-badge {
    font-size: 8.5px;
    font-weight: 900;
    color: #fff;
    background: #ef4444;
    padding: 2px 5px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

/* COLUNA 2: CENTRO (PIP PLAYER + GRADE EPG) */
.live-center-column {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 12px;
    overflow: hidden;
}

/* PIP VIDEO CARD */
.live-pip-card {
    height: 52%;
    border-radius: 16px;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.pip-video-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.pip-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pip-live-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(239, 68, 68, 0.9);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 900;
    padding: 3px 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.6);
    letter-spacing: 0.5px;
}

.pip-live-badge i {
    font-size: 7px;
    animation: pulse 1.2s infinite;
}

.pip-fullscreen-overlay-btn {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.pip-fullscreen-overlay-btn:hover,
.pip-fullscreen-overlay-btn:focus,
.pip-fullscreen-overlay-btn.dpad-focused {
    background: var(--accent-gradient);
    border-color: transparent;
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.5);
}

/* GRADE EPG HORÁRIOS */
.live-epg-schedule-card {
    flex: 1;
    background: rgba(11, 16, 28, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
}

.epg-schedule-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.epg-now-playing-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.epg-ch-num {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 900;
    color: #a5b4fc;
    background: rgba(99, 102, 241, 0.18);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 2px 8px;
    border-radius: 6px;
}

.epg-ch-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    color: #fff;
}

.epg-live-indicator {
    font-size: 11px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.epg-live-indicator i {
    font-size: 7px;
}

.epg-timeline-list {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.epg-program-row {
    padding: 8px 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
}

.epg-prog-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.epg-prog-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #64748b;
}

.epg-prog-title {
    font-weight: 700;
    color: #cbd5e1;
    font-family: var(--font-heading);
}

/* PROGRAMA ATIVO AO VIVO */
.epg-program-row.live-active {
    background: rgba(34, 197, 94, 0.08);
    border-color: rgba(34, 197, 94, 0.25);
    color: #22c55e;
}

.epg-program-row.live-active .epg-prog-dot {
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e;
    animation: pulse 1.5s infinite;
}

.epg-program-row.live-active .epg-prog-left {
    color: #22c55e;
    font-weight: 800;
}

.epg-program-row.live-active .epg-prog-title {
    color: #4ade80;
    font-weight: 800;
}

/* COLUNA 3: DIREITA (SELETOR DE DIAS / CATCHUP) */
.live-days-column {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: rgba(11, 16, 28, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 12px 6px;
    gap: 10px;
    align-items: center;
    overflow: hidden;
}

.days-column-clock {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.5px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    text-align: center;
}

.days-vertical-list {
    flex: 1;
    width: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

.pro-day-item {
    width: 100%;
    padding: 10px 4px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.pro-day-item:hover,
.pro-day-item:focus,
.pro-day-item.dpad-focused {
    background: rgba(99, 102, 241, 0.2);
    border-color: #818cf8;
    transform: scale(1.05);
}

.pro-day-item.active {
    background: linear-gradient(180deg, #4f46e5 0%, #7c3aed 100%);
    border-color: #a78bfa;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.5);
}

.pro-day-num {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.pro-day-name {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: lowercase;
}

.pro-day-item.active .pro-day-name {
    color: #e0e7ff;
}

/* ==========================================================================
   6. VIEW: FILMES & SÉRIES (VOD PRO DASHBOARD 2026)
   ========================================================================== */
.vod-pro-dashboard {
    display: grid;
    grid-template-columns: 290px 1fr;
    gap: 18px;
    height: calc(100vh - 100px);
}

/* SIDEBAR VOD */
.vod-sidebar-column {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: rgba(11, 16, 28, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    padding: 12px;
    gap: 10px;
}

.vod-sidebar-top {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vod-sidebar-list {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-right: 4px;
}

/* ITENS ESPECIAIS DO TOPO (RECENTES, CONTINUE, FAVORITOS) */
.vod-cat-special {
    width: 100%;
    padding: 11px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    font-family: var(--font-heading);
    font-size: 13.5px;
    font-weight: 800;
    letter-spacing: 0.4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    transition: all var(--transition-fast);
}

.vod-cat-special:hover,
.vod-cat-special:focus,
.vod-cat-special.dpad-focused {
    background: rgba(99, 102, 241, 0.25);
    border-color: #818cf8;
    color: #fff;
    transform: translateX(4px);
}

.vod-cat-special.active {
    background: #ffffff;
    color: #06080d;
    border-color: #ffffff;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.4);
    font-weight: 900;
}

.vod-cat-special.active .pro-cat-count {
    background: #06080d;
    color: #ffffff;
}

.vod-special-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vod-special-left i {
    font-size: 14px;
    color: var(--accent);
}

.vod-cat-special.active .vod-special-left i {
    color: #06080d;
}

/* ÁREA PRINCIPAL VOD */
.vod-main-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 14px;
    overflow: hidden;
}

.vod-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 4px;
}

.vod-category-header h1 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.3px;
    text-transform: uppercase;
}

.vod-items-count {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 800;
    color: var(--text-dim);
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.06);
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

/* GRADE DE POSTERS VOD (EXATAMENTE 5 COLUNAS POR LINHA) */
.vod-posters-grid {
    flex: 1;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px 14px;
    padding: 6px 4px 24px;
}

.vod-movie-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.vod-poster-box {
    width: 100%;
    aspect-ratio: 2 / 3;
    border-radius: 14px;
    overflow: hidden;
    background: #0b0f19;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    transition: all var(--transition-fast);
}

.vod-poster-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.vod-movie-card:hover,
.vod-movie-card:focus,
.vod-movie-card.dpad-focused {
    transform: translateY(-6px) scale(1.04);
}

.vod-movie-card:hover .vod-poster-box,
.vod-movie-card:focus .vod-poster-box,
.vod-movie-card.dpad-focused .vod-poster-box {
    border-color: var(--accent);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 210, 255, 0.4);
}

.vod-movie-card:hover img,
.vod-movie-card:focus img,
.vod-movie-card.dpad-focused img {
    transform: scale(1.06);
}

.vod-card-title {
    font-family: var(--font-heading);
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 2px;
}

.vod-card-sub {
    font-size: 11.5px;
    color: var(--text-dim);
    font-weight: 600;
    padding: 0 2px;
}

/* ==========================================================================
   7. VIEW: JOGOS DO DIA (ESPORTES)
   ========================================================================== */
.vod-tabs-filter {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding: 4px 2px 10px;
}

.vod-tab-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-fast);
    outline: none;
}

.vod-tab-btn:hover,
.vod-tab-btn:focus,
.vod-tab-btn.dpad-focused {
    background: rgba(0, 210, 255, 0.15);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.25);
}

.vod-tab-btn.active {
    background: linear-gradient(135deg, #0070f3 0%, #00d2ff 100%);
    border-color: #38bdf8;
    color: #fff;
    font-weight: 800;
    box-shadow: 0 4px 16px rgba(0, 210, 255, 0.4);
}

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

/* ==========================================================================
   8. VIEW: BUSCA & TECLADO VIRTUAL DE TV
   ========================================================================== */
.search-fullscreen-split {
    display: grid;
    grid-template-columns: 460px 1fr;
    gap: 30px;
    height: calc(100vh - 130px);
}

.search-input-box {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    gap: 12px;
}

.search-input-box i {
    font-size: 18px;
    color: var(--accent);
}

.search-input-box input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    outline: none;
}

.tv-keyboard-panel {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 18px;
}

.tv-key-row {
    display: flex;
    gap: 6px;
}

.tv-key {
    flex: 1;
    height: 46px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tv-key.key-wide { flex: 1.6; font-size: 13px; }
.tv-key.key-space { flex: 3; font-size: 13px; }

/* ==========================================================================
   9. VIEW: CONFIGURAÇÕES & AJUSTES (LAYOUT 2 COLUNAS PRO 2026)
   ========================================================================== */
.settings-split-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
    height: calc(100vh - 130px);
}

.settings-menu-list {
    background: rgba(14, 20, 32, 0.7);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 18px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.settings-sidebar-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--accent);
}

.settings-nav-btn {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    text-align: left;
    transition: all var(--transition-fast);
    outline: none;
}

.settings-nav-btn:hover,
.settings-nav-btn:focus,
.settings-nav-btn.dpad-focused {
    background: rgba(0, 210, 255, 0.15);
    border-color: var(--accent);
    transform: translateX(4px);
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.25);
}

.settings-nav-btn.active {
    background: linear-gradient(135deg, rgba(0, 112, 243, 0.8) 0%, rgba(0, 210, 255, 0.8) 100%);
    border-color: #38bdf8;
    box-shadow: 0 4px 20px rgba(0, 210, 255, 0.4);
}

.settings-btn-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--accent);
    flex-shrink: 0;
}

.settings-nav-btn.active .settings-btn-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.settings-btn-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.settings-btn-text strong {
    font-family: var(--font-heading);
    font-size: 14.5px;
    font-weight: 700;
    color: #fff;
}

.settings-btn-text small {
    font-size: 11.5px;
    color: var(--text-dim);
}

.settings-nav-btn.active .settings-btn-text small {
    color: rgba(255, 255, 255, 0.8);
}

/* PAINEL DE CONTEÚDO À DIREITA */
.settings-content-column {
    background: rgba(14, 20, 32, 0.7);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.settings-content-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 20px;
}

.settings-header-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(0, 112, 243, 0.3) 0%, rgba(0, 210, 255, 0.3) 100%);
    border: 1px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--accent);
}

.settings-content-header h2 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}

.settings-content-header p {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
}

.settings-cards-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.settings-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: all var(--transition-fast);
}

.settings-card:hover,
.settings-card:focus,
.settings-card.dpad-focused {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.15);
}

.settings-card-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.settings-card-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: rgba(0, 210, 255, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.settings-card-icon.danger {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
}

.settings-card-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.settings-card-info strong {
    font-family: var(--font-heading);
    font-size: 14.5px;
    font-weight: 700;
    color: #fff;
}

.settings-card-info small {
    font-size: 12px;
    color: var(--text-dim);
}

.mono-code {
    font-family: var(--font-mono, monospace);
    font-size: 13.5px !important;
    color: var(--accent) !important;
    font-weight: 700;
}

.status-tag {
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.status-tag.active {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: var(--success);
}

.status-tag.info {
    background: rgba(0, 210, 255, 0.15);
    border: 1px solid rgba(0, 210, 255, 0.4);
    color: var(--accent);
}

.status-tag.expired {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: var(--danger);
}

.btn-tv-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn-tv-secondary:hover,
.btn-tv-secondary:focus,
.btn-tv-secondary.dpad-focused {
    background: var(--accent);
    border-color: var(--accent);
    color: #06080d;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
}

.btn-tv-secondary.danger {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: var(--danger);
}

.btn-tv-secondary.danger:hover,
.btn-tv-secondary.danger:focus {
    background: var(--danger);
    color: #fff;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
}

/* ==========================================================================
   10. MODAIS (DETALHES CINEMÁTICOS SCREENSHOT 2, PIN, SERVIDOR)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(6, 8, 13, 0.92);
    backdrop-filter: blur(25px);
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* MODAL DE DETALHES CINEMÁTICO TELA CHEIA (SCREENSHOT 2) */
.vod-details-cinematic-screen {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
    background: #06080d;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 80px;
}

.cinematic-backdrop-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cinematic-backdrop-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

.cinematic-backdrop-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #06080d 0%, rgba(6, 8, 13, 0.95) 45%, rgba(6, 8, 13, 0.4) 75%, rgba(6, 8, 13, 0.7) 100%),
                linear-gradient(0deg, #06080d 0%, transparent 60%);
}

.btn-cinematic-close {
    position: absolute;
    top: 36px;
    left: 40px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-cinematic-close:hover,
.btn-cinematic-close:focus,
.btn-cinematic-close.dpad-focused {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
    transform: scale(1.05);
}

.cinematic-info-container {
    position: relative;
    z-index: 5;
    max-width: 650px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    animation: fadeIn 0.4s ease;
}

.cinematic-title {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.cinematic-meta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
}

.cinematic-rating {
    color: #facc15;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cinematic-year {
    color: #cbd5e1;
}

.cinematic-genres {
    font-size: 14px;
    color: #94a3b8;
    font-weight: 600;
}

.cinematic-synopsis {
    font-size: 14.5px;
    line-height: 1.65;
    color: #cbd5e1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* BOTÕES DE AÇÃO CINEMÁTICOS */
.cinematic-actions-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
}

.btn-cinematic-play {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    color: #fff;
    border: 1px solid #f97316;
    padding: 12px 28px;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(234, 88, 12, 0.4);
    transition: all var(--transition-fast);
}

.btn-cinematic-play:hover,
.btn-cinematic-play:focus,
.btn-cinematic-play.dpad-focused {
    transform: scale(1.06);
    box-shadow: 0 8px 30px rgba(234, 88, 12, 0.7);
    border-color: #fff;
}

.btn-cinematic-trailer {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    color: #fff;
    border: 1px solid #3b82f6;
    padding: 12px 24px;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(29, 78, 216, 0.35);
    transition: all var(--transition-fast);
}

.btn-cinematic-trailer:hover,
.btn-cinematic-trailer:focus,
.btn-cinematic-trailer.dpad-focused {
    transform: scale(1.06);
    box-shadow: 0 8px 30px rgba(29, 78, 216, 0.6);
    border-color: #fff;
}

.btn-cinematic-fav {
    background: linear-gradient(135deg, #15803d 0%, #166534 100%);
    color: #fff;
    border: 1px solid #22c55e;
    padding: 12px 24px;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(21, 128, 61, 0.35);
    transition: all var(--transition-fast);
}

.btn-cinematic-fav:hover,
.btn-cinematic-fav:focus,
.btn-cinematic-fav.dpad-focused {
    transform: scale(1.06);
    box-shadow: 0 8px 30px rgba(21, 128, 61, 0.6);
    border-color: #fff;
}

.btn-cinematic-episodes {
    background: linear-gradient(135deg, #7e22ce 0%, #6b21a8 100%);
    color: #fff;
    border: 1px solid #a855f7;
    padding: 12px 24px;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(126, 34, 206, 0.4);
    transition: all var(--transition-fast);
}

.btn-cinematic-episodes:hover,
.btn-cinematic-episodes:focus,
.btn-cinematic-episodes.dpad-focused {
    transform: scale(1.06);
    box-shadow: 0 8px 30px rgba(126, 34, 206, 0.7);
    border-color: #fff;
}

/* ==========================================================================
   TELA DE SELEÇÃO DE TEMPORADAS & EPISÓDIOS (SCREENSHOT 3)
   ========================================================================== */
.series-episodes-screen {
    width: 100vw;
    height: 100vh;
    background: #06080d;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 30px 50px 30px;
    gap: 16px;
}

.series-ep-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: 60px;
}

.series-ep-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.3px;
}

.series-ep-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: var(--font-heading);
    font-size: 14.5px;
    font-weight: 700;
    color: #94a3b8;
}

.series-ep-body-split {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 30px;
    flex: 1;
    overflow: hidden;
}

/* COLUNA 1: CARDS DE TEMPORADA */
.series-seasons-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    padding-right: 4px;
}

.season-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.season-card:hover,
.season-card:focus,
.season-card.dpad-focused {
    background: rgba(99, 102, 241, 0.2);
    border-color: #818cf8;
    transform: scale(1.02);
}

.season-card.active {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid #ffffff;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
}

.season-poster-wrap {
    width: 75px;
    height: 110px;
    border-radius: 8px;
    overflow: hidden;
    background: #0b0f19;
    flex-shrink: 0;
}

.season-poster-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.season-info-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.season-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    color: #fff;
}

.season-ep-count {
    font-size: 13px;
    color: #cbd5e1;
    font-weight: 600;
}

.season-extra-meta {
    font-size: 12px;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 8px;
}

.season-extra-meta i {
    color: #facc15;
}

/* COLUNA 2: LISTA DE EPISÓDIOS */
.series-episodes-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    padding-right: 12px;
}

.episode-row-card {
    display: flex;
    gap: 20px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition: all var(--transition-fast);
    align-items: center;
}

.episode-row-card:hover,
.episode-row-card:focus,
.episode-row-card.dpad-focused {
    background: rgba(99, 102, 241, 0.18);
    border-color: #818cf8;
    transform: translateX(4px) scale(1.01);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 210, 255, 0.25);
}

.ep-thumb-wrap {
    width: 200px;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.ep-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ep-meta-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow: hidden;
}

.ep-code-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    color: #fff;
}

.ep-date-duration {
    font-size: 12.5px;
    color: #94a3b8;
    font-weight: 700;
    display: flex;
    gap: 12px;
}

.ep-synopsis-text {
    font-size: 13px;
    line-height: 1.5;
    color: #cbd5e1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* MODAL PIN PARENTAL */
.modal-pin-box {
    width: 360px;
    background: rgba(14, 20, 32, 0.95);
    border: 1px solid var(--border-focus);
    border-radius: var(--radius-lg);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    box-shadow: 0 0 50px rgba(0, 210, 255, 0.3);
}

.pin-dots-row {
    display: flex;
    gap: 14px;
}

.pin-dot {
    width: 16px;
    height: 16px;
    border-radius: var(--radius-full);
    border: 2px solid var(--border-color);
}

.pin-dot.filled {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 12px var(--accent);
}

.pin-keypad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
}

.pin-key {
    height: 52px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   11. PLAYER DE VÍDEO FULLSCREEN & OSD MODERNO 2026
   ========================================================================== */
#player-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 2000;
    overflow: hidden;
}

#main-video-player {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* FLOATING OSD MODERNO */
.player-osd-modern {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: min(92vw, 1200px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 1;
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: auto;
    z-index: 2002;
}

.player-osd-modern.fade-out {
    opacity: 0;
    transform: translate(-50%, 20px);
    pointer-events: none;
}

/* FLOATING CHANNEL TAG PILL */
.osd-floating-tag {
    background: rgba(11, 16, 28, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(20px);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    padding: 6px 24px;
    border-radius: var(--radius-full);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.5px;
}

/* MAIN CARD PRINCIPAL */
.osd-main-card {
    width: 100%;
    background: rgba(8, 12, 22, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 14px 24px;
    display: grid;
    grid-template-columns: auto 1.3fr 1fr auto;
    gap: 24px;
    align-items: center;
    backdrop-filter: blur(30px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 210, 255, 0.15);
}

.osd-meta-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.osd-channel-num {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.5px;
}

.osd-channel-logo-wrap {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    font-size: 20px;
}

.osd-channel-logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* PROGRAMA ATUAL */
.osd-program-current {
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow: hidden;
}

.osd-prog-time-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #94a3b8;
    font-weight: 700;
}

.osd-live-tag {
    background: #ef4444;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 9px;
    font-weight: 900;
    padding: 1px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.osd-prog-title {
    font-family: var(--font-heading);
    font-size: 16.5px;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.osd-progress-wrap {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-top: 2px;
}

.osd-progress-line {
    height: 100%;
    background: linear-gradient(90deg, #ef4444 0%, #f43f5e 100%);
    border-radius: var(--radius-full);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.8);
}

/* PRÓXIMO PROGRAMA */
.osd-program-next {
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow: hidden;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    padding-left: 18px;
}

.osd-next-tag {
    background: rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
    font-family: var(--font-heading);
    font-size: 9px;
    font-weight: 900;
    padding: 1px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.osd-next-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: #cbd5e1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* RELÓGIO & RESOLUÇÃO */
.osd-tech-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.osd-clock {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 900;
    color: #fff;
}

.osd-resolution-badge {
    font-size: 12px;
    color: #64748b;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* BOTTOM CONTROLS ROW */
.osd-bottom-bar {
    width: 100%;
    background: rgba(8, 12, 22, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 8px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(25px);
}

.osd-controls-group,
.osd-aspect-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.osd-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.osd-icon-btn:hover,
.osd-icon-btn:focus,
.osd-icon-btn.dpad-focused {
    background: var(--accent);
    color: #000;
    transform: scale(1.08);
}

.osd-quality-pills {
    display: flex;
    align-items: center;
    gap: 6px;
}

.quality-pill,
.aspect-pill {
    padding: 6px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    font-family: var(--font-heading);
    font-size: 12.5px;
    font-weight: 800;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.quality-pill:hover,
.quality-pill:focus,
.quality-pill.dpad-focused,
.aspect-pill:hover,
.aspect-pill:focus,
.aspect-pill.dpad-focused {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: scale(1.05);
}

.quality-pill.active {
    background: #22c55e;
    color: #000;
    border-color: #4ade80;
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.6);
}

.aspect-pill.active {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid #22c55e;
}

/* GAVETA LATERAL DE CANAIS DENTRO DO FULLSCREEN */
.player-channels-drawer {
    position: absolute;
    top: 0;
    right: 0;
    width: 380px;
    height: 100%;
    background: rgba(6, 8, 13, 0.95);
    backdrop-filter: blur(25px);
    border-left: 1px solid var(--border-color);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 2005;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-list {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* ANIMAÇÕES */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

@keyframes floatIcon {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

/* ==========================================================================
   11. MODAL DE ATUALIZAÇÃO AUTOMÁTICA OTA (OVER-THE-AIR) 2026
   ========================================================================== */
.ota-update-modal {
    width: 90%;
    max-width: 580px;
    background: rgba(14, 20, 32, 0.95);
    border: 1px solid rgba(0, 210, 255, 0.35);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9), 0 0 50px rgba(0, 210, 255, 0.25);
    animation: fadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.ota-update-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0070f3, #00d2ff, #38bdf8, #0070f3);
    background-size: 200% 100%;
    animation: shimmer 3s infinite linear;
}

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

.ota-rocket-glow {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.3) 0%, rgba(0, 112, 243, 0.1) 70%, transparent 100%);
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--accent);
    margin-bottom: 16px;
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.5);
    animation: floatIcon 3s ease-in-out infinite;
}

.ota-header-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    background: rgba(0, 210, 255, 0.15);
    border: 1px solid rgba(0, 210, 255, 0.4);
    font-family: var(--font-heading);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: var(--accent);
    margin-bottom: 12px;
}

.ota-modal-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.ota-modal-subtitle {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 18px;
}

.ota-info-pill-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.ota-info-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 6px;
}

.ota-changelog-box {
    width: 100%;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: left;
    margin-bottom: 24px;
}

.ota-changelog-title {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ota-changelog-list {
    font-size: 12.5px;
    line-height: 1.7;
    color: var(--text-main);
    white-space: pre-line;
    max-height: 130px;
    overflow-y: auto;
}

/* BARRA DE PROGRESSO */
.ota-progress-wrap {
    width: 100%;
    margin-bottom: 20px;
}

.ota-progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 8px;
}

.ota-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0070f3, #00d2ff);
    border-radius: var(--radius-full);
    transition: width 0.2s ease;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.8);
}

.ota-progress-status {
    font-size: 12px;
    color: var(--text-dim);
    font-weight: 600;
}

/* BOTÕES DE AÇÃO */
.ota-actions-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
}

.btn-ota-update {
    flex: 1.4;
    background: linear-gradient(135deg, #0070f3 0%, #00d2ff 100%);
    border: 1px solid #38bdf8;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 14.5px;
    font-weight: 800;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 6px 25px rgba(0, 210, 255, 0.4);
    transition: all var(--transition-fast);
}

.btn-ota-update:hover,
.btn-ota-update:focus,
.btn-ota-update.dpad-focused {
    transform: scale(1.04);
    box-shadow: 0 8px 35px rgba(0, 210, 255, 0.7);
    border-color: #fff;
}

.btn-ota-later {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 13.5px;
    font-weight: 700;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-ota-later:hover,
.btn-ota-later:focus,
.btn-ota-later.dpad-focused {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

