/* ============================================================
   RolexMvz — top design system (light theme)
   Cool palette · Roboto + Sen · 5px grid · expressive motion
   ============================================================ */

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Regular.ttf") format("truetype");
  font-weight: 400;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Medium.ttf") format("truetype");
  font-weight: 500;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Bold.ttf") format("truetype");
  font-weight: 700;
}
@font-face {
  font-family: "Sen";
  src: url("../fonts/Sen-Regular.ttf") format("truetype");
  font-weight: 400;
}
@font-face {
  font-family: "Sen";
  src: url("../fonts/Sen-Medium.ttf") format("truetype");
  font-weight: 500;
}
@font-face {
  font-family: "Sen";
  src: url("../fonts/Sen-Bold.ttf") format("truetype");
  font-weight: 700;
}

:root {
  --background: #ffffff;
  --surface: #f5f5f5;
  --text-primary: #000000;
  --text-muted: #aaaaaa;
  --text-faint: #888888;
  --border: #232323;
  --border-soft: #e0dede;
  --accent: #00b4db;
  --success: #0ee71c;
  --warning: #ffa500;
  --danger: #e40505;

  --shadow-raised: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-floating: 0 4px 8px rgba(0, 0, 0, 0.2);
  --shadow-accent: 0 0 0 2px rgba(0, 188, 212, 0.33);

  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-card: 8%;
  --radius-pill: 9999px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html.dark {
  --background: #111010;
  --surface: #1a1a1a;
  --text-primary: #e0dede;
  --text-muted: #aaaaaa;
  --text-faint: #888888;
  --border: #444444;
  --border-soft: #2e3235;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--background);
  color: var(--text-primary);
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3, h4 {
  font-family: "Sen", sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
input { font-family: inherit; }

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================
   Buttons
   ============================================================ */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent);
  color: var(--text-primary);
  border: 1px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 10px 20px;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: opacity 0.18s, color 0.18s, background 0.18s, border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-primary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 15px;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.18s, background 0.18s, border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.btn-ghost:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn-ghost.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text-primary);
}

/* ============================================================
   Inputs
   ============================================================ */

.input {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 15px;
  color: var(--text-primary);
  font-size: 0.875rem;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.input::placeholder { color: var(--text-muted); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: var(--shadow-accent); }

/* ============================================================
   Navigation
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--background);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
.site-header.scrolled { box-shadow: var(--shadow-raised); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Sen", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
  white-space: nowrap;
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--accent);
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 700;
  object-fit: cover;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); }
.theme-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

html.dark .theme-toggle .icon-sun { display: block; }
html.dark .theme-toggle .icon-moon { display: none; }

.search-input { width: 160px; transition: width 0.2s; }
.search-input:focus { width: 220px; }

@media (max-width: 600px) {
  .header-inner { gap: 8px; padding: 10px 0; }
  .logo { gap: 8px; font-size: 1.1rem; }
  .logo-mark { width: 36px; height: 36px; }
  .header-actions { gap: 8px; }
  .search-input { width: auto; flex: 1; min-width: 0; }
  .search-input:focus { width: auto; }
  .container { padding: 0 16px; }
}
@media (max-width: 420px) {
  .logo span:last-child { display: none; }
}

/* ============================================================
   Spotlight
   ============================================================ */

.spotlight-section { padding: 40px 0 70px; }

.spotlight-note {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.spotlight-carousel {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-raised);
  background: #101010;
}

.spotlight-slides {
  position: relative;
  aspect-ratio: 16 / 7;
  min-height: 420px;
}

.spotlight-slide {
  position: absolute;
  inset: 0;
  display: block;
  color: #ffffff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
.spotlight-slide.active { opacity: 1; visibility: visible; }

.spotlight-bg {
  position: absolute;
  inset: 0;
}
.spotlight-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.spotlight-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(78deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.55) 40%, rgba(0, 0, 0, 0.12) 72%, rgba(0, 0, 0, 0.05) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 45%);
}

.spotlight-content {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  max-width: 640px;
  padding: clamp(20px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spotlight-label {
  align-self: flex-start;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.spotlight-title {
  font-family: "Sen", sans-serif;
  font-size: clamp(1.35rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.spotlight-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8125rem;
}
.spotlight-meta .spotlight-meta-quality { color: #7fe6ff; font-weight: 600; }
.spotlight-meta span + span::before {
  content: "\2022";
  margin-right: 15px;
  color: rgba(255, 255, 255, 0.45);
}

.spotlight-formats { display: flex; flex-wrap: wrap; gap: 5px; }
.spotlight-formats .spotlight-format {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
}

.spotlight-desc {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.875rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.spotlight-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 2px;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 18px rgba(0, 180, 219, 0.35);
  transition: transform 0.18s, opacity 0.18s;
}
.spotlight-slide:hover .spotlight-cta { opacity: 0.88; transform: translateY(-1px); }

.spotlight-dots {
  position: absolute;
  left: clamp(20px, 4vw, 40px);
  bottom: 16px;
  z-index: 3;
  display: flex;
  gap: 7px;
}
.spotlight-dot {
  width: 26px;
  height: 4px;
  border: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s;
}
.spotlight-dot.active { background: var(--accent); }

.spotlight-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.4);
  color: #ffffff;
  cursor: pointer;
  transition: background 0.2s;
}
.spotlight-arrow:hover { background: rgba(0, 0, 0, 0.7); }
.spotlight-arrow.prev { left: 16px; }
.spotlight-arrow.next { right: 16px; }
.spotlight-arrow svg { width: 20px; height: 20px; }

@media (max-width: 767px) {
  .spotlight-slides { aspect-ratio: 4 / 5; min-height: 0; }
  .spotlight-arrow { display: none; }
  .spotlight-desc { display: none; }
  .spotlight-content { padding: 20px 16px 44px; gap: 10px; }
  .spotlight-title { font-size: clamp(1.15rem, 5vw, 1.5rem); }
  .spotlight-meta { gap: 10px; font-size: 0.75rem; }
  .spotlight-dots { left: 16px; bottom: 16px; }
}

/* ============================================================
   Sections
   ============================================================ */

.latest-releases { padding: 50px 0 70px; }

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}
.section-title {
  font-family: "Sen", sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
}
.section-link {
  color: var(--accent);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: opacity 0.18s;
}
.section-link:hover { opacity: 0.8; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 480px) {
  .card-grid { gap: 12px; }
  .movie-card-content { padding: 12px; gap: 8px; }
  .movie-card-title { font-size: 0.8125rem; }
  .movie-card-meta-item { font-size: 0.75rem; }
  .spotlight-section { padding: 24px 0 40px; }
  .latest-releases { padding: 32px 0 48px; }
  .section-header { margin-bottom: 18px; }
}

@media (hover: none) {
  .movie-card:hover,
  .movie-card:focus-visible { transform: none; }
  .movie-card:active { transform: scale(0.98); }
  .movie-card-cta { display: none; }
  .spotlight-slide:hover .spotlight-cta { opacity: 1; transform: none; }
}

/* ============================================================
   Movie Card
   ============================================================ */

.movie-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-raised);
  transition: transform 0.2s, box-shadow 0.3s, border-color 0.3s;
}
.movie-card:hover,
.movie-card:focus-visible {
  transform: translateY(-5px);
  box-shadow: var(--shadow-floating);
  border-color: var(--accent);
  outline: none;
}

.movie-card-image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--text-faint);
}
.movie-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.movie-card:hover .movie-card-image img,
.movie-card:focus-visible .movie-card-image img { transform: scale(1.06); }

.movie-card-shade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
  pointer-events: none;
}

.type-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  background: var(--text-primary);
  color: var(--background);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.quality-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  background: var(--accent);
  color: var(--text-primary);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(0, 188, 212, 0.4);
}

.views-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 1;
  background: rgba(0, 0, 0, 0.75);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.platform-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 1;
  background: rgba(0, 0, 0, 0.75);
  color: #ffffff;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.6875rem;
  max-width: 60%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.movie-card-cta {
  position: absolute;
  left: 50%;
  bottom: 20px;
  z-index: 1;
  transform: translate(-50%, 10px);
  background: var(--accent);
  color: var(--text-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}
.movie-card:hover .movie-card-cta,
.movie-card:focus-visible .movie-card-cta {
  opacity: 1;
  transform: translate(-50%, 0);
}

.movie-card-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 15px;
}

.movie-card-title {
  font-family: "Sen", sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}

.movie-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.movie-card-meta-item {
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.movie-card-meta-item + .movie-card-meta-item::before {
  content: "\2022";
  margin-right: 10px;
  color: var(--text-faint);
}
.movie-card-meta-quality {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
}

.movie-card-formats {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.movie-card-format {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-faint);
  background: var(--background);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  padding: 2px 8px;
}

/* ============================================================
   Pagination
   ============================================================ */

.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.pagination-container .page-info {
  color: var(--text-faint);
  font-size: 0.8125rem;
  padding: 10px 5px;
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--background);
  padding: 50px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: 10px;
  max-width: 360px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  color: var(--text-faint);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.18s, border-color 0.18s, transform 0.18s;
}
.social-link:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }

.footer-col-title {
  font-family: "Sen", sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 15px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-link {
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: color 0.18s;
}
.footer-link:hover { color: var(--text-primary); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 25px 0;
  margin-top: 50px;
  border-top: 1px solid var(--border);
}
.footer-bottom p {
  color: var(--text-faint);
  font-size: 0.8125rem;
}

/* ============================================================
   Back to top
   ============================================================ */

.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  font-size: 0.8125rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.2s;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover { color: var(--accent); border-color: var(--accent); }

/* ============================================================
   Empty state
   ============================================================ */

.empty-state {
  text-align: center;
  padding: 50px 20px;
  color: var(--text-faint);
}
.empty-state-icon {
  font-size: 2rem;
  margin-bottom: 10px;
  opacity: 0.5;
}
.empty-state p { font-size: 0.9375rem; }
.empty-state .btn-primary { margin-top: 20px; }

/* ============================================================
   Motion
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Responsive
   ============================================================ */

@media (min-width: 600px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .search-input { width: 200px; }
  .search-input:focus { width: 240px; }
}

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

@media (min-width: 1280px) {
  .card-grid { grid-template-columns: repeat(5, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* ============================================================
   Liquid Glass Overlay
   ============================================================ */

:root {
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-bg-strong: rgba(255, 255, 255, 0.74);
  --glass-bg-weak: rgba(255, 255, 255, 0.34);
  --glass-bg-faint: rgba(255, 255, 255, 0.16);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-border-soft: rgba(255, 255, 255, 0.42);
  --glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.14);
  --glass-blur: blur(16px) saturate(160%);
}

html.dark {
  --glass-bg: rgba(17, 16, 16, 0.5);
  --glass-bg-strong: rgba(17, 16, 16, 0.74);
  --glass-bg-weak: rgba(255, 255, 255, 0.07);
  --glass-bg-faint: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-border-soft: rgba(255, 255, 255, 0.09);
  --glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(640px 640px at 12% 15%, rgba(0, 180, 219, 0.16), transparent 65%),
    radial-gradient(720px 720px at 88% 10%, rgba(255, 255, 255, 0.95), transparent 60%),
    radial-gradient(820px 820px at 50% 95%, rgba(0, 180, 219, 0.12), transparent 62%),
    radial-gradient(520px 520px at 90% 70%, rgba(0, 0, 238, 0.05), transparent 60%);
}

html.dark body::before {
  background:
    radial-gradient(640px 640px at 12% 15%, rgba(0, 180, 219, 0.14), transparent 65%),
    radial-gradient(720px 720px at 88% 10%, rgba(255, 255, 255, 0.04), transparent 60%),
    radial-gradient(820px 820px at 50% 95%, rgba(0, 180, 219, 0.1), transparent 62%);
}

.site-header {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  transition: box-shadow 0.2s, background 0.2s;
}
.site-header.scrolled {
  background: var(--glass-bg-strong);
  box-shadow: var(--glass-highlight), var(--glass-shadow);
}

.search-input,
.theme-toggle {
  background: var(--glass-bg-weak);
  border-color: var(--glass-border-soft);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-primary { box-shadow: 0 4px 18px rgba(0, 180, 219, 0.35), var(--glass-highlight); }
.btn-ghost {
  background: var(--glass-bg-weak);
  border-color: var(--glass-border-soft);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.spotlight-carousel {
  border: 1px solid var(--glass-border-soft);
  box-shadow: var(--glass-highlight), var(--glass-shadow);
}

.movie-card {
  background: var(--glass-bg);
  border-color: var(--glass-border-soft);
  box-shadow: var(--glass-highlight), var(--glass-shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.movie-card:hover,
.movie-card:focus-visible {
  border-color: var(--accent);
  box-shadow: var(--glass-highlight), 0 12px 40px rgba(31, 38, 135, 0.18);
}

.views-badge,
.platform-badge {
  background: rgba(17, 16, 16, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.movie-card-cta { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25), var(--glass-highlight); }

.movie-card-format {
  background: var(--glass-bg-weak);
  border-color: var(--glass-border-soft);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.site-footer {
  background: var(--glass-bg);
  border-color: var(--glass-border-soft);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.social-link {
  background: var(--glass-bg-weak);
  border-color: var(--glass-border-soft);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.back-to-top {
  background: var(--glass-bg-strong);
  border-color: var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}
