:root {
  --primary-color: #ffcc00;
  --secondary-color: #818898;
  --grading-color: linear-gradient(135deg, #ffd24d, #ff9500, #ffd966);
  --dark-bg: #0a0a0a;
  --card-bg: #141414;
  --text-white: #ffffff;
  --text-gray-300: #d1d5db; /* Tailwind gray-300 */
  --text-gray-400: #9ca3af; /* Tailwind gray-400 */
  --text-gray-500: #6b7280; /* Tailwind gray-500 */
  --font-sans: 'Inter', sans-serif;
  --font-sans-secondary: 'Poppins', sans-serif;
  --border-radius-custom: 8px;
  --transition-speed: 0.3s;
}

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

body {
  font-family: var(--font-sans-secondary);
  background-color: var(--dark-bg);
  color: var(--text-white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-speed);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1280px; /* max-w-7xl */
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center { text-align: center; }
.uppercase { text-transform: uppercase; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.text-primary { color: var(--primary-color); }
.text-gray { color: var(--text-gray-400); }

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
  padding: 1rem 1.5rem;
  transition: all var(--transition-speed);
}

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

.nav-logo h1 {
  color: var(--primary-color);
  font-size: 1.875rem; /* text-3xl */
  font-weight: 800;
  letter-spacing: -0.05em;
}

.nav-links {
  display: none; /* Hidden on mobile */
  gap: 1.5rem;
  font-size: 0.875rem; /* text-sm */
  font-weight: 500;
  color: var(--text-gray-300);
}

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

.nav-actions {
  display: none; /* Hidden on mobile */
  align-items: center;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-custom);
  font-weight: 700;
  font-size: 0.875rem; /* text-sm */
  transition: background-color var(--transition-speed), transform var(--transition-speed);
  cursor: pointer;
  border: none;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: black;
}

.btn-primary:hover {
  background-color: #e6b800; /* Darker yellow */
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-glass {
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  color: white;
}

.btn-glass:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.btn-icon {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 9999px;
  padding: 0.75rem;
  color: white;
}

.btn-icon:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  z-index: 50;
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(24px);
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform var(--transition-speed);
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu a {
  font-size: 1.5rem; /* text-2xl */
  font-weight: 700;
}

.mobile-menu.active {
  transform: translateX(0);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 6rem;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
}

.hero-overlay-top {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, black, rgba(0,0,0,1.5) 15%, transparent); /* Customized gradient */
}

.hero-overlay-bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent, transparent);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 56rem; /* max-w-4xl */
  padding: 0 1rem;
}

.hero-subtitle {
  color: var(--secondary-color);
  letter-spacing: 0.3em;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5ch;
  flex-wrap: wrap;
}

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

.hero-title {
  font-size: 2.25rem; /* text-4xl */
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.hero-desc {
  font-size: 1.125rem; /* text-lg */
  color: var(--text-gray-300);
  margin-bottom: 2.5rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.625;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 4rem;
}

/* Movie Sliders */
.main-content {
  position: relative;
  z-index: 10;
  padding: 0 1.5rem;
  margin-top: 3rem;
  padding-bottom: 5rem;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.025em;
}

.carousel-container {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

/* Hide scrollbar */
.carousel-container::-webkit-scrollbar {
  display: none;
}
.carousel-container {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.movie-card {
  width: 160px;
  min-width: 160px;
  max-width: 160px;
  scroll-snap-align: start;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  flex-grow: 0;
}

.movie-card:hover {
  z-index: 10;
  transform: translateY(-6px);
}

/* ── Rank Number: bottom-right corner INSIDE the card ── */
.movie-rank {
  position: absolute;
  right: 0.5rem;
  bottom: 0.5rem;
  left: auto;
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  z-index: 5;
  user-select: none;
  pointer-events: none;
  /* Always visible: soft white */
  color: rgba(255, 255, 255, 0.22);
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  transition: color 0.25s ease, text-shadow 0.25s ease, transform 0.25s ease;
}

/* Hover: pops gold */
.movie-card:hover .movie-rank {
  color: rgba(255, 204, 0, 0.9);
  text-shadow: 0 0 16px rgba(255, 204, 0, 0.5);
  transform: scale(1.1);
}

/* ── Card Image Container ── */
.card-image-container {
  position: relative;
  aspect-ratio: 2/3;
  width: 100%;
  overflow: hidden;
  border-radius: var(--border-radius-custom);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.55);
  background: #111;
  transition: box-shadow 0.3s ease;
}

.movie-card:hover .card-image-container {
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.8);
}

.card-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.movie-card:hover .card-image-container img {
  transform: scale(1.06);
}

/* ── Card Overlay (text info at bottom) ── */
.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
  opacity: 1;
  transition: opacity var(--transition-speed);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
}



.card-title {
  font-weight: 700;
  font-size: 1.25rem;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
  line-height: 1;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-gray-300);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.rating {
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.card-desc {
  color: var(--text-gray-400);
  font-size: 0.75rem;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

.card-actions {
  display: flex;
  gap: 0.5rem;
}

/* Watch Everywhere Section */
.watch-everywhere {
  padding: 6rem 1.5rem;
  text-align: center;
}

.section-headline {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: -0.025em;
}

.device-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  opacity: 0.6;
  margin-top: 3rem;
}

.device-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.device-icon {
  width: 3rem;
  height: 3rem;
}

.device-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* Testimonials */
.testimonials {
  padding: 6rem 1.5rem;
  background-color: #0a0a0a;
}

.testimonials-grid {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.testimonial-card {
  background-color: rgba(20, 20, 20, 0.5);
  padding: 2.5rem;
  border-radius: var(--border-radius-custom);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  display: flex;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.stars svg {
  width: 1.25rem;
  height: 1.25rem;
}

.quote {
  font-size: 1.125rem;
  color: #e5e7eb;
  font-style: italic;
  margin-bottom: 2rem;
}

.author-name {
  font-weight: 700;
  color: white;
}

.author-role {
  font-size: 0.875rem;
  color: var(--text-gray-500);
}

/* CTA Banner */
.cta-section {
  padding: 5rem 1.5rem;
}

.cta-card {
  max-width: 72rem;
  margin: 0 auto;
  border-radius: 1.5rem;
  overflow: hidden;
  position: relative;
  padding: 1.5rem;
  text-align: center;
}

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

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 2s ease;
}

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

.cta-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

.cta-content {
  position: relative;
  z-index: 10;
  padding: 3rem 0;
}

.cta-title {
  font-size: 1.875rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  font-style: italic;
  letter-spacing: -0.05em;
}

/* Footer */
.footer {
  background-color: black;
  padding: 4rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom {
  max-width: 80rem;
  margin: 0 auto;
  padding-top: 3rem;
  text-align: center;
}

.copyright {
  font-size: 0.75rem;
  color: #4b5563;
  text-transform: uppercase;
  padding-top: 2rem;
  letter-spacing: 0.1em;
}

/* Media Queries */
@media (min-width: 640px) { /* sm */
  .hero-buttons {
    flex-direction: row;
  }
}

@media (min-width: 768px) { /* md */
  .mobile-menu-btn {
    display: none;
  }
  
  .nav-links {
    display: flex;
  }
  
  .nav-actions {
    display: flex;
  }
  
  .hero-title {
    
    font-size: 3.75rem; /* text-6xl */
  }
  
  .hero-desc {
    font-size: 1.25rem; /* text-xl */
  }
  
  .carousel-container {
    padding-left: 2rem;
    gap: 1.25rem;
  }
  
  .movie-card {
    width: 200px;
    min-width: 200px;
    max-width: 200px;
  }

  .movie-rank {
    font-size: 4rem;
    right: 0.6rem;
    bottom: 0.6rem;
  }
  
  .device-grid {
    gap: 6rem;
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .cta-card {
    padding: 6rem;
  }
  
  .cta-title {
    font-size: 4.5rem; /* text-7xl */
  }
}

@media (min-width: 1024px) { /* lg */
  .main-content {
    margin-top: -2.5rem;
  }
}

/* Helper Icons */
.icon-sm { width: 0.875rem; height: 0.875rem; }
.icon-md { width: 1.25rem; height: 1.25rem; }
.icon-lg { width: 1.5rem; height: 1.5rem; }
.fill-current { fill: currentColor; }

/* ═══════════════════════════════════════════
   SHARED COMPONENT STYLES (migrated from HTML)
═══════════════════════════════════════════ */

/* ── Dual Logo / Nav Logo ── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 1;
}
.nav-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  max-width: 100%;
}
.nav-logo-sep {
  color: rgba(255, 255, 255, 0.35);
  font-size: 1.2rem;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}

/* ── Footer Logos ── */
.footer-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.footer-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

/* ── Mobile Responsive Logo ── */
@media (max-width: 768px) {
  .nav-container { padding: 0.6rem 1rem; }
  .nav-logo-img { height: 30px; }
  .nav-logo-sep { font-size: 0.9rem; }
  .footer-logo-img { height: 28px; }
}
@media (max-width: 420px) {
  .nav-logo-img { height: 24px; }
  .footer-logo-img { height: 22px; }
}

/* ── Skeleton Loader ── */
.skeleton {
  background: linear-gradient(90deg, #1a1a1a 25%, #252525 50%, #1a1a1a 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton-card {
  min-width: 200px;
  aspect-ratio: 2/3;
  border-radius: 8px;
}
@media (min-width: 768px) {
  .skeleton-card { min-width: 260px; }
}

/* ── API Error State ── */
.api-error {
  text-align: center;
  padding: 3rem;
  color: #6b7280;
}
.api-error h3 {
  color: #ffcc00;
  margin-bottom: 0.5rem;
}

/* ── Show More Button (index.html) ── */
.show-more-wrap {
  text-align: center;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.show-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #ffcc00;
  color: #000;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  letter-spacing: 0.02em;
  box-shadow: 0 0 28px rgba(255, 204, 0, 0.3);
  transition: box-shadow 0.3s, transform 0.3s, background 0.2s;
}
.show-more-btn:hover {
  background: #e6b800;
  box-shadow: 0 0 44px rgba(255, 204, 0, 0.5);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════
   MOVIES PAGE STYLES
═══════════════════════════════════════════ */

.movies-hero {
  background: linear-gradient(160deg, #0a0a0a 0%, #111 60%, #0a0a0a 100%);
  padding: 7rem 1.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.movies-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255,204,0,0.07), transparent);
  pointer-events: none;
}
.movies-hero-badge {
  display: inline-block;
  background: rgba(255,204,0,0.1);
  border: 1px solid rgba(255,204,0,0.25);
  color: #ffcc00;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.movies-hero h1 {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 0.85rem;
}
.movies-hero p {
  color: #9ca3af;
  font-size: 0.95rem;
  max-width: 40rem;
  margin: 0 auto;
  line-height: 1.7;
}
.stats-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}
.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.78rem;
  color: #9ca3af;
}
.stat-pill strong { color: #ffcc00; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #6b7280;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 1.25rem;
  transition: color 0.2s;
}
.back-link:hover { color: #ffcc00; }

/* ── Country Filter ── */
.filter-bar {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 0;
}
.filter-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #4b5563;
  margin-bottom: 0.85rem;
}
.country-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.ctab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.03);
  color: #d1d5db;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
  white-space: nowrap;
}
.ctab:hover {
  border-color: rgba(255,204,0,0.35);
  background: rgba(255,204,0,0.07);
  color: #ffcc00;
}
.ctab.active {
  background: #ffcc00;
  border-color: #ffcc00;
  color: #000;
}
.ctab .cnt {
  background: rgba(0,0,0,0.15);
  border-radius: 999px;
  padding: 0.08rem 0.42rem;
  font-size: 0.68rem;
  font-weight: 700;
}

/* ── Films Container ── */
.films-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 6rem;
}

/* ── Country Block ── */
.country-block {
  margin-bottom: 4rem;
  display: none;
}
.country-block.show {
  display: block;
  animation: fadeUp 0.35s ease;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.country-block-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 1.5rem;
}
.cb-flag { font-size: 1.9rem; line-height: 1; }
.cb-name { font-size: 1.1rem; font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; }
.cb-count { margin-left: auto; font-size: 0.75rem; color: #4b5563; font-weight: 600; letter-spacing: 0.05em; }

/* ── Film Grid ── */
.film-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1.1rem;
}
@media (min-width: 480px) {
  .film-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
}
@media (min-width: 768px) {
  .film-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
}
@media (min-width: 1024px) {
  .film-grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
}

/* ── Film Card (movies grid) ── */
.film-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 2/3;
  background: #141414;
  box-shadow: 0 4px 20px rgba(0,0,0,0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.film-card:hover {
  transform: translateY(-7px) scale(1.025);
  box-shadow: 0 20px 50px rgba(0,0,0,0.7);
  z-index: 5;
}
.film-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.film-card:hover img { transform: scale(1.08); }

.fc-base {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, transparent 100%);
  padding: 2rem 0.85rem 0.75rem;
  transition: opacity 0.3s;
}
.film-card:hover .fc-base { opacity: 0; }
.fc-base-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.25;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.97) 0%, rgba(0,0,0,0.6) 55%, rgba(0,0,0,0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
}
.film-card:hover .fc-overlay { opacity: 1; }
.fc-country-tag {
  font-size: 0.65rem;
  font-weight: 700;
  color: #ffcc00;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}
.fc-title {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 0.3rem;
}
.fc-director { font-size: 0.68rem; color: #9ca3af; margin-bottom: 0.65rem; }
.fc-director span { color: #d1d5db; font-weight: 600; }
.fc-watch {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #ffcc00;
  color: #000;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  text-decoration: none;
  width: fit-content;
  transition: background 0.2s;
}
.fc-watch:hover { background: #e6b800; }

.fc-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #181818 0%, #222 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
  gap: 0.6rem;
}
.fc-placeholder .ph-flag { font-size: 2.2rem; }
.fc-placeholder .ph-title { font-size: 0.72rem; color: #6b7280; font-weight: 700; text-transform: uppercase; line-height: 1.3; }

/* ── Loading/Error States ── */
.loading-state, .error-state {
  text-align: center;
  padding: 5rem 1.5rem;
  color: #6b7280;
}
.loading-spinner {
  width: 2.5rem;
  height: 2.5rem;
  border: 3px solid rgba(255,204,0,0.2);
  border-top-color: #ffcc00;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 1.5rem;
}
@keyframes spin { to { transform: rotate(360deg); } }
.error-state h3 { color: #ffcc00; margin-bottom: 0.5rem; font-size: 1.1rem; }

/* ═══════════════════════════════════════════
   MOVIE DETAIL PAGE STYLES
═══════════════════════════════════════════ */

.detail-page { min-height: 100vh; padding-top: 5rem; }

.detail-backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.detail-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(28px) brightness(0.25) saturate(0.8);
  transform: scale(1.08);
}
.detail-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.5) 0%, rgba(10,10,10,0.95) 60%, #0a0a0a 100%);
}

.detail-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 6rem;
}
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #6b7280;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 2.5rem;
  transition: color 0.2s;
}
.back-btn:hover { color: #ffcc00; }

.film-hero-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .film-hero-row { grid-template-columns: 280px 1fr; }
}
@media (min-width: 1024px) {
  .film-hero-row { grid-template-columns: 320px 1fr; }
}

.film-poster {
  aspect-ratio: 2/3;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.7);
  background: #141414;
  position: relative;
}
.film-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.film-poster-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #141414, #1e1e1e);
}
.film-poster-placeholder .big-flag { font-size: 4rem; }

.film-info { display: flex; flex-direction: column; justify-content: center; }
.film-festival-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,204,0,0.1);
  border: 1px solid rgba(255,204,0,0.25);
  color: #ffcc00;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  width: fit-content;
}
.film-title {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.film-meta-row { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-bottom: 1.75rem; }
.meta-item { display: flex; flex-direction: column; gap: 0.2rem; }
.meta-label { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: #4b5563; }
.meta-value { font-size: 0.92rem; font-weight: 700; color: #e5e7eb; }
.meta-value.highlight { color: #ffcc00; }
.meta-flag { font-size: 1.1rem; }

.play-section { margin-top: 0.5rem; }
.play-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #ffcc00;
  color: #000;
  font-size: 1rem;
  font-weight: 800;
  padding: 1rem 2rem;
  border-radius: 10px;
  text-decoration: none;
  letter-spacing: 0.01em;
  box-shadow: 0 0 32px rgba(255,204,0,0.35);
  transition: background 0.2s, box-shadow 0.3s, transform 0.2s;
  border: none;
  cursor: pointer;
}
.play-btn:hover {
  background: #e6b800;
  box-shadow: 0 0 50px rgba(255,204,0,0.5);
  transform: translateY(-2px);
}
.play-btn svg { width: 1.25rem; height: 1.25rem; }
.play-note { font-size: 0.72rem; color: #4b5563; margin-top: 0.65rem; }
.play-note a { color: #ffcc00; text-decoration: none; }

.detail-sections {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .detail-sections { grid-template-columns: 1fr 1fr; }
}
.detail-card {
  background: rgba(20,20,20,0.6);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 1.75rem;
  backdrop-filter: blur(8px);
}
.detail-card.full-width { grid-column: 1 / -1; }
.section-tag { font-size: 0.65rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: #ffcc00; margin-bottom: 0.75rem; }
.synopsis-text { font-size: 0.95rem; color: #d1d5db; line-height: 1.8; }
.synopsis-text.no-synopsis { color: #4b5563; font-style: italic; }

.director-card { display: flex; align-items: flex-start; gap: 1.25rem; }
.director-avatar {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #252525, #333);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  overflow: hidden;
}
.director-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.director-name { font-size: 1rem; font-weight: 800; margin-bottom: 0.25rem; }
.director-country-tag { font-size: 0.72rem; color: #9ca3af; margin-bottom: 0.6rem; }
.director-bio { font-size: 0.85rem; color: #9ca3af; line-height: 1.7; }
.director-bio.no-bio { color: #4b5563; font-style: italic; }

.details-list { display: flex; flex-direction: column; gap: 0.75rem; }
.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  padding-bottom: 0.6rem;
  gap: 1rem;
}
.detail-row:last-child { border-bottom: none; padding-bottom: 0; }
.detail-key { font-size: 0.75rem; color: #6b7280; font-weight: 600; }
.detail-val { font-size: 0.82rem; color: #e5e7eb; font-weight: 700; text-align: right; }

.page-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  gap: 1.5rem;
  color: #6b7280;
}
.page-spinner {
  width: 3rem;
  height: 3rem;
  border: 3px solid rgba(255,204,0,0.2);
  border-top-color: #ffcc00;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* (carousel rank styles defined above in base styles) */

/* ═══════════════════════════════════════════
   ACCESS PASS / PRICING SECTION
═══════════════════════════════════════════ */

.access-pass-section {
  padding: 6rem 1.5rem;
  background: linear-gradient(180deg, #0a0a0a 0%, #0f0f0f 50%, #0a0a0a 100%);
  position: relative;
  overflow: hidden;
}

/* ambient glow behind section */
.access-pass-section::before {
  content: "";
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(255,204,0,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.access-pass-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .access-pass-inner {
    grid-template-columns: 1fr 420px;
    gap: 5rem;
  }
}

/* ── Left: pitch copy ── */
.ap-eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffcc00;
  background: rgba(255,204,0,0.08);
  border: 1px solid rgba(255,204,0,0.2);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.ap-headline {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: #fff;
}

.ap-headline-gold {
  background: linear-gradient(135deg, #ffd24d, #ff9500, #ffd966);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ap-body {
  font-size: 1rem;
  color: #9ca3af;
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 480px;
}

.ap-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ap-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #d1d5db;
  font-weight: 500;
}

.ap-features li svg {
  width: 1.1rem;
  height: 1.1rem;
  color: #ffcc00;
  flex-shrink: 0;
}

/* ── Right: price card ── */
.ap-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ap-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #141414;
  border: 1px solid rgba(255,204,0,0.15);
}

/* animated gold glow ring */
.ap-card-glow {
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,204,0,0.35), transparent 40%, transparent 60%, rgba(255,153,0,0.2));
  pointer-events: none;
  opacity: 0.7;
}

.ap-card-body {
  position: relative;
  z-index: 1;
  padding: 2.25rem 2rem;
  text-align: center;
}

.ap-card-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffcc00;
  margin-bottom: 1.25rem;
}

.ap-price-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 0.4rem;
  line-height: 1;
}

.ap-currency {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  padding-top: 0.5rem;
}

.ap-amount {
  font-size: 5rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
}

.ap-price-note {
  font-size: 0.72rem;
  color: #6b7280;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.ap-divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 0 0 1.5rem;
}

.ap-value-line {
  font-size: 0.88rem;
  color: #9ca3af;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.ap-value-line strong {
  color: #e5e7eb;
  font-weight: 700;
}

.ap-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  background: #ffcc00;
  color: #000;
  font-weight: 800;
  font-size: 1rem;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  letter-spacing: 0.02em;
  box-shadow: 0 0 32px rgba(255,204,0,0.3);
  transition: background 0.2s, box-shadow 0.3s, transform 0.2s;
  margin-bottom: 1rem;
}

.ap-cta-btn svg {
  width: 1.1rem;
  height: 1.1rem;
}

.ap-cta-btn:hover {
  background: #e6b800;
  box-shadow: 0 0 48px rgba(255,204,0,0.5);
  transform: translateY(-2px);
}

.ap-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  color: #4b5563;
}

.ap-trust svg {
  width: 0.9rem;
  height: 0.9rem;
}

/* ── Device icons row ── */
.ap-devices {
  display: flex;
  justify-content: center;
  gap: 1.75rem;
}

.ap-device {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.45;
  transition: opacity 0.2s;
}

.ap-device:hover { opacity: 0.85; }

.ap-device svg {
  width: 1.6rem;
  height: 1.6rem;
  stroke: #fff;
}

.ap-device span {
  font-size: 0.6rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #6b7280;
}

/* ═══════════════════════════════════════════
   VOICES / MESSAGES SECTION
═══════════════════════════════════════════ */

.voices-section {
  padding: 6rem 1.5rem;
  background: #080808;
  position: relative;
  overflow: hidden;
}

.voices-section::before {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,204,0,0.15), transparent);
}

.voices-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* ── Header ── */
.voices-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.voices-eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffcc00;
  background: rgba(255,204,0,0.08);
  border: 1px solid rgba(255,204,0,0.18);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.voices-headline {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.85rem;
  color: #fff;
}

.voices-headline-gold {
  background: linear-gradient(135deg, #ffd24d, #ff9500, #ffd966);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.voices-subtext {
  font-size: 0.92rem;
  color: #6b7280;
  max-width: 36rem;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Grid ── */
.voices-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .voices-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .voices-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── Voice Card ── */
.voice-card {
  position: relative;
  background: #111;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 2rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  transition: border-color 0.3s ease, transform 0.3s ease;
  overflow: hidden;
}

.voice-card:hover {
  border-color: rgba(255,204,0,0.2);
  transform: translateY(-4px);
}

/* featured middle card gets a gold accent top border */
.voice-card--featured {
  border-color: rgba(255,204,0,0.18);
  background: linear-gradient(160deg, #161200 0%, #111 40%);
}

.voice-card--featured::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffcc00, transparent);
}

/* big decorative quote mark */
.voice-quote-mark {
  font-size: 5rem;
  line-height: 0.6;
  font-family: Georgia, serif;
  color: rgba(255,204,0,0.12);
  margin-bottom: 0.25rem;
  user-select: none;
  pointer-events: none;
}

.voice-card--featured .voice-quote-mark {
  color: rgba(255,204,0,0.22);
}

/* message text */
.voice-message {
  font-size: 0.97rem;
  color: #d1d5db;
  line-height: 1.75;
  flex: 1;
  font-style: italic;
}

/* author row */
.voice-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* avatar circle — initials fallback, ready for real images */
.voice-avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
  overflow: hidden;
  border: 1.5px solid rgba(255,255,255,0.1);
}

/* when a real <img> is inside the avatar */
.voice-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.voice-name {
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.15rem;
}

.voice-role {
  font-size: 0.72rem;
  color: #6b7280;
  font-weight: 500;
}

/* ═══════════════════════════════════════════
   HERO LOGOS — large on landing, fade to navbar on scroll
═══════════════════════════════════════════ */

/* Nav logo hidden by default on index page */
.nav-logo--hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.nav-logo {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Hero logos block */
.hero-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-logos--hidden {
  opacity: 0;
  transform: translateY(-16px) scale(0.95);
  pointer-events: none;
}

/* Mobile: logos are the hero centrepiece */
.hero-logo-img {
  height: 64px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.6)) brightness(1.05);
}

.hero-logo-sep {
  color: rgba(255, 255, 255, 0.25);
  font-size: 2rem;
  line-height: 1;
}

@media (min-width: 480px) {
  .hero-logo-img { height: 80px; }
}

@media (min-width: 768px) {
  .hero-logo-img { height: 100px; }
  .hero-logo-sep { font-size: 2.5rem; }
}

@media (min-width: 1024px) {
  .hero-logo-img { height: 120px; }
}

/* ═══════════════════════════════════════════
   CTA SECTION — updated styles
═══════════════════════════════════════════ */

.cta-eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffcc00;
  background: rgba(255,204,0,0.1);
  border: 1px solid rgba(255,204,0,0.2);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.cta-desc {
  font-size: 1.05rem;
  color: #d1d5db;
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 480px) {
  .cta-actions {
    flex-direction: row;
    justify-content: center;
  }
}

.cta-browse-link {
  color: #9ca3af;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
  padding: 0.5rem 0;
}

.cta-browse-link:hover {
  color: #ffcc00;
}

.cta-footnote {
  font-size: 0.7rem;
  color: #4b5563;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════
   MOVIES PAGE — NEW HERO
═══════════════════════════════════════════ */

/* Override the old plain hero */
.movies-hero {
  background: linear-gradient(170deg, #080808 0%, #0f0e00 60%, #0a0a0a 100%) !important;
  padding: 7rem 1.5rem 3.5rem !important;
  position: relative;
  overflow: hidden;
}

.movies-hero::before {
  background: radial-gradient(ellipse 60% 55% at 50% 0%, rgba(255,204,0,0.09), transparent) !important;
}

/* Dual logos */
.mh-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.mh-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 3px 12px rgba(0,0,0,0.5));
}

.mh-logo-sep {
  color: rgba(255,255,255,0.2);
  font-size: 1.6rem;
  line-height: 1;
}

@media (min-width: 768px) {
  .mh-logo-img { height: 68px; }
}

/* Subtitle label */
.mh-subtitle {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffcc00;
  margin-bottom: 1.25rem;
}

/* Tagline */
.mh-tagline {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  margin-bottom: 1rem;
}

.mh-tagline-text {
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
}

.mh-tagline-gold {
  background: linear-gradient(135deg, #ffd24d, #ff9500, #ffd966);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Description with dynamic counts */
.mh-desc {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.7;
  max-width: 38rem;
  margin: 0 auto;
}

.mh-desc strong {
  color: #ffcc00;
  font-weight: 800;
}

/* ═══════════════════════════════════════════
   MOVIES PAGE — SEARCH + FILTER BAR
═══════════════════════════════════════════ */

.mf-bar {
  position: sticky;
  top: 64px;
  z-index: 30;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 1rem 1.5rem;
}

.mf-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ── Search Input ── */
.mf-search-wrap {
  position: relative;
  flex: 1;
  min-width: 200px;
}

.mf-search-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: #6b7280;
  pointer-events: none;
}

.mf-search-input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 10px;
  padding: 0.65rem 2.5rem 0.65rem 2.5rem;
  color: #fff;
  font-size: 0.88rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.mf-search-input::placeholder { color: #4b5563; }

.mf-search-input:focus {
  border-color: rgba(255,204,0,0.4);
  background: rgba(255,255,255,0.07);
}

.mf-search-clear {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #6b7280;
  padding: 0.2rem;
  transition: color 0.2s, opacity 0.2s;
}

.mf-search-clear svg { width: 0.9rem; height: 0.9rem; display: block; }
.mf-search-clear:hover { color: #ffcc00; }

/* ── Country Dropdown ── */
.mf-dropdown-wrap {
  position: relative;
  flex-shrink: 0;
}

.mf-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 10px;
  padding: 0.65rem 1rem;
  color: #d1d5db;
  font-size: 0.88rem;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  white-space: nowrap;
  min-width: 170px;
}

.mf-dropdown-btn:hover,
.mf-dropdown-btn[aria-expanded="true"] {
  border-color: rgba(255,204,0,0.35);
  background: rgba(255,204,0,0.06);
  color: #ffcc00;
}

.mf-globe-icon {
  width: 1rem; height: 1rem; flex-shrink: 0;
}

.mf-chevron {
  width: 0.85rem; height: 0.85rem; margin-left: auto; flex-shrink: 0;
  transition: transform 0.25s ease;
}

.mf-dropdown-btn[aria-expanded="true"] .mf-chevron {
  transform: rotate(180deg);
}

/* Panel */
.mf-dropdown-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: #161616;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
  overflow: hidden;
  /* hidden state */
  opacity: 0;
  transform: translateY(-8px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 100;
}

.mf-dropdown-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

/* Search inside dropdown */
.mf-dropdown-search-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mf-dropdown-search-wrap svg {
  width: 0.9rem; height: 0.9rem; color: #6b7280; flex-shrink: 0;
}

.mf-dropdown-search {
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.82rem;
  font-family: inherit;
  width: 100%;
}

.mf-dropdown-search::placeholder { color: #4b5563; }

/* Country list */
.mf-country-list {
  list-style: none;
  max-height: 280px;
  overflow-y: auto;
  padding: 0.4rem 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,204,0,0.2) transparent;
}

.mf-country-list::-webkit-scrollbar { width: 4px; }
.mf-country-list::-webkit-scrollbar-thumb { background: rgba(255,204,0,0.2); border-radius: 4px; }

.mf-country-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
  transition: background 0.15s;
  font-size: 0.85rem;
  color: #d1d5db;
}

.mf-country-item:hover { background: rgba(255,255,255,0.05); }

.mf-country-item.active {
  background: rgba(255,204,0,0.08);
  color: #ffcc00;
}

.mf-ci-flag { font-size: 1.1rem; flex-shrink: 0; }
.mf-ci-name { flex: 1; font-weight: 600; }
.mf-ci-count {
  font-size: 0.7rem;
  color: #4b5563;
  background: rgba(255,255,255,0.05);
  border-radius: 999px;
  padding: 0.1rem 0.5rem;
  font-weight: 700;
}

.mf-country-item.active .mf-ci-count { color: #ffcc00; background: rgba(255,204,0,0.1); }

/* Result count */
.mf-result-count {
  font-size: 0.78rem;
  color: #6b7280;
  white-space: nowrap;
  font-weight: 600;
}

/* ── movies.html hero logo scroll animation ── */
/* Re-use hero-logos--hidden from index.html — just alias the class */
.mh-logos {
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.mh-logos.hero-logos--hidden {
  opacity: 0;
  transform: translateY(-14px) scale(0.95);
  pointer-events: none;
}

/* Subtitle sits above logo — give it a tight bottom margin */
.movies-hero .mh-subtitle {
  margin-bottom: 1rem;
  margin-top: 0;
}

/* ═══════════════════════════════════════════
   NAV LOGO WRAP — split clickable logos
═══════════════════════════════════════════ */

.nav-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 1;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.nav-logo-wrap.nav-logo--hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
}

.nav-logo-part {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s;
}

.nav-logo-part:hover {
  opacity: 0.8;
}

.hero-logo-part {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}

.hero-logo-part:hover {
  opacity: 0.85;
  transform: scale(1.02);
}

/* ═══════════════════════════════════════════
   GLOBAL RESPONSIVE FIXES — ALL PAGES
═══════════════════════════════════════════ */

/* ── Base box-sizing already set, ensure images don't overflow ── */
img { max-width: 100%; height: auto; }

/* ── Navbar responsive ── */
.navbar {
  padding: 0.75rem 1rem;
}

.nav-container {
  gap: 0.5rem;
}

/* Ensure nav links never wrap badly */
.nav-links {
  gap: 1rem;
}

/* ── Hero — index.html ── */
@media (max-width: 480px) {
  .hero {
    min-height: 100svh;
    padding-top: 5rem;
    padding-bottom: 2rem;
  }

  .hero-content {
    padding: 0 1rem;
  }

  .hero-logos {
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-logo-img {
    height: 44px;
  }

  .hero-logo-sep {
    font-size: 1.2rem;
  }

  .hero-subtitle {
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    gap: 0.3ch;
  }

  .hero-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
  }

  .hero-buttons {
    margin-bottom: 2rem;
  }

  .btn-lg {
    padding: 0.85rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* ── Carousel — mobile ── */
@media (max-width: 480px) {
  .main-content {
    padding: 0 0.75rem;
    margin-top: 1.5rem;
  }

  .section-header {
    padding: 0 0.25rem;
  }

  .section-title {
    font-size: 1.1rem;
  }

  .carousel-container {
    padding-left: 1rem;
    padding-right: 1rem;
    gap: 0.75rem;
  }

  .movie-card {
    width: 130px !important;
    min-width: 130px !important;
    max-width: 130px !important;
  }

  .movie-rank {
    font-size: 2.8rem;
    right: 0.3rem;
    bottom: 0.3rem;
  }

  .card-title {
    font-size: 0.8rem;
  }

  .card-meta {
    font-size: 0.65rem;
  }
}

/* ── Access Pass section — mobile ── */
@media (max-width: 640px) {
  .access-pass-section {
    padding: 3.5rem 1rem;
  }

  .ap-headline {
    font-size: 1.75rem;
  }

  .ap-amount {
    font-size: 3.75rem;
  }

  .ap-card-body {
    padding: 1.75rem 1.25rem;
  }

  .ap-features li {
    font-size: 0.82rem;
  }

  .ap-devices {
    gap: 1.25rem;
  }
}

/* ── Voices section — mobile ── */
@media (max-width: 480px) {
  .voices-section {
    padding: 3.5rem 1rem;
  }

  .voices-headline {
    font-size: 1.5rem;
  }

  .voice-card {
    padding: 1.5rem 1.25rem;
  }

  .voice-message {
    font-size: 0.88rem;
  }
}

/* ── CTA section — mobile ── */
@media (max-width: 480px) {
  .cta-section {
    padding: 2.5rem 1rem;
  }

  .cta-card {
    border-radius: 1rem;
    padding: 0.75rem;
  }

  .cta-content {
    padding: 2rem 0.5rem;
  }

  .cta-title {
    font-size: 1.75rem;
    letter-spacing: -0.03em;
  }

  .cta-desc {
    font-size: 0.88rem;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn-lg {
    width: 100%;
    justify-content: center;
  }
}

/* ── Footer — mobile ── */
@media (max-width: 480px) {
  .footer {
    padding: 2.5rem 1rem;
  }

  .footer-logos {
    gap: 0.4rem;
  }

  .footer-logo-img {
    height: 22px;
  }

  .copyright {
    font-size: 0.65rem;
    line-height: 1.6;
  }
}

/* ── Movies page hero — mobile ── */
@media (max-width: 480px) {
  .movies-hero {
    padding: 5.5rem 1rem 2.5rem !important;
  }

  .mh-logos {
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .mh-logo-img {
    height: 38px;
  }

  .mh-logo-sep {
    font-size: 1.2rem;
  }

  .mh-tagline-text {
    font-size: 1.3rem;
  }

  .mh-desc {
    font-size: 0.82rem;
  }

  .back-link {
    font-size: 0.78rem;
  }
}

/* ── Movies filter bar — mobile ── */
@media (max-width: 600px) {
  .mf-bar {
    padding: 0.75rem 1rem;
    top: 56px;
  }

  .mf-inner {
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  .mf-search-wrap {
    min-width: 0;
    width: 100%;
    flex: unset;
  }

  .mf-dropdown-wrap {
    width: 100%;
  }

  .mf-dropdown-btn {
    width: 100%;
    justify-content: space-between;
  }

  .mf-dropdown-panel {
    width: 100%;
    min-width: unset;
  }

  .mf-result-count {
    width: 100%;
    text-align: center;
  }
}

/* ── Film grid — mobile ── */
@media (max-width: 380px) {
  .film-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem;
  }
}

/* ── Movie detail page — mobile ── */
@media (max-width: 480px) {
  .detail-container {
    padding: 1.25rem 1rem 4rem;
  }

  .film-title {
    font-size: 1.5rem;
  }

  .play-btn {
    width: 100%;
    justify-content: center;
    font-size: 0.95rem;
    padding: 0.9rem 1.25rem;
  }

  .film-meta-row {
    gap: 0.75rem;
  }

  .detail-card {
    padding: 1.25rem;
  }

  .detail-sections {
    grid-template-columns: 1fr !important;
  }
}

/* ── Testimonials/Voices grid — tablet ── */
@media (max-width: 640px) {
  .voices-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Section headlines — mobile ── */
@media (max-width: 480px) {
  .section-headline {
    font-size: 1.5rem;
  }

  .ap-eyebrow,
  .voices-eyebrow,
  .cta-eyebrow {
    font-size: 0.6rem;
    letter-spacing: 0.15em;
  }
}

/* ── Prevent horizontal scroll on mobile ── */
body {
  overflow-x: hidden;
}

.hero,
.main-content,
.access-pass-section,
.voices-section,
.cta-section,
.footer,
.movies-hero,
.mf-bar,
.films-main,
.filter-bar,
.detail-page {
  max-width: 100vw;
  overflow-x: hidden;
}

/* ── Mobile menu improvements ── */
.mobile-menu a {
  font-size: 1.25rem;
}

/* ── Stat pills — mobile ── */
@media (max-width: 480px) {
  .stats-row {
    gap: 0.75rem;
  }

  .stat-pill {
    font-size: 0.72rem;
    padding: 0.3rem 0.75rem;
  }
}

/* ── Nav logo images — tighter on small screens ── */
@media (max-width: 360px) {
  .nav-logo-img {
    height: 20px;
  }
  .nav-logo-sep {
    font-size: 0.75rem;
  }
}
.voice-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
}

.voice-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* ═══════════════════════════════════════════
   PRICING CARD — DISCOUNT & STRIKETHROUGH
═══════════════════════════════════════════ */

.ap-discount-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #b45309, #d97706);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 12px rgba(217,119,6,0.4);
}

.ap-original-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.ap-original-label {
  font-size: 0.7rem;
  color: #6b7280;
  font-weight: 500;
}

.ap-original-amount {
  font-size: 1.1rem;
  font-weight: 700;
  color: #6b7280;
  text-decoration: line-through;
  text-decoration-color: #ef4444;
  text-decoration-thickness: 2px;
}

/* ═══════════════════════════════════════════
   MOVIES PAGE — NEW FILTER BAR
═══════════════════════════════════════════ */

.cf-bar {
  position: sticky;
  top: 64px;
  z-index: 30;
  background: rgba(8,8,8,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0.85rem 1.5rem 0;
}

/* ── Search row ── */
.cf-search-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.cf-search-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
}

.cf-search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.95rem;
  height: 0.95rem;
  color: #6b7280;
  pointer-events: none;
}

.cf-search-input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 0.6rem 2.4rem 0.6rem 2.4rem;
  color: #fff;
  font-size: 0.85rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.cf-search-input::placeholder { color: #4b5563; }

.cf-search-input:focus {
  border-color: rgba(255,204,0,0.4);
  background: rgba(255,255,255,0.07);
}

.cf-search-clear {
  position: absolute;
  right: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #6b7280;
  padding: 0.2rem;
  transition: color 0.2s, opacity 0.2s;
  display: flex;
  align-items: center;
}

.cf-search-clear svg { width: 0.85rem; height: 0.85rem; }
.cf-search-clear:hover { color: #ffcc00; }

.cf-result-count {
  font-size: 0.75rem;
  color: #6b7280;
  white-space: nowrap;
  font-weight: 600;
  flex-shrink: 0;
}

/* ── Pill track ── */
.cf-pills-outer {
  overflow: hidden;
  position: relative;
  /* fade edges on sides */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 2.5%, black 97.5%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 2.5%, black 97.5%, transparent 100%);
}

.cf-pills-track {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.5rem 1rem 0.85rem;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* Snap behaviour for mobile */
  scroll-snap-type: x proximity;
}

.cf-pills-track::-webkit-scrollbar { display: none; }

/* ── Individual pill (ctab) ── */
.ctab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  color: #9ca3af;
  font-size: 0.8rem;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
  scroll-snap-align: start;
}

.ctab:hover {
  background: rgba(255,255,255,0.09);
  color: #e5e7eb;
  border-color: rgba(255,255,255,0.15);
}

.ctab.active {
  background: rgba(255,204,0,0.12);
  border-color: rgba(255,204,0,0.45);
  color: #ffcc00;
}

.ctab-globe,
.ctab-flag {
  font-size: 1rem;
  line-height: 1;
}

.ctab-name {
  font-weight: 700;
}

.ctab-count {
  font-size: 0.68rem;
  font-weight: 800;
  background: rgba(255,255,255,0.08);
  color: #6b7280;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
}

.ctab.active .ctab-count {
  background: rgba(255,204,0,0.15);
  color: #ffcc00;
}

/* ── Responsive pill track ── */
@media (max-width: 480px) {
  .cf-bar {
    padding: 0.7rem 1rem 0;
    top: 56px;
  }

  .cf-search-input {
    font-size: 0.8rem;
    padding: 0.55rem 2.2rem 0.55rem 2.2rem;
  }

  .ctab {
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
  }

  .ctab-count {
    font-size: 0.62rem;
    padding: 0.08rem 0.35rem;
  }
}

@media (min-width: 768px) {
  .ctab {
    font-size: 0.82rem;
    padding: 0.5rem 1rem;
  }
}

@media (min-width: 1280px) {
  .ctab {
    font-size: 0.85rem;
    padding: 0.5rem 1.1rem;
  }
}

/* ═══════════════════════════════════════════
   FAST-FETCH — loading progress UI
═══════════════════════════════════════════ */

.load-progress-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 3rem 1rem;
}

.load-spinner-ring {
  width: 2.5rem;
  height: 2.5rem;
  border: 3px solid rgba(255,204,0,0.15);
  border-top-color: #ffcc00;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.load-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #d1d5db;
}

.load-dots::after {
  content: '';
  animation: dots 1.4s steps(4, end) infinite;
}

@keyframes dots {
  0%   { content: ''; }
  25%  { content: '.'; }
  50%  { content: '..'; }
  75%  { content: '...'; }
  100% { content: ''; }
}

.load-sub {
  font-size: 0.75rem;
  color: #6b7280;
}