/* Main Stylesheet — TV Gazeta Smart TV Platform */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: none;
    -webkit-font-smoothing: antialiased;
}

body.tv-body {
    background-color: #0A1F40 !important;
    background-image:
        radial-gradient(ellipse at 20% 0%, rgba(45, 100, 255, 0.15) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 100%, rgba(0, 80, 192, 0.12) 0%, transparent 55%),
        linear-gradient(160deg, #0f2d5c 0%, #0A1F40 60%, #051126 100%) !important;
    color: var(--text-primary);
    font-family: var(--font-stack);
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    position: relative;
    user-select: none;
}

/* APP FLEX LAYOUT */
.tv-app-layout {
    display: flex;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: #0A1F40 !important;
    background-image:
        radial-gradient(ellipse at 20% 0%, rgba(45, 100, 255, 0.15) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 100%, rgba(0, 80, 192, 0.12) 0%, transparent 55%),
        linear-gradient(160deg, #0f2d5c 0%, #0A1F40 60%, #051126 100%) !important;
    position: relative;
}

/* SIDEBAR (LEFT MENU) — Redesign Glassmorphism */
.tv-sidebar {
    width: 220px;
    height: 100vh;
    margin: 0;
    background: rgba(8, 16, 42, 0.70) !important;
    backdrop-filter: blur(30px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(30px) saturate(180%) !important;
    border: none !important;
    border-right: 1px solid rgba(45, 140, 255, 0.12) !important;
    border-radius: 0 !important;
    display: flex;
    flex-direction: column;
    padding: 28px 14px;
    z-index: 100;
    flex-shrink: 0;
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.3);
}

/* Logo Area */
.tv-sidebar-logo {
    padding: 4px 14px 8px;
    margin-bottom: 28px;
}

.sidebar-logo-img {
    max-height: 42px;
    max-width: 160px;
    object-fit: contain;
    display: block;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-circle {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-cyan), var(--primary-color));
    box-shadow: 0 0 12px rgba(56, 217, 255, 0.7);
    flex-shrink: 0;
    animation: pulse-live 2s infinite;
}

.logo-text {
    font-size: 18px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Divisor */
.sidebar-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.08), transparent);
    margin: 0 8px 20px;
}

/* Menu Navigation */
.tv-sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
}

.tv-menu-item {
    background: transparent;
    border: none !important;
    color: rgba(255, 255, 255, 0.55);
    padding: 11px 18px 11px 22px;
    border-radius: 100px !important;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-align: left;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
    font-family: inherit;
    letter-spacing: 0.2px;
    position: relative;
}

.tv-search-entry {
    border-radius: 100px !important;
    border: none !important;
}

.menu-icon {
    width: 18px;
    height: 18px;
    opacity: 0.65;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
}

.tv-menu-item:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05) !important;
    border: none !important;
}

.tv-menu-item:hover .menu-icon {
    opacity: 1;
}

.tv-menu-item.active {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(45, 140, 255, 0.16) 0%, rgba(45, 140, 255, 0.05) 100%) !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.tv-menu-item.active .menu-icon {
    opacity: 1;
}

/* CRITICAL D-PAD FOCUSRING STYLES */
.focusable {
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.focusable:focus,
.focusable.focused {
    transform: scale(1.06) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 25px var(--primary-glow) !important;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.2) 0%, rgba(0, 50, 150, 0.05) 100%) !important;
    color: #ffffff !important;
    z-index: 10;
}

.tv-menu-item:focus,
.tv-menu-item.focused,
.tv-search-entry:focus,
.tv-search-entry.focused {
    color: #ffffff !important;
    background: linear-gradient(90deg, #2d8cff 0%, #0050c0 100%) !important;
    border: none !important;
    box-shadow: 0 10px 25px rgba(45, 140, 255, 0.25) !important;
    transform: translateX(4px) scale(1.02) !important;
}

.tv-sidebar-footer {
    margin-top: auto;
    width: 100%;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.tv-clock-pill {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
}

.tv-clock {
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
    font-family: 'Inter', monospace;
    letter-spacing: -0.5px;
}

.tv-date {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* CONTENT CONTAINER */
.tv-main-content {
    flex-grow: 1;
    height: 100%;
    overflow-y: auto;
    padding: 30px 4% 30px 50px;
    position: relative;
    scroll-behavior: smooth;
}

.tv-main-content::-webkit-scrollbar {
    width: 0;
    display: none;
}

/* SECTIONS */
.tv-section {
    display: none;
    animation: tv-fade-in 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.tv-section.active {
    display: block !important;
}

@keyframes tv-fade-in {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.tv-row-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    color: #fff;
    display: flex;
    align-items: center;
    padding-left: 0 !important;
    border-left: none !important;
    line-height: 1.2;
}

.tv-row-title::before {
    content: none;
}

/* =========================================================================
   CINEMATIC HERO BANNER & NEXT PROGRAM LAYOUT
   ========================================================================= */

.live-program-card-pc-container {
    position: relative;
    width: 100%;
    margin-bottom: 40px;
}

.live-program-card-pc {
    position: relative;
    width: 100%;
    height: 450px;
    background: linear-gradient(135deg, rgba(10, 22, 60, 0.85) 0%, rgba(8, 20, 50, 0.50) 100%) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border-radius: 40px !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    overflow: hidden;
    display: flex;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.50), inset 0 1px 0 rgba(255,255,255,0.06);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Obsolete theme-live block removed */

/* Background image blended at right */
.live-program-card-pc .fluxtv-hero-image-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    width: 58%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 1) 35%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 1) 35%);
}

.live-program-card-pc .fluxtv-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.live-program-card-pc .fluxtv-hero-fade-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, 
        rgba(4, 9, 20, 0.95) 0%, 
        rgba(4, 9, 20, 0.8) 35%, 
        rgba(4, 9, 20, 0.2) 70%, 
        transparent 100%);
    z-index: 2;
}

/* Hero Content */
.live-program-card-pc .fluxtv-hero-content {
    position: relative;
    z-index: 3;
    width: 55%;
    height: 100%;
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end !important;
}

.fluxtv-hero-badge-row {
    position: absolute !important;
    top: 30px !important;
    left: 40px !important;
    z-index: 10;
}

.fluxtv-live-badge-glass {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 59, 48, 0.15) !important;
    border: 1px solid rgba(255, 59, 48, 0.3) !important;
    padding: 6px 14px;
    border-radius: 100px;
    color: #ffffff;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.5px;
    box-shadow: 0 0 15px var(--live-glow);
}

.fluxtv-live-dot-glow {
    width: 8px;
    height: 8px;
    background: var(--live-color);
    border-radius: 50%;
    animation: pulse-live 1.5s infinite;
}

.fluxtv-live-badge-glass.status-new {
    background: rgba(52, 199, 89, 0.15) !important;
    border-color: rgba(52, 199, 89, 0.3) !important;
    box-shadow: 0 0 15px var(--new-glow);
}
.fluxtv-live-badge-glass.status-new .fluxtv-live-dot-glow {
    background: var(--new-color);
}

.fluxtv-live-badge-glass.status-onair {
    background: rgba(0, 122, 255, 0.15) !important;
    border-color: rgba(0, 122, 255, 0.3) !important;
    box-shadow: 0 0 15px var(--primary-glow);
}
.fluxtv-live-badge-glass.status-onair .fluxtv-live-dot-glow {
    background: var(--primary-color);
}

.fluxtv-hero-status-tag {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--primary-color);
    margin-bottom: 6px;
    text-transform: uppercase;
}

.live-program-card-pc .fluxtv-hero-title {
    font-size: 38px;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.live-program-card-pc .fluxtv-hero-presenter {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 6px;
}

.live-program-card-pc .fluxtv-hero-time-range {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.fluxtv-progress-container {
    width: 320px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 25px;
}

.fluxtv-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.fluxtv-progress-bar div {
    height: 100%;
    background: var(--primary-color);
    box-shadow: 0 0 8px var(--primary-glow);
    border-radius: 2px;
    transition: width 0.5s ease;
}

.hero-remaining-lbl {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.fluxtv-hero-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Buttons */
.fluxtv-btn-primary {
    background: linear-gradient(135deg, rgba(45, 140, 255, 0.80) 0%, rgba(0, 80, 192, 0.80) 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(45, 140, 255, 0.40) !important;
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 100px !important;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(45, 140, 255, 0.25) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.tv-btn-info {
    background: rgba(45, 140, 255, 0.18) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(45, 140, 255, 0.30) !important;
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 100px !important;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.fluxtv-btn-primary:focus,
.fluxtv-btn-primary.focused {
    background: linear-gradient(135deg, #2d8cff 0%, #0050c0 100%) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
    transform: scale(1.05) !important;
    box-shadow: 0 0 25px rgba(45, 140, 255, 0.5) !important;
}

.tv-btn-info:focus,
.tv-btn-info.focused {
    background: rgba(45, 140, 255, 0.35) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: scale(1.05) !important;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.2) !important;
}

/* Pill Em seguida Card */
.hero-next-pill-container {
    position: absolute;
    bottom: 30px !important;
    right: 40px !important;
    z-index: 15;
    background: rgba(10, 31, 64, 0.75) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 20px !important;
    padding: 10px 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
}

.hero-next-pill {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.hero-next-pill-container:focus,
.hero-next-pill-container.focused {
    background: #ffffff !important;
    border-color: #ffffff !important;
    transform: scale(1.05) !important;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.5) !important;
}

.hero-next-pill-container:focus .hero-next-pill,
.hero-next-pill-container.focused .hero-next-pill {
    color: #0a1f40 !important;
}

.hero-next-pill-container:focus .hero-next-pill span,
.hero-next-pill-container.focused .hero-next-pill span {
    color: rgba(11, 22, 49, 0.6) !important;
}

.hero-next-pill-container:focus .hero-next-pill strong,
.hero-next-pill-container.focused .hero-next-pill strong,
.hero-next-pill-container:focus .hero-next-pill em,
.hero-next-pill-container.focused .hero-next-pill em {
    color: #0a1f40 !important;
}

/* =========================================================================
   SLIDER / ROW CAROUSEL
   ========================================================================= */

.tv-row-carousel {
    position: relative;
    overflow: visible;
    width: 100%;
}

.tv-carousel-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 15px 0;
    margin: -15px 0;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.tv-carousel-track::-webkit-scrollbar {
    display: none;
}

/* Netflix style Program Card */
.netflix-program-card {
    flex: 0 0 250px;
    width: 250px;
    aspect-ratio: 16/9;
    background: var(--card-bg) !important;
    border: 1px solid var(--card-border) !important;
    border-radius: var(--card-radius-liquid);
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.netflix-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: transform 0.4s ease;
}

.netflix-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(4, 9, 20, 0.95) 0%, rgba(4, 9, 20, 0.3) 50%, transparent 100%);
    z-index: 2;
}

.netflix-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.netflix-card-category {
    font-size: 10px;
    font-weight: 800;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.netflix-program-card:focus img,
.netflix-program-card.focused img {
    transform: scale(1.05);
    opacity: 1;
}

/* =========================================================================
   GRID OF ALL PROGRAMS
   ========================================================================= */
.tv-programs-grid-container {
    width: 100%;
}

.tv-programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
    padding: 15px 0;
}

.tv-programs-grid .netflix-program-card {
    width: 100%;
    flex: none;
}

.category-tab-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    color: var(--text-secondary);
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 700;
    border-radius: var(--pill-radius-liquid);
    cursor: pointer;
    transition: all 0.2s ease;
}

.category-tab-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 0 15px var(--primary-glow);
}

.category-tab-btn:focus,
.category-tab-btn.focused {
    background: #ffffff !important;
    color: #000000 !important;
    border-color: #ffffff !important;
    transform: scale(1.05);
}

/* =========================================================================
   EPG WEEKLY LISTS
   ========================================================================= */

.schedule-tabs {
    gap: 12px;
    margin-bottom: 25px;
    padding: 5px 0;
}

.schedule-tabs .tab-link {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-radius: var(--pill-radius-liquid);
    color: var(--text-secondary);
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.schedule-tabs .tab-link.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 0 15px var(--primary-glow);
}

.schedule-tabs .tab-link:focus,
.schedule-tabs .tab-link.focused {
    background: #ffffff !important;
    color: #000000 !important;
    border-color: #ffffff !important;
    transform: scale(1.05) !important;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3) !important;
}

.desktop-cards-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 10px 0;
}

.desktop-program-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(16, 28, 68, 0.45) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: var(--card-radius-liquid);
    padding: 12px 20px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.epg-card-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.epg-thumbnail-wrapper {
    position: relative;
    width: 100px;
    height: 56px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #000;
}

.epg-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.epg-live-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--live-color);
    color: #ffffff;
    font-size: 8px;
    font-weight: 900;
    text-align: center;
    padding: 2px 0;
    letter-spacing: 0.5px;
    z-index: 2;
}

.epg-card-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.epg-card-time {
    font-size: 15px;
    font-weight: 800;
    color: var(--accent-cyan);
    font-family: monospace;
}

.desktop-program-title {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
}

.epg-card-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.epg-play-arrow {
    color: var(--text-secondary);
    opacity: 0.5;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.desktop-program-card:focus .epg-play-arrow,
.desktop-program-card.focused .epg-play-arrow {
    color: #ffffff;
    opacity: 1;
    transform: translateX(4px);
}

.desktop-badge {
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 800;
    border-radius: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.desktop-badge.live {
    background: var(--live-color);
    color: #ffffff;
    box-shadow: 0 0 10px var(--live-glow);
}

.desktop-badge.new {
    background: var(--new-color);
    color: #ffffff;
    box-shadow: 0 0 10px var(--new-glow);
}

.desktop-program-card:focus,
.desktop-program-card.focused {
    transform: scale(1.02) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 20px var(--primary-glow) !important;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.12) 0%, rgba(0, 20, 80, 0.02) 100%) !important;
}

/* =========================================================================
   NEWS SECTION
   ========================================================================= */

.news-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: var(--card-radius-liquid);
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.news-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #000;
}

.news-placeholder-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0d225c 0%, #040914 100%);
    opacity: 0.8;
}

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

.news-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.news-date {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-color);
}

.news-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.news-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.news-card:focus,
.news-card.focused {
    transform: scale(1.04) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 25px var(--primary-glow) !important;
}

/* =========================================================================
   COBERTURA SECTION (INTERACTIVE D-PAD COVERAGE LIST)
   ========================================================================= */

.coverage-state-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: var(--pill-radius-liquid);
    padding: 12px 24px;
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 15px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.coverage-state-btn.active {
    background: rgba(0, 122, 255, 0.1) !important;
    border-color: var(--primary-color) !important;
    color: #fff;
}

.coverage-state-btn:focus,
.coverage-state-btn.focused {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 8px 20px var(--primary-glow) !important;
    color: #fff !important;
    transform: scale(1.04);
}

.coverage-channel-badge {
    background: rgba(255, 179, 0, 0.15);
    border: 1px solid rgba(255, 179, 0, 0.3);
    color: var(--accent-color);
    padding: 4px 14px;
    border-radius: var(--pill-radius-liquid);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    box-shadow: 0 0 10px rgba(255, 179, 0, 0.2);
}

.coverage-cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.coverage-city-tag {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 18px;
    border-radius: var(--pill-radius-liquid);
    font-size: 13px;
    color: var(--text-secondary);
    text-align: center;
    font-weight: 500;
}

/* =========================================================================
   APPLE TV / NETFLIX STYLE DETAILS POPUP MODAL
   ========================================================================= */

#tv-details-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    display: none;
}

#tv-details-popup.active {
    display: block !important;
}

#tv-details-popup .fluxtv-popup-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(5, 12, 36, 0.85);
    backdrop-filter: blur(15px);
    z-index: 999;
}

#tv-details-popup .fluxtv-popup-container {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 50% -20%, #0b1535 0%, #050c24 80%);
    border: none;
    border-radius: 0;
    padding: 0;
    overflow-y: auto;
    z-index: 1000;
    animation: tv-slide-in-right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes tv-slide-in-right {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

#tv-details-popup .fluxtv-popup-radial-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(0, 122, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.fluxtv-close-btn {
    position: absolute;
    top: 30px;
    right: 35px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: rgba(255, 255, 255, 0.8) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1010;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
}

.fluxtv-close-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    transition: transform 0.25s ease;
}

.fluxtv-close-btn:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
}

.fluxtv-close-btn:focus,
.fluxtv-close-btn.focused {
    background: #ffffff !important;
    color: #0c173a !important;
    border-color: #ffffff !important;
    transform: scale(1.08) !important;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.45) !important;
}

.fluxtv-close-btn:focus svg,
.fluxtv-close-btn.focused svg {
    transform: rotate(90deg);
}

#tv-details-popup .fluxtv-popup-content-scroll {
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
    box-sizing: border-box;
}

#tv-details-popup .fluxtv-popup-content-scroll::-webkit-scrollbar {
    width: 0;
    display: none;
}

/* Popup Hero Section */
.fluxtv-popup-hero {
    display: block;
    position: relative;
    width: 100%;
    height: 65vh;
    overflow: hidden;
    margin: 0;
    border: none;
    border-radius: 0;
}

.fluxtv-popup-hero-img-wrapper {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.fluxtv-popup-hero-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fluxtv-popup-hero-fade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #040914 0%, rgba(4, 9, 20, 0.5) 50%, rgba(4, 9, 20, 0) 100%),
                linear-gradient(to right, #040914 0%, rgba(4, 9, 20, 0.3) 30%, rgba(4, 9, 20, 0) 100%);
    z-index: 2;
}

.fluxtv-popup-hero-content {
    position: absolute;
    bottom: 40px;
    left: 6%;
    right: 6%;
    padding: 0;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.fluxtv-popup-meta {
    position: absolute;
    top: 40px;
    left: 6%;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(4, 9, 20, 0.5) !important;
    border: 1px solid var(--card-border) !important;
    padding: 6px 18px;
    border-radius: 100px;
    backdrop-filter: blur(10px);
}

.fluxtv-badge-live {
    background: var(--live-color);
    color: #ffffff;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 800;
    border-radius: 6px;
    letter-spacing: 0.5px;
    box-shadow: 0 0 10px var(--live-glow);
}

.fluxtv-meta-category,
.fluxtv-meta-duration {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.fluxtv-meta-separator {
    color: rgba(255, 255, 255, 0.2);
}

.fluxtv-popup-hero-content .fluxtv-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.1;
    color: #ffffff;
    letter-spacing: -1px;
    text-shadow: 0 3px 15px rgba(0,0,0,0.8);
    max-width: 60%;
}

.fluxtv-popup-actions {
    display: flex;
    align-items: center;
}

.fluxtv-popup-actions .fluxtv-btn-primary {
    background: #182a69;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 14px 36px;
    font-size: 16px;
    font-weight: 800;
    border-radius: var(--pill-radius-liquid);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Info Cards */
.fluxtv-popup-body-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 20px 6% 80px 6%;
    box-sizing: border-box;
}

.fluxtv-popup-info-card {
    background: rgba(16, 28, 68, 0.6) !important;
    backdrop-filter: var(--glass-blur) !important;
    -webkit-backdrop-filter: var(--glass-blur) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: var(--card-radius-liquid);
    padding: 30px 35px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.fluxtv-info-presenter-block {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 0 0 280px;
}

.fluxtv-presenter-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(0, 122, 255, 0.1);
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fluxtv-presenter-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fluxtv-info-card-label {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.fluxtv-info-card-value {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}

.fluxtv-info-card-divider {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.08);
    align-self: center;
}

.fluxtv-info-about-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.fluxtv-about-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fluxtv-about-vertical-bar {
    width: 3px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 2px;
}

.fluxtv-info-description-text {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

/* Episodes Grid Section */
.fluxtv-episodes-section {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 30px;
}

.fluxtv-episodes-title {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    padding-left: 0 !important;
    border-left: none !important;
    line-height: 1.2;
}

.fluxtv-episodes-title::before {
    content: none;
}

.fluxtv-episodes-list-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: none;
}

.fluxtv-episodes-list-slider::-webkit-scrollbar {
    display: none;
}

.fluxtv-episode-item {
    flex: 0 0 280px;
    width: 280px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.fluxtv-ep-thumb-wrapper {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: var(--card-radius-liquid);
    overflow: hidden;
    border: 1px solid var(--card-border);
    background: #000000;
}

.fluxtv-ep-thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.fluxtv-episode-item:focus .fluxtv-ep-thumb-wrapper img,
.fluxtv-episode-item.focused .fluxtv-ep-thumb-wrapper img {
    opacity: 1;
}

.fluxtv-episode-item:focus,
.fluxtv-episode-item.focused {
    transform: scale(1.05);
}

.fluxtv-ep-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.fluxtv-episode-item:focus .fluxtv-ep-play-overlay,
.fluxtv-episode-item.focused .fluxtv-ep-play-overlay {
    opacity: 1;
}

.fluxtv-ep-play-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.fluxtv-ep-info-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fluxtv-ep-meta {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.fluxtv-ep-title {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

/* =========================================================================
   CINEMATIC FULLSCREEN VIDEO PLAYER
   ========================================================================= */

#tv-player-root {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000000;
    z-index: 2000;
    display: none;
}

#tv-player-root.active {
    display: block !important;
}

#tv-player-root .apple-player-backdrop {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #000000;
    z-index: 1;
}

#tv-player-root .apple-video-frame {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
}

#tv-player-root video,
#tv-player-root iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: #000000;
}

/* Close button on player */
#tv-player-root .apple-premium-btn {
    position: absolute;
    top: 40px;
    right: 50px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(4, 9, 20, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: all 0.25s ease;
}

#tv-player-root .apple-premium-btn:focus,
#tv-player-root .apple-premium-btn.focused {
    background: #ffffff !important;
    color: #000000 !important;
    border-color: #ffffff !important;
    transform: scale(1.1) !important;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.5) !important;
}

/* Custom TV Player OSD controls overlay */
#tv-player-osd {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 180px;
    z-index: 99;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px 6%;
    box-sizing: border-box;
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

#tv-player-osd.player-osd-hidden {
    opacity: 0;
    transform: translateY(30px);
}

.osd-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(4, 9, 20, 0.95) 0%, rgba(4, 9, 20, 0.7) 60%, transparent 100%);
    z-index: 1;
}

.osd-content-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.osd-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.osd-title {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

.osd-status-badge {
    background: var(--live-color);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    box-shadow: 0 0 8px var(--live-glow);
}

.osd-controls-row {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.osd-control-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
}

.osd-control-btn:focus,
.osd-control-btn.focused {
    background: #ffffff !important;
    color: #000000 !important;
    border-color: #ffffff !important;
    transform: scale(1.08);
}

.osd-progress-wrapper {
    flex-grow: 1;
    display: flex;
    align-items: center;
    gap: 15px;
}

.osd-time {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    font-family: monospace;
}

.osd-progress-container {
    flex-grow: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.osd-progress-bar {
    height: 100%;
    background: var(--primary-color);
    box-shadow: 0 0 8px var(--primary-glow);
    border-radius: 3px;
    width: 0%;
}

/* Spinner de Carregamento */
#tv-player-root .apple-player-loader {
    position: absolute;
    inset: 0;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
}

#tv-player-root .apple-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: tv-spin 1s linear infinite;
    box-shadow: 0 0 15px var(--primary-glow);
}

/* Watermarks e fallbacks */
.live-program-card-pc .fluxtv-hero-image-wrapper.no-image {
    background: radial-gradient(circle at 60% 50%, #0d225c 0%, #040914 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-watermark {
    font-size: 55px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    text-transform: uppercase;
    letter-spacing: -1px;
    pointer-events: none;
    font-family: var(--font-stack);
    text-align: center;
    padding: 20px;
    width: 100%;
    line-height: 1.1;
}

.fluxtv-popup-hero-img-wrapper.no-image {
    background: radial-gradient(circle at 50% 50%, #0d225c 0%, #040914 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.popup-watermark {
    font-size: 45px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    text-transform: uppercase;
    letter-spacing: -1px;
    pointer-events: none;
    font-family: var(--font-stack);
    text-align: center;
    padding: 20px;
    width: 100%;
    line-height: 1.1;
}

/* Animations */
@keyframes pulse-live {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.6; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes tv-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Base styles for Category Strip and Cards (fallback for all resolutions) */
.tv-category-strip {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 5px;
    scrollbar-width: none;
}
.tv-category-strip::-webkit-scrollbar {
    display: none;
}
.home-category-card {
    flex: 0 0 150px;
    height: 80px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.045);
    color: rgba(240, 244, 255, 0.70);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: all 0.2s ease;
}
.home-category-card svg {
    width: 28px;
    height: 28px;
}
.home-category-card.active {
    color: #9db7ff;
    background: linear-gradient(160deg, rgba(35, 80, 213, 0.52), rgba(11, 26, 74, 0.62));
    border-color: rgba(73, 118, 255, 0.92);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 1px rgba(47, 109, 255, 0.20);
}
.home-category-card:focus,
.home-category-card.focused {
    transform: scale(1.035) !important;
    border-color: rgba(92, 132, 255, 0.96) !important;
    box-shadow: 0 0 0 2px rgba(47, 109, 255, 0.58), 0 18px 38px rgba(0, 0, 0, 0.35) !important;
    z-index: 20;
}

/* =========================================================================
   MEDIA QUERY FOR SMART TV WEBVIEWS & LOW-LOGICAL-RESOLUTION ENVIRONMENT
   ========================================================================= */
@media (max-height: 850px) or (max-width: 1366px) {
    /* Base spacing & Sidebar */
    .tv-sidebar {
        width: 210px !important;
        height: 100vh !important;
        margin: 0 !important;
        padding: 25px 12px !important;
        border: none !important;
        border-right: 1px solid rgba(45, 140, 255, 0.12) !important;
        border-radius: 0 !important;
    }
    
    .tv-sidebar-logo {
        margin-bottom: 25px !important;
        padding: 5px 12px !important;
    }
    
    .logo-text {
        font-size: 17px !important;
    }
    
    .tv-sidebar-menu {
        gap: 8px !important;
    }
    
    .tv-menu-item {
        padding: 10px 16px !important;
        font-size: 14px !important;
        gap: 10px !important;
        border-radius: var(--pill-radius-liquid) !important;
    }
    
    .menu-icon {
        width: 18px !important;
        height: 18px !important;
    }
    
    /* Main Content Spacing */
    .tv-main-content {
        padding: 25px 5% 25px 50px !important;
    }
    
    /* Hero Banner (No Ar) */
    .live-program-card-pc-container {
        margin-bottom: 25px !important;
    }
    
    .live-program-card-pc {
        position: relative !important;
        height: 290px !important;
        border-radius: var(--container-radius-liquid) !important;
    }
    
    .live-program-card-pc .fluxtv-hero-content {
        padding: 18px 22px !important;
        width: 60% !important;
        display: flex;
        flex-direction: column;
        justify-content: flex-end !important;
        height: 100% !important;
    }
    
    .fluxtv-hero-badge-row {
        position: absolute !important;
        top: 18px !important;
        left: 22px !important;
        margin-bottom: 0 !important;
    }
    
    .live-program-card-pc .fluxtv-hero-title {
        font-size: 28px !important;
    }
    
    .live-program-card-pc .fluxtv-hero-presenter {
        font-size: 14px !important;
    }
    
    .live-program-card-pc .fluxtv-hero-time-range {
        font-size: 13px !important;
    }
    
    .fluxtv-progress-container {
        margin: 12px 0 !important;
    }
    
    /* Next program card */
    .fluxtv-next-section {
        height: 290px !important;
    }
    
    .fluxtv-next-card {
        padding: 20px !important;
        border-radius: 20px !important;
    }
    
    /* Rows and carousels */
    .tv-row-container {
        margin-bottom: 25px !important;
    }
    
    .tv-row-title {
        font-size: 18px !important;
        margin-bottom: 12px !important;
    }
    
    .netflix-program-card {
        flex: 0 0 210px !important;
        width: 210px !important;
        border-radius: var(--card-radius-liquid) !important;
    }
    
    .netflix-card-title {
        font-size: 12px !important;
    }
    
    /* EPG Schedule section */
    .schedule-tabs {
        gap: 8px !important;
        margin-bottom: 15px !important;
    }
    
    .tab-link {
        padding: 8px 16px !important;
        font-size: 13px !important;
        border-radius: var(--pill-radius-liquid) !important;
    }
    
    .desktop-program-card {
        padding: 14px 20px !important;
        margin-bottom: 8px !important;
        border-radius: var(--card-radius-liquid) !important;
    }
    
    .desktop-card-time {
        font-size: 18px !important;
        width: 70px !important;
    }
    
    .desktop-program-title {
        font-size: 15px !important;
    }
    
    /* Netflix Details screen takeover */
    .fluxtv-popup-hero {
        height: 50vh !important;
    }
    
    .fluxtv-popup-hero-content .fluxtv-title {
        font-size: 34px !important;
    }
    
    .fluxtv-popup-actions .fluxtv-btn-primary {
        padding: 12px 28px !important;
        font-size: 15px !important;
        border-radius: var(--pill-radius-liquid) !important;
    }
    
    .fluxtv-close-btn {
        top: 25px !important;
        right: 5% !important;
        width: 44px !important;
        height: 44px !important;
    }
    
    .fluxtv-popup-body-content {
        padding: 15px 5% 50px 5% !important;
        gap: 25px !important;
    }
    
    .fluxtv-popup-info-card {
        padding: 20px 25px !important;
        gap: 30px !important;
        border-radius: var(--card-radius-liquid) !important;
    }
    
    .fluxtv-info-presenter-block {
        flex: 0 0 220px !important;
        gap: 15px !important;
    }
    
    .fluxtv-presenter-avatar {
        width: 44px !important;
        height: 44px !important;
    }
    
    .fluxtv-info-card-value {
        font-size: 16px !important;
    }
    
    .fluxtv-info-card-divider {
        height: 45px !important;
    }
    
    .fluxtv-info-description-text {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }
    
    .fluxtv-episode-item {
        flex: 0 0 220px !important;
        width: 220px !important;
    }
    
    /* Dynamic News Grid */
    .tv-news-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
        gap: 15px !important;
    }
    
    .news-card {
        border-radius: var(--card-radius-liquid) !important;
    }
    
    .news-img-wrapper {
        height: 125px !important;
    }
    
    .news-content {
        padding: 12px !important;
    }
    
    .news-title {
        font-size: 13px !important;
    }
    
    .news-desc {
        font-size: 11px !important;
    }
    
    /* Coverage Area Section */
    .tv-coverage-layout {
        gap: 20px !important;
    }
    
    .coverage-states-list {
        flex: 0 0 200px !important;
        gap: 8px !important;
    }
    
    .coverage-state-btn {
        padding: 12px 16px !important;
        font-size: 13px !important;
        border-radius: var(--pill-radius-liquid) !important;
    }
    
    .coverage-details-card {
        padding: 20px !important;
        border-radius: var(--card-radius-liquid) !important;
    }
}

/* =========================================================================
   NEWS READER MODAL (INTERNAL POPUP)
   ========================================================================= */
#tv-news-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1100;
    display: none;
}

#tv-news-popup.active {
    display: block !important;
}

#tv-news-popup .news-reader-container {
    position: fixed;
    top: 0 !important;
    left: 0 !important;
    transform: translateY(25px) !important;
    width: 100vw !important;
    height: 100vh !important;
    background: #040a16 !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0;
    overflow: hidden;
    z-index: 1200;
    box-shadow: none !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
}

#tv-news-popup.active .news-reader-container {
    transform: translateY(0) !important;
    opacity: 1 !important;
}

.news-reader-content {
    position: relative;
    z-index: 5;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 45px 50px;
    box-sizing: border-box;
    overflow: hidden;
}

.news-reader-hero {
    margin-bottom: 25px;
    max-width: 95%;
}

.news-reader-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.news-reader-domain-badge {
    background: rgba(0, 198, 255, 0.15);
    border: 1px solid rgba(0, 198, 255, 0.3);
    color: var(--accent-cyan);
    padding: 4px 14px;
    border-radius: var(--pill-radius-liquid);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.news-reader-date-lbl {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.news-reader-title-text {
    font-size: clamp(28px, 2.5vw, 42px) !important;
    font-weight: 900;
    line-height: 1.18;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin-top: 10px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.news-reader-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
    flex-grow: 1;
    overflow: hidden;
    height: 100%;
}

.news-reader-bg-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.news-reader-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.28 !important;
    filter: blur(5px) saturate(0.85);
}

.news-reader-bg-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at center, rgba(10, 31, 64, 0.3) 0%, rgba(5, 12, 26, 0.96) 88%),
        linear-gradient(180deg, rgba(5, 12, 26, 0.4) 0%, rgba(5, 12, 26, 0.94) 100%);
    z-index: 2;
}

.news-reader-text-panel {
    width: 100%;
    height: 100%;
    max-height: none !important;
    flex-grow: 1;
    background: rgba(10, 25, 50, 0.68) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 20px;
    padding: 35px 40px;
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: clamp(15px, 1vw, 18px) !important;
    line-height: 1.8;
    overflow-y: auto;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 10px 30px rgba(0, 0, 0, 0.35);
}

.news-reader-text-panel p {
    margin-bottom: 20px;
}

.news-reader-text-panel h2, 
.news-reader-text-panel h3 {
    color: #ffffff;
    margin: 25px 0 15px 0;
    font-weight: 700;
}

.news-reader-text-panel img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 15px 0;
}

.news-reader-text-panel::-webkit-scrollbar {
    width: 8px;
}

.news-reader-text-panel::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
}

.news-reader-text-panel::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

/* =========================================================================
   SMART TV HOME REDESIGN - IMAGE MATCH
   Exclusivo para telas 16:9 de Smart TVs.
   ========================================================================= */

@media (min-width: 960px) {
    :root {
        --tv-bg: #050c19;
        --tv-panel: rgba(18, 28, 56, 0.58);
        --tv-panel-strong: rgba(24, 37, 77, 0.72);
        --tv-stroke: rgba(255, 255, 255, 0.12);
        --tv-stroke-soft: rgba(255, 255, 255, 0.08);
        --tv-blue: #2f6dff;
        --tv-blue-soft: rgba(47, 109, 255, 0.24);
        --tv-text: #f6f8ff;
        --tv-muted: rgba(238, 242, 255, 0.72);
        --tv-dim: rgba(238, 242, 255, 0.54);
        --tv-sidebar-width: clamp(222px, 16.4vw, 315px);
        --tv-page-gap: clamp(18px, 1.45vw, 28px);
    }

    * {
        letter-spacing: 0 !important;
    }

    html,
    body.tv-body {
        width: 100vw;
        height: 100vh;
        min-width: 960px;
        min-height: 540px;
        background:
            radial-gradient(circle at 81% 9%, rgba(64, 83, 202, 0.22) 0, transparent 28vw),
            radial-gradient(circle at 22% 23%, rgba(27, 80, 177, 0.16) 0, transparent 30vw),
            linear-gradient(180deg, #071023 0%, #050b17 48%, #030812 100%) !important;
        overflow: hidden;
        color: var(--tv-text);
        font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    }

    .tv-app-layout {
        width: 100vw;
        height: 100vh;
        display: flex;
        background: transparent !important;
    }

    .tv-sidebar {
        width: var(--tv-sidebar-width);
        height: 100vh;
        margin: 0;
        padding: clamp(34px, 5.8vh, 64px) clamp(22px, 1.85vw, 36px) 26px clamp(24px, 2.75vw, 50px);
        border: 0 !important;
        border-radius: 0;
        background:
            linear-gradient(90deg, rgba(4, 10, 22, 0.98) 0%, rgba(5, 12, 25, 0.88) 62%, rgba(5, 12, 25, 0.15) 100%) !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .tv-sidebar-logo {
        padding: 0;
        margin: 0 0 clamp(52px, 8vh, 84px) 0;
    }

    .logo-wrapper {
        gap: 11px;
    }

    .logo-circle {
        width: 30px;
        height: 30px;
        background:
            radial-gradient(circle at 69% 33%, #1f7cff 0 28%, transparent 29%),
            conic-gradient(from 214deg, #37d6ff 0 26%, #0050d4 26% 58%, #0b2054 58% 100%);
        box-shadow: 0 0 22px rgba(38, 116, 255, 0.34);
        animation: none;
    }

    .logo-text {
        font-size: clamp(16px, 1.23vw, 24px);
        font-weight: 900;
        line-height: 1;
        color: #ffffff;
        text-transform: uppercase;
    }

    .sidebar-logo-img {
        max-width: 175px;
        max-height: 42px;
    }

    .sidebar-divider {
        display: none;
    }

    .tv-search-entry,
    .tv-menu-item {
        height: clamp(46px, 6.35vh, 64px);
        width: 100%;
        border: none !important;
        border-radius: 100px !important;
        background: transparent;
        color: rgba(244, 247, 255, 0.66);
        display: flex;
        align-items: center;
        gap: 18px;
        padding: 0 22px;
        font: 700 clamp(14px, 1.02vw, 20px)/1 'Inter', sans-serif;
        text-align: left;
        cursor: pointer;
        box-shadow: none !important;
        transform: none !important;
    }

    .tv-search-entry {
        margin: 0 0 20px 0;
    }

    .tv-sidebar-menu {
        gap: clamp(8px, 1.3vh, 15px);
        flex: 1 1 auto;
    }

    .tv-menu-item .menu-icon,
    .tv-search-entry .menu-icon {
        width: clamp(21px, 1.45vw, 28px);
        height: clamp(21px, 1.45vw, 28px);
        opacity: 0.9;
        color: currentColor;
    }

    .tv-search-entry:hover,
    .tv-menu-item:hover {
        color: #ffffff !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border: none !important;
    }

    .tv-search-entry:focus,
    .tv-search-entry.focused,
    .tv-menu-item:focus,
    .tv-menu-item.focused {
        color: #ffffff !important;
        background: linear-gradient(90deg, #2d8cff 0%, #0050c0 100%) !important;
        border: none !important;
        box-shadow: 0 10px 25px rgba(45, 140, 255, 0.25) !important;
        transform: scale(1.03) !important;
    }

    .tv-menu-item.active {
        color: #ffffff !important;
        background: linear-gradient(90deg, rgba(45, 140, 255, 0.16) 0%, rgba(45, 140, 255, 0.05) 100%) !important;
        border: none !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    }

    .tv-sidebar-footer {
        padding: 0;
        border: 0;
    }

    .tv-clock-pill {
        min-height: 66px;
        margin: 0;
        padding: 12px 18px;
        border-radius: 14px;
        background: rgba(15, 26, 55, 0.74);
        border: 1px solid rgba(255, 255, 255, 0.09);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    }

    .tv-clock {
        display: block;
        font-size: clamp(18px, 1.32vw, 25px);
        font-weight: 500;
        line-height: 1.08;
        letter-spacing: 0 !important;
    }

    .tv-date {
        display: block;
        margin-top: 4px;
        color: rgba(238, 242, 255, 0.62);
        font-size: clamp(12px, 0.82vw, 15px);
        font-weight: 500;
        text-transform: none;
    }

    .tv-main-content {
        flex: 1 1 auto;
        width: calc(100vw - var(--tv-sidebar-width));
        height: 100vh;
        padding: var(--tv-page-gap) var(--tv-page-gap) 54px clamp(45px, 3.5vw, 65px) !important;
        overflow-x: hidden;
        overflow-y: auto;
        scroll-padding: 28px;
    }

    .tv-section.active {
        display: block !important;
    }

    .live-program-card-pc-container {
        width: 100%;
        margin: 0 0 clamp(18px, 2.35vh, 28px) 0;
    }

    .live-program-card-pc {
        position: relative !important;
        height: clamp(420px, 58vh, 580px) !important;
        border-radius: 40px !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        background:
            linear-gradient(90deg, rgba(11, 22, 39, 0.98) 0%, rgba(10, 22, 49, 0.87) 34%, rgba(21, 41, 120, 0.38) 78%, rgba(91, 88, 223, 0.54) 100%) !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 24px 74px rgba(0, 0, 0, 0.34);
        overflow: hidden;
    }

    .live-program-card-pc::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 2;
        pointer-events: none;
        background:
            radial-gradient(circle at 63% 42%, rgba(29, 71, 212, 0.32) 0, transparent 28%),
            linear-gradient(90deg, rgba(4, 12, 26, 0.98) 0%, rgba(4, 12, 26, 0.74) 30%, rgba(4, 12, 26, 0.20) 63%, rgba(5, 11, 24, 0.18) 100%);
    }

    .live-program-card-pc .fluxtv-hero-image-wrapper {
        width: 59%;
        height: 100%;
        right: 0;
        top: 0;
        z-index: 1;
        mask-image: linear-gradient(to right, transparent 0%, #000 28%);
        -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 28%);
    }

    .live-program-card-pc .fluxtv-hero-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        opacity: 0.93;
        filter: saturate(1.05) contrast(1.02);
    }

    .live-program-card-pc .fluxtv-hero-fade-overlay {
        background: linear-gradient(90deg, rgba(4, 10, 22, 0.98) 0%, rgba(4, 10, 22, 0.68) 31%, rgba(4, 10, 22, 0.06) 76%, rgba(4, 10, 22, 0.02) 100%);
    }

    .live-program-card-pc .fluxtv-hero-content {
        z-index: 4;
        width: min(51%, 680px);
        padding: clamp(30px, 4.2vh, 55px) !important;
        display: flex;
        flex-direction: column;
        justify-content: flex-end !important;
        height: 100% !important;
    }

    .fluxtv-hero-badge-row {
        position: absolute !important;
        top: clamp(30px, 4.2vh, 55px) !important;
        left: clamp(30px, 3.2vw, 55px) !important;
        margin-bottom: 0 !important;
        z-index: 5;
    }

    .fluxtv-live-badge-glass,
    .hero-badge-passando {
        min-height: 32px;
        padding: 7px 16px;
        border-radius: 999px;
        display: inline-flex;
        align-items: center;
        gap: 9px;
        background: rgba(47, 109, 255, 0.18) !important;
        border: 1px solid rgba(77, 122, 255, 0.18) !important;
        box-shadow: none !important;
        color: #3e75ff;
        font-size: clamp(12px, 0.84vw, 15px);
        font-weight: 800;
        text-transform: uppercase;
    }

    .fluxtv-live-dot-glow {
        width: 9px;
        height: 9px;
        background: var(--tv-blue) !important;
        box-shadow: 0 0 16px rgba(47, 109, 255, 0.88);
    }

    .live-program-card-pc .fluxtv-hero-title {
        max-width: 630px;
        margin: 0 0 4px;
        color: #ffffff;
        font-size: clamp(36px, 3.8vw, 62px);
        font-weight: 900;
        line-height: 0.98;
        text-shadow: 0 4px 24px rgba(0, 0, 0, 0.44);
    }

    .live-program-card-pc .fluxtv-hero-presenter {
        min-height: 26px;
        margin: 8px 0 6px;
        color: rgba(255, 255, 255, 0.9);
        font-size: clamp(16px, 1.1vw, 22px);
        font-weight: 600;
        line-height: 1.2;
    }

    .live-program-card-pc .fluxtv-hero-time-range {
        margin: 0 0 18px;
        color: var(--tv-muted);
        font-size: clamp(14px, 0.9vw, 18px);
        font-weight: 500;
    }

    .fluxtv-hero-description {
        max-width: min(445px, 33vw);
        margin: 0 0 clamp(14px, 2vh, 24px);
        color: rgba(246, 248, 255, 0.68);
        font-size: clamp(13px, 0.85vw, 16px);
        font-weight: 500;
        line-height: 1.35;
    }

    .fluxtv-hero-actions {
        gap: 20px;
    }

    .fluxtv-btn-primary,
    .tv-btn-info {
        min-width: clamp(146px, 12.2vw, 216px);
        height: clamp(48px, 5.2vh, 64px);
        padding: 0 clamp(22px, 1.75vw, 34px);
        border-radius: 100px !important;
        justify-content: center;
        gap: 12px;
        font-size: clamp(15px, 1.05vw, 20px);
        font-weight: 800;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .fluxtv-btn-primary {
        background: linear-gradient(135deg, rgba(45, 140, 255, 0.85) 0%, rgba(0, 80, 192, 0.85) 100%) !important;
        color: #ffffff !important;
        border-color: rgba(45, 140, 255, 0.40) !important;
    }

    .tv-btn-info {
        background: rgba(45, 140, 255, 0.18) !important;
        color: rgba(255, 255, 255, 0.9) !important;
        border-color: rgba(45, 140, 255, 0.30) !important;
    }

    .btn-play-icon {
        width: 22px;
        height: 22px;
        flex: 0 0 22px;
    }

    .hero-next-pill-container {
        right: clamp(30px, 3.2vw, 55px) !important;
        bottom: clamp(30px, 4.2vh, 55px) !important;
        min-width: clamp(196px, 15.3vw, 276px);
        max-width: 320px;
        min-height: clamp(72px, 9.2vh, 96px);
        padding: 14px 20px;
        border-radius: 20px !important;
        background: rgba(10, 31, 64, 0.75) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 35px rgba(0, 0, 0, 0.32);
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
    }

    .hero-next-pill {
        display: grid;
        gap: 2px;
        color: rgba(255, 255, 255, 0.82);
        font-size: clamp(12px, 0.85vw, 15px);
        font-weight: 700;
        line-height: 1.15;
    }

    .hero-next-pill span {
        color: rgba(255, 255, 255, 0.66);
        font-size: clamp(11px, 0.75vw, 14px);
        font-weight: 800;
        text-transform: uppercase;
    }

    .hero-next-pill strong {
        color: #ffffff;
        font-size: clamp(16px, 1.08vw, 22px);
        font-weight: 900;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .hero-next-pill em {
        color: rgba(255, 255, 255, 0.72);
        font-style: normal;
        font-size: clamp(13px, 0.95vw, 17px);
        font-weight: 500;
    }

    .tv-row-container {
        margin: 0 0 clamp(16px, 2.35vh, 24px);
    }

    .tv-row-title {
        margin: 0 0 12px;
        padding: 0;
        border: 0;
        color: #f7f9ff;
        font-size: clamp(19px, 1.34vw, 26px);
        font-weight: 800;
        line-height: 1.1;
    }

    .tv-carousel-track {
        gap: clamp(10px, 0.78vw, 16px);
        padding: 16px 0 !important;
        margin: -16px 0 !important;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .netflix-program-card {
        flex: 0 0 clamp(238px, 17.65vw, 340px);
        width: clamp(238px, 17.65vw, 340px);
        aspect-ratio: 2 / 1;
        border-radius: 15px;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        background: rgba(255, 255, 255, 0.04) !important;
        box-shadow: none;
    }

    .netflix-card-img {
        opacity: 0.95;
    }

    .netflix-card-overlay {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.03) 28%, rgba(0, 0, 0, 0.62) 100%);
    }

    .netflix-card-info {
        padding: 0 15px 12px;
        gap: 3px;
    }

    .netflix-card-category {
        display: none;
    }

    .netflix-card-title {
        color: #ffffff;
        font-size: clamp(14px, 0.98vw, 18px);
        font-weight: 800;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
    }

    .tv-category-strip {
        display: flex;
        gap: clamp(12px, 1.08vw, 20px);
        overflow-x: auto;
        overflow-y: hidden;
        padding: 12px 0 !important;
        margin: -12px 0 !important;
        scrollbar-width: none;
    }

    .tv-category-strip::-webkit-scrollbar {
        display: none;
    }

    .home-category-card {
        flex: 0 0 clamp(132px, 9.48vw, 182px);
        height: clamp(76px, 9.9vh, 102px);
        border-radius: 15px;
        border: 1px solid rgba(255, 255, 255, 0.10);
        background: rgba(255, 255, 255, 0.045);
        color: rgba(240, 244, 255, 0.70);
        display: grid;
        place-items: center;
        gap: 7px;
        padding: 10px 8px;
        font: 600 clamp(12px, 0.88vw, 16px)/1 'Inter', sans-serif;
        cursor: pointer;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    }

    .home-category-card svg {
        width: clamp(26px, 1.75vw, 36px);
        height: clamp(26px, 1.75vw, 36px);
    }

    .home-category-card.active {
        color: #9db7ff;
        background: linear-gradient(160deg, rgba(35, 80, 213, 0.52), rgba(11, 26, 74, 0.62));
        border-color: rgba(73, 118, 255, 0.92);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 1px rgba(47, 109, 255, 0.20);
    }

    .home-category-card:focus,
    .home-category-card.focused,
    .netflix-program-card:focus,
    .netflix-program-card.focused,
    .hero-next-pill-container:focus,
    .hero-next-pill-container.focused {
        transform: scale(1.035) !important;
        border-color: rgba(92, 132, 255, 0.96) !important;
        box-shadow: 0 0 0 2px rgba(47, 109, 255, 0.58), 0 18px 38px rgba(0, 0, 0, 0.35) !important;
        z-index: 20;
    }

    .live-strip-card {
        flex-basis: clamp(238px, 17.42vw, 335px);
    }

    .live-card-badge {
        position: absolute;
        top: 10px;
        left: 12px;
        z-index: 4;
        padding: 5px 11px;
        border-radius: 999px;
        background: rgba(220, 46, 65, 0.88);
        color: #ffffff;
        font-size: clamp(10px, 0.74vw, 13px);
        font-weight: 800;
    }

    .tv-programs-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px;
    }

    .tv-programs-grid .netflix-program-card {
        width: 100%;
        flex: none;
    }

    .tv-category-tabs,
    .tv-news-tabs,
    .schedule-tabs {
        gap: 12px !important;
        margin-bottom: 22px !important;
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    .category-tab-btn,
    .schedule-tabs .tab-link {
        min-height: 48px;
        border-radius: 13px !important;
        background: rgba(255, 255, 255, 0.045) !important;
        border: 1px solid rgba(255, 255, 255, 0.10) !important;
        color: rgba(240, 244, 255, 0.72) !important;
    }

    .category-tab-btn.active,
    .schedule-tabs .tab-link.active {
        background: rgba(47, 109, 255, 0.30) !important;
        border-color: rgba(72, 117, 255, 0.68) !important;
        color: #ffffff !important;
    }
}

/* Colorized Category Cards */
.home-category-card:nth-of-type(1) { background: linear-gradient(135deg, rgba(47, 109, 255, 0.28), rgba(10, 31, 64, 0.65)) !important; border-color: rgba(47, 109, 255, 0.45) !important; color: #ffffff !important; }
.home-category-card:nth-of-type(2) { background: linear-gradient(135deg, rgba(142, 68, 173, 0.28), rgba(44, 20, 64, 0.65)) !important; border-color: rgba(142, 68, 173, 0.45) !important; color: #ffffff !important; }
.home-category-card:nth-of-type(3) { background: linear-gradient(135deg, rgba(26, 188, 156, 0.28), rgba(10, 50, 44, 0.65)) !important; border-color: rgba(26, 188, 156, 0.45) !important; color: #ffffff !important; }
.home-category-card:nth-of-type(4) { background: linear-gradient(135deg, rgba(231, 76, 60, 0.28), rgba(70, 20, 15, 0.65)) !important; border-color: rgba(231, 76, 60, 0.45) !important; color: #ffffff !important; }
.home-category-card:nth-of-type(5) { background: linear-gradient(135deg, rgba(230, 126, 34, 0.28), rgba(70, 35, 10, 0.65)) !important; border-color: rgba(230, 126, 34, 0.45) !important; color: #ffffff !important; }
.home-category-card:nth-of-type(6) { background: linear-gradient(135deg, rgba(52, 152, 219, 0.28), rgba(15, 45, 70, 0.65)) !important; border-color: rgba(52, 152, 219, 0.45) !important; color: #ffffff !important; }
.home-category-card:nth-of-type(7) { background: linear-gradient(135deg, rgba(241, 196, 15, 0.28), rgba(70, 60, 10, 0.65)) !important; border-color: rgba(241, 196, 15, 0.45) !important; color: #ffffff !important; }
.home-category-card:nth-of-type(8) { background: linear-gradient(135deg, rgba(232, 67, 147, 0.28), rgba(70, 15, 45, 0.65)) !important; border-color: rgba(232, 67, 147, 0.45) !important; color: #ffffff !important; }

/* Active category card highlight */
.home-category-card:nth-of-type(1).active { background: linear-gradient(135deg, rgba(47, 109, 255, 0.65), rgba(10, 31, 64, 0.90)) !important; border-color: #38bdf8 !important; box-shadow: 0 0 20px rgba(56, 189, 248, 0.4) !important; }
.home-category-card:nth-of-type(2).active { background: linear-gradient(135deg, rgba(155, 89, 182, 0.65), rgba(44, 20, 64, 0.90)) !important; border-color: #d8b4fe !important; box-shadow: 0 0 20px rgba(216, 180, 254, 0.4) !important; }
.home-category-card:nth-of-type(3).active { background: linear-gradient(135deg, rgba(26, 188, 156, 0.65), rgba(10, 50, 44, 0.90)) !important; border-color: #2dd4bf !important; box-shadow: 0 0 20px rgba(45, 212, 191, 0.4) !important; }
.home-category-card:nth-of-type(4).active { background: linear-gradient(135deg, rgba(231, 76, 60, 0.65), rgba(70, 20, 15, 0.90)) !important; border-color: #fca5a5 !important; box-shadow: 0 0 20px rgba(252, 165, 165, 0.4) !important; }
.home-category-card:nth-of-type(5).active { background: linear-gradient(135deg, rgba(230, 126, 34, 0.65), rgba(70, 35, 10, 0.90)) !important; border-color: #fdba74 !important; box-shadow: 0 0 20px rgba(253, 186, 116, 0.4) !important; }
.home-category-card:nth-of-type(6).active { background: linear-gradient(135deg, rgba(52, 152, 219, 0.65), rgba(15, 45, 70, 0.90)) !important; border-color: #7dd3fc !important; box-shadow: 0 0 20px rgba(125, 211, 252, 0.4) !important; }
.home-category-card:nth-of-type(7).active { background: linear-gradient(135deg, rgba(241, 196, 15, 0.65), rgba(70, 60, 10, 0.90)) !important; border-color: #fef08a !important; box-shadow: 0 0 20px rgba(254, 240, 138, 0.4) !important; }
.home-category-card:nth-of-type(8).active { background: linear-gradient(135deg, rgba(232, 67, 147, 0.65), rgba(70, 15, 45, 0.90)) !important; border-color: #fbcfe8 !important; box-shadow: 0 0 20px rgba(251, 207, 232, 0.4) !important; }

/* Focus and D-pad hover states */
.home-category-card:focus,
.home-category-card.focused {
    transform: scale(1.08) !important;
    border-color: #ffffff !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 0 2px #ffffff !important;
    z-index: 10 !important;
}

/* =========================================================================
   CINEMATIC DYNAMIC BANNER THEMES (LIVE / NEW / ONAIR)
   ========================================================================= */

/* 1. Live Program Theme (Red Theme) */
.live-program-card-pc.theme-live {
    border-color: rgba(255, 59, 48, 0.4) !important;
    background: linear-gradient(90deg, rgba(20, 10, 15, 0.98) 0%, rgba(30, 12, 18, 0.9) 34%, rgba(120, 21, 41, 0.28) 78%, rgba(223, 88, 91, 0.35) 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 24px 74px rgba(255, 59, 48, 0.12) !important;
}

.live-program-card-pc.theme-live::before {
    background:
        radial-gradient(circle at 63% 42%, rgba(212, 29, 59, 0.25) 0, transparent 28%),
        linear-gradient(90deg, rgba(20, 5, 10, 0.98) 0%, rgba(20, 5, 10, 0.74) 30%, rgba(20, 5, 10, 0.20) 63%, rgba(20, 5, 10, 0.18) 100%) !important;
}

.live-program-card-pc.theme-live #hero-play-btn {
    background: linear-gradient(135deg, rgba(255, 59, 48, 0.88) 0%, rgba(180, 20, 20, 0.88) 100%) !important;
    border-color: rgba(255, 59, 48, 0.45) !important;
    box-shadow: 0 10px 25px rgba(255, 59, 48, 0.3) !important;
}

.live-program-card-pc.theme-live .fluxtv-live-badge-glass {
    background: rgba(255, 59, 48, 0.15) !important;
    border: 1px solid rgba(255, 59, 48, 0.3) !important;
    color: #ff453a !important;
}

.live-program-card-pc.theme-live .fluxtv-live-dot-glow {
    background: #ff3b30 !important;
    box-shadow: 0 0 16px rgba(255, 59, 48, 0.88) !important;
}

/* 2. New Program Theme (Green Theme) */
.live-program-card-pc.theme-new {
    border-color: rgba(52, 199, 89, 0.4) !important;
    background: linear-gradient(90deg, rgba(8, 20, 15, 0.98) 0%, rgba(10, 30, 20, 0.9) 34%, rgba(21, 120, 60, 0.28) 78%, rgba(88, 223, 120, 0.35) 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 24px 74px rgba(52, 199, 89, 0.12) !important;
}

.live-program-card-pc.theme-new::before {
    background:
        radial-gradient(circle at 63% 42%, rgba(29, 212, 80, 0.25) 0, transparent 28%),
        linear-gradient(90deg, rgba(4, 12, 8, 0.98) 0%, rgba(4, 12, 8, 0.74) 30%, rgba(4, 12, 8, 0.20) 63%, rgba(4, 12, 8, 0.18) 100%) !important;
}

.live-program-card-pc.theme-new #hero-play-btn {
    background: linear-gradient(135deg, rgba(52, 199, 89, 0.88) 0%, rgba(30, 150, 60, 0.88) 100%) !important;
    border-color: rgba(52, 199, 89, 0.45) !important;
    box-shadow: 0 10px 25px rgba(52, 199, 89, 0.3) !important;
}

.live-program-card-pc.theme-new .fluxtv-live-badge-glass {
    background: rgba(52, 199, 89, 0.15) !important;
    border: 1px solid rgba(52, 199, 89, 0.3) !important;
    color: #30d158 !important;
}

.live-program-card-pc.theme-new .fluxtv-live-dot-glow {
    background: #34c759 !important;
    box-shadow: 0 0 16px rgba(52, 199, 89, 0.88) !important;
}

/* 3. On-Air Theme (Standard Blue Theme) */
.live-program-card-pc.theme-onair {
    border-color: rgba(45, 140, 255, 0.25) !important;
}

.live-program-card-pc.theme-onair .fluxtv-live-badge-glass {
    background: rgba(47, 109, 255, 0.15) !important;
    border: 1px solid rgba(77, 122, 255, 0.3) !important;
    color: #3e75ff !important;
}

.live-program-card-pc.theme-onair .fluxtv-live-dot-glow {
    background: #2f6dff !important;
    box-shadow: 0 0 16px rgba(47, 109, 255, 0.88) !important;
}

/* News Tab Switcher Buttons (Jornais) */
.tv-news-tabs::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.news-tab-btn {
    min-height: 50px;
    padding: 0 30px !important;
    border-radius: 100px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.70) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02), 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    cursor: pointer;
}

.news-tab-btn:hover {
    background: rgba(255, 255, 255, 0.10) !important;
    border-color: rgba(255, 255, 255, 0.20) !important;
    color: #ffffff !important;
}

.news-tab-btn.active {
    background: linear-gradient(135deg, rgba(45, 140, 255, 0.30) 0%, rgba(0, 80, 192, 0.30) 100%) !important;
    border-color: rgba(45, 140, 255, 0.75) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 24px rgba(0, 80, 192, 0.35) !important;
}

.news-tab-btn:focus,
.news-tab-btn.focused {
    transform: scale(1.08) !important;
    background: #ffffff !important;
    color: #050c24 !important;
    border-color: #ffffff !important;
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.40) !important;
    z-index: 10;
}



