/* ==========================================================
   NETFLIX OFFICIAL DESIGN SYSTEM - ULTRA PROFESSIONAL & COMPACT
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  --netflix-red: #E50914;
  --netflix-red-hover: #f40612;
  --netflix-black: #141414;
  --netflix-card: #181818;
  --netflix-elevated: #242424;
  --netflix-border: rgba(255, 255, 255, 0.12);
  --netflix-text: #ffffff;
  --netflix-text-muted: #a3a3a3;
  --netflix-green: #46d369;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-logo: 'Bebas Neue', 'Impact', sans-serif;
  --font-heading: 'Poppins', 'Inter', sans-serif;
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--netflix-black);
  color: var(--netflix-text);
  line-height: 1.4;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Custom Sleek Scrollbar */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: var(--netflix-black);
}
::-webkit-scrollbar-thumb {
  background: #2d2d2d;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--netflix-red);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
}

/* ==========================================
   NETFLIX NAVIGATION BAR
   ========================================== */
.netflix-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4%;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease;
}

.netflix-navbar.scrolled {
  background-color: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 32px;
}

.netflix-logo {
  color: var(--netflix-red);
  font-family: var(--font-logo);
  font-size: 2.2rem;
  letter-spacing: 2px;
  cursor: pointer;
  line-height: 1;
  text-shadow: 0 0 12px rgba(229, 9, 20, 0.5);
  transition: transform var(--transition-fast);
}

.netflix-logo:hover {
  transform: scale(1.02);
}

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

.netflix-nav-links a {
  font-size: 0.85rem;
  color: #e5e5e5;
  font-weight: 500;
  transition: color var(--transition-fast);
  letter-spacing: 0.2px;
  cursor: pointer;
}

.netflix-nav-links a:hover,
.netflix-nav-links a.active {
  color: #ffffff;
  font-weight: 600;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Search Box */
.netflix-search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  padding: 3px 6px;
  border-radius: 4px;
  transition: var(--transition-fast);
}

.netflix-search-box.open {
  background: rgba(0, 0, 0, 0.85);
  border-color: rgba(255, 255, 255, 0.6);
}

.search-icon-btn {
  color: #ffffff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.netflix-search-input {
  width: 0;
  opacity: 0;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 0.82rem;
  padding: 3px 0;
  outline: none;
  transition: width 0.3s ease, opacity 0.3s ease;
}

.netflix-search-box.open .netflix-search-input {
  width: 200px;
  opacity: 1;
  padding: 3px 6px;
}

/* Search Overlay */
.search-results-overlay {
  position: absolute;
  top: 100%;
  right: 0;
  width: 320px;
  margin-top: 10px;
  background: #181818;
  border: 1px solid var(--netflix-border);
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
  max-height: 420px;
  overflow-y: auto;
  display: none;
  z-index: 1200;
}

.search-results-overlay.open {
  display: block;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.search-result-item:hover {
  background: #252525;
}

.search-result-item img {
  width: 38px;
  height: 52px;
  object-fit: cover;
  border-radius: 3px;
}

.search-result-info h4 {
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 2px;
  color: #fff;
}

.search-result-info p {
  font-size: 0.72rem;
  color: var(--netflix-text-muted);
}

.user-profile-badge {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: linear-gradient(135deg, #e50914, #991b1b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  cursor: pointer;
}

/* ==========================================
   NETFLIX BILLBOARD / HERO BANNER
   ========================================== */
.billboard-hero {
  position: relative;
  height: 80vh;
  min-height: 520px;
  background-size: cover;
  background-position: center 20%;
  display: flex;
  align-items: center;
  padding: 0 4%;
  margin-bottom: -40px;
  z-index: 2;
}

.billboard-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    77deg,
    rgba(20, 20, 20, 0.92) 0%,
    rgba(20, 20, 20, 0.7) 40%,
    transparent 85%
  ),
  linear-gradient(
    180deg,
    rgba(20, 20, 20, 0) 0%,
    rgba(20, 20, 20, 0.5) 60%,
    #141414 100%
  );
  z-index: 1;
}

.billboard-content {
  position: relative;
  z-index: 3;
  max-width: 540px;
  margin-top: 20px;
}

.billboard-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.top-10-box {
  background: var(--netflix-red);
  color: #ffffff;
  font-family: var(--font-logo);
  font-size: 0.85rem;
  padding: 2px 6px;
  border-radius: 2px;
  letter-spacing: 0.8px;
}

.top-10-text {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.billboard-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.8);
}

.billboard-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.match-score {
  color: var(--netflix-green);
  font-weight: 700;
  font-size: 0.88rem;
}

.maturity-rating {
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 1px 5px;
  font-size: 0.7rem;
  font-weight: 600;
}

.quality-badge {
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 1px 4px;
  font-size: 0.65rem;
  font-weight: 800;
  border-radius: 2px;
}

.billboard-synopsis {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #d1d5db;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.billboard-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-netflix-play {
  background: #ffffff;
  color: #000000;
  padding: 9px 24px;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.btn-netflix-play:hover {
  background: rgba(255, 255, 255, 0.75);
  transform: scale(1.02);
}

.btn-netflix-info {
  background: rgba(109, 109, 110, 0.7);
  color: #ffffff;
  padding: 9px 20px;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.btn-netflix-info:hover {
  background: rgba(109, 109, 110, 0.45);
  transform: scale(1.02);
}

/* ==========================================
   NETFLIX COMPACT ROWS & CAROUSELS
   ========================================== */
.netflix-rows-container {
  position: relative;
  z-index: 10;
  padding: 0 0 50px;
}

.netflix-row {
  margin-bottom: 28px;
  position: relative;
  padding: 0 4%;
}

.row-header {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.row-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #e5e5e5;
  transition: color var(--transition-fast);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.row-title:hover {
  color: #ffffff;
}

.row-explore-btn {
  font-size: 0.78rem;
  color: var(--netflix-red);
  font-weight: 600;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.row-explore-btn:hover {
  color: #ff3844;
  text-decoration: underline;
}

.row-slider-wrapper {
  position: relative;
}

.row-slider {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-behavior: smooth;
  padding: 12px 0 20px;
  scrollbar-width: none;
}

.row-slider::-webkit-scrollbar {
  display: none;
}

/* Slider Arrows */
.slider-arrow {
  position: absolute;
  top: 12px;
  bottom: 20px;
  width: 40px;
  background: rgba(20, 20, 20, 0.65);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity var(--transition-fast), background var(--transition-fast);
  z-index: 20;
}

.slider-arrow:hover {
  background: rgba(20, 20, 20, 0.9);
}

.netflix-row:hover .slider-arrow {
  opacity: 1;
}

.slider-arrow.left {
  left: 0;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.slider-arrow.right {
  right: 0;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

/* ==========================================
   COMPACT MOVIE CARD (Netflix Pro Size)
   ========================================== */
.netflix-card {
  flex: 0 0 calc((100% - 48px) / 7);
  min-width: 135px;
  max-width: 165px;
  position: relative;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.25s ease;
  user-select: none;
}

.netflix-card-poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 4px;
  display: block;
  background: #1f1f1f;
}

/* Card Hover Expansion */
.netflix-card:hover {
  transform: scale(1.1);
  z-index: 30;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.85);
}

.netflix-card-details {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(20, 20, 20, 0.95) 50%, #141414 100%);
  padding: 8px 10px;
  opacity: 0;
  transition: opacity 0.2s ease;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

.netflix-card:hover .netflix-card-details {
  opacity: 1;
}

.card-action-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
}

.action-circle-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffffff;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.action-circle-btn.outline {
  background: rgba(42, 42, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.action-circle-btn:hover {
  transform: scale(1.1);
  background: #e5e5e5;
}

.card-title-text {
  font-size: 0.76rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.card-meta-line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  color: var(--netflix-text-muted);
}

/* ==========================================
   TOP 10 ROW COMPACT NUMBERS
   ========================================== */
.top-10-card {
  display: flex;
  align-items: flex-end;
  flex: 0 0 calc((100% - 40px) / 6);
  min-width: 170px;
  max-width: 200px;
}

.top-10-num {
  font-family: var(--font-logo);
  font-size: 5.5rem;
  font-weight: 900;
  line-height: 0.85;
  color: #141414;
  -webkit-text-stroke: 3px #595959;
  letter-spacing: -6px;
  margin-right: -8px;
  z-index: 1;
  user-select: none;
}

.top-10-card .netflix-card-poster {
  flex: 1;
  z-index: 2;
}

/* ==========================================================
   FULL CATALOG EXPLORE VIEW (THOUSANDS OF TITLES & INFINITE SCROLL)
   ========================================================== */
.catalog-explore-section {
  position: relative;
  z-index: 10;
  padding: 90px 4% 60px;
  min-height: 80vh;
}

.catalog-header {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.catalog-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
}

.catalog-count-badge {
  font-size: 0.85rem;
  color: var(--netflix-text-muted);
  margin-left: 8px;
  font-weight: 500;
}

.catalog-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.netflix-select {
  background: #242424;
  color: #ffffff;
  border: 1px solid var(--netflix-border);
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.netflix-select:hover,
.netflix-select:focus {
  border-color: #ffffff;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 40px;
}

.catalog-grid .netflix-card {
  width: 100%;
  max-width: none;
  min-width: 0;
  flex: none;
}

.load-more-container {
  text-align: center;
  padding: 20px 0 40px;
}

.btn-load-more {
  background: #242424;
  color: #ffffff;
  border: 1px solid var(--netflix-border);
  padding: 11px 32px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.btn-load-more:hover {
  background: var(--netflix-red);
  border-color: var(--netflix-red);
}

/* ==========================================
   NETFLIX MODAL & VIDEO PLAYER
   ========================================== */
.netflix-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  overflow-y: auto;
  padding: 20px 4%;
}

.netflix-modal-backdrop.open {
  display: block;
}

.netflix-modal-card {
  max-width: 860px;
  margin: 20px auto 50px;
  background: #181818;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.95);
  position: relative;
  overflow: hidden;
}

.close-modal-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #181818;
  border: 1px solid var(--netflix-border);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  z-index: 50;
  transition: background var(--transition-fast);
}

.close-modal-btn:hover {
  background: #282828;
}

/* Video Player Iframe */
.modal-player-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.modal-player-box iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Server Selector Pills */
.modal-server-toolbar {
  padding: 12px 20px;
  background: #202020;
  border-bottom: 1px solid var(--netflix-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.server-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.server-pill-btn {
  padding: 5px 12px;
  background: #2b2b2b;
  border: 1px solid var(--netflix-border);
  border-radius: 3px;
  color: #d1d5db;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.server-pill-btn.active,
.server-pill-btn:hover {
  background: var(--netflix-red);
  color: #ffffff;
  border-color: var(--netflix-red);
}

/* Modal Content Details */
.modal-body {
  padding: 20px 28px;
}

.modal-details-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.modal-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.modal-synopsis {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #d1d5db;
}

.modal-side-meta p {
  font-size: 0.8rem;
  color: var(--netflix-text-muted);
  margin-bottom: 6px;
  line-height: 1.4;
}

.modal-side-meta span {
  color: #ffffff;
}

/* TV Series Episode Section */
.tv-episodes-container {
  border-top: 1px solid var(--netflix-border);
  padding-top: 20px;
  margin-top: 20px;
}

.tv-episodes-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.season-dropdown {
  background: #2b2b2b;
  color: #ffffff;
  border: 1px solid var(--netflix-border);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  outline: none;
}

.episode-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: background var(--transition-fast);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.episode-item:hover,
.episode-item.active {
  background: #252525;
}

.episode-num {
  font-size: 1rem;
  font-weight: 700;
  color: var(--netflix-text-muted);
  width: 20px;
}

.episode-thumb {
  width: 100px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 3px;
  background: #2b2b2b;
}

.episode-info {
  flex: 1;
}

.episode-info h5 {
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.episode-info p {
  font-size: 0.75rem;
  color: var(--netflix-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================
   ADSTERRA VIDEO AD GATE (PRE-ROLL & MID-ROLL INTERMISSION)
   ========================================================== */
.ad-gate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ad-gate-overlay.active {
  display: flex;
}

.ad-gate-card {
  max-width: 540px;
  width: 100%;
  background: #181818;
  border: 1px solid var(--netflix-border);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.95);
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.ad-gate-header {
  padding: 12px 18px;
  background: #222222;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--netflix-border);
}

.ad-gate-header span {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--netflix-red);
  letter-spacing: 0.8px;
}

.ad-gate-body {
  padding: 20px 18px;
  text-align: center;
}

.adsterra-ad-box {
  background: #111111;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 18px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.adsterra-badge {
  background: var(--netflix-red);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 2px;
  margin-bottom: 6px;
  display: inline-block;
}

.ad-gate-footer {
  padding: 12px 18px;
  background: #222222;
  border-top: 1px solid var(--netflix-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.skip-timer-text {
  font-size: 0.8rem;
  color: var(--netflix-text-muted);
}

.btn-skip-ad {
  background: #ffffff;
  color: #000000;
  padding: 7px 18px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 0.82rem;
  transition: background var(--transition-fast);
}

.btn-skip-ad:disabled {
  background: #444444;
  color: #888888;
  cursor: not-allowed;
}

.btn-skip-ad:not(:disabled):hover {
  background: var(--netflix-red);
  color: #ffffff;
}

.midroll-indicator {
  position: absolute;
  top: 10px;
  left: 12px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 0.7rem;
  color: var(--netflix-text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 10;
  cursor: pointer;
}

.midroll-indicator:hover {
  color: #ffffff;
  border-color: #ffffff;
}

/* ==========================================
   NETFLIX FOOTER
   ========================================= */
.netflix-footer {
  padding: 40px 4% 20px;
  color: #757575;
  font-size: 0.78rem;
  max-width: 960px;
  margin: 0 auto;
}

.footer-top-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

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

.footer-copyright {
  margin-top: 16px;
}

/* ==========================================
   SEO CONTENT & FAQ ACCORDION SECTION
   ========================================== */
.seo-content-section {
  padding: 60px 4% 30px;
  background: linear-gradient(180deg, #141414 0%, #0d0d0d 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 40px;
}

.seo-container {
  max-width: 1100px;
  margin: 0 auto;
}

.seo-header {
  text-align: center;
  margin-bottom: 40px;
}

.seo-main-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.3;
}

.seo-subtitle {
  font-size: 0.95rem;
  color: #a3a3a3;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

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

.seo-feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 24px 20px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.seo-feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(229, 9, 20, 0.4);
}

.seo-feature-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.seo-feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.seo-feature-card p {
  font-size: 0.82rem;
  color: #8c8c8c;
  line-height: 1.5;
}

.seo-faq-container {
  margin-top: 20px;
}

.seo-faq-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  text-align: center;
}

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

.seo-faq-item {
  background: #1f1f1f;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.seo-faq-item summary {
  padding: 16px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #e5e5e5;
  cursor: pointer;
  user-select: none;
  list-style: none;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.seo-faq-item summary::-webkit-details-marker {
  display: none;
}

.seo-faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--netflix-red);
  transition: transform 0.2s ease;
}

.seo-faq-item[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}

.seo-faq-item summary:hover {
  background: #2a2a2a;
}

.seo-faq-answer {
  padding: 0 20px 18px;
  font-size: 0.88rem;
  color: #a3a3a3;
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 12px;
}

/* Responsive */
@media (max-width: 1100px) {
  .netflix-card {
    flex: 0 0 calc((100% - 36px) / 5);
  }
  .top-10-card {
    flex: 0 0 calc((100% - 30px) / 4);
  }
}

@media (max-width: 768px) {
  .netflix-card {
    flex: 0 0 calc((100% - 24px) / 3);
    min-width: 110px;
  }
  .top-10-card {
    flex: 0 0 calc((100% - 20px) / 3);
    min-width: 130px;
  }
  .netflix-nav-links {
    display: none;
  }
  .billboard-title {
    font-size: 1.8rem;
  }
  .modal-details-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-links {
    grid-template-columns: repeat(2, 1fr);
  }
}
