/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #f59e0b;
    --dark-bg: #0f172a;
    --light-bg: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Old Site Banner */
.old-site-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 15px 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.old-site-btn {
    display: inline-block;
    background: rgba(255, 255, 255, 0.95);
    color: #764ba2;
    padding: 12px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.old-site-btn:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

/* Header */
.header {
    background: var(--light-bg);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.logo h1 {
    font-size: 28px;
    color: var(--text-primary);
    font-weight: bold;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #312e81 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.pexels.com/photos/7991579/pexels-photo-7991579.jpeg?auto=compress&cs=tinysrgb&w=1920');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9) 0%, rgba(49, 46, 129, 0.9) 100%);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Search Box */
.search-box {
    display: flex;
    max-width: 600px;
    margin: 0 auto 50px;
    gap: 10px;
}

.search-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
}

.search-input::placeholder {
    color: var(--text-secondary);
}

.search-btn {
    padding: 15px 35px;
    background: var(--gradient-1);
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    min-width: 150px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stat-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.stat-label {
    display: block;
    font-size: 16px;
    color: var(--text-secondary);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--dark-bg);
}

.section-title {
    text-align: center;
    font-size: 38px;
    margin-bottom: 50px;
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-secondary);
    margin-top: -30px;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

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

/* Trending Section */
.trending {
    padding: 80px 0;
    background: var(--light-bg);
}

/* Featured Movies with Images */
.featured-movies {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.movie-card {
    background: var(--dark-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.movie-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--primary-color);
}

.movie-poster {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.movie-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.movie-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(245, 158, 11, 0.95);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 13px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.movie-info {
    padding: 20px;
}

.movie-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.movie-meta {
    font-size: 14px;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.movie-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Trending List Compact */
.trending-list-compact {
    margin-top: 60px;
}

.subsection-title {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--text-primary);
    text-align: center;
}

.trending-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.trending-item-compact {
    background: var(--dark-bg);
    padding: 15px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.trending-item-compact:hover {
    transform: translateX(5px);
    background: rgba(37, 99, 235, 0.1);
    border-left-color: var(--accent-color);
}

.trending-rank {
    font-size: 24px;
    font-weight: bold;
    color: var(--accent-color);
    min-width: 40px;
}

.trending-name {
    flex: 1;
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 500;
}

.trending-type {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

/* Old Trending List (Backup) */
.trending-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.trending-item {
    background: var(--dark-bg);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.trending-item:hover {
    transform: translateX(5px);
    border-left-color: var(--accent-color);
}

.trending-badge {
    display: inline-block;
    background: var(--gradient-1);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.trending-item h4 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.trending-item p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Genres Section */
.genres {
    padding: 80px 0;
    background: var(--dark-bg);
}

.genres-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.genre-tag {
    display: inline-block;
    padding: 12px 25px;
    background: var(--light-bg);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.genre-tag:hover {
    background: var(--gradient-1);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--light-bg);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text h3 {
    font-size: 28px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.about-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-text ul,
.about-text ol {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-left: 25px;
    margin-bottom: 20px;
}

.about-text li {
    margin-bottom: 10px;
}

.about-text strong {
    color: var(--text-primary);
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: var(--dark-bg);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--light-bg);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-left-color: var(--accent-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.faq-question {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.faq-answer {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: var(--gradient-1);
    text-align: center;
}

.cta h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-btn {
    padding: 18px 45px;
    background: white;
    color: #764ba2;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
    background: var(--light-bg);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 14px;
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    font-size: 24px;
}

.social-links a {
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
}

.footer-keywords {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.footer-keywords p {
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-bottom a {
    color: var(--primary-color);
    text-decoration: none;
    margin: 0 5px;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.disclaimer {
    font-size: 13px;
    opacity: 0.7;
}

.seo-footer {
    font-size: 12px;
    opacity: 0.6;
    margin-top: 10px;
}

.disclaimer {
    font-size: 13px;
    opacity: 0.7;
}

.seo-footer {
    font-size: 12px;
    opacity: 0.6;
    margin-top: 10px;
}

.seo-footer {
    font-size: 12px;
    opacity: 0.6;
    margin-top: 10px;
}

/* Hero Disclaimer */
.hero-disclaimer {
    background: rgba(245, 158, 11, 0.15);
    border: 2px solid var(--accent-color);
    border-radius: 15px;
    padding: 20px;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    backdrop-filter: blur(10px);
}

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

.hero-disclaimer strong {
    color: var(--accent-color);
}

/* Enhanced Footer Disclaimer */
.disclaimer {
    font-size: 13px;
    background: rgba(245, 158, 11, 0.1);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(245, 158, 11, 0.3);
    margin-top: 20px;
}

.disclaimer strong {
    color: var(--accent-color);
}

/* Popular Searches Section */
.popular-searches {
    padding: 80px 0;
    background: var(--light-bg);
}

.search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.search-tag {
    display: inline-block;
    padding: 10px 20px;
    background: var(--dark-bg);
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.search-tag:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

/* Movie Categories Section */
.movie-categories {
    padding: 80px 0;
    background: var(--dark-bg);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.category-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.category-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.category-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 15px;
}

.category-keywords {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.category-keywords li {
    background: rgba(37, 99, 235, 0.2);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

/* Streaming Guide Section */
.streaming-guide {
    padding: 80px 0;
    background: var(--light-bg);
}

.guide-content {
    max-width: 1000px;
    margin: 0 auto;
}

.guide-section {
    background: var(--dark-bg);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    border-left: 4px solid var(--primary-color);
}

.guide-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.guide-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
}

.guide-section ul {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-left: 25px;
    margin-bottom: 15px;
}

.guide-section li {
    margin-bottom: 10px;
}

.guide-section strong {
    color: var(--text-primary);
}

.genre-list-detailed p {
    margin-bottom: 12px;
    padding-left: 15px;
    border-left: 2px solid rgba(37, 99, 235, 0.3);
}

/* SEO Content Section */
.seo-content {
    padding: 80px 0;
    background: var(--dark-bg);
}

.seo-text {
    max-width: 900px;
    margin: 0 auto;
}

.seo-text h3 {
    font-size: 26px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.seo-text p {
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 20px;
    font-size: 16px;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .search-box {
        flex-direction: column;
    }

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

    .stat {
        min-width: 100%;
    }

    .nav {
        display: none;
    }

    .section-title {
        font-size: 28px;
    }

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

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

    .movie-poster {
        height: 300px;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .old-site-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .hero {
        padding: 50px 0;
    }

    .hero-title {
        font-size: 24px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-icon {
        font-size: 32px;
    }

    .movie-poster {
        height: 250px;
    }
}

/* Loading Animation for Images */
img {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
