/*
 * IPTV Pro — main.css
 * Design: Cinematic dark theme — deep space blacks, electric accent,
 * sharp geometry, scanline textures, broadcast-grade typography.
 * All colour/font values reference CSS variables injected by theme-options.php
 * ─────────────────────────────────────────────────────────────────────────────
 */

/* ── 1. CSS Reset & Base ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: var(--font-size-base, 16px);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body, 'Inter', sans-serif);
    background-color: var(--color-bg, #0a0a0f);
    color: var(--color-text, #c8c8d8);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Scanline overlay — subtle CRT texture over the whole page */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.04) 2px,
        rgba(0, 0, 0, 0.04) 4px
    );
    pointer-events: none;
    z-index: 0;
}
.theme-light body::before {
    background-image: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.02) 2px,
        rgba(0, 0, 0, 0.02) 4px
    );
}

img, video { max-width: 100%; display: block; }
a { color: var(--color-primary, #00e5ff); text-decoration: none; transition: color .2s; }
a:hover { color: var(--color-secondary, #ff6b6b); }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading, 'Rajdhani', sans-serif);
    color: var(--color-heading, #ffffff);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.01em;
}

h1 { font-size: var(--font-size-h1, clamp(2.2rem, 5vw, 3.8rem)); }
h2 { font-size: var(--font-size-h2, clamp(1.6rem, 3vw, 2.6rem)); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── 2. Layout Utilities ────────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2.5rem);
}

.container--wide { max-width: 1400px; }
.container--narrow { max-width: 800px; }

.section {
    padding-block: clamp(4rem, 8vw, 7rem);
    position: relative;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.section-label::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--color-text);
    opacity: .8;
    max-width: 52ch;
    margin-bottom: 2.5rem;
}

.text-center { text-align: center; }
.text-center .section-label { justify-content: center; }
.text-center .section-subtitle { margin-inline: auto; }

/* ── 3. Buttons ─────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .75rem 1.75rem;
    border-radius: var(--border-radius, 8px);
    font-family: var(--font-heading);
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .03em;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all .25s cubic-bezier(.4, 0, .2, 1);
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

/* Shimmer effect on hover */
.btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: rgba(255,255,255,.12);
    transform: skewX(-20deg);
    transition: left .4s ease;
}
.btn:hover::after { left: 125%; }

.btn-primary {
    background: var(--color-primary);
    color: var(--color-btn-text, #000);
    border-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(0, 229, 255, .25), 0 4px 15px rgba(0,0,0,.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(0, 229, 255, .45), 0 8px 25px rgba(0,0,0,.4);
    color: var(--color-btn-text, #000);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}
.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-btn-text, #000);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--color-text);
    border-color: var(--color-border, #2a2a4a);
}
.btn-ghost:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }
.btn-sm { padding: .5rem 1.25rem; font-size: .85rem; }

/* ── 4. Cards / Surface ────────────────────────────────────────────────── */
.card {
    background: var(--color-surface, #111120);
    border: 1px solid var(--color-border, #1e1e38);
    border-radius: var(--border-radius, 12px);
    padding: 1.75rem;
    transition: border-color .3s, transform .3s, box-shadow .3s;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,229,255,.04) 0%, transparent 60%);
    opacity: 0;
    transition: opacity .3s;
}

.card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,.5), 0 0 0 1px var(--color-primary);
}
.card:hover::before { opacity: 1; }

/* ── 5. Navigation ──────────────────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.admin-bar .site-header {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

.site-nav {
    background: transparent;
    transition: background .4s ease, backdrop-filter .4s ease, box-shadow .4s ease, padding .3s ease;
    padding-block: 1.25rem;
}

/* Scrolled state — applied via JS */
.site-nav.is-scrolled {
    background: rgba(10, 10, 15, .92);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 8px 32px rgba(0,0,0,.4);
    padding-block: .85rem;
}
.theme-light .site-nav.is-scrolled {
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 8px 32px rgba(0,0,0,.08);
}

/* On non-hero pages, always solid */
.site-nav:not(.is-transparent) {
    background: var(--color-nav-bg, #0a0a0f);
    box-shadow: 0 1px 0 var(--color-border);
}

/* Transparent nav over slider/hero — force white text so it's readable
   against any background image. Reverts once is-scrolled applies. */
.site-nav.is-transparent:not(.is-scrolled) .nav-link,
.site-nav.is-transparent:not(.is-scrolled) .nav-support,
.site-nav.is-transparent:not(.is-scrolled) .nav-cart {
    color: rgba(255, 255, 255, .92);
}

.site-nav.is-transparent:not(.is-scrolled) .nav-link:hover,
.site-nav.is-transparent:not(.is-scrolled) .menu-item.current-menu-item>.nav-link {
    color: var(--color-primary);
    background: rgba(255, 255, 255, .08);
}

.site-nav.is-transparent:not(.is-scrolled) .text-logo {
    color: #fff;
}

.site-nav.is-transparent:not(.is-scrolled) .nav-hamburger .hamburger-bar {
    background: #fff;
}

/* Subtle dark gradient behind the nav so text stays readable
   even on very bright backdrop images */
.site-nav.is-transparent:not(.is-scrolled) {
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, .55) 0%,
            rgba(0, 0, 0, .2) 70%,
            transparent 100%);
}

.nav-container {
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2.5rem);
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Logo */
.site-logo img,
.footer-logo img {
    height: 42px;
    width: auto;
}

.text-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-heading);
    letter-spacing: -.02em;
}

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

/* Desktop nav links */
.nav-menu-wrap { flex: 1; display: flex; justify-content: center; }

.nav-menu {
    display: flex;
    align-items: center;
    gap: .25rem;
    list-style: none;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: .3rem;
    padding: .5rem .85rem;
    color: var(--color-nav-text, #c8c8d8);
    font-size: .9rem;
    font-weight: 500;
    border-radius: 6px;
    transition: color .2s, background .2s;
    position: relative;
}

.nav-link:hover,
.menu-item.current-menu-item > .nav-link {
    color: var(--color-primary);
    background: rgba(0, 229, 255, .08);
}

/* Active indicator */
.menu-item.current-menu-item > .nav-link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: .85rem;
    right: .85rem;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
}

/* Chevron */
.nav-link .chevron {
    transition: transform .25s;
    flex-shrink: 0;
}
.menu-item-has-children:hover > .nav-link .chevron,
.menu-item-has-children.is-open > .nav-link .chevron {
    transform: rotate(180deg);
}

/* Dropdown */
.nav-submenu {
    position: absolute;
    top: calc(100% + .5rem);
    left: 0;
    min-width: 200px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    box-shadow: 0 20px 50px rgba(0,0,0,.6);
    padding: .5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility .25s;
    list-style: none;
}

.menu-item-has-children {
    position: relative;
}

.menu-item-has-children:hover > .nav-submenu,
.menu-item-has-children.is-open > .nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-submenu .nav-link {
    display: block;
    padding: .55rem 1rem;
    font-size: .875rem;
    border-radius: 6px;
    color: var(--color-text);
}
.nav-submenu .nav-link:hover { color: var(--color-primary); background: rgba(0,229,255,.08); }

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-shrink: 0;
}

.nav-support {
    display: flex;
    align-items: center;
    gap: .4rem;
    color: var(--color-text);
    font-size: .85rem;
    padding: .45rem .85rem;
    border-radius: 6px;
    border: 1px solid var(--color-border);
    transition: all .2s;
}
.nav-support:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* Theme switch: track with sun (right) / moon (left), thumb slides toward active theme */
.nav-theme-switch {
    display: flex;
    align-items: center;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text);
    -webkit-tap-highlight-color: transparent;
}
.nav-theme-switch:hover { color: var(--color-primary); }
.nav-theme-switch:focus { outline: none; }
.nav-theme-switch:focus-visible .nav-theme-track { box-shadow: 0 0 0 2px var(--color-primary); }

.nav-theme-track {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 64px;
    height: 32px;
    padding: 0 8px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    transition: border-color .2s, box-shadow .2s;
}
.nav-theme-switch:hover .nav-theme-track {
    border-color: var(--color-primary);
    background: rgba(0, 229, 255, .06);
}

.nav-theme-thumb {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
    transition: transform .3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}
/* Dark theme: thumb on left (moon side) */
.nav-theme-switch:not(.is-light) .nav-theme-thumb { transform: translateX(0); }
/* Light theme: thumb on right (sun side) — sync with html class so it’s correct before JS */
html.theme-light .nav-theme-switch .nav-theme-thumb,
.nav-theme-switch.is-light .nav-theme-thumb { transform: translateX(32px); }

.nav-theme-track .nav-theme-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 24px;
    flex-shrink: 0;
    z-index: 1;
    transition: color .2s, opacity .2s;
}
.nav-theme-track .nav-theme-icon-moon { order: -1; }
.nav-theme-track .nav-theme-icon-sun { order: 1; }
.theme-light .nav-theme-track .nav-theme-icon-sun { color: var(--color-btn-text); opacity: 1; }
.theme-light .nav-theme-track .nav-theme-icon-moon { opacity: .5; }
.nav-theme-switch:not(.is-light) .nav-theme-track .nav-theme-icon-moon { opacity: 1; }
.nav-theme-switch:not(.is-light) .nav-theme-track .nav-theme-icon-sun { opacity: .5; }

.nav-cart {
    position: relative;
    display: flex;
    align-items: center;
    color: var(--color-text);
    padding: .45rem;
    border-radius: 6px;
    transition: color .2s;
}
.nav-cart:hover { color: var(--color-primary); }
.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--color-secondary);
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-nav-cta { padding: .6rem 1.4rem; font-size: .875rem; }

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: .5rem;
    border-radius: 6px;
    transition: background .2s;
    margin-left: auto;
}
.nav-hamburger:hover { background: rgba(255,255,255,.08); }

.hamburger-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
}

.nav-hamburger.is-active .hamburger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-active .hamburger-bar:nth-child(2) { opacity: 0; }
.nav-hamburger.is-active .hamburger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 6. Hero Section ────────────────────────────────────────────────────── */
.section-hero {
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding-top: 7rem;
    padding-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

/* Animated grid background */
.section-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 229, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, .04) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
    animation: gridPulse 6s ease-in-out infinite alternate;
}

@keyframes gridPulse {
    from { opacity: .4; }
    to   { opacity: 1; }
}

/* Radial glow */
.section-hero::after {
    content: '';
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(0, 229, 255, .08) 0%, transparent 65%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 820px;
    margin-inline: auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(0, 229, 255, .08);
    border: 1px solid rgba(0, 229, 255, .25);
    color: var(--color-primary);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: .45rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.2} }

.hero-title { margin-bottom: 1.25rem; }
.hero-title em {
    font-style: normal;
    color: var(--color-primary);
    position: relative;
}
/* Underline accent on italic (highlighted) words */
.hero-title em::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: 2px;
}

.hero-description {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    opacity: .8;
    max-width: 55ch;
    margin: 0 auto 2rem;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.hero-trust-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    font-size: .85rem;
    color: var(--color-text);
    opacity: .75;
}
.hero-trust-badge {
    display: flex;
    align-items: center;
    gap: .4rem;
}
.hero-trust-badge svg { color: var(--color-primary); }

/* Stat counters */
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem 3rem;
    margin-top: 3.5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--color-border);
}

.stat-item { text-align: center; }
.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: .3rem;
}
.stat-label {
    font-size: .8rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    opacity: .65;
}

/* ── 7. Features Section ─────────────────────────────────────────────────── */
.section-features { background: var(--color-surface); }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.feature-card {
    padding: 2rem;
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(0, 229, 255, .1);
    border: 1px solid rgba(0, 229, 255, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    transition: background .3s, box-shadow .3s;
}

.feature-card:hover .feature-icon {
    background: rgba(0, 229, 255, .18);
    box-shadow: 0 0 20px rgba(0, 229, 255, .2);
}

.feature-card h3 { margin-bottom: .6rem; font-size: 1.1rem; }
.feature-card p { font-size: .9rem; opacity: .75; margin: 0; }

/* ── 8. How It Works ─────────────────────────────────────────────────────── */
.how-it-works-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}

/* Connector line between steps */
.how-it-works-steps::before {
    content: '';
    position: absolute;
    top: 2.5rem;
    left: 3.5rem;
    right: 3.5rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border) 20%, var(--color-border) 80%, transparent);
}

.step-item { text-align: center; position: relative; z-index: 1; }

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-bg);
    border: 2px solid var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-primary);
    margin: 0 auto 1.25rem;
    box-shadow: 0 0 20px rgba(0, 229, 255, .15);
}

.step-item h3 { margin-bottom: .5rem; font-size: 1rem; }
.step-item p { font-size: .875rem; opacity: .75; margin: 0; }

/* ── 9. Channels Section ─────────────────────────────────────────────────── */
.section-channels { background: var(--color-surface); }

.channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 3rem;
}

.channel-item {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: 1rem 1.25rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    font-size: .9rem;
    font-weight: 500;
    transition: border-color .25s, color .25s;
}
.channel-item:hover { border-color: var(--color-primary); color: var(--color-primary); }
.channel-item-icon { font-size: 1.2rem; flex-shrink: 0; }

/* ── 10. Testimonials ────────────────────────────────────────────────────── */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.testimonial-card { padding: 2rem; }

.testimonial-stars {
    display: flex;
    gap: .2rem;
    margin-bottom: 1rem;
    color: #fbbf24;
}

.testimonial-text {
    font-size: .95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    opacity: .85;
}

.testimonial-author { display: flex; align-items: center; gap: .85rem; }

.testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .9rem;
    color: #000;
    flex-shrink: 0;
}

.testimonial-author-name { font-weight: 700; font-size: .9rem; color: var(--color-heading); }
.testimonial-author-device { font-size: .78rem; opacity: .6; }

/* ── 11. Pricing ─────────────────────────────────────────────────────────── */
.section-pricing { background: var(--color-bg); }

.pricing-toggle-wrap {
    display: flex;
    gap: .5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.pricing-toggle-btn {
    padding: .55rem 1.4rem;
    border-radius: 50px;
    border: 1px solid var(--color-border);
    background: transparent;
    color: var(--color-text);
    font-size: .875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s;
}
.pricing-toggle-btn.is-active,
.pricing-toggle-btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #000;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem;
}

.pricing-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.pricing-card.is-featured {
    border-color: var(--color-primary);
    background: linear-gradient(160deg, var(--color-surface) 0%, rgba(0,229,255,.06) 100%);
}

.pricing-badge {
    display: inline-block;
    background: var(--color-primary);
    color: #000;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .25rem .75rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.pricing-duration { font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .6; margin-bottom: .5rem; }
.pricing-price { font-family: var(--font-heading); font-size: 2.4rem; font-weight: 800; color: var(--color-heading); line-height: 1; margin-bottom: .25rem; }
.pricing-price span { font-size: 1.2rem; vertical-align: super; font-weight: 600; }
.pricing-per { font-size: .8rem; opacity: .6; margin-bottom: 1.5rem; }

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    flex: 1;
}
.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    padding-block: .45rem;
    font-size: .875rem;
    border-bottom: 1px solid var(--color-border);
}
.pricing-features li:last-child { border-bottom: none; }

.pricing-check {
    color: var(--color-primary);
    font-size: .75rem;
    margin-top: .15rem;
    flex-shrink: 0;
}

.pricing-card .btn { width: 100%; }

/* Guarantee note */
.pricing-guarantee {
    text-align: center;
    margin-top: 2.5rem;
    font-size: .875rem;
    opacity: .7;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}
.pricing-guarantee svg { color: var(--color-primary); }

/* ── 12. Setup Guide Section ────────────────────────────────────────────── */
.setup-apps {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.setup-app-badge {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .6rem 1.2rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: .875rem;
    font-weight: 600;
    transition: border-color .2s;
}
.setup-app-badge:hover { border-color: var(--color-primary); }

.setup-steps-list { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.setup-step {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.25rem 1.5rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
}
.setup-step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,229,255,.1);
    border: 1px solid var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .9rem;
    color: var(--color-primary);
    flex-shrink: 0;
}
.setup-step h4 { margin-bottom: .25rem; font-size: .95rem; }
.setup-step p { font-size: .875rem; opacity: .75; margin: 0; }

/* ── 12b. Featured Picks ─────────────────────────────────────────────────── */
.section-featured-picks {
    background: var(--color-bg);
    padding-block: clamp(3rem, 6vw, 5rem);
}

.featured-row { margin-top: 1.75rem; }
.featured-row:first-child { margin-top: 0; }
.featured-row-label {
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    opacity: .65;
    margin-bottom: .75rem;
}

.featured-carousel {
    overflow: hidden;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    background: rgba(255,255,255,.02);
}

.featured-track {
    display: flex;
    gap: .85rem;
    padding: 1rem;
    will-change: transform;
}

.featured-poster {
    width: clamp(120px, 14vw, 170px);
    aspect-ratio: 2 / 3;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    background: var(--color-surface);
    padding: 0;
    cursor: pointer;
    flex: 0 0 auto;
    transition: transform .25s, border-color .25s, box-shadow .25s;
}
.featured-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.featured-poster:hover {
    transform: translateY(-3px);
    border-color: var(--color-primary);
    box-shadow: 0 14px 36px rgba(0,0,0,.4);
}
.featured-poster:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 229, 255, .18), 0 14px 36px rgba(0,0,0,.4);
    border-color: var(--color-primary);
}

.featured-poster-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-primary);
    background: linear-gradient(135deg, rgba(0,229,255,.10), rgba(255,107,107,.08));
}

/* Modal */
.featured-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.75);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, visibility .25s;
}
.featured-modal-overlay.is-open { opacity: 1; visibility: visible; }

.featured-modal {
    width: min(860px, 92vw);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: calc(var(--border-radius) * 1.2);
    padding: 1.25rem;
    position: relative;
    box-shadow: 0 30px 90px rgba(0,0,0,.65);
}
.featured-modal-close {
    position: absolute;
    top: .75rem;
    right: .75rem;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    background: rgba(255,255,255,.05);
    color: var(--color-text);
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1;
}
.featured-modal-close:hover { border-color: var(--color-primary); color: var(--color-primary); }

.featured-modal-body {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 1.25rem;
    align-items: start;
}
.featured-modal-poster {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    background: var(--color-bg);
    aspect-ratio: 2 / 3;
}
.featured-modal-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.featured-modal-content h3 { margin: .25rem 0 .75rem; font-size: 1.35rem; }
.featured-modal-content p { opacity: .8; margin: 0; }

@media (max-width: 768px) {
    .featured-modal-body { grid-template-columns: 1fr; }
    .featured-modal-poster { max-width: 220px; }
}

/* ── 13. FAQ ─────────────────────────────────────────────────────────────── */
.section-faq { background: var(--color-surface); }

.faq-list { max-width: 760px; margin: 3rem auto 0; display: flex; flex-direction: column; gap: .75rem; }

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--color-bg);
    transition: border-color .25s;
}
.faq-item.is-open { border-color: var(--color-primary); }

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    color: var(--color-heading);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: color .2s;
}
.faq-question:hover { color: var(--color-primary); }

.faq-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
    font-size: 1.2rem;
    line-height: 1;
    transition: transform .3s, border-color .3s;
}
.faq-item.is-open .faq-icon { transform: rotate(45deg); border-color: var(--color-primary); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}
.faq-answer-inner {
    padding: 0 1.5rem 1.25rem;
    font-size: .9rem;
    line-height: 1.75;
    opacity: .8;
}

/* ── 14. CTA Banner ──────────────────────────────────────────────────────── */
.section-cta-banner {
    background: linear-gradient(135deg, var(--color-surface) 0%, rgba(0,229,255,.06) 100%);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.cta-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-banner-text h2 { margin-bottom: .5rem; }
.cta-banner-text p { margin: 0; opacity: .75; }
.cta-banner-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── 15. Devices Section ─────────────────────────────────────────────────── */
.devices-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.device-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem;
    padding: 1.25rem 1.75rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    opacity: .7;
    transition: all .25s;
    min-width: 100px;
    text-align: center;
}
.device-item svg { color: var(--color-primary); transition: transform .3s; }
.device-item:hover { opacity: 1; border-color: var(--color-primary); }
.device-item:hover svg { transform: scale(1.1); }

/* ── 16. Showcase / EPG ──────────────────────────────────────────────────── */
.showcase-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}
.showcase-pair + .showcase-pair { margin-top: 5rem; }
.showcase-pair.reverse { direction: rtl; }
.showcase-pair.reverse > * { direction: ltr; }

.showcase-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: 0 24px 60px rgba(0,0,0,.6);
    position: relative;
}

.showcase-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,229,255,.06) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.showcase-image img { width: 100%; display: block; }

.showcase-text h3 { margin-bottom: 1rem; font-size: 1.4rem; }
.showcase-text p { opacity: .8; font-size: .95rem; }

.showcase-list {
    list-style: none;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}
.showcase-list li {
    display: flex;
    align-items: center;
    gap: .65rem;
    font-size: .875rem;
}
.showcase-list li::before {
    content: '✔';
    color: var(--color-primary);
    font-size: .75rem;
    flex-shrink: 0;
}

/* ── 17. Order Modal ──────────────────────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.75);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}
.modal-overlay.is-open { opacity: 1; visibility: visible; }

.modal-box {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: calc(var(--border-radius) * 1.5);
    padding: 2.5rem;
    width: 100%;
    max-width: 460px;
    transform: scale(.95) translateY(12px);
    transition: transform .35s cubic-bezier(.34,1.56,.64,1);
    position: relative;
}
.modal-overlay.is-open .modal-box { transform: scale(1) translateY(0); }

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255,255,255,.06);
    border: none;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    cursor: pointer;
    font-size: 1.2rem;
    transition: background .2s, color .2s;
}
.modal-close:hover { background: rgba(255,255,255,.12); color: var(--color-heading); }

.modal-title { font-size: 1.4rem; margin-bottom: .5rem; }
.modal-subtitle { font-size: .875rem; opacity: .7; margin-bottom: 1.75rem; }

.modal-form .form-group { margin-bottom: 1rem; }
.modal-form label { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .05em; margin-bottom: .4rem; }
.modal-form input {
    width: 100%;
    padding: .75rem 1rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text);
    font-size: .9rem;
    font-family: var(--font-body);
    transition: border-color .2s, box-shadow .2s;
}
.modal-form input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, .12);
}
.modal-form .btn { width: 100%; margin-top: .5rem; }

/* ── 18. Footer ───────────────────────────────────────────────────────────── */
.site-footer {
    background: var(--color-footer-bg, #050508);
    color: var(--color-footer-text, #888);
    border-top: 1px solid var(--color-border);
    font-size: .875rem;
}

.footer-top { padding-block: 4rem 3rem; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 3rem;
}

.footer-brand .footer-logo { margin-bottom: 1rem; }
.footer-tagline { opacity: .65; font-size: .875rem; margin-bottom: 1.5rem; }

.footer-social {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
}
.social-link {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-footer-text);
    transition: all .25s;
}
.social-link:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #000;
    transform: translateY(-2px);
}

.footer-col-title {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--color-heading);
    margin-bottom: 1.25rem;
}

.footer-nav-list li { margin-bottom: .5rem; }
.footer-nav-list a {
    color: var(--color-footer-text);
    font-size: .875rem;
    transition: color .2s;
}
.footer-nav-list a:hover { color: var(--color-primary); }

/* Footer widgets override */
.footer-widget .widget-title {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--color-heading);
    margin-bottom: 1.25rem;
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-block: 1.5rem;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
}

.footer-copyright { opacity: .6; font-size: .8rem; }
.footer-disclaimer { opacity: .45; font-size: .75rem; max-width: 50ch; }

.footer-badges {
    display: flex;
    align-items: center;
    gap: .6rem;
    flex-wrap: wrap;
}
.badge {
    display: flex;
    align-items: center;
    gap: .35rem;
    padding: .3rem .75rem;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--color-footer-text);
}
.badge-secure { color: #4ade80; border-color: rgba(74,222,128,.25); background: rgba(74,222,128,.06); }

/* ── 19. Floating WhatsApp ───────────────────────────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, .5);
    z-index: 900;
    transition: transform .3s, box-shadow .3s;
    animation: waBounce 2.5s ease-in-out infinite;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, .7);
    color: #fff;
}

@keyframes waBounce {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

/* ── 20. Utility Classes ─────────────────────────────────────────────────── */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--color-primary);
    color: #000;
    padding: .5rem 1rem;
    border-radius: 0 0 8px 8px;
    font-weight: 700;
    z-index: 9999;
    transition: top .2s;
}
.skip-link:focus { top: 0; }

/* Entry animations */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .6s ease, transform .6s ease;
}
.fade-up.is-visible { opacity: 1; transform: translateY(0); }

/* Stagger children */
.stagger-children > * { transition-delay: calc(var(--i, 0) * 80ms); }

/* Highlight text */
.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-muted { opacity: .6; }

/* ── 20b. Extra section styles ───────────────────────────────────────────── */

/* Hero floating orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}
.hero-orb--1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0,229,255,.07) 0%, transparent 70%);
    top: -100px; right: -100px;
    animation: orbFloat 8s ease-in-out infinite alternate;
}
.hero-orb--2 {
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(255,107,107,.06) 0%, transparent 70%);
    bottom: 50px; left: -80px;
    animation: orbFloat 10s ease-in-out infinite alternate-reverse;
}
@keyframes orbFloat {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(30px, -20px) scale(1.08); }
}

/* Hero scroll hint */
.hero-scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-text);
    opacity: .4;
    transition: opacity .3s;
    animation: scrollBounce 2s ease-in-out infinite;
}
.hero-scroll-hint:hover { opacity: .8; color: var(--color-primary); }
@keyframes scrollBounce {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(6px); }
}

/* Step icon in how-it-works */
.step-icon {
    color: var(--color-primary);
    opacity: .5;
    margin-bottom: .75rem;
    display: flex;
    justify-content: center;
}

/* Showcase placeholder */
.showcase-placeholder {
    aspect-ratio: 16/9;
    background: var(--color-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    color: var(--color-text);
}

/* Pricing panel visibility */
.pricing-panel { display: none; }
.pricing-panel.is-active { display: block; }
.pricing-empty {
    grid-column: 1 / -1;
    text-align: center;
    opacity: .6;
    padding: 3rem;
}

/* FAQ contact links */
.faq-contact-links {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* ── 21. Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .showcase-pair { grid-template-columns: 1fr; }
    .showcase-pair.reverse { direction: ltr; }
}

@media (max-width: 768px) {
    .nav-menu-wrap {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(320px, 85vw);
        height: 100dvh;
        background: var(--color-surface);
        border-left: 1px solid var(--color-border);
        padding: 5rem 1.5rem 2rem;
        flex-direction: column;
        justify-content: flex-start;
        overflow-y: auto;
        transition: right .35s cubic-bezier(.4,0,.2,1);
        z-index: 999;
    }

    .nav-menu-wrap.is-open { right: 0; }

    .nav-menu { flex-direction: column; align-items: flex-start; width: 100%; gap: .25rem; }
    .nav-link { width: 100%; }

    .nav-submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-left: 2px solid var(--color-primary);
        background: transparent;
        border-radius: 0;
        padding: 0 0 0 1rem;
        margin-top: .25rem;
        display: none;
    }
    .menu-item-has-children.is-open > .nav-submenu { display: block; }

    .nav-hamburger { display: flex; }
    .nav-actions .btn-nav-cta { display: none; }
    .nav-actions .nav-support { display: none; }

    .how-it-works-steps::before { display: none; }

    .cta-banner-inner { flex-direction: column; text-align: center; }

    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }

    .hero-stats { gap: 1.5rem 2rem; }
}

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

/* ── 22. Print ────────────────────────────────────────────────────────────── */
@media print {
    .site-header, .whatsapp-float, .modal-overlay { display: none; }
    body { background: #fff; color: #000; }
}

/* ── 23. Order Modal extras ──────────────────────────────────────────────── */
.modal-header       { text-align: center; margin-bottom: 1.75rem; }
.modal-icon         { font-size: 2.5rem; margin-bottom: .75rem; }
.modal-label-note   { font-weight: 400; opacity: .55; font-size: .78rem; margin-left: .35rem; }

.modal-plan-summary {
    background: rgba(0,229,255,.06);
    border: 1px solid rgba(0,229,255,.2);
    border-radius: 8px;
    padding: .85rem 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.modal-plan-label { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .55; }
.modal-plan-name  { font-weight: 700; font-size: .95rem; color: var(--color-heading); }
.modal-plan-price { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 800; color: var(--color-primary); }

.modal-error {
    background: rgba(248,113,113,.1);
    border: 1px solid rgba(248,113,113,.3);
    color: #f87171;
    padding: .65rem 1rem;
    border-radius: 8px;
    font-size: .875rem;
    margin-bottom: 1rem;
}

.modal-privacy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    margin-top: .85rem;
    font-size: .75rem;
    opacity: .45;
    text-align: center;
}
.modal-privacy svg { flex-shrink: 0; }

/* Loading state */
.modal-loading      { text-align: center; padding: 2rem 0; }
.modal-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--color-border);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin .8s linear infinite;
    margin: 0 auto 1rem;
}
@keyframes spin { to { transform: rotate(360deg); } }
.modal-loading p { opacity: .65; font-size: .9rem; }

/* ── 24. Checkout page template ──────────────────────────────────────────── */
.checkout-page-wrapper { display: flex; flex-direction: column; min-height: 100svh; }

.checkout-topbar {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding-block: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.checkout-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.checkout-steps {
    display: flex;
    align-items: center;
    gap: .5rem;
    list-style: none;
    font-size: .8rem;
    font-weight: 600;
}

.checkout-step {
    display: flex;
    align-items: center;
    gap: .4rem;
    color: var(--color-text);
    opacity: .4;
}

.checkout-step.is-active { opacity: 1; color: var(--color-primary); }
.checkout-step.is-done   { opacity: .7; }

.step-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    flex-shrink: 0;
}
.checkout-step.is-done .step-dot  { background: var(--color-primary); border-color: var(--color-primary); color: #000; }
.checkout-step.is-active .step-dot{ background: var(--color-primary); border-color: var(--color-primary); color: #000; }

.checkout-trust { display: flex; gap: .75rem; flex-wrap: wrap; }
.checkout-trust-badge {
    display: flex;
    align-items: center;
    gap: .35rem;
    font-size: .75rem;
    font-weight: 600;
    opacity: .7;
}

.checkout-body { flex: 1; padding-block: 3rem; }

.checkout-footer {
    border-top: 1px solid var(--color-border);
    padding-block: 1.25rem;
}
.checkout-footer-text { font-size: .8rem; opacity: .5; text-align: center; }
.checkout-footer-text a { color: inherit; }

/* ── 25. My Account page template ────────────────────────────────────────── */
.my-account-section { padding-top: calc(var(--nav-height, 80px) + 3rem); }
.my-account-heading { margin-bottom: 2.5rem; }
.my-account-heading h1 { margin-bottom: .5rem; }
.my-account-welcome { opacity: .75; }

/* ── 26. Setup Guide page template ──────────────────────────────────────── */
.setup-cred-box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}
.setup-cred-box-header h3 { margin: 0; font-size: 1.05rem; }

.setup-cred-fields { display: flex; flex-direction: column; gap: .65rem; }
.setup-cred-row {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
    padding: .6rem 0;
    border-bottom: 1px solid var(--color-border);
}
.setup-cred-row:last-child { border-bottom: none; }
.setup-cred-label { font-size: .75rem; font-weight: 700; opacity: .55; min-width: 90px; flex-shrink: 0; }
.setup-cred-value { font-size: .8rem; font-family: monospace; color: var(--color-text); flex: 1; word-break: break-all; }

.setup-app-tabs {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    margin: 2rem 0 1.5rem;
}

.setup-tab-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .25rem;
    padding: .85rem 1.25rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: .875rem;
    font-weight: 600;
    color: var(--color-text);
    transition: all .25s;
    min-width: 120px;
    text-align: center;
    font-family: var(--font-body);
}
.setup-tab-btn:hover,
.setup-tab-btn.is-active {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(0,229,255,.05);
}
.setup-tab-platform { font-size: .7rem; font-weight: 400; opacity: .6; }

.setup-tab-panel { display: none; }
.setup-tab-panel.is-active { display: block; }


/* ── 27. Blog & single post ──────────────────────────────────────────────── */
.blog-section { padding-top: calc(var(--nav-height, 80px) + 3rem); }

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.75rem;
    margin-top: 2.5rem;
}

.blog-card { overflow: hidden; display: flex; flex-direction: column; }

.blog-card-thumb { display: block; overflow: hidden; aspect-ratio: 3/2; }
.blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-card-thumb img { transform: scale(1.04); }

.blog-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: .75rem;
    opacity: .55;
    margin-bottom: .65rem;
}
.blog-card-cat {
    background: rgba(0,229,255,.1);
    color: var(--color-primary);
    padding: .2rem .6rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.blog-card-title { font-size: 1.1rem; margin-bottom: .65rem; line-height: 1.35; }
.blog-card-title a { color: var(--color-heading); }
.blog-card-title a:hover { color: var(--color-primary); }

.blog-card-excerpt { font-size: .875rem; opacity: .75; flex: 1; margin-bottom: 1.25rem; line-height: 1.65; }

.blog-pagination { margin-top: 3rem; }
.blog-pagination .nav-links { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; }
.blog-pagination .page-numbers {
    padding: .5rem .9rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    color: var(--color-text);
    font-size: .875rem;
    transition: all .2s;
}
.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #000;
}

.blog-empty { padding: 3rem; text-align: center; }

/* Single post */
.single-post-header { margin-bottom: 2.5rem; }
.single-post-title  { font-size: clamp(1.6rem, 4vw, 2.5rem); line-height: 1.2; margin-block: .75rem 1.25rem; }
.single-post-thumb  { border-radius: var(--border-radius); overflow: hidden; margin-bottom: 2rem; }
.single-post-thumb img { width: 100%; height: auto; display: block; }

.single-post-content.wp-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text);
}
.single-post-content.wp-content h2,
.single-post-content.wp-content h3,
.single-post-content.wp-content h4 {
    color: var(--color-heading);
    margin-block: 1.75rem .75rem;
    font-family: var(--font-heading);
}
.single-post-content.wp-content p    { margin-bottom: 1.25rem; }
.single-post-content.wp-content a    { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }
.single-post-content.wp-content ul,
.single-post-content.wp-content ol   { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.single-post-content.wp-content li   { margin-bottom: .4rem; }
.single-post-content.wp-content blockquote {
    border-left: 3px solid var(--color-primary);
    padding-left: 1.25rem;
    margin-left: 0;
    opacity: .8;
    font-style: italic;
}
.single-post-content.wp-content img  { max-width: 100%; border-radius: 8px; }
.single-post-content.wp-content code {
    background: var(--color-surface);
    padding: .15em .45em;
    border-radius: 4px;
    font-size: .875em;
    font-family: monospace;
    color: var(--color-primary);
}
.single-post-content.wp-content pre  {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 1.25rem;
    overflow-x: auto;
    margin-bottom: 1.5rem;
}
.single-post-content.wp-content pre code { background: none; padding: 0; }

.single-post-footer { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); }
.post-tags { margin-bottom: 1.25rem; }
.post-tags a {
    display: inline-block;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: .3rem .8rem;
    border-radius: 50px;
    font-size: .78rem;
    margin: .25rem .2rem;
    color: var(--color-text);
    transition: all .2s;
}
.post-tags a:hover { border-color: var(--color-primary); color: var(--color-primary); }

.post-nav { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.post-nav-item a { color: var(--color-text); font-size: .875rem; font-weight: 600; }
.post-nav-item a:hover { color: var(--color-primary); }

/* Search form */
.search-form { display: flex; gap: .5rem; }
.search-field {
    flex: 1;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: .7rem 1rem;
    color: var(--color-text);
    font-size: .9rem;
    font-family: var(--font-body);
    outline: none;
}
.search-field:focus { border-color: var(--color-primary); }
.search-submit {
    background: var(--color-primary);
    border: none;
    border-radius: 8px;
    padding: .7rem 1.25rem;
    color: #000;
    font-weight: 700;
    cursor: pointer;
    font-size: .875rem;
    transition: opacity .2s;
}
.search-submit:hover { opacity: .85; }

/* ── 28. General page template & WC page spacing ─────────────────────────── */
.page-section,
.wc-page-section {
    padding-top: calc(var(--nav-height, 80px) + 2rem);
    padding-bottom: 4rem;
    min-height: 60vh;
}

.woocommerce-page .page-content,
.woocommerce .page-content {
    max-width: 100%;
}

.woocommerce-cart .woo-content-wrapper,
.woocommerce-checkout .woo-content-wrapper {
    display: block;
}

/* Fix WC form-row display */
.woocommerce form .form-row {
    padding: .5rem 0;
    margin: 0 0 .5rem;
}

/* Checkout two-column layout */
.woocommerce-checkout #customer_details {
    float: left;
    width: 48%;
}
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
    float: right;
    width: 48%;
}
@media (max-width: 768px) {
    .woocommerce-checkout #customer_details,
    .woocommerce-checkout #order_review_heading,
    .woocommerce-checkout #order_review {
        float: none;
        width: 100%;
    }
}

/* Responsive cart table */
.woocommerce-cart table.cart {
    display: table;
}
@media (max-width: 640px) {
    .woocommerce-cart table.cart,
    .woocommerce-cart table.cart thead {
        display: none;
    }
    .woocommerce-cart table.cart tbody tr {
        display: block;
        border: 1px solid var(--color-border);
        border-radius: 8px;
        margin-bottom: 1rem;
        padding: 1rem;
    }
    .woocommerce-cart table.cart td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border: none;
        padding: .4rem 0;
    }
    .woocommerce-cart table.cart td::before {
        content: attr(data-title);
        font-weight: 700;
        font-size: .8rem;
        opacity: .6;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   29. Featured Picks — Netflix-style poster carousel
   ═══════════════════════════════════════════════════════════════════════════ */

.section-featured-picks {
    overflow: hidden;   /* clip the carousel track */
}

/* ── Row header ─────────────────────────────────────────────────────────── */
.featured-row {
    margin-bottom: 3rem;
}
.featured-row:last-child { margin-bottom: 0; }

.featured-row-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.featured-row-label {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-heading);
    letter-spacing: .04em;
}

.featured-row-label svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

/* ── Prev/Next nav buttons ──────────────────────────────────────────────── */
.featured-row-nav {
    display: flex;
    gap: .4rem;
}

.featured-nav-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s;
    flex-shrink: 0;
}

.featured-nav-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(0,229,255,.08);
}

.featured-nav-btn:disabled {
    opacity: .3;
    cursor: default;
}

/* ── Carousel viewport ──────────────────────────────────────────────────── */
.featured-carousel {
    overflow: hidden;
    position: relative;
    /* fade edges */
    mask-image: linear-gradient(to right, transparent 0%, #000 3%, #000 97%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 3%, #000 97%, transparent 100%);
}

.featured-track {
    display: flex;
    gap: 1rem;
    transition: transform .45s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
    /* auto-scroll pauses on hover */
}

/* ── Individual poster ──────────────────────────────────────────────────── */
.featured-poster {
    flex: 0 0 calc(20% - .8rem);   /* 5 visible */
    min-width: 140px;
    max-width: 220px;
    aspect-ratio: 2/3;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 0;
    transition: transform .3s cubic-bezier(.4, 0, .2, 1),
                box-shadow .3s,
                border-color .3s;
}

.featured-poster:hover,
.featured-poster:focus-visible {
    transform: translateY(-6px) scale(1.03);
    border-color: var(--color-primary);
    box-shadow: 0 20px 40px rgba(0,0,0,.6), 0 0 0 1px var(--color-primary), 0 0 30px rgba(0,229,255,.15);
    z-index: 2;
    outline: none;
}

.featured-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.featured-poster:hover img {
    transform: scale(1.06);
}

/* Fallback when no image */
.featured-poster-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-primary);
    background: linear-gradient(135deg, var(--color-surface), rgba(0,229,255,.05));
    letter-spacing: .05em;
}

/* Overlay on hover: title + year */
.featured-poster-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.25rem .75rem .75rem;
    background: linear-gradient(to top, rgba(0,0,0,.95) 0%, rgba(0,0,0,.5) 60%, transparent 100%);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .25s, transform .25s;
    display: flex;
    flex-direction: column;
    gap: .2rem;
}

.featured-poster:hover .featured-poster-overlay,
.featured-poster:focus-visible .featured-poster-overlay {
    opacity: 1;
    transform: translateY(0);
}

.featured-poster-title {
    font-family: var(--font-heading);
    font-size: .8rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-poster-year {
    font-size: .7rem;
    color: var(--color-primary);
    font-weight: 600;
}

/* ── Modal overlay ──────────────────────────────────────────────────────── */
.featured-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0,0,0,.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}

.featured-modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* ── Modal box ──────────────────────────────────────────────────────────── */
.featured-modal {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    width: 100%;
    max-width: 760px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px) scale(.97);
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
    scrollbar-width: thin;
    scrollbar-color: var(--color-border) transparent;
}

.featured-modal-overlay.is-open .featured-modal {
    transform: translateY(0) scale(1);
}

/* ── Modal close button ──────────────────────────────────────────────────── */
.featured-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: var(--color-bg);
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all .2s;
}

.featured-modal-close:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* ── Modal body layout ───────────────────────────────────────────────────── */
.featured-modal-body {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 0;
}

/* ── Modal poster side ───────────────────────────────────────────────────── */
.featured-modal-poster-wrap {
    position: relative;
    border-radius: 16px 0 0 16px;
    overflow: hidden;
    min-height: 300px;
}

.featured-modal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.featured-modal-poster-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent 50%, var(--color-surface) 100%);
    pointer-events: none;
}

/* ── Modal content side ─────────────────────────────────────────────────── */
.featured-modal-content {
    padding: 2rem 2rem 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: .85rem;
}

.featured-modal-meta-tag {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .25rem .65rem;
    border-radius: 50px;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    opacity: .75;
}

.featured-modal-meta-tag.is-rating {
    border-color: rgba(251,191,36,.4);
    color: #fbbf24;
    opacity: 1;
}

.featured-modal-title {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 3vw, 1.9rem);
    font-weight: 800;
    color: var(--color-heading);
    line-height: 1.15;
    margin-bottom: .85rem;
}

.featured-modal-summary {
    font-size: .925rem;
    line-height: 1.75;
    color: var(--color-text);
    opacity: .85;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .featured-poster {
        flex: 0 0 calc(33.333% - .7rem);  /* 3 visible on tablet */
    }

    .featured-modal-body {
        grid-template-columns: 1fr;
    }

    .featured-modal-poster-wrap {
        border-radius: 16px 16px 0 0;
        max-height: 260px;
    }

    .featured-modal-poster-glow {
        background: linear-gradient(to bottom, transparent 50%, var(--color-surface) 100%);
    }

    .featured-modal-content {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .featured-poster {
        flex: 0 0 calc(50% - .5rem);   /* 2 visible on mobile */
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   30. Hero Slider
   ═══════════════════════════════════════════════════════════════════════════ */

.hero-slider-section {
    position: relative;
    width: 100%;
    height: 100svh;
    min-height: 560px;
    overflow: hidden;
    background: var(--color-bg);
}

/* ── Slide ──────────────────────────────────────────────────────────────── */
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .9s ease, visibility .9s ease;
    z-index: 0;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

/* Leaving slide stays visible briefly so crossfade is smooth */
.hero-slide.is-leaving {
    opacity: 0;
    visibility: visible;
    z-index: 0;
    transition: opacity .9s ease;
}

/* ── Background image with Ken Burns zoom ───────────────────────────────── */
.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 8s ease-out;
    will-change: transform;
}

/* Kick off zoom when slide becomes active */
.hero-slide.is-active .hero-slide-bg {
    transform: scale(1.08);
}

/* Reset zoom on leaving so next activation starts fresh */
.hero-slide:not(.is-active) .hero-slide-bg {
    transform: scale(1);
    transition: none;
}

/* Fallback gradient when no image */
.hero-slide-bg--fallback {
    background: linear-gradient(135deg, #0a0a1a 0%, #0d1a2e 50%, #0a0a1a 100%);
}

/* ── Overlay: bottom-heavy gradient so text is always readable ──────────── */
.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .25) 55%, transparent 100%),
        linear-gradient(to top, rgba(0, 0, 0, .4) 0%, transparent 60%),
        linear-gradient(to bottom, rgba(0, 0, 0, .3) 0%, transparent 30%);
    z-index: 1;
}

/* ── Slide content ──────────────────────────────────────────────────────── */
.hero-slide-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height, 80px);
}

.hero-slide-inner {
    max-width: 560px;
}

/* Staggered entrance animations */
.hero-slide.is-active .hero-slide-meta {
    animation: slideUp .6s .15s both ease-out;
}

.hero-slide.is-active .hero-slide-title {
    animation: slideUp .6s .3s both ease-out;
}

.hero-slide.is-active .hero-slide-desc {
    animation: slideUp .6s .45s both ease-out;
}

.hero-slide.is-active .hero-slide-actions {
    animation: slideUp .6s .6s both ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Meta tags ──────────────────────────────────────────────────────────── */
.hero-slide-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1rem;
}

.hero-slide-tag {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .3rem .75rem;
    border-radius: 4px;
    background: #003d44;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
}

.hero-slide-tag--muted {
    background: #1a1a2e;
    border-color: rgba(255, 255, 255, .3);
    color: rgba(255, 255, 255, .9);
}

.hero-slide-tag--rating {
    background: #2d2200;
    border-color: #fbbf24;
    color: #fbbf24;
}

/* ── Title ──────────────────────────────────────────────────────────────── */
.hero-slide-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.05;
    margin-bottom: 1rem;
    letter-spacing: -.01em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, .5);
}

/* ── Description ────────────────────────────────────────────────────────── */
.hero-slide-desc {
    font-size: clamp(.875rem, 1.5vw, 1.05rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, .8);
    margin-bottom: 1.75rem;
    max-width: 46ch;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .6);
}

/* ── CTA buttons ────────────────────────────────────────────────────────── */
.hero-slide-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ── Arrows ─────────────────────────────────────────────────────────────── */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(0, 0, 0, .4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: background .2s, border-color .2s, transform .2s;
}

.slider-arrow:hover {
    background: rgba(0, 229, 255, .2);
    border-color: var(--color-primary);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow--prev {
    left: 1.5rem;
}

.slider-arrow--next {
    right: 1.5rem;
}

/* ── Dot indicators ─────────────────────────────────────────────────────── */
.slider-dots {
    position: absolute;
    bottom: 2.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: .5rem;
    align-items: center;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .35);
    cursor: pointer;
    padding: 0;
    transition: background .25s, width .25s, border-radius .25s;
}

.slider-dot.is-active {
    width: 28px;
    border-radius: 4px;
    background: var(--color-primary);
    box-shadow: 0 0 10px rgba(0, 229, 255, .5);
}

.slider-dot:hover:not(.is-active) {
    background: rgba(255, 255, 255, .65);
}

/* ── Progress bar ───────────────────────────────────────────────────────── */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, .1);
    z-index: 10;
}

.slider-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--color-primary);
    box-shadow: 0 0 8px rgba(0, 229, 255, .6);
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .hero-slide-overlay {
        background:
            linear-gradient(to bottom, rgba(0, 0, 0, .55) 0%, transparent 25%),
            linear-gradient(to top, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, .4) 60%, transparent 100%);
    }

    .hero-slide-content {
        align-items: flex-end;
        padding-bottom: 5rem;
    }

    .hero-slide-inner {
        max-width: 100%;
    }

    .slider-arrow {
        display: none;
    }

    /* Use swipe on mobile */

    .hero-slide-title {
        font-size: clamp(1.6rem, 7vw, 2.4rem);
    }
}