/* CineSphere - Production Dark Cinema Stylesheet (Vanilla CSS, No Build Required) */

:root {
  --bg-main: #090b10;
  --bg-card: #121622;
  --bg-surface: #0c0e17;
  --bg-hover: #1b2133;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(251, 191, 36, 0.4);
  --accent-amber: #fbbf24;
  --accent-amber-hover: #f59e0b;
  --accent-emerald: #10b981;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --font-display: 'Syne', system-ui, -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--bg-main);
}

::selection {
  background-color: var(--accent-amber);
  color: #000;
}

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

button, input, select, textarea {
  font-family: inherit;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Header & Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: rgba(9, 11, 16, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-amber);
  transition: transform 0.2s;
}

.brand-link:hover .brand-icon {
  transform: scale(1.06);
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.brand-text span {
  color: var(--accent-amber);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  padding: 0.25rem 0;
  transition: color 0.15s;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link:hover {
  color: #fff;
}

.nav-link.active {
  color: var(--accent-amber);
  font-weight: 600;
  border-bottom: 2px solid var(--accent-amber);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
  outline: none;
}

.btn-primary {
  background: var(--accent-amber);
  color: #090b10;
  font-weight: 700;
}

.btn-primary:hover {
  background: var(--accent-amber-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-icon {
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  border-radius: 0.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-icon:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.mobile-menu-toggle {
  display: flex;
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 0.75rem 1rem 1.25rem;
  background: #0c0e17;
  border-bottom: 1px solid var(--border-subtle);
  gap: 0.4rem;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a, .mobile-nav button {
  text-align: left;
  padding: 0.6rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  width: 100%;
}

.mobile-nav a.active, .mobile-nav button.active {
  background: rgba(251, 191, 36, 0.12);
  color: var(--accent-amber);
  font-weight: 600;
}

/* Hero Section */
.hero-section {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
  background-color: var(--bg-main);
  min-height: 460px;
  display: flex;
  align-items: flex-end;
}

@media (min-width: 1024px) {
  .hero-section {
    min-height: 520px;
  }
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.55);
  transform: scale(1.02);
  transition: transform 0.8s ease-out;
}

.hero-scrim-left {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #090b10 0%, rgba(9, 11, 16, 0.85) 50%, transparent 100%);
  z-index: 10;
}

.hero-scrim-bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #090b10 0%, rgba(9, 11, 16, 0.3) 60%, transparent 100%);
  z-index: 10;
}

.hero-content {
  position: relative;
  z-index: 20;
  padding-top: 4rem;
  padding-bottom: 4rem;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.hero-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-amber);
}

.hero-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.02em;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

/* Zero-Pill Unboxed Metadata */
.metadata-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.meta-dot {
  color: var(--text-muted);
}

.meta-score {
  color: var(--accent-amber);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.hero-synopsis {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.9);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

/* Search and Filters */
.filters-section {
  padding-top: 2rem;
  padding-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.filter-top-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 1024px) {
  .filter-top-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.category-pills {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 0.75rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  background: transparent;
  color: var(--text-secondary);
  border: none;
  cursor: pointer;
  transition: all 0.15s;
}

.category-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.category-btn.active {
  background: var(--accent-amber);
  color: #090b10;
  font-weight: 700;
}

.search-box-wrapper {
  position: relative;
  flex: 1;
  max-width: 540px;
}

.search-input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 0.75rem;
  padding: 0.65rem 2.2rem 0.65rem 2.5rem;
  color: #fff;
  font-size: 0.8125rem;
  outline: none;
  transition: border-color 0.15s;
}

.search-input:focus {
  border-color: var(--accent-amber);
}

.search-icon-left {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.search-clear-btn {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
}

.search-clear-btn:hover {
  color: #fff;
}

.filter-selects {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.custom-select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 0.75rem;
  padding: 0.6rem 2rem 0.6rem 0.85rem;
  color: var(--text-secondary);
  font-size: 0.75rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  outline: none;
}

.custom-select:focus {
  border-color: var(--accent-amber);
}

.genres-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scrollbar-width: none;
}

.genre-pill {
  padding: 0.35rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s;
}

.genre-pill:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.genre-pill.active {
  background: var(--accent-amber);
  color: #090b10;
  font-weight: 700;
  border-color: var(--accent-amber);
}

.results-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.reset-filters-btn {
  background: none;
  border: none;
  color: var(--accent-amber);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

/* Movie Cards Grid */
.movies-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding-bottom: 3rem;
}

@media (min-width: 640px) {
  .movies-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 900px) {
  .movies-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1200px) {
  .movies-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.movie-card {
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
}

.movie-poster-box {
  position: relative;
  aspect-ratio: 3 / 4;
  width: 100%;
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.movie-card:hover .movie-poster-box {
  border-color: var(--border-highlight);
  box-shadow: 0 10px 24px rgba(251, 191, 36, 0.12);
}

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

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

.movie-scrim-bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 11, 16, 0.8) 0%, transparent 60%);
  pointer-events: none;
}

.movie-rating-badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.45rem;
  border-radius: 0.375rem;
  background: rgba(9, 11, 16, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-amber);
}

.movie-watchlist-toggle {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  padding: 0.4rem;
  border-radius: 0.375rem;
  background: rgba(9, 11, 16, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.movie-watchlist-toggle:hover {
  color: #fff;
  background: #000;
}

.movie-watchlist-toggle.watchlisted {
  background: var(--accent-amber);
  color: #090b10;
  border-color: var(--accent-amber);
}

.movie-age-badge {
  position: absolute;
  bottom: 0.6rem;
  right: 0.6rem;
  font-size: 0.625rem;
  font-family: monospace;
  padding: 0.15rem 0.35rem;
  border-radius: 0.25rem;
  background: rgba(0, 0, 0, 0.7);
  color: var(--text-secondary);
}

.movie-info {
  padding-top: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.movie-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s;
}

.movie-card:hover .movie-title {
  color: var(--accent-amber);
}

.movie-submeta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Detail Modal / Detail Page */
.detail-container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.detail-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.permalink-box {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  font-size: 0.75rem;
}

@media (min-width: 640px) {
  .permalink-box {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.permalink-tag {
  padding: 0.2rem 0.45rem;
  border-radius: 0.35rem;
  background: rgba(251, 191, 36, 0.12);
  color: var(--accent-amber);
  font-family: monospace;
  font-weight: 700;
  font-size: 0.6875rem;
}

.permalink-url {
  font-family: monospace;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Fake Streaming Video Player */
.player-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 1rem;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  user-select: none;
}

.player-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.6);
}

.player-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.75) 100%);
  pointer-events: none;
}

.player-top-bar {
  position: absolute;
  top: 0;
  inset-x: 0;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 20;
  background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.55rem;
  border-radius: 0.35rem;
  background: rgba(220, 38, 38, 0.9);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  animation: pulse 2s infinite;
}

.server-selector {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.server-btn {
  padding: 0.3rem 0.6rem;
  border-radius: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s;
}

.server-btn.active {
  background: var(--accent-amber);
  color: #090b10;
  border-color: var(--accent-amber);
}

.player-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
}

.play-circle-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(251, 191, 36, 0.95);
  color: #090b10;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(251, 191, 36, 0.4);
  transition: transform 0.2s, background 0.2s;
  position: relative;
}

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

.buffering-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.75rem;
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  text-align: center;
}

.progress-track {
  width: 180px;
  height: 6px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--accent-amber);
  transition: width 0.3s ease;
}

/* Money Site Action CTA Buttons */
.moneysite-actions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  width: 100%;
}

@media (min-width: 640px) {
  .moneysite-actions-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.btn-moneysite-watch {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-radius: 0.875rem;
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #f59e0b 100%);
  color: #090b10;
  font-weight: 800;
  text-decoration: none;
  overflow: hidden;
  border: 1px solid rgba(254, 240, 138, 0.5);
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.25);
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
}

.btn-moneysite-watch:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(245, 158, 11, 0.35);
}

.btn-moneysite-download {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-radius: 0.875rem;
  background: linear-gradient(135deg, #059669 0%, #10b981 50%, #0d9488 100%);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  overflow: hidden;
  border: 1px solid rgba(110, 231, 183, 0.4);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.25);
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
}

.btn-moneysite-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(16, 185, 129, 0.35);
}

.cta-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.cta-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 0.6rem;
  background: rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta-title-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.badge-tag {
  font-size: 0.625rem;
  padding: 0.15rem 0.35rem;
  border-radius: 0.25rem;
  background: rgba(0, 0, 0, 0.25);
  font-family: monospace;
  font-weight: 700;
}

.cta-subtitle {
  font-size: 0.6875rem;
  opacity: 0.85;
  font-weight: 500;
}

/* Cast Grid */
.cast-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

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

.cast-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem;
  border-radius: 0.6rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}

.cast-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: #1a2030;
  flex-shrink: 0;
}

.cast-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cast-role {
  font-size: 0.6875rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Reviews Box */
.reviews-section {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}

.review-item {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.review-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
}

.review-author {
  font-weight: 700;
  color: #fff;
}

.review-comment {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: #121622;
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.25rem;
  cursor: pointer;
}

.modal-close-btn:hover {
  color: #fff;
}

/* Footer */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  background: #06070a;
  padding: 2.5rem 0;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    text-align: left;
  }
}

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

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

.animate-spin {
  animation: spin 1s linear infinite;
}

/* ==========================================================================
   Fake Player Streaming Access Popup Modal
   ========================================================================== */
.stream-modal-card {
  max-width: 540px;
  background: #0f131d;
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.95), 0 0 35px rgba(251, 191, 36, 0.12);
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  animation: modalPopIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPopIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

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

.stream-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: var(--accent-amber);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 9999px;
}

.stream-modal-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stream-modal-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.stream-modal-desc {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Mini Preview Card */
.stream-preview-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 0.75rem;
  padding: 0.65rem;
}

.stream-preview-thumb {
  width: 90px;
  height: 56px;
  object-fit: cover;
  border-radius: 0.45rem;
  background: #000;
  flex-shrink: 0;
}

.stream-preview-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.stream-preview-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stream-preview-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.stream-badge-hd {
  background: var(--accent-amber);
  color: #000;
  font-weight: 800;
  font-size: 0.625rem;
  padding: 0.1rem 0.35rem;
  border-radius: 0.25rem;
}

.stream-preview-sub {
  font-size: 0.6875rem;
  color: #10b981;
  font-weight: 500;
}

/* Benefits Checklist */
.stream-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0.2rem 0;
}

.stream-features-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8125rem;
  color: #cbd5e1;
}

.stream-features-list li strong {
  color: #fff;
}

/* Big Vibrant Popup CTA */
.btn-stream-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #090b10 !important;
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.85rem 1.25rem;
  border-radius: 0.75rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4), 0 0 20px rgba(251, 191, 36, 0.2);
  transition: all 0.2s ease;
  cursor: pointer;
  margin-top: 0.25rem;
}

.btn-stream-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6), 0 0 25px rgba(251, 191, 36, 0.35);
  background: linear-gradient(135deg, #fcd34d 0%, #fbbf24 100%);
}

.stream-modal-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.25rem;
}

.stream-login-link {
  font-size: 0.75rem;
  color: var(--text-secondary);
  transition: color 0.15s;
}

.stream-login-link:hover {
  color: var(--accent-amber);
}

.stream-ssl-badge {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.6875rem;
  color: var(--text-muted);
}

