/* Reset and Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #e50914;
    --primary-hover: #f40612;
    --secondary: #ffb703;
    --dark: #0a0a0a;
    --dark-light: #141414;
    --dark-gray: #1a1a1a;
    --white: #ffffff;
    --gray: #808080;
    --light-gray: #b3b3b3;
    --gradient: linear-gradient(135deg, #e50914 0%, #ff6b35 100%);
    --gradient-gold: linear-gradient(135deg, #ffb703 0%, #ff9500 100%);
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.6);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--white);
    background-color: var(--dark);
    overflow-x: hidden;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.1rem; }

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(229, 9, 20, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(229, 9, 20, 0.6);
}

.btn-outline {
    background: rgba(229, 9, 20, 0.1);
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-block { width: 100%; }

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.header .navbar {
    position: relative;
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon i {
    font-size: 1.2rem;
    color: var(--white);
    margin-left: 3px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--light-gray);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
    padding: 8px;
    transition: var(--transition);
    z-index: 1001;
}

.mobile-menu-btn:hover {
    color: var(--primary);
}

.mobile-menu-btn:active {
    transform: scale(0.95);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.3) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 700px;
    padding: 120px 0;
}

.hero-badge {
    display: inline-block;
    background: var(--gradient);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-content h1 {
    margin-bottom: 25px;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--light-gray);
    margin-bottom: 35px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 50px;
}

.hero-stat {
    text-align: center;
}

.hero-stat .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-stat .label {
    font-size: 0.9rem;
    color: var(--gray);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.hero-scroll i {
    font-size: 1.5rem;
    color: var(--white);
    opacity: 0.5;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-15px); }
    60% { transform: translateX(-50%) translateY(-7px); }
}

/* Section Styles */
section {
    padding: 100px 0;
}

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

.section-tag {
    display: inline-block;
    background: rgba(229, 9, 20, 0.2);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 15px auto 0;
}

/* Sports Section */
.sports {
    background: var(--dark-light);
}

.sports-showcase {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 25px;
    margin-bottom: 50px;
}

.sports-card-large {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    height: 450px;
}

.sports-card-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.sports-card-large:hover img {
    transform: scale(1.05);
}

.sports-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 60%);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    width: fit-content;
    margin-bottom: 15px;
}

.live-badge i {
    font-size: 0.5rem;
    animation: pulse 1.5s infinite;
}

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

.sports-card-content h3 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.sports-card-content p {
    color: var(--light-gray);
}

.sports-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.sports-card {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    height: 210px;
    cursor: pointer;
}

.sports-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.sports-card:hover img {
    transform: scale(1.1);
}

.sports-card .sports-card-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 80%);
    justify-content: flex-end;
    padding: 20px;
}

.sports-card h4 {
    font-size: 1.1rem;
}

/* Sports Leagues Carousel */
.leagues-carousel-container {
    margin-top: 40px;
    overflow: hidden;
    position: relative;
    background: var(--dark-gray);
    border-radius: var(--border-radius-lg);
    padding: 30px 0;
}

.leagues-carousel {
    display: flex;
    gap: 50px;
    animation: scrollLeagues 25s linear infinite;
    width: fit-content;
}

.leagues-carousel:hover {
    animation-play-state: paused;
}

@keyframes scrollLeagues {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.league-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    height: 80px;
    flex-shrink: 0;
    transition: var(--transition);
}

.league-logo img {
    width: 100px;
    height: 60px;
    object-fit: contain;
    filter: grayscale(100%) brightness(2);
    opacity: 0.6;
    transition: var(--transition);
}

.league-logo:hover img {
    filter: none;
    opacity: 1;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .leagues-carousel {
        gap: 30px;
    }

    .league-logo {
        min-width: 100px;
        height: 60px;
    }

    .league-logo img {
        width: 80px;
        height: 50px;
    }
}

/* Movies Section */
.movies {
    background: var(--dark);
}

/* IPTV Description Section */
.iptv-description {
    margin: 40px 0;
}

.description-content {
    background: linear-gradient(135deg, var(--dark-light) 0%, var(--dark-gray) 100%);
    border-radius: var(--border-radius-lg);
    padding: 50px;
    border: 1px solid rgba(229, 9, 20, 0.2);
    box-shadow: var(--shadow);
}

.description-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 2.5rem;
}

.description-content h3 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 2rem;
}

.description-text {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--light-gray);
    max-width: 900px;
    margin: 0 auto 40px;
}

.description-text strong {
    color: var(--primary);
    font-weight: 600;
}

.description-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.feature-item:hover {
    background: rgba(229, 9, 20, 0.1);
    transform: translateX(5px);
}

.feature-item i {
    color: var(--primary);
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-item span {
    color: var(--light-gray);
    font-size: 1rem;
    line-height: 1.6;
}

.description-cta {
    text-align: center;
    margin-top: 40px;
}

.cta-note {
    margin-top: 15px;
    color: var(--gray);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .description-content {
        padding: 30px 20px;
    }

    .description-content h3 {
        font-size: 1.5rem;
    }

    .description-text {
        font-size: 1rem;
    }

    .description-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.featured-movie {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    height: 500px;
    margin-bottom: 50px;
}

.featured-movie img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
    display: flex;
    align-items: center;
    padding: 60px;
}

.featured-content {
    max-width: 500px;
}

.quality-badge {
    display: inline-block;
    background: var(--gradient-gold);
    color: var(--dark);
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.featured-content h3 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.featured-content p {
    color: var(--light-gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.category-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 28px;
    background: var(--dark-gray);
    border: none;
    border-radius: 30px;
    color: var(--light-gray);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--primary);
    color: var(--white);
}

/* Slider Container */
.slider-container {
    position: relative;
    margin: 30px 0;
}

.movies-slider,
.shows-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 10px 0 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) rgba(255, 255, 255, 0.1);
}

.movies-slider::-webkit-scrollbar,
.shows-slider::-webkit-scrollbar {
    height: 8px;
}

.movies-slider::-webkit-scrollbar-track,
.shows-slider::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.movies-slider::-webkit-scrollbar-thumb,
.shows-slider::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.movies-slider::-webkit-scrollbar-thumb:hover,
.shows-slider::-webkit-scrollbar-thumb:hover {
    background: #f40612;
}

/* Slider Navigation Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(229, 9, 20, 0.5);
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn-prev {
    left: -25px;
}

.slider-btn-next {
    right: -25px;
}

.slider-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.slider-btn:disabled:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1);
}

.movie-card,
.show-card {
    flex: 0 0 220px;
    scroll-snap-align: start;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.movie-card:hover,
.show-card:hover {
    transform: scale(1.05);
    z-index: 5;
}

.movie-poster {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    aspect-ratio: 2/3;
    margin-bottom: 15px;
}

.movie-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.movie-card:hover .movie-poster img {
    transform: scale(1.08);
}

.movie-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transition: var(--transition);
}

.movie-actions {
    display: flex;
    gap: 10px;
}

.icon-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.1);
}

.movie-card:hover .movie-overlay {
    opacity: 1;
}

.play-btn {
    width: 70px;
    height: 70px;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform: scale(0.8);
    transition: var(--transition);
}

.movie-card:hover .play-btn {
    transform: scale(1);
}

.play-btn i {
    font-size: 1.5rem;
    color: var(--white);
    margin-left: 5px;
}

.movie-rating {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.8);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.movie-rating i {
    color: #ffc107;
    font-size: 0.75rem;
}

.new-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
}

.movie-info h4 {
    margin-bottom: 5px;
}

.movie-year {
    color: var(--gray);
    font-size: 0.9rem;
}

/* TV Shows Slider - Styles already defined above with .movies-slider */

.show-card {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    aspect-ratio: 16/9;
    flex: 0 0 320px;
}

.show-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.show-card:hover img {
    transform: scale(1.08);
}

.show-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, transparent 100%);
}

.show-badge {
    display: inline-block;
    background: var(--primary);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.show-info h4 {
    margin-bottom: 5px;
}

.show-info p {
    color: var(--gray);
    font-size: 0.85rem;
}

/* Streaming Platforms Section */
.platforms {
    background: var(--dark);
    padding: 80px 0;
    overflow: hidden;
}

.platforms-carousel-container {
    margin-top: 50px;
    overflow: hidden;
    position: relative;
}

.platforms-carousel {
    display: flex;
    gap: 40px;
    animation: scrollPlatforms 30s linear infinite;
    width: fit-content;
}

.platforms-carousel:hover {
    animation-play-state: paused;
}

@keyframes scrollPlatforms {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.platform-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px 35px;
    background: var(--dark-light);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    border: 1px solid transparent;
    min-width: 200px;
    height: 120px;
    flex-shrink: 0;
}

.platform-logo:hover {
    transform: translateY(-5px);
    border-color: rgba(229, 9, 20, 0.3);
    box-shadow: 0 10px 30px rgba(229, 9, 20, 0.2);
}

.platform-logo img {
    width: 150px;
    height: 60px;
    object-fit: contain;
    filter: brightness(0.8) grayscale(0.3);
    transition: var(--transition);
}

.platform-logo:hover img {
    filter: brightness(1) grayscale(0);
}

@media (max-width: 768px) {
    .platforms-carousel {
        gap: 20px;
    }

    .platform-logo {
        padding: 15px 20px;
        min-width: 160px;
        height: 100px;
    }

    .platform-logo img {
        width: 120px;
        height: 50px;
    }
}

/* Features Section */
.features {
    background: var(--dark-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

/* Responsive adjustments for features grid */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-card {
    background: var(--dark-gray);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.feature-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.feature-card h3 {
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--gray);
    line-height: 1.7;
}

.devices-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 25px;
    padding: 50px 20px;
    max-width: 1200px;
    margin: 40px auto 0;
}

/* Horizontal layout on desktop */
@media (min-width: 1024px) {
    .devices-showcase {
        grid-template-columns: repeat(6, 1fr);
        max-width: 1200px;
    }
}

.device-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 30px 20px;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.6) 0%, rgba(10, 10, 10, 0.6) 100%);
    border: 2px solid rgba(229, 9, 20, 0.15);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.device-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.1) 0%, rgba(229, 9, 20, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.device-item:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(229, 9, 20, 0.3);
}

.device-item:hover::before {
    opacity: 1;
}

.device-item i {
    font-size: 3rem;
    color: var(--primary);
    line-height: 1;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.device-item:hover i {
    transform: scale(1.2) rotateY(360deg);
    color: #ff6b6b;
}

.device-item span {
    color: var(--light-gray);
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.device-item:hover span {
    color: var(--white);
}

/* Pricing Section */
.pricing {
    background: var(--dark);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
    justify-content: center;
}

/* Ensure proper alignment for 4-5 plans */
@media (min-width: 1400px) {
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 300px));
    }
}

.pricing-card {
    background: var(--dark-gray);
    border-radius: var(--border-radius-lg);
    padding: 35px 28px;
    position: relative;
    transition: var(--transition);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    border-color: rgba(229, 9, 20, 0.5);
    transform: translateY(-10px);
}

.pricing-card.featured {
    background: linear-gradient(135deg, var(--dark-gray) 0%, rgba(229, 9, 20, 0.1) 100%);
    border-color: var(--primary);
}

.pricing-card.featured:hover {
    transform: translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    padding: 8px 25px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--light-gray);
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-bottom: 10px;
}

.price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
}

.price .amount {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
}

.price .period {
    font-size: 1rem;
    color: var(--gray);
}

.pricing-header p {
    color: var(--gray);
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.pricing-features li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--light-gray);
    font-size: 0.95rem;
}

.pricing-features li.disabled {
    opacity: 0.4;
}

.pricing-features i.fa-check {
    color: #22c55e;
    font-size: 1rem;
}

.pricing-features i.fa-times {
    color: var(--gray);
}

.guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 25px;
    background: var(--dark-gray);
    border-radius: var(--border-radius-lg);
}

.guarantee i {
    font-size: 2rem;
    color: #22c55e;
}

.guarantee p {
    color: var(--light-gray);
}

/* FAQ Section */
.faq {
    background: var(--dark-light);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--dark-gray);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid transparent;
    transition: var(--transition);
}

.faq-item:hover,
.faq-item.active {
    border-color: rgba(229, 9, 20, 0.3);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-question i {
    color: var(--primary);
    transition: var(--transition);
    font-size: 1rem;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 30px 25px;
    color: var(--gray);
    line-height: 1.8;
}

/* CTA Section */
.cta {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.2);
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.3) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: -1;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    margin-bottom: 20px;
}

.cta-content p {
    color: var(--light-gray);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--dark);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.footer-waves {
    position: absolute;
    top: -80px;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 1;
    pointer-events: none;
}

.footer-waves .parallax > use {
    animation: wave-motion 25s cubic-bezier(.55, .5, .45, .5) infinite;
}

.footer-waves .parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}

.footer-waves .parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}

.footer-waves .parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}

.footer-waves .parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes wave-motion {
    0% {
        transform: translate3d(-90px, 0, 0);
    }
    100% {
        transform: translate3d(85px, 0, 0);
    }
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand > p {
    color: var(--gray);
    margin-bottom: 25px;
    max-width: 300px;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--dark-gray);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-gray);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: var(--gray);
}

.payment-methods {
    display: flex;
    gap: 20px;
}

.payment-methods i {
    font-size: 2rem;
    color: var(--gray);
    transition: var(--transition);
}

.payment-methods i:hover {
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .sports-showcase {
        grid-template-columns: 1fr;
    }

    .sports-card-large {
        height: 350px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Slider adjustments for tablets */
    .movie-card {
        flex: 0 0 180px;
    }

    .show-card {
        flex: 0 0 280px;
    }
}

@media (max-width: 768px) {
    .nav-links, .navbar .btn {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding-top: 80px;
        min-height: calc(100vh - 80px);
    }

    .hero-content {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

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

    .sports-card {
        height: 180px;
    }

    .featured-movie {
        height: 400px;
    }

    .featured-overlay {
        padding: 30px;
        align-items: flex-end;
    }

    .featured-content h3 {
        font-size: 1.8rem;
    }

    /* Slider adjustments for mobile */
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .slider-btn-prev {
        left: -5px;
    }

    .slider-btn-next {
        right: -5px;
    }

    .movie-card {
        flex: 0 0 150px;
    }

    .show-card {
        flex: 0 0 250px;
    }

    .movie-poster {
        margin-bottom: 10px;
    }

    .movie-info h4 {
        font-size: 0.9rem;
    }

    .movie-year {
        font-size: 0.8rem;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand > p {
        margin: 0 auto 25px;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 60px 0;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .movies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

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

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

    .category-tabs {
        justify-content: center;
    }

    .devices-showcase {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        padding: 30px 15px;
    }

    .device-item {
        padding: 20px 15px;
    }

    .device-item i {
        font-size: 2.5rem;
    }

    .device-item span {
        font-size: 0.85rem;
    }

    .device-item:hover {
        transform: translateY(-5px) scale(1.02);
    }
}

@media (max-width: 380px) {
    .devices-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 25px 10px;
    }

    .device-item {
        padding: 20px 12px;
    }

    .device-item i {
        font-size: 2rem;
    }

    .device-item span {
        font-size: 0.8rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 1s ease forwards;
}

/* Mobile Navigation */
.nav-links.active {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    padding: 30px;
    gap: 20px;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(229, 9, 20, 0.3);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-links.active a {
    font-size: 1.1rem;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-links.active a:last-child {
    border-bottom: none;
}

/* ==========================================
   Reviews / Testimonials Section
   ========================================== */
.reviews {
    padding: 100px 0;
    background: #0a0a0a;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.review-card {
    background: linear-gradient(145deg, #141414 0%, #1a1a1a 100%);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(229, 9, 20, 0.1);
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: rgba(229, 9, 20, 0.3);
    box-shadow: 0 10px 30px rgba(229, 9, 20, 0.2);
}

.review-stars {
    margin-bottom: 20px;
}

.review-stars i {
    color: #ffd700;
    font-size: 18px;
    margin-right: 5px;
}

.review-stars i.fa-star-o {
    color: #333;
}

.review-text {
    color: #ddd;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 15px;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.review-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #e50914;
}

.review-author h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 5px;
}

.review-author p {
    color: #888;
    font-size: 13px;
}

.reviews-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.reviews-stats .stat {
    text-align: center;
}

.reviews-stats .stat i {
    font-size: 48px;
    color: #e50914;
    margin-bottom: 15px;
}

.reviews-stats .stat h3 {
    font-size: 42px;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 700;
}

.reviews-stats .stat p {
    color: #888;
    font-size: 16px;
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .reviews-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .reviews-stats .stat i {
        font-size: 36px;
    }

    .reviews-stats .stat h3 {
        font-size: 32px;
    }
}
