/* =============================================
   HM PLAY - REBORN DESIGN
   Ultra-Premium & High Conversion
   ============================================= */

:root {
    /* Palette - Neon Cyberpunk / Premium Streaming */
    --primary: #00f2fe;
    --primary-dark: #0099ff;
    --secondary: #4facfe;
    --accent: #ff0055;
    --success: #00ff88;

    /* Backgrounds */
    --bg-main: #050507;
    --bg-secondary: #0a0a12;
    --bg-card: rgba(20, 20, 35, 0.6);
    --bg-glass: rgba(255, 255, 255, 0.03);

    /* Text */
    --text-white: #ffffff;
    --text-gray: #b0b0c0;
    --text-dark: #050507;

    /* Typography */
    --font-main: 'Inter', sans-serif;

    /* Effects */
    --glow-primary: 0 0 20px rgba(0, 242, 254, 0.5);
    --glow-accent: 0 0 20px rgba(255, 0, 85, 0.5);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --glass-blur: blur(20px);

    /* Spacing */
    --container-width: 1400px;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-white);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* =============================================
   UTILITIES
   ============================================= */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.gradient-text {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
}

.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--text-dark);
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.3);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 242, 254, 0.5);
}

.btn-accent {
    background: linear-gradient(135deg, #ff0055, #ff5500);
    color: white;
    box-shadow: 0 10px 30px rgba(255, 0, 85, 0.3);
    border: none;
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(255, 0, 85, 0.5);
}

/* =============================================
   HEADER & NAVBAR
   ============================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: 0.4s ease;
}

.navbar.scrolled {
    background: rgba(5, 5, 7, 0.9);
    backdrop-filter: blur(15px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 30px;
}

/* Global Override to kill blue links */
a,
a:hover,
a:focus,
a:active,
a:visited {
    text-decoration: none !important;
    outline: none !important;
}

.nav-links a,
.nav-links a:visited {
    color: var(--text-gray) !important;
    text-decoration: none !important;
    font-weight: 500;
    transition: 0.3s;
    font-size: 0.95rem;
    outline: none !important;
    border: none !important;
    background: transparent !important;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary) !important;
    text-decoration: none !important;
    border-bottom: none !important;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}

/* =============================================
   HERO SECTION
   ============================================= */
/* =============================================
   HERO SECTION (ULTRA PREMIUM)
   ============================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: var(--header-height);
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(0, 242, 254, 0.05) 0%, transparent 70%);
}

.hero-bg-anim {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background:
        radial-gradient(circle at 10% 20%, rgba(0, 242, 254, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 0, 85, 0.08) 0%, transparent 40%);
    animation: floatingGlow 15s infinite alternate ease-in-out;
}

@keyframes floatingGlow {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1) translate(20px, -20px);
        opacity: 0.8;
    }

    100% {
        transform: scale(1) translate(-20px, 20px);
        opacity: 0.5;
    }
}

.hero-content {
    text-align: center;
    max-width: 1000px;
    z-index: 2;
    padding: 60px 20px;
}

.hero-badge {
    background: rgba(0, 242, 254, 0.1);
    color: var(--primary);
    border: 1px solid rgba(0, 242, 254, 0.3);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: inline-block;
    margin-bottom: 35px;
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.15);
    animation: badgePulse 3s infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(0, 242, 254, 0.1);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 40px rgba(0, 242, 254, 0.3);
    }
}

.hero h1 {
    font-size: 5rem;
    font-weight: 950;
    line-height: 1;
    margin-bottom: 30px;
    letter-spacing: -3px;
    text-transform: uppercase;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero p {
    font-size: 1.4rem;
    color: var(--text-gray);
    max-width: 750px;
    margin: 0 auto 50px auto;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.stat-item {
    position: relative;
    padding: 0 10px;
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    display: block;
    line-height: 1;
    margin-bottom: 5px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-actions {
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

/* =============================================
   FEATURES GRID
   ============================================= */
.features-section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 60px;
    font-size: 1.1rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 40px;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.01) 100%);
    border-color: rgba(0, 242, 254, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 25px;
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: white;
}

.feature-card p {
    color: var(--text-gray);
}

/* =============================================
   CATALOGO SLIDER (TMDB)
   ============================================= */
.catalog-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.slider-wrapper {
    position: relative;
    padding: 20px 0;
    margin-bottom: 50px;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 40px;
    /* Align with container padding approx */
}

.slider-header h3 {
    font-size: 1.8rem;
    color: white;
    border-left: 4px solid var(--primary);
    padding-left: 15px;
}

.films-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 40px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.films-slider::-webkit-scrollbar {
    display: none;
}

.movie-poster {
    flex: 0 0 160px;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.4s ease;
    cursor: pointer;
    position: relative;
    aspect-ratio: 2/3;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.movie-poster:hover {
    transform: scale(1.1) translateY(-10px);
    z-index: 10;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.5);
}

.movie-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =============================================
   PLANS SECTION
   ============================================= */
.plans-section {
    padding: 100px 0;
}

.plans-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.plan-card {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    padding: 50px 40px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    text-align: center;
    position: relative;
    transition: 0.3s;
}

.plan-card.highlight {
    background: linear-gradient(145deg, rgba(20, 20, 40, 0.9), rgba(10, 10, 25, 0.95));
    border: 1px solid var(--primary);
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 0 40px rgba(0, 242, 254, 0.15);
}

.best-value-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--text-dark);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.plan-name {
    font-size: 1.5rem;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.plan-price {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 10px;
    line-height: 1;
}

.plan-price small {
    font-size: 1rem;
    color: var(--text-gray);
    font-weight: 400;
}

.plan-features {
    list-style: none;
    text-align: left;
    margin: 30px 0 40px;
}

.plan-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-features li::before {
    content: '✓';
    color: var(--success);
    font-weight: bold;
}

/* =============================================
   FLOATING WHATSAPP WIDGET
   ============================================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-icon-box {
    width: 65px;
    height: 65px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    position: relative;
    animation: floatPulse 2s infinite;
}

.whatsapp-icon-box svg {
    width: 35px;
    height: 35px;
    fill: white;
}

.whatsapp-tooltip {
    position: absolute;
    right: 80px;
    background: white;
    color: #075e54;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(20px);
    animation: tooltipSlide 0.5s ease 1s forwards;
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 8px solid white;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

@keyframes floatPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes tooltipSlide {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* =============================================
   HERO VIDEO LAYOUT
   ============================================= */
.hero-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
}

.hero-content {
    flex: 1;
    text-align: left;
    max-width: 600px;
    padding: 0;
}

.hero-video-wrapper {
    flex: 1;
    max-width: 600px;
    width: 100%;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 242, 254, 0.2);
    border: 1px solid var(--primary);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Adjust stats alignment for left-aligned layout */
.hero-stats,
.hero-actions {
    justify-content: flex-start;
}

/* =============================================
   ENHANCED GALLERY
   ============================================= */
/* =============================================
   ENHANCED GALLERY
   ============================================= */
.films-slider {
    scrollbar-color: var(--primary) transparent;
    padding-bottom: 40px;
    display: flex;
    gap: 20px;
    overflow-x: hidden;
    /* Hide scrollbar for auto-scroll */
    width: 100%;
}

/* Auto-Scroll Logic will be handled by duplicating content in JS and using CSS animation on a wrapper, 
   but since we are using the existing structure, we will use a CSS-only approach by animating the inner track 
   if we can, but JS duplication is safer. 
   
   Actually, for a true infinite marquee effect like the sports one, we need the container to move.
   Let's prepare the CSS for a 'marquee' class we will toggle in JS.
*/

.films-marquee {
    display: flex;
    gap: 20px;
    animation: films-scroll 60s linear infinite;
    width: max-content;
    /* Ensure it stretches */
}

.films-marquee:hover {
    animation-play-state: paused;
}

@keyframes films-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.movie-poster {
    /* Base styles already in existing CSS, adding enhancements */
    border: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.movie-poster:hover {
    transform: scale(1.08) translateY(-10px) !important;
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.4) !important;
}

.movie-poster img {
    filter: brightness(0.85);
    transition: 0.4s;
}

.movie-poster:hover img {
    filter: brightness(1.1);
}

/* Adult Section Blur */
.adult-blur {
    filter: blur(8px) grayscale(100%);
    transition: 0.5s;
}

.movie-poster:hover .adult-blur {
    filter: blur(0) grayscale(0);
}

/* =============================================
   FREE TRIAL SECTION (NEW)
   ============================================= */
.free-trial-section {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(to bottom, var(--bg-main), var(--bg-secondary));
}

.trial-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 80px;
}

.trial-card {
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.trial-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.1);
}

.trial-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary);
    background: rgba(0, 242, 254, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.trial-card h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
    color: white;
}

.apps-title {
    font-size: 1.8rem;
    margin-bottom: 40px;
    color: white;
}

.apps-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.app-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 30px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    color: var(--text-gray);
}

.app-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: scale(1.05);
    border-color: var(--secondary);
}

.apps-footer {
    margin-top: 30px;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.pulse-btn {
    animation: pulseBtn 2s infinite;
}

@keyframes pulseBtn {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0, 242, 254, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 242, 254, 0);
    }
}

/* =============================================
   AGGRESSIVE MARKETING STYLES
   ============================================= */

/* Glitch Title Effect */
.glitch-text {
    position: relative;
    color: white;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-main);
}

.glitch-text::before {
    left: 2px;
    text-shadow: -1px 0 #ff0055;
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

.glitch-text::after {
    left: -2px;
    text-shadow: -1px 0 #00f2fe;
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(10px, 9999px, 30px, 0);
    }

    20% {
        clip: rect(60px, 9999px, 80px, 0);
    }

    40% {
        clip: rect(20px, 9999px, 50px, 0);
    }

    60% {
        clip: rect(90px, 9999px, 100px, 0);
    }

    80% {
        clip: rect(30px, 9999px, 50px, 0);
    }

    100% {
        clip: rect(70px, 9999px, 90px, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip: rect(40px, 9999px, 60px, 0);
    }

    20% {
        clip: rect(10px, 9999px, 30px, 0);
    }

    40% {
        clip: rect(80px, 9999px, 100px, 0);
    }

    60% {
        clip: rect(30px, 9999px, 50px, 0);
    }

    80% {
        clip: rect(60px, 9999px, 80px, 0);
    }

    100% {
        clip: rect(10px, 9999px, 130px, 0);
    }
}

/* Neon Borders for Trial Cards */
.trial-card {
    border: 1px solid rgba(0, 242, 254, 0.1);
    background: linear-gradient(145deg, rgba(10, 10, 20, 0.8), rgba(0, 0, 0, 0.9));
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.trial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(45deg, var(--primary), transparent, var(--accent));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    /* Standard property */
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
    opacity: 0.5;
    transition: 0.3s;
}

.trial-card:hover::before {
    opacity: 1;
}

/* Marquee for Sports */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-content {
    display: inline-flex;
    animation: marquee-scroll 30s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* High Contrast Plan Badge */
.plan-card.highlight .best-value-badge {
    background: #ff0055;
    box-shadow: 0 0 20px #ff0055;
    animation: pulseBadge 1.5s infinite;
}

@keyframes pulseBadge {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 85, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 0, 85, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 85, 0);
    }
}

/* =============================================
   ULTRA-PREMIUM HEADER & NAVIGATION
   ============================================= */
.navbar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    background: rgba(5, 5, 7, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: -1px;
    transition: 0.3s;
}

.logo:hover {
    color: var(--primary);
    text-shadow: 0 0 20px rgba(0, 242, 254, 0.5);
}

.mobile-menu-btn {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: 0.3s;
    display: none;
    /* Hidden by default, shown in media query */
}

.mobile-nav {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(5, 5, 7, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.active {
    top: 0;
}

.mobile-nav a {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
}

.mobile-nav a:hover {
    color: var(--primary);
    transform: scale(1.1);
}

@media (max-width: 992px) {
    .mobile-menu-btn {
        display: block;
    }
}

/* =============================================
   MOBILE & RESPONSIVE REPAIR
   ============================================= */

@media (max-width: 992px) {
    .hero {
        padding-top: 100px;
        height: auto;
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero-grid {
        flex-direction: column;
        gap: 40px;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        padding: 0 15px;
    }

    .hero-video-wrapper {
        max-width: 100%;
        width: 100%;
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 2.5rem;
        /* Smaller font for tablet/mobile */
        line-height: 1.2;
    }

    .hero-stats,
    .hero-actions {
        justify-content: center;
    }

    .logo {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {

    /* Global Container Fix */
    .container {
        padding: 0 20px;
        width: 100%;
    }

    /* Hero Fixes */
    .hero {
        padding-top: 90px;
    }

    .hero h1 {
        font-size: 2rem;
        /* Mobile Title */
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 15px;
    }

    .stat-item {
        flex: 1 1 30%;
        /* 3 per row or wrap */
        min-width: 80px;
    }

    .stat-num {
        font-size: 1.5rem;
    }

    /* Video on Mobile */
    .video-container {
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 242, 254, 0.15);
    }

    /* Grid Stacking for Features & Trial */
    .grid-3,
    .trial-features-grid,
    .plans-container {
        grid-template-columns: 1fr;
        /* Force single column */
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .plan-card,
    .feature-card,
    .trial-card {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    /* Marquee Fix */
    .marquee-container {
        mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
        -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
        mask: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
        /* Standard property */
    }

    /* Font Adjustments */
    .section-title {
        font-size: 2rem;
    }

    /* Floating Button Mobile */
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-icon-box {
        width: 55px;
        height: 55px;
    }

    .whatsapp-tooltip {
        display: none;
        /* Hide tooltip on mobile to prevent overflow */
    }

    /* Disable some heavy animations on mobile for performance/layout stability */
    .glitch-text::before,
    .glitch-text::after {
        display: none;
        /* Disable glitch clones on mobile to clean up text */
    }
}

/* =============================================
   YOUTUBE SECTION
   ============================================= */
.youtube-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(255, 0, 0, 0.05) 0%, transparent 60%);
}

.youtube-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
    gap: 40px;
    border: 1px solid rgba(255, 0, 0, 0.2);
}

.youtube-content {
    flex: 1;
    max-width: 500px;
}

.youtube-content h3 {
    font-size: 2rem;
    color: white;
    margin-bottom: 15px;
}

.youtube-content p {
    color: var(--text-gray);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.youtube-video {
    flex: 1;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(255, 0, 0, 0.2);
    border: 1px solid rgba(255, 0, 0, 0.3);
}

/* =============================================
   BLOG SECTION (REVAMPED)
   ============================================= */
.blog-section {
    padding: 100px 0;
    background: linear-gradient(to top, var(--bg-main), var(--bg-secondary));
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    padding: 30px;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.15);
}

.blog-tag {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(0, 242, 254, 0.15);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.blog-card h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-card p {
    color: var(--text-gray);
    margin-bottom: 25px;
    font-size: 1rem;
    flex-grow: 1;
}

.read-more {
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    color: var(--primary);
    gap: 10px;
}

.pulse-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 85, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 0, 85, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 85, 0);
    }
}

/* Responsive Overrides for New Sections */
@media (max-width: 768px) {
    .youtube-container {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .youtube-content {
        margin-bottom: 30px;
        max-width: 100%;
    }

    .youtube-video {
        width: 100%;
    }

    .blog-banner {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .blog-text {
        margin-bottom: 30px;
    }

    .blog-text h2 {
        text-align: center !important;
    }

    .blog-action {
        width: 100%;
    }

    .blog-action .btn {
        width: 100%;
    }
}

/* =============================================
   STREAMING BRANDS GRID (NEW HEADER)
   ============================================= */
.streaming-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
    /* Center them like the image implies generally, or left if layout requires */
}

@media (min-width: 992px) {
    .streaming-grid {
        justify-content: flex-start;
        /* Left align on desktop to match hero text alignment */
    }
}

.stream-chip {
    padding: 8px 16px;
    border-radius: 8px;
    /* Slightly rounded corners */
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    transition: 0.3s;
    cursor: default;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.stream-chip:hover {
    transform: translateY(-2px);
    filter: brightness(1.2);
}

/* Brand Colors */
.stream-chip.hbo {
    border-color: #9900ff;
    color: #dcb3ff;
    text-shadow: 0 0 10px rgba(153, 0, 255, 0.5);
}

.stream-chip.netflix {
    border-color: #ff0a16;
    color: #ffcccc;
    text-shadow: 0 0 10px rgba(255, 10, 22, 0.5);
}

.stream-chip.disney {
    border-color: #113ccf;
    color: #ccdcfc;
    text-shadow: 0 0 10px rgba(17, 60, 207, 0.5);
}

.stream-chip.prime {
    border-color: #00a8e1;
    color: #cceeff;
    text-shadow: 0 0 10px rgba(0, 168, 225, 0.5);
}

.stream-chip.premiere {
    border-color: #4da81b;
    color: #ccf3ba;
    text-shadow: 0 0 10px rgba(77, 168, 27, 0.5);
}

.stream-chip.ufc {
    border-color: #d20a0a;
    color: #ffcccc;
    text-shadow: 0 0 10px rgba(210, 10, 10, 0.5);
}

.stream-chip.telecine {
    border-color: #ff0044;
    color: #ffccdd;
    text-shadow: 0 0 10px rgba(255, 0, 68, 0.5);
}

.stream-chip.globoplay {
    border-color: #ff6600;
    color: #ffeebb;
    text-shadow: 0 0 10px rgba(255, 102, 0, 0.5);
}

/* Globoplay Special - Center it or make it distinct? 
   In image it might be on a second row or just flowed. 
   We will let flex handle it but ensure it looks good. */


/* =============================================
   HERO FEATURES PILL (BOTTOM STATS)
   ============================================= */
.hero-features-pill {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    /* Center content inside the pill */
    gap: 20px;
    padding: 15px 30px;
    border-radius: 50px;
    background: rgba(10, 10, 20, 0.8);
    /* Darker background */
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 30px;
    width: fit-content;
}

@media (max-width: 768px) {
    .hero-features-pill {
        width: 100%;
        border-radius: 20px;
        padding: 20px;
        flex-direction: column;
        /* Stack on mobile if too tight, or grid */
        gap: 15px;
        align-items: flex-start;
    }
}

.pill-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.pill-icon {
    font-size: 1.2rem;
    color: var(--primary);
    /* Use theme primary color or specific colors */
}

/* Responsive adjustments for the new grid */
@media (max-width: 500px) {
    .streaming-grid {
        justify-content: center;
        gap: 8px;
    }

    .stream-chip {
        font-size: 0.65rem;
        padding: 6px 12px;
    }
}