/*
Theme Name: TheTVApp
Version: 1.1.0
Description: TheTVApp look for AURA7. Original TheTVApp colors: #212529 header and footer, light gray page, white cards, dark buttons, hand-lettered "TheTVApp" wordmark. Upload via AURA7 > Theme Switcher.
*/

/* ===================================================================
   TheTVApp Theme for AURA7
   File: thetvapp-theme-1_1_0.css
   Version: v1.1.0
   Upload via: AURA7 > Theme Switcher > Upload New Theme

   Notes:
   - Loads AFTER the AURA7 style.css and overrides it.
   - v1.1.0: no border line between the TOC section and the next white section.
   - v1.0.9: home page table of contents (collapsible, centered), section 23.
   - v1.0.7: custom header (AURA7 > Header), dark bar + pill nav, no scripts.
   - v1.0.6: palette matched to the original TheTVApp look
     (#212529 chrome, #f8f9fa page, white cards, 6px corners,
     dark primary buttons, blue only for links and active states).
   - Wordmark font "Caveat Brush" (SIL OFL 1.1) is embedded below as a
     tiny subset (TheTVApp letters only), so there is no external request.
   - No scroll smoothing rule, no @import, no expressions.
   =================================================================== */


/* Wordmark font: Caveat Brush subset, SIL Open Font License 1.1 */
@font-face {
    font-family: "TheTVApp Brush";
    src: url(data:font/woff2;base64,d09GMgABAAAAABa8AA4AAAAAKlQAABZoAAEYkwAAAAAAAAAAAAAAAAAAAAAAAAAAGhYbgWAcjVgGYAB0EQgKu3SqagE2AiQDZgs2AAQgBYMKByAbnSCjoo6zWq4T/FUCT4Zq/jIiQoSEEVrVKdWA2tXuqD37nGEEHMe5M7fghaaG+Ln93b3Xq5drVmxs9GBkSfXQRpSyCDMQC220scBKsAN/ROGPaJ7//qCde9/bdG2Lm2kmDTwPLJAiSjiiQBMPsN//AOGd79X5JbVJtW9lCC1ztYcdtk4OqLymoZlWagdkO/DB/j5gKp1LUxw44cTsRPE4Ti7n9P+/Tt93V6nlC/J7sRUQhNg/ZdgMPcdjgZbFXu1VZCmAzgfisVNg6v3PlfbP+ze7/2DuCuSA5QqZpCivFbLnKlTyd9O3EzjgJCVUhyiLqqrCoaurAkS7dXuVpPo8CetqfIX0NR2aPSD4F1koochyxm+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KqFddsdAz59l++wBVrdSVPNV2oSI2Cq1OoANZpz2ZyN5w024Jr9zpQ5Q2ZLgzlui3UqleLd8o2547WJADRUxCu3AV5ekJLcYoj1Z5R//DOoa32r+VCeGYcPZJIxfO8M0YtTIhIFX+57U/Y7rfb0LskqmeUaym91yh+5GMq6oN6nznYgs7GWqd01dPzC7EaTcLLfHyJAGzFZv9pccJEyXd/kK1FlLLI01eBUfBSu5dSpZwTYBS0Uy665XdvIUOyYjPrNLKNScu3RvqPK5yPOEEpikFsE5rUx8b+tPNvEO5UFJxCyNUMAXrnKgRVmKXcLdHVpcUNSrVUzIPJhRNajueiFpCTt9G3Lpx2YWODLI31hn8iKmiApx7CeDY+Kps3+/2LqDQ0ow+x5lpen+IX5W+ND9X8TQnVpNyq80g30BAPDKY9S1+H5D/y/471fCOgFAQ+zcf8j1+HOWOsuFya3CGyYb5HoNgL90eeX8kfcJeYciZ4VlIQjNCVG5IDKvwDMRWHKAOXfF54i4XOTmsKthM58NuDSW0yLSJyZzQTC3J5dXsYzzLzamAlAngFp2xrRRsNJlxDh3aCmkN24pojZ7KSZH56F47lJClsFXJwWFBdlatZlnukmaNJvJJppXlNgT52Vxa3r6VA0ZBVpMFIEzEzC1rpLtzxjkhvhgg+lme65nJNnqhvw6ec7K4FlWNnOTtS3Xpbg84gk2s1WBadrUuRnnNkkSm1hd0pqTGDXzRzNMMtxioigRGV0TxUlm4y+cqVGdHXNrSCZpkUw8ZjNO8gmebbI/UviamzCtmv6fJw4A) format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}


/* ===================================================================
   1. DESIGN TOKENS
   These reuse AURA7's own variable names, so overriding them here
   flips the entire theme from dark to light automatically.
   =================================================================== */
:root {
    /* Backgrounds */
    --bg-primary: #f8f9fa;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #ffffff;
    --bg-elevated: #f1f3f5;
    --bg-input: #ffffff;
    --bg-accent: #f8f9fa;

    /* Text */
    --text-primary: #212529;
    --text-secondary: #495057;
    --text-muted: #6c757d;
    --text-heading: #1a202c;

    /* Accent (links and active states only) */
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --accent-light: rgba(37, 99, 235, 0.08);
    --accent-glow: rgba(37, 99, 235, 0.08);
    --accent-soft: rgba(37, 99, 235, 0.08);
    --nav-active: #60a5fa;

    /* Header / footer surface */
    --header-bg: #212529;
    --header-text: #ffffff;

    /* Primary buttons (dark, like the original) */
    --btn-dark: #212529;
    --btn-dark-hover: #343a40;

    /* Status */
    --green: #059669;
    --green-soft: rgba(5, 150, 105, 0.1);
    --orange: #d97706;
    --red: #dc2626;
    --success: #059669;
    --warning: #d97706;
    --danger: #dc2626;
    --info: #2563eb;

    /* Borders */
    --border: #e2e8f0;
    --border-light: #f1f3f5;
    --border-hover: #adb5bd;

    /* Tags */
    --tag-bg: #ffffff;
    --tag-text: #212529;

    /* Radius */
    --radius: 6px;
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 10px;
    --radius-full: 999px;

    /* Shadows (flat, like the original) */
    --shadow: none;
    --shadow-sm: none;
    --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 4px 14px rgba(0, 0, 0, 0.08);
    --shadow-glow: none;

    /* Typography */
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-brand: "TheTVApp Brush", "Caveat Brush", "Permanent Marker", "Comic Sans MS", cursive;

    /* Layout */
    --max-w: 1200px;
    --container-xl: 1200px;
    --transition: 0.2s ease;
}


/* ===================================================================
   2. BASE
   =================================================================== */
html {
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--accent-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-family: var(--font);
}

h2 {
    font-size: clamp(22px, 3.5vw, 30px);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
    line-height: 1.25;
}

h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.35;
}


/* ===================================================================
   3. SITE HEADER (AURA7 markup, TheTVApp look)
   AURA7 renders: .site-header > .container > .site-logo
                     + .menu-toggle + nav.site-nav-desktop
   =================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--header-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--header-bg);
}

.site-header .container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    color: var(--header-text);
    letter-spacing: -0.3px;
}

.site-logo:hover {
    color: var(--header-text);
}

.site-logo img {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    object-fit: contain;
}

/* ---------- Wordmark: hand-lettered "TheTVApp", white, one colour ----------
   AURA7 prints the site name as a single text node, so the real text is
   collapsed to zero and the wordmark is drawn by ::before in the brand font.
   Requires: Customizer > Show Site Title = ON.
   Size is driven by --wordmark-size so responsive needs one override.  */
.site-logo {
    --wordmark-size: 28px;
    gap: 0;
}

.site-logo img {
    margin-right: 10px;
}

.site-title-text {
    font-size: 0;
    line-height: 1;
    letter-spacing: 0;
    color: transparent;
}

.site-title-text::before {
    content: "TheTVApp";
    display: inline-block;
    font-family: var(--font-brand);
    font-size: var(--wordmark-size);
    font-weight: 400;
    letter-spacing: 0.5px;
    line-height: 1;
    color: var(--header-text);
    transform: rotate(-2deg);
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
}

.site-title-text::after,
.site-logo::after {
    content: none;
}

/* Desktop navigation */
.site-nav-desktop ul {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav-desktop a {
    display: block;
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;
}

.site-nav-desktop a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.site-nav-desktop .current-menu-item a,
.site-nav-desktop .current_page_item a {
    color: #ffffff;
    background: var(--accent);
    font-weight: 600;
}

/* "More" overflow dropdown */
.site-nav-more-toggle {
    color: rgba(255, 255, 255, 0.75);
}

.site-nav-more-menu {
    background: var(--header-bg);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
}

.site-nav-desktop ul .site-nav-more-menu li a {
    color: rgba(255, 255, 255, 0.75);
}

.site-nav-desktop ul .site-nav-more-menu li a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}


/* ===================================================================
   4. MOBILE MENU (all AURA7 styles)
   =================================================================== */
.menu-toggle .bar {
    background: var(--header-text);
}

.site-nav-mobile {
    background: var(--header-bg);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.site-nav-mobile.pd-style-sheet,
.site-nav-mobile.pd-style-overlay {
    background: var(--header-bg);
    border-top-color: rgba(255, 255, 255, 0.12);
}

.site-nav-mobile ul {
    list-style: none;
    margin: 0;
}

.site-nav-mobile a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
    font-weight: 500;
    padding: 12px 20px;
    display: block;
    transition: all var(--transition);
}

.site-nav-mobile a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.site-nav-mobile .current-menu-item a,
.site-nav-mobile .current_page_item a {
    color: #ffffff;
    background: var(--accent);
    font-weight: 600;
}

.menu-close {
    color: rgba(255, 255, 255, 0.75);
}

.menu-close:hover {
    color: #ffffff;
}

.menu-overlay {
    background: rgba(15, 23, 42, 0.6);
}

/* Chip bar variant */
.site-nav-chips {
    background: var(--header-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-nav-chips a {
    color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    font-size: 13px;
    font-weight: 500;
}

.site-nav-chips a:hover,
.site-nav-chips .current-menu-item a {
    color: #ffffff;
    background: var(--accent);
}

/* Floating pill variant */
.site-nav-pill {
    background: var(--header-bg);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.site-nav-pill a {
    color: rgba(255, 255, 255, 0.75);
}

.site-nav-pill a:hover,
.site-nav-pill .current-menu-item a {
    color: #ffffff;
}


/* ===================================================================
   5. SITE FOOTER
   Covers BOTH footer modes:
   a) AURA7's built-in footer  (.footer-content / .footer-text / ul.footer-links)
   b) A custom footer uploaded via AURA7 > Footer
      (.footer-inner / .footer-grid / div.footer-links / .footer-bottom)
   =================================================================== */
.site-footer {
    background: var(--header-bg);
    border-top: 1px solid var(--header-bg);
    padding: 48px 24px 32px;
    color: rgba(255, 255, 255, 0.7);
}

.site-footer .container,
.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0;
}

.footer-inner {
    text-align: left;
}

/* ---------- a) built-in footer ---------- */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-text a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-text a:hover {
    color: #ffffff;
}

ul.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.footer-links li {
    margin: 0;
}

ul.footer-links a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
}

ul.footer-links a:hover {
    color: #ffffff;
}

/* ---------- b) custom uploaded footer ---------- */
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 32px 40px;
    margin-bottom: 40px;
}

.footer-about {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.footer-grid .footer-links:nth-child(2) { grid-column: 2; grid-row: 1; }
.footer-grid .footer-links:nth-child(3) { grid-column: 3; grid-row: 1; }
.footer-grid .footer-links:nth-child(4) { grid-column: 4; grid-row: 1; }
.footer-grid .footer-links:nth-child(5) { grid-column: 2; grid-row: 2; }
.footer-grid .footer-links:nth-child(6) { grid-column: 3; grid-row: 2; }

/* Footer wordmark: real markup here, so the parts are coloured directly */
.footer-about .logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: #ffffff;
}

.footer-about .logo:hover {
    color: #ffffff;
}

.footer-about .logo-img {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    object-fit: contain;
}

.footer-about .logo-text {
    color: #ffffff;
}

.footer-about .logo-text span {
    color: var(--accent);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Reset AURA7's base .footer-links flex rule.
   The built-in footer uses a <ul>, this custom footer uses <div> columns,
   and the base rule is unscoped so it hits both. */
.footer-grid .footer-links {
    display: block;
    flex-wrap: initial;
    justify-content: flex-start;
    gap: 0;
    max-width: none;
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
}

.footer-links h4 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
}

.footer-grid .footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    padding: 4px 0;
    white-space: normal;
    /* Declared on the anchor itself: AURA7's mobile base rule sets
       text-align:center directly on .footer-links a, and an inherited
       value from the parent would lose to it. */
    text-align: left;
    transition: color var(--transition);
}

.footer-grid .footer-links h4 {
    text-align: left;
}

.footer-grid .footer-links a:hover {
    color: #ffffff;
}

/* Social column: icon + label on one line.
   Scoped to .footer-grid so it outranks the block rule for column links. */
.footer-grid .footer-social-links a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: nowrap;
    white-space: nowrap;
    text-align: left;
}

.social-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    flex-shrink: 0;
    display: block;
    color: rgba(255, 255, 255, 0.55);
    transition: color var(--transition);
}

.footer-grid .footer-social-links a:hover .social-icon {
    color: #ffffff;
}

/* Bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

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

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
}

.footer-bottom-links a:hover {
    color: #ffffff;
}


/* ===================================================================
   6. SECTIONS
   =================================================================== */
.section {
    padding: 64px 24px;
    max-width: var(--max-w);
    margin: 0 auto;
}

.section-alt {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-alt .section {
    padding-top: 64px;
    padding-bottom: 64px;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: clamp(24px, 4vw, 34px);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 17px;
    max-width: 600px;
    margin: 0 auto;
}


/* ===================================================================
   7. HERO
   =================================================================== */
.hero {
    position: relative;
    padding: 80px 24px 60px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-accent) 0%, var(--bg-primary) 100%);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero h1 .highlight {
    color: var(--accent);
}

.hero-desc {
    font-size: clamp(15px, 2.2vw, 17px);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 12px auto 0;
    line-height: 1.65;
}

.hero-logo {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-lg);
    object-fit: contain;
    margin: 0 auto 16px;
    display: block;
}

.hero-brand {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.hero-brand span {
    color: var(--accent);
}

.hero-image {
    margin-top: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.hero-cover {
    width: 100%;
    height: auto;
    display: block;
}


/* ===================================================================
   8. BADGES
   =================================================================== */
.hero-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}


/* ===================================================================
   9. BUTTONS
   =================================================================== */
.cta-group {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: var(--accent-hover);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
    border-color: var(--accent);
}

.watch-now-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--accent);
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: var(--radius);
    text-decoration: none;
    transition: all 0.22s ease;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.watch-now-btn:hover {
    background: var(--accent-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(37, 99, 235, 0.4);
}

.watch-now-btn:active {
    transform: translateY(0);
}


/* ===================================================================
   10. SPORT LIVE BUTTONS (homepage hero)
   =================================================================== */
.sport-buttons-section {
    margin-top: 2rem;
    margin-bottom: 2.5rem;
}

.sport-buttons-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 640px;
    margin: 0 auto;
}

.sport-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.sport-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.22s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.sport-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-glow) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.22s ease;
}

.sport-btn:hover {
    border-color: var(--accent);
    background: var(--bg-accent);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12), 0 0 0 1px rgba(37, 99, 235, 0.1);
}

.sport-btn:hover::before {
    opacity: 1;
}

.sport-btn:active {
    transform: translateY(0);
}

.sport-btn .s-icon {
    font-size: 1.15rem;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.sport-btn .s-label {
    position: relative;
    z-index: 1;
    color: var(--text-secondary);
    flex: 1;
    text-align: center;
}

.sport-btn .s-label .s-hl {
    color: var(--text-primary);
    font-weight: 700;
}

.sport-btn .s-play {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    border: 1.5px solid rgba(37, 99, 235, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.22s ease;
}

.sport-btn .s-play::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 4px 0 4px 7px;
    border-color: transparent transparent transparent var(--accent);
    margin-left: 2px;
}

.sport-btn .s-play::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1.5px solid var(--accent);
    opacity: 0;
    animation: sport-pulse 2s ease-out infinite;
}

.sport-btn:hover .s-play {
    background: rgba(37, 99, 235, 0.18);
    border-color: rgba(37, 99, 235, 0.45);
    transform: scale(1.1);
}

@keyframes sport-pulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.7); opacity: 0; }
}

.sport-btn.sport-featured {
    background: linear-gradient(135deg, var(--bg-accent) 0%, #ffffff 100%);
    border-color: rgba(37, 99, 235, 0.25);
}

.sport-btn.sport-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    border-color: var(--accent);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

.sport-btn.sport-primary .s-label {
    color: rgba(255, 255, 255, 0.95);
}

.sport-btn.sport-primary .s-label .s-hl {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
}

.sport-btn.sport-primary .s-play {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.sport-btn.sport-primary .s-play::before {
    border-color: transparent transparent transparent #ffffff;
}

.sport-btn.sport-primary .s-play::after {
    border-color: #ffffff;
}

.sport-btn.sport-primary:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, #1e40af 100%);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.38);
}

.sport-btn.sport-secondary {
    background: #ffffff;
    border-color: var(--border);
}

.sport-btn.sport-secondary:hover {
    border-color: var(--accent);
    background: var(--bg-accent);
}


/* ===================================================================
   11. FEATURE CARDS
   =================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition);
}

.feature-card:hover {
    border-color: var(--accent);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
    background: var(--accent-soft);
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}


/* ===================================================================
   12. CHANNEL CATEGORY CARDS
   =================================================================== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.category-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    transition: all var(--transition);
    color: var(--text-primary);
}

.category-card:hover {
    border-color: var(--accent);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    color: var(--text-primary);
}

.category-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.category-icon.sports { background: rgba(239, 68, 68, 0.12); }
.category-icon.movies { background: rgba(168, 85, 247, 0.12); }
.category-icon.news { background: rgba(37, 99, 235, 0.12); }
.category-icon.kids { background: rgba(16, 185, 129, 0.12); }
.category-icon.entertainment { background: rgba(245, 158, 11, 0.12); }
.category-icon.music { background: rgba(236, 72, 153, 0.12); }

.category-info h3 {
    font-size: 16px;
    margin-bottom: 2px;
}

.category-info p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.category-card .arrow {
    margin-left: auto;
    color: var(--text-muted);
    font-size: 18px;
    transition: transform var(--transition);
}

.category-card:hover .arrow {
    transform: translateX(4px);
    color: var(--accent);
}


/* ===================================================================
   13. CHANNEL TAGS
   =================================================================== */
.channel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.channel-tag {
    background: var(--tag-bg);
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--tag-text);
    text-align: center;
    transition: all var(--transition);
}

.channel-tag:hover {
    background: var(--accent);
    color: #ffffff;
    transform: translateY(-1px);
}


/* ===================================================================
   14. STEPS
   =================================================================== */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    counter-reset: step;
}

.step {
    text-align: center;
    counter-increment: step;
}

.step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-soft);
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
    margin: 0 auto 16px;
}

.step h3 {
    font-size: 16px;
    margin-bottom: 6px;
}

.step p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}


/* ===================================================================
   15. COMPARISON TABLE
   =================================================================== */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: var(--radius);
    overflow: hidden;
    font-size: 15px;
    background: transparent;
}

.comparison-table thead {
    background: var(--bg-card);
}

.comparison-table th {
    padding: 14px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-card);
}

.comparison-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr {
    transition: background var(--transition);
}

.comparison-table tbody tr:hover {
    background: var(--bg-card);
}

.comparison-table .check {
    color: var(--green);
    font-weight: 600;
}

.comparison-table .cross {
    color: var(--red);
}

.comparison-table .feat-name {
    color: var(--text-primary);
    font-weight: 500;
}


/* ===================================================================
   16. FAQ (native details/summary, no JavaScript)
   =================================================================== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    background: transparent;
    padding: 0;
    border-radius: 0;
}

.faq-item:first-child {
    border-top: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-family: var(--font);
    line-height: 1.4;
    list-style: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::marker {
    content: "";
}

.faq-question:hover {
    color: var(--accent);
}

.faq-question .icon {
    font-size: 20px;
    color: var(--text-muted);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    line-height: 1;
}

.faq-item[open] > .faq-question .icon {
    transform: rotate(45deg);
    color: var(--accent);
}

.faq-answer-inner {
    padding: 0 0 20px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}


/* ===================================================================
   17. INFO BLOCKS / DEVICE CARDS / CONTENT PAGES
   (used by the inner pages)
   =================================================================== */
.info-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 20px;
}

.info-block h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.info-block p,
.info-block li {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

.info-block ul {
    padding-left: 20px;
}

.info-block li {
    margin-bottom: 6px;
}

.device-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.device-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
}

.device-card .icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.device-card h3 {
    font-size: 16px;
    margin-bottom: 6px;
}

.device-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.page-hero {
    padding: 48px 24px 32px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-accent) 0%, var(--bg-primary) 100%);
}

.page-hero h1 {
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.page-hero p {
    color: var(--text-secondary);
    font-size: 17px;
    max-width: 600px;
    margin: 0 auto;
}

.content-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 24px;
}

.content-section h2 {
    margin-top: 40px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.content-section h3 {
    margin-top: 28px;
}

.content-section p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}

.content-section ul,
.content-section ol {
    color: var(--text-secondary);
    padding-left: 24px;
    margin-bottom: 16px;
}

.content-section li {
    margin-bottom: 8px;
    line-height: 1.6;
}


/* ===================================================================
   18. DISCLAIMER
   =================================================================== */
.disclaimer {
    background: var(--bg-accent);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-top: 32px;
}

.disclaimer h2 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--orange);
}

.disclaimer p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

.disclaimer-image {
    max-width: 1200px;
    margin: 32px auto 0;
    padding: 0 24px;
}

.disclaimer-image a {
    display: block;
    text-decoration: none;
    transition: opacity var(--transition);
}

.disclaimer-image a:hover {
    opacity: 0.92;
}

.disclaimer-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
}


/* ===================================================================
   19. UTILITIES
   =================================================================== */
.text-body {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.text-body:last-child {
    margin-bottom: 0;
}

.text-sub {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.text-sub-lg {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.text-sub-xl {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.text-accent {
    color: var(--accent);
}

.narrow {
    max-width: 800px;
    margin: 0 auto;
}

.narrow-spaced {
    max-width: 800px;
    margin: 0 auto 40px;
}

.overflow-scroll {
    overflow-x: auto;
}

.mt-sm { margin-top: 24px; }
.mt-md { margin-top: 32px; }
.mt-lg { margin-top: 40px; }
.mb-sm { margin-bottom: 8px; }
.mb-md { margin-bottom: 16px; }
.pt-0 { padding-top: 0; }
.text-center { text-align: center; }


/* ===================================================================
   20. RESPONSIVE
   =================================================================== */
@media (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 32px;
    }

    .footer-about {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .footer-grid .footer-links:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
    }
}

@media (max-width: 768px) {
    .site-header .container {
        height: 64px;
        padding: 0 20px;
    }

    .site-logo {
        --wordmark-size: 26px;
        font-size: 18px;
    }

    .site-logo img {
        width: 34px;
        height: 34px;
    }

    .hero {
        padding: 48px 20px 40px;
    }

    .section {
        padding: 40px 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr 1fr;
    }

    .site-footer {
        padding: 40px 20px 28px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    ul.footer-links {
        justify-content: center;
    }

    .footer-grid .footer-links {
        display: block;
        text-align: left;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        margin-bottom: 32px;
    }

    .footer-about {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .footer-grid .footer-links:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .disclaimer-image {
        padding: 0 16px;
        max-width: 500px;
    }
}

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

    .sport-btn {
        padding: 12px 14px;
        font-size: 0.88rem;
    }
}

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

    .steps {
        grid-template-columns: 1fr;
    }

    .channel-grid {
        grid-template-columns: 1fr 1fr;
    }

    .device-grid {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        font-size: 13px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px 12px;
    }
}

/* ===================================================================
   21. v1.0.6 ORIGINAL THETVAPP LOOK
   Component overrides that match the original TheTVApp styling.
   =================================================================== */

/* Header: flat #212529, no blur, underline marks the active page */
.site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid #343a40;
}

.site-nav-desktop ul {
    gap: 8px;
}

.site-nav-desktop a {
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 0;
    border-bottom: 2px solid transparent;
}

.site-nav-desktop a:hover {
    color: #ffffff;
    background: transparent;
    border-bottom-color: rgba(255, 255, 255, 0.4);
}

.site-nav-desktop .current-menu-item a,
.site-nav-desktop .current_page_item a {
    color: #ffffff;
    background: transparent;
    border-bottom-color: var(--nav-active);
    font-weight: 500;
}

/* Mobile menu: active item gets a left bar instead of a blue block */
.site-nav-mobile a {
    color: #ffffff;
    border-left: 3px solid transparent;
}

.site-nav-mobile a:hover {
    background: rgba(255, 255, 255, 0.06);
}

.site-nav-mobile .current-menu-item a,
.site-nav-mobile .current_page_item a {
    background: rgba(255, 255, 255, 0.06);
    border-left-color: var(--nav-active);
    font-weight: 600;
}

.site-nav-chips a:hover,
.site-nav-chips .current-menu-item a {
    background: #ffffff;
    color: #212529;
}

.menu-overlay {
    background: rgba(33, 37, 41, 0.6);
}

/* Footer: same #212529 chrome, hand-lettered wordmark */
.site-footer {
    border-top: 1px solid #343a40;
    color: #adb5bd;
}

.footer-about .logo-text {
    display: inline-block;
    font-family: var(--font-brand);
    font-size: 26px;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: #ffffff;
    transform: rotate(-2deg);
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
}

.footer-about .logo-text span {
    color: #ffffff;
}

.footer-grid .footer-links a,
.footer-bottom-links a,
ul.footer-links a,
.footer-about p,
.footer-bottom p {
    color: #adb5bd;
}

/* Page background and section bands */
body {
    background: var(--bg-primary);
}

.section-alt {
    background: #ffffff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* Hero: flat, no glow */
.hero,
.page-hero {
    background: var(--bg-primary);
}

.hero::before {
    content: none;
}

.hero h1,
.page-hero h1,
.section-header h2 {
    color: var(--text-heading);
}

.hero-image {
    border-radius: var(--radius);
    box-shadow: none;
}

/* Primary buttons: dark like the original */
.watch-now-btn,
.btn-primary {
    background: var(--btn-dark);
    color: #ffffff;
    border-radius: var(--radius);
    box-shadow: none;
}

.watch-now-btn:hover,
.btn-primary:hover {
    background: var(--btn-dark-hover);
    color: #ffffff;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    background: #ffffff;
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.btn-secondary:hover {
    background: #ffffff;
    color: var(--text-primary);
    border-color: var(--btn-dark);
}

/* Hero sport buttons */
.sport-btn {
    border-radius: var(--radius);
    box-shadow: none;
}

.sport-btn::before {
    content: none;
}

.sport-btn:hover {
    background: #ffffff;
    border-color: var(--btn-dark);
    transform: none;
    box-shadow: none;
}

.sport-btn.sport-featured {
    background: #ffffff;
    border-color: var(--border);
}

.sport-btn.sport-primary {
    background: var(--btn-dark);
    border-color: var(--btn-dark);
    box-shadow: none;
}

.sport-btn.sport-primary:hover {
    background: var(--btn-dark-hover);
    border-color: var(--btn-dark-hover);
    box-shadow: none;
}

.sport-btn .s-play {
    background: rgba(33, 37, 41, 0.06);
    border-color: rgba(33, 37, 41, 0.2);
}

.sport-btn .s-play::before {
    border-color: transparent transparent transparent var(--btn-dark);
}

.sport-btn .s-play::after {
    border-color: var(--btn-dark);
}

.sport-btn.sport-primary .s-play {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.sport-btn.sport-primary .s-play::before {
    border-color: transparent transparent transparent #ffffff;
}

.sport-btn.sport-primary .s-play::after {
    border-color: #ffffff;
}

/* Cards: white, thin border, 6px corners, no lift */
.feature-card,
.category-card,
.info-block,
.device-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: none;
}

.feature-card:hover,
.category-card:hover {
    background: #ffffff;
    border-color: var(--border-hover);
    transform: none;
    box-shadow: none;
}

.feature-icon {
    border-radius: var(--radius);
    background: var(--bg-elevated);
}

.category-icon {
    border-radius: var(--radius-sm);
}

/* Channel tags: light chips, dark on hover */
.channel-tag {
    background: #ffffff;
    border: 1px solid var(--border);
    color: var(--tag-text);
}

.channel-tag:hover {
    background: var(--btn-dark);
    border-color: var(--btn-dark);
    color: #ffffff;
    transform: none;
}

/* Steps: dark numbered circles */
.step-num {
    background: var(--btn-dark);
    border: none;
    color: #ffffff;
}

/* Badges */
.badge {
    background: #ffffff;
    border: 1px solid var(--border);
}

/* Comparison table on white */
.comparison-table {
    background: #ffffff;
    border: 1px solid var(--border);
}

.comparison-table thead,
.comparison-table th {
    background: #f1f3f5;
    color: var(--text-primary);
}

.comparison-table tbody tr:hover {
    background: #f8f9fa;
}

/* Lists inside cards (Pros and Cons) */
.feature-card ul {
    margin: 0;
    padding-left: 20px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

/* FAQ */
.faq-question:hover {
    color: var(--text-heading);
}

.faq-item[open] > .faq-question .icon {
    color: var(--text-heading);
}

/* Disclaimer image corners */
.disclaimer-image img {
    border-radius: var(--radius);
}

/* End of thetvapp-theme-1_0_6.css v1.0.6 */


/* ===================================================================
   22. CUSTOM HEADER (AURA7 > Header) - Classic Dark + pill nav
   Markup: thetvapp-header.html uploaded in AURA7 > Header.
   Hamburger = checkbox + label, no scripts.
   =================================================================== */

.tv-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #212529;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tv-header-in {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: relative;
}

/* Wordmark (same brush font already embedded in this file) */
.tv-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-family: var(--font-brand, "TheTVApp Brush", "Comic Sans MS", cursive);
    font-size: 28px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.5px;
    color: #ffffff;
    transform: rotate(-2deg);
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.tv-brand:hover {
    color: #ffffff;
    opacity: 0.9;
}

/* Pill nav */
.tv-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    padding: 4px;
}

.tv-nav a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
}

.tv-nav a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

/* Active page (uses the WordPress body classes, no change needed in page files) */
body.home .tv-nav a[data-nav="home"],
body.page-id-9 .tv-nav a[data-nav="live-tv"],
body.page-id-12 .tv-nav a[data-nav="sports"],
body.page-id-10 .tv-nav a[data-nav="news"],
body.page-id-11 .tv-nav a[data-nav="movies"],
body.page-id-26 .tv-nav a[data-nav="faq"] {
    color: #ffffff;
    background: #2563eb;
    font-weight: 600;
}

/* Hidden checkbox + hamburger (hidden on desktop) */
.tv-toggle {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.tv-burger {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex: 0 0 auto;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tv-burger span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Tablet */
@media (max-width: 900px) {
    .tv-nav a {
        padding: 7px 12px;
        font-size: 13px;
    }
}

/* Phone */
@media (max-width: 640px) {
    .tv-header-in {
        height: 56px;
        padding: 0 16px;
    }

    .tv-burger {
        display: flex;
    }

    .tv-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 56px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        background: #212529;
        border: 0;
        border-radius: 0;
        padding: 10px 16px 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
    }

    .tv-nav a {
        padding: 12px 18px;
        font-size: 15px;
        background: rgba(255, 255, 255, 0.06);
    }

    .tv-toggle:checked ~ .tv-nav {
        display: flex;
    }

    .tv-toggle:checked ~ .tv-burger span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .tv-toggle:checked ~ .tv-burger span:nth-child(2) {
        opacity: 0;
    }

    .tv-toggle:checked ~ .tv-burger span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}


/* ===================================================================
   23. TABLE OF CONTENTS (home page: nav[aria-label] > details.toc)
   Centered box in its own section, collapsed by default, CSS only.
   =================================================================== */

.toc-sec {
    padding-top: 32px;
    padding-bottom: 32px;
}

.toc {
    max-width: 760px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #2563eb;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.toc summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px 14px 20px;
    user-select: none;
}

.toc summary::-webkit-details-marker {
    display: none;
}

.toc .lab {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2563eb;
    background: #eff4ff;
    border-radius: 999px;
    padding: 4px 10px;
    white-space: nowrap;
}

.toc .ttl {
    font-size: 16px;
    font-weight: 700;
    color: #1a202c;
    flex: 1 1 auto;
}

.toc .chev {
    width: 9px;
    height: 9px;
    border-right: 2px solid #6b7280;
    border-bottom: 2px solid #6b7280;
    transform: rotate(45deg);
    margin-right: 4px;
    transition: transform 0.2s ease;
    flex: 0 0 auto;
}

.toc[open] .chev {
    transform: rotate(-135deg);
}

.toc ol {
    list-style: none;
    margin: 0;
    padding: 0 18px 12px 20px;
    border-top: 1px solid #eef1f4;
}

.toc li {
    margin: 0;
    padding: 0;
}

.toc li a {
    display: block;
    padding: 9px 10px;
    margin-left: -10px;
    border-radius: 6px;
    color: #374151;
    font-size: 14px;
    text-decoration: none;
    border-bottom: 1px solid #f1f3f6;
    transition: background 0.15s ease, color 0.15s ease;
}

.toc li:last-child a {
    border-bottom: 0;
}

.toc li a:hover,
.toc li a:focus {
    background: #eff4ff;
    color: #2563eb;
}

/* TOC section sits on a white section-alt; drop the two borders that
   meet the next section-alt so there is no line under the box */
.section-alt.toc-wrap {
    border-bottom: 0;
}

.section-alt.toc-wrap + .section-alt {
    border-top: 0;
}

/* keep anchor targets clear of the sticky header */
[id="what-is-thetvapp"], [id="free"], [id="live-sports"], [id="channels"],
[id="how-it-works"], [id="devices"], [id="download"], [id="requirements"],
[id="vs-other-apps"], [id="not-working"], [id="safe"], [id="faq"] {
    scroll-margin-top: 80px;
}

@media (max-width: 640px) {
    .toc-sec {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .toc summary {
        padding: 12px 14px 12px 16px;
        gap: 10px;
    }

    .toc .ttl {
        font-size: 15px;
    }

    .toc ol {
        padding: 0 14px 10px 16px;
    }
}
