/* ═══════════════════════════════════════════════════════════════
   movie download tamil dubbed — Design System
   Complete CSS Architecture — Dark Premium Theme
   ═══════════════════════════════════════════════════════════════ */

/* ─── CSS Custom Properties ───────────────────────────────────── */
:root {
    /* Colors */
    --primary: #0C447C;
    --secondary: #185FA5;
    --accent: #EF9F27;
    --accent-hover: #d48a1a;
    --dark: #1a1a2e;
    --mid-dark: #16213e;
    --card: #0f3460;
    --text: #f0f0f0;
    --text-muted: #a0aec0;
    --success: #3B6D11;
    --danger: #A32D2D;
    --border: rgba(255,255,255,0.08);
    --glass: rgba(15,52,96,0.6);

    /* Typography */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --h1: 2.5rem;
    --h2: 1.8rem;
    --h3: 1.3rem;
    --body: 1rem;
    --small: 0.875rem;
    --line-height: 1.75;

    /* Spacing */
    --gap: 1.5rem;
    --section-pad: 5rem 0;
    --container: 1200px;
    --radius: 12px;
    --radius-sm: 8px;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --speed: 0.3s;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: var(--font);
    font-size: var(--body);
    line-height: var(--line-height);
    color: var(--text);
    background: var(--dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--speed) var(--ease); }
a:hover { color: var(--accent-hover); }
ul, ol { list-style: none; }

/* ─── Typography ──────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.25;
    color: var(--text);
    margin-bottom: 1rem;
}
h1 { font-size: var(--h1); letter-spacing: -0.02em; }
h2 { font-size: var(--h2); font-weight: 600; }
h3 { font-size: var(--h3); font-weight: 600; }
p { margin-bottom: 1rem; }
strong { color: var(--text); }

/* ─── Layout ──────────────────────────────────────────────────── */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section { padding: var(--section-pad); }
.section-alt { background: var(--mid-dark); }
.section-dark { background: var(--dark); }
.section-card { background: var(--card); }

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-header h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 0.75rem;
}
.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}
.section-header p {
    color: var(--text-muted);
    max-width: 680px;
    margin: 1rem auto 0;
    font-size: 1.05rem;
}

/* ─── Scroll Progress Bar ─────────────────────────────────────── */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
    z-index: 9999;
    transition: width 0.1s linear;
}

/* ─── Navigation ──────────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26,26,46,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: background var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.site-header.scrolled {
    background: rgba(26,26,46,0.98);
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 68px;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    white-space: nowrap;
}
.site-logo:hover { color: var(--accent); }
.site-logo svg { flex-shrink: 0; }
.logo-text span { color: var(--accent); }

/* Desktop Nav */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.nav-links a {
    color: var(--text-muted);
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-weight: 500;
    transition: all var(--speed) var(--ease);
    position: relative;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
    background: rgba(255,255,255,0.06);
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}
.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--mid-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--speed) var(--ease);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-dropdown-menu a {
    display: block;
    padding: 0.6rem 1rem;
    color: var(--text-muted);
    border-radius: 6px;
}
.nav-dropdown-menu a:hover {
    color: var(--text);
    background: rgba(255,255,255,0.06);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}
.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--speed) var(--ease);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─── Animated Background ─────────────────────────────────────── */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.animated-bg {
    background: linear-gradient(-45deg, #1a1a2e, #16213e, #0f3460, #0C447C);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}
@media (prefers-reduced-motion: reduce) {
    .animated-bg { animation: none; }
}

/* ─── Hero Section ────────────────────────────────────────────── */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 68px;
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--dark));
    z-index: 1;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}
.hero-content {
    max-width: 600px;
}
.hero h1 {
    margin-bottom: 1.25rem;
    font-size: 2.75rem;
    letter-spacing: -0.03em;
    line-height: 1.15;
}
.hero h1 .highlight { color: var(--accent); }
.hero-sub {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}
.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.hero-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.5);
}
.hero-image img {
    width: 100%;
    border-radius: var(--radius);
}
.hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.1);
    z-index: 1;
    pointer-events: none;
}

/* ─── Buttons ─────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--speed) var(--ease);
    text-decoration: none;
    white-space: nowrap;
}
.btn-primary {
    background: var(--accent);
    color: #1a1a2e;
}
.btn-primary:hover {
    background: var(--accent-hover);
    color: #1a1a2e;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239,159,39,0.3);
}
.btn-outline {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
}
.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

/* ─── Platform Quick Links ────────────────────────────────────── */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}
.platform-card {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all var(--speed) var(--ease);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}
.platform-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
    border-color: rgba(255,255,255,0.15);
}
.platform-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}
.platform-card-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}
.platform-card-cta {
    font-size: 0.78rem;
    color: var(--accent);
    font-weight: 500;
}

/* ─── Platform Badge ──────────────────────────────────────────── */
.platform-badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.platform-badges {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

/* ─── Feature Cards ───────────────────────────────────────────── */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.feature-card {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all var(--speed) var(--ease);
    opacity: 0;
    transform: translateY(20px);
}
.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}
.feature-card:hover {
    border-color: var(--accent);
    background: rgba(15,52,96,0.8);
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.25);
}
.feature-card-icon {
    margin-bottom: 1rem;
    width: 56px;
    height: 56px;
    background: rgba(239,159,39,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.feature-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 0;
}

/* ─── Movie Cards ─────────────────────────────────────────────── */
.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.movie-card {
    background: var(--mid-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--speed) var(--ease);
    text-decoration: none;
    display: block;
}
.movie-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.35);
    border-color: rgba(255,255,255,0.12);
}
.movie-card-poster {
    aspect-ratio: 2/3;
    overflow: hidden;
    position: relative;
    background: var(--card);
}
.movie-card-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}
.movie-card:hover .movie-card-poster img {
    transform: scale(1.05);
}
.movie-card-info {
    padding: 1rem 1.25rem;
}
.movie-card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text);
}
.movie-card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-bottom: 0.6rem;
}
.movie-card-genre {
    background: rgba(239,159,39,0.15);
    color: var(--accent);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
}
.movie-card-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
}

/* ─── Best Movies List ────────────────────────────────────────── */
.best-movie-item {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 1.25rem;
    align-items: center;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border);
}
.best-movie-rank {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    text-align: center;
    line-height: 1;
}
.best-movie-info h3 {
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
}
.best-movie-info h3 a {
    color: var(--text);
}
.best-movie-info h3 a:hover {
    color: var(--accent);
}
.best-movie-origin {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}
.best-movie-review {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}
.best-movie-right {
    text-align: right;
}
.best-movie-rating {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
}
.best-movie-rating-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ─── Comparison Table ────────────────────────────────────────── */
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    min-width: 700px;
}
.comparison-table caption {
    text-align: left;
    padding: 1rem 1.25rem;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-muted);
    background: var(--card);
    border-bottom: 1px solid var(--border);
}
.comparison-table thead th {
    background: var(--card);
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    border-bottom: 2px solid var(--border);
}
.comparison-table tbody td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}
.comparison-table tbody tr {
    transition: background var(--speed) var(--ease);
}
.comparison-table tbody tr:hover {
    background: rgba(255,255,255,0.03);
}
.comparison-table .platform-name {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.platform-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

/* ─── Content Sections ────────────────────────────────────────── */
.content-section {
    max-width: 800px;
    margin: 0 auto;
}
.content-section h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}
.content-section p {
    color: var(--text-muted);
    font-size: 1.02rem;
}
.content-section strong {
    color: var(--text);
}
.content-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}
.content-section ul li {
    list-style: disc;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    padding-left: 0.25rem;
}
.content-section a {
    border-bottom: 1px solid var(--accent);
}
.content-section a:hover {
    border-bottom-color: transparent;
}

.callout-box {
    background: rgba(163,45,45,0.12);
    border-left: 4px solid var(--danger);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}
.callout-box p {
    color: var(--text);
    margin-bottom: 0;
}
.callout-box strong { color: #ff8a8a; }

.callout-success {
    background: rgba(59,109,17,0.12);
    border-left-color: var(--success);
}
.callout-success strong { color: #7fcf3f; }

/* ─── Genre Grid ──────────────────────────────────────────────── */
.genre-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.genre-card {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    text-decoration: none;
    transition: all var(--speed) var(--ease);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}
.genre-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}
.genre-card-icon {
    width: 50px;
    height: 50px;
    background: rgba(239,159,39,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}
.genre-card-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
}
.genre-card-count {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ─── Stats Counter ───────────────────────────────────────────── */
.stats-section {
    background: var(--card);
    position: relative;
    overflow: hidden;
}
.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(239,159,39,0.06), transparent 70%);
    pointer-events: none;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}
.stat-item-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1.1;
    margin-bottom: 0.5rem;
}
.stat-item-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ─── Testimonials ────────────────────────────────────────────── */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.testimonial-card {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    transition: all var(--speed) var(--ease);
}
.testimonial-card:hover {
    border-color: rgba(255,255,255,0.12);
    transform: translateY(-2px);
}
.testimonial-stars { margin-bottom: 1rem; }
.testimonial-quote {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 1.25rem;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--card);
    object-fit: cover;
}
.testimonial-name {
    font-weight: 600;
    font-size: 0.9rem;
}
.testimonial-location {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ─── FAQ ──────────────────────────────────────────────────────── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: border-color var(--speed) var(--ease);
}
.faq-item:hover { border-color: rgba(255,255,255,0.12); }
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: var(--glass);
    border: none;
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    font-family: var(--font);
    transition: background var(--speed) var(--ease);
    gap: 1rem;
}
.faq-question:hover { background: rgba(15,52,96,0.8); }
.faq-chevron {
    width: 20px;
    height: 20px;
    transition: transform var(--speed) var(--ease);
    flex-shrink: 0;
    color: var(--accent);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
}
.faq-item.open .faq-answer {
    max-height: 600px;
}
.faq-answer-inner {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}
.faq-answer-inner a {
    border-bottom: 1px solid var(--accent);
}

/* ─── Footer ──────────────────────────────────────────────────── */
.site-footer {
    background: var(--mid-dark);
    border-top: 1px solid var(--border);
    padding: 4rem 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
}
.footer-brand-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 1rem 0;
}
.footer-socials {
    display: flex;
    gap: 0.6rem;
    margin-top: 1rem;
}
.footer-social-link {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all var(--speed) var(--ease);
}
.footer-social-link:hover {
    background: var(--accent);
    color: #1a1a2e;
    border-color: var(--accent);
}
.footer-heading {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text);
    margin-bottom: 1.25rem;
}
.footer-links a {
    display: block;
    color: var(--text-muted);
    font-size: 0.88rem;
    padding: 0.35rem 0;
    transition: color var(--speed) var(--ease);
}
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
    border-top: 1px solid var(--border);
    margin-top: 3rem;
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
}
.footer-bottom a { color: var(--accent); }

/* ─── Breadcrumbs ─────────────────────────────────────────────── */
.breadcrumbs {
    padding: 1rem 0;
}
.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    align-items: center;
}
.breadcrumbs li {
    font-size: 0.82rem;
    color: var(--text-muted);
}
.breadcrumbs a { color: var(--accent); }
.breadcrumb-sep { color: var(--text-muted); opacity: 0.5; }

/* ─── Author Bio ──────────────────────────────────────────────── */
.author-bio {
    border-top: 1px solid var(--border);
    padding-top: 2.5rem;
    margin-top: 3rem;
}
.author-bio-inner {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}
.author-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid var(--accent);
}
.author-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 0.3rem;
}
.author-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.author-bio-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}
.author-connect {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text);
}
.author-social-link {
    font-size: 0.85rem;
    margin-right: 0.5rem;
}

/* ─── Infographic ─────────────────────────────────────────────── */
.steps-infographic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}
.step-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    position: relative;
}
.step-number {
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: #1a1a2e;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.step-item h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.step-item p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 0; }

/* ─── Cookie Consent ──────────────────────────────────────────── */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--mid-dark);
    border-top: 1px solid var(--border);
    padding: 1.25rem;
    z-index: 9998;
    transform: translateY(100%);
    transition: transform var(--speed) var(--ease);
    box-shadow: 0 -10px 30px rgba(0,0,0,0.3);
}
.cookie-consent.show { transform: translateY(0); }
.cookie-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.cookie-text {
    font-size: 0.88rem;
    color: var(--text-muted);
}
.cookie-text a { color: var(--accent); }
.cookie-buttons {
    display: flex;
    gap: 0.6rem;
    flex-shrink: 0;
}
.cookie-btn {
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: var(--font);
    transition: all var(--speed) var(--ease);
}
.cookie-accept { background: var(--accent); color: #1a1a2e; }
.cookie-accept:hover { background: var(--accent-hover); }
.cookie-decline { background: rgba(255,255,255,0.08); color: var(--text-muted); }
.cookie-decline:hover { background: rgba(255,255,255,0.12); }

/* ─── Back to Top ─────────────────────────────────────────────── */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    background: var(--accent);
    color: #1a1a2e;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--speed) var(--ease);
    z-index: 900;
    box-shadow: 0 4px 15px rgba(239,159,39,0.3);
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(239,159,39,0.4);
}

/* ─── Weekly Arrivals Card ────────────────────────────────────── */
.arrival-card {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.25rem;
    align-items: center;
    transition: all var(--speed) var(--ease);
}
.arrival-card:hover {
    border-color: rgba(255,255,255,0.12);
    transform: translateY(-2px);
}
.arrival-date {
    text-align: center;
    background: var(--card);
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.8rem;
    min-width: 60px;
}
.arrival-date-day {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}
.arrival-date-month {
    font-size: 0.68rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}
.arrival-info h3 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}
.arrival-info h3 a { color: var(--text); }
.arrival-info h3 a:hover { color: var(--accent); }
.arrival-meta {
    font-size: 0.82rem;
    color: var(--text-muted);
}
.arrival-comment {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
    display: none;
}

/* ─── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-image { max-width: 500px; margin: 2rem auto 0; }
    .platform-grid { grid-template-columns: repeat(3, 1fr); }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root {
        --h1: 1.8rem;
        --h2: 1.4rem;
        --h3: 1.15rem;
        --section-pad: 3rem 0;
    }
    
    .hamburger { display: flex; }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--mid-dark);
        flex-direction: column;
        padding: 5rem 1.5rem 2rem;
        transition: right var(--speed) var(--ease);
        border-left: 1px solid var(--border);
        box-shadow: -10px 0 30px rgba(0,0,0,0.4);
        gap: 0.25rem;
        align-items: stretch;
    }
    .nav-links.open { right: 0; }
    .nav-links a { padding: 0.75rem 1rem; }
    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all var(--speed) var(--ease);
    }
    .nav-overlay.show { opacity: 1; visibility: visible; }
    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0 0 0 1rem;
        background: transparent;
    }
    
    .hero { min-height: auto; padding-top: 88px; padding-bottom: 2rem; }
    .hero h1 { font-size: 1.8rem; }
    .hero-ctas { flex-direction: column; }
    .hero-ctas .btn { width: 100%; justify-content: center; }
    
    .platform-grid { grid-template-columns: repeat(3, 1fr); }
    .feature-grid { grid-template-columns: 1fr; }
    .genre-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .steps-infographic { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    
    .best-movie-item {
        grid-template-columns: 40px 1fr;
        gap: 1rem;
    }
    .best-movie-right {
        grid-column: 2;
        text-align: left;
    }
    
    .author-bio-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .author-links { justify-content: center; }
    
    .cookie-inner { flex-direction: column; text-align: center; }
    
    .arrival-card {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .arrival-date {
        display: flex;
        gap: 0.4rem;
        align-items: baseline;
        justify-content: flex-start;
    }
    .arrival-comment { display: block; }
    
    .stat-item-number { font-size: 2rem; }
}

@media (max-width: 375px) {
    .container { padding: 0 1rem; }
    .platform-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    .genre-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 1.55rem; }
}

/* ─── Trending Movies Grid (TMDB) ─────────────────────────────── */
.trending-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.trending-card {
    background: var(--mid-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--speed) var(--ease);
    text-decoration: none;
    display: block;
    position: relative;
}
.trending-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: var(--accent);
}
.trending-card-poster {
    aspect-ratio: 2/3;
    overflow: hidden;
    position: relative;
    background: var(--card);
}
.trending-card-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}
.trending-card:hover .trending-card-poster img {
    transform: scale(1.08);
}
.trending-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem 1rem 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    z-index: 2;
}
.trending-card-rank {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    width: 30px;
    height: 30px;
    background: var(--accent);
    color: #1a1a2e;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 3;
}
.trending-card-rating {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(4px);
    color: var(--accent);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    z-index: 3;
}
.trending-card-rating svg {
    width: 14px;
    height: 14px;
}
.trending-card-info {
    padding: 1rem;
}
.trending-card-title {
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.trending-card-meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}
.trending-card-lang {
    background: rgba(255,255,255,0.08);
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.trending-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(90deg, var(--accent), #ff6b35);
    color: #1a1a2e;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 1.5rem;
    display: inline-flex;
}
.trending-label svg { width: 16px; height: 16px; }

/* ─── Trailer Embed ───────────────────────────────────────────── */
.trailer-embed {
    margin: 2rem 0;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}
.trailer-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}
.trailer-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ─── Movie Detail Hero ──────────────────────────────────────── */
.movie-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    padding: 4rem 0 3rem;
    margin-top: 68px;
}
.movie-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.movie-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}
.movie-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--dark) 0%, transparent 50%, rgba(26,26,46,0.7) 100%);
}
.movie-hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2.5rem;
    align-items: end;
}
.movie-hero-poster {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 2px solid rgba(255,255,255,0.1);
}
.movie-hero-poster img {
    width: 100%;
    border-radius: var(--radius);
}
.movie-hero-info h1 {
    margin-bottom: 0.75rem;
}
.movie-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 1rem;
}
.movie-meta-tag {
    background: rgba(255,255,255,0.08);
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.movie-rating-large {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}
.movie-rating-large svg { width: 24px; height: 24px; fill: var(--accent); }

/* ─── Watch Buttons ───────────────────────────────────────────── */
.watch-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0;
}
.watch-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.3rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--speed) var(--ease);
    color: white;
}
.watch-btn-available {
    background: var(--success);
}
.watch-btn-available:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59,109,17,0.3);
    color: white;
}
.watch-btn-unavailable {
    background: rgba(163,45,45,0.3);
    color: var(--text-muted);
    cursor: default;
}

/* ─── Cast Grid ───────────────────────────────────────────────── */
.cast-grid {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
}
.cast-card {
    flex-shrink: 0;
    text-align: center;
    width: 100px;
}
.cast-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 0.5rem;
    background: var(--card);
    border: 2px solid var(--border);
}
.cast-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.15rem;
}
.cast-character {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* ─── Responsive: Trending & Movie Detail ─────────────────────── */
@media (max-width: 1024px) {
    .trending-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .trending-grid { grid-template-columns: repeat(2, 1fr); }
    .movie-hero { min-height: auto; }
    .movie-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .movie-hero-poster {
        max-width: 200px;
        margin: 0 auto;
    }
    .movie-hero-meta { justify-content: center; }
    .watch-buttons { justify-content: center; }
}
@media (max-width: 375px) {
    .trending-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
}

/* ─── Animations ──────────────────────────────────────────────── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes countUp {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .feature-card { opacity: 1; transform: none; }
}
