/* ===== Variables ===== */
:root {
  --bg: #0b0b0d;
  --bg-alt: #131316;
  --bg-card: #17171b;
  --border: #262629;
  --text: #ededee;
  --text-muted: #a3a3aa;
  --gold: #d4af37;
  --gold-light: #f0d675;
  --gold-dark: #a8822b;
  --radius: 10px;
  --max-width: 1140px;
  --font: "Manrope", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Poppins", "Manrope", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

h1, h2, h3 { line-height: 1.25; font-weight: 700; font-family: var(--font-display); }

.gold {
  color: var(--gold);
  background: linear-gradient(90deg, var(--gold-dark) 0%, var(--gold-light) 25%, #fff6d8 40%, var(--gold-light) 55%, var(--gold-dark) 80%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: shimmer 5s linear infinite;
}
@keyframes shimmer {
  to { background-position: -250% center; }
}
@media (prefers-reduced-motion: reduce) {
  .gold {
    animation: none;
    background: none;
    -webkit-text-fill-color: var(--gold);
    color: var(--gold);
  }
}

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

/* ===== Accessibility: focus & skip link ===== */
.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 1000;
  background: var(--gold);
  color: #14140f;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 700;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.gold-link {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.gold-link:hover { color: var(--gold-light); }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: scale(0);
  animation: rippleAnim 0.6s ease-out;
  pointer-events: none;
}
@keyframes rippleAnim {
  to { transform: scale(1); opacity: 0; }
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #14140f;
}
.btn-gold:hover {
  filter: brightness(1.08);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.35);
}

.btn-gold-outline {
  border: 1.5px solid var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn-gold-outline:hover {
  background: var(--gold);
  color: #14140f;
}

.btn-pulse {
  animation: btnPulseGlow 2.2s ease-in-out infinite;
}
.btn-pulse:hover { animation-play-state: paused; }
@keyframes btnPulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.45); }
  50% { box-shadow: 0 0 0 14px rgba(212, 175, 55, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .btn-pulse { animation: none; }
}

.btn-lg { padding: 16px 38px; font-size: 1.05rem; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

/* ===== Scroll progress bar ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  z-index: 999;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 13, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  background: rgba(11, 11, 13, 0.97);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}
.site-header.scrolled .header-inner { padding-top: 10px; padding-bottom: 10px; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 24px;
  transition: padding 0.25s ease;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  white-space: nowrap;
}
.logo-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
}
.logo-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.logo-word {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-line1 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: var(--gold);
  white-space: nowrap;
}
.logo-line2 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--text-muted);
  margin-top: 2px;
}
.btn-icon { width: 16px; height: 16px; flex-shrink: 0; }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; }

.main-nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}
.main-nav a:hover { color: var(--gold); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.main-nav a:hover::after { width: 100%; }
.main-nav a.active { color: var(--gold); }
.main-nav a.active::after { width: 100%; }

.nav-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: 0.3s ease;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 720px;
  padding: 150px clamp(24px, 6vw, 100px) 100px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  box-sizing: border-box;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% center;
  transform: scale(1.08);
  transition: transform 0.4s ease-out;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg img { transition: none; transform: none; }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(11,11,13,0.88) 26%, rgba(11,11,13,0.45) 48%, transparent 68%),
    linear-gradient(0deg, var(--bg) 0%, transparent 16%, transparent 84%, var(--bg) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1700px;
  margin: 0 auto;
}

.hero-text { max-width: 620px; }

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow-dot { color: var(--gold-dark); margin: 0 4px; }

.hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.5px;
  margin-bottom: 22px;
}

.hero h1 .gold {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: var(--gold);
  color: var(--gold);
  animation: none;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6), 0 0 3px rgba(0, 0, 0, 0.5);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.headline-line { display: inline-block; }
.letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.35em);
  animation: letterIn 0.5s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}
@keyframes letterIn {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .letter {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
.hero-sub {
  max-width: 480px;
  margin: 0 0 32px;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-actions .btn-lg { display: inline-flex; align-items: center; gap: 10px; }
.btn-icon-arrow { transition: transform 0.2s ease; }
.hero-actions .btn-lg:hover .btn-icon-arrow { transform: translateX(3px); }

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text);
}
.hero-link-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--text-muted);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.hero-link-icon svg { width: 16px; height: 16px; }
.hero-link:hover .hero-link-icon { border-color: var(--gold); color: var(--gold); }

.hero-stats {
  display: flex;
  gap: 16px;
  flex-wrap: nowrap;
}
.hero-stat { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.hero-stat-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--gold-dark);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-stat-icon svg { width: 15px; height: 15px; }
.hero-stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
  white-space: nowrap;
}

@media (max-width: 980px) {
  .hero { min-height: 640px; padding: 100px clamp(20px, 5vw, 60px) 80px; }
  .hero-bg img { object-position: 68% center; }
  .hero-scrim {
    background:
      linear-gradient(90deg, var(--bg) 0%, rgba(11,11,13,0.92) 40%, rgba(11,11,13,0.65) 70%, rgba(11,11,13,0.35) 100%),
      linear-gradient(0deg, var(--bg) 0%, transparent 16%, transparent 84%, var(--bg) 100%);
  }
}

@media (max-width: 700px) {
  .hero { min-height: 560px; padding: 84px 20px 64px; }
  .hero-bg img { object-position: 60% center; }
  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(11,11,13,0.5) 0%, var(--bg) 78%),
      linear-gradient(90deg, var(--bg) 0%, rgba(11,11,13,0.6) 60%, rgba(11,11,13,0.3) 100%);
  }
  .hero-text { max-width: 100%; }
  .hero-sub { max-width: 100%; }
  .hero-actions { gap: 18px; }
  .hero-stats {
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }
  .hero-stat-icon { width: 30px; height: 30px; }
  .hero-stat-label { font-size: 0.68rem; }
}

/* Hero load-in */
.hero-load {
  opacity: 0;
  transform: translateY(22px);
  animation: heroLoad 0.7s ease forwards;
  animation-delay: var(--d, 0s);
}
@keyframes heroLoad {
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Scroll reveal (cinematic) ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(52px) scale(0.94);
  filter: blur(6px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.9s ease;
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].reveal-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  .hero-load, [data-reveal] {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* ===== Sections ===== */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }

.section-title {
  text-align: center;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  margin-bottom: 56px;
}

/* ===== Poster filmstrip ===== */
.poster-strip {
  position: relative;
  overflow: hidden;
  background: #000;
  padding: 10px 0;
  border-top: 3px solid var(--gold-dark);
  border-bottom: 3px solid var(--gold-dark);
  background-image:
    radial-gradient(circle, var(--gold-dark) 2px, transparent 2.5px);
  background-size: 22px 100%;
  background-position: 0 4px, 0 bottom;
  background-repeat: repeat-x;
}
.poster-strip::before,
.poster-strip::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.poster-strip::before { left: 0; background: linear-gradient(90deg, var(--bg-alt), transparent); }
.poster-strip::after { right: 0; background: linear-gradient(270deg, var(--bg-alt), transparent); }

.poster-strip-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: stripScroll 30s linear infinite;
}
.poster-strip-track img {
  height: 130px;
  width: auto;
  border-radius: 6px;
  opacity: 0.85;
  border: 1px solid rgba(212, 175, 55, 0.25);
}

@keyframes stripScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .poster-strip-track { animation: none; }
}

@media (max-width: 600px) {
  .poster-strip-track img { height: 90px; }
}

/* ===== Featured Movies ===== */
.movies-intro {
  text-align: center;
  color: var(--text-muted);
  margin-top: -36px;
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.filter-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-pill {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-pill:hover { border-color: var(--gold-dark); color: var(--text); }
.filter-pill.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #14140f;
}

.movie-new-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--gold);
  color: #14140f;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 9px;
  border-radius: 4px;
}

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

@media (max-width: 1080px) {
  .movies-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 860px) {
  .movies-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .movies-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 380px) {
  .movies-grid { grid-template-columns: 1fr; }
}

.movie-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  opacity: 0;
  transform: translateY(36px) scale(0.95);
  filter: blur(4px);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms),
    box-shadow 0.25s ease, border-color 0.25s ease,
    opacity 0.6s ease var(--reveal-delay, 0ms),
    filter 0.6s ease var(--reveal-delay, 0ms);
}
.movie-card.card-visible { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
@media (prefers-reduced-motion: reduce) {
  .movie-card { transition: none; opacity: 1; transform: none; filter: none; }
}
.movie-card {
  will-change: transform;
}
.movie-card:hover {
  border-color: var(--gold-dark);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.movie-poster {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.movie-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.movie-card:hover .movie-poster img { transform: scale(1.06); }

.movie-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.75));
}

.movie-info { padding: 14px; text-align: center; }
.movie-meta { color: var(--text-muted); font-size: 0.72rem; margin-bottom: 10px; }
.movie-info h3 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--gold-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.movie-badges {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.badge-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  font-size: 0.75rem;
  flex-shrink: 0;
}
.badge {
  font-size: 0.62rem;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: var(--bg-alt);
  white-space: nowrap;
}
.badge-lang {
  color: var(--gold);
  border-color: var(--gold-dark);
}

.movie-actions {
  display: flex;
  gap: 6px;
}
.movie-actions .btn {
  flex: 1;
  padding: 8px 6px;
  font-size: 0.72rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  justify-content: center;
}

/* Play button dynamic states */
.play-btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; }
.play-icon { font-size: 0.75rem; transition: transform 0.2s ease; }
.play-btn.syncing {
  pointer-events: none;
  opacity: 0.85;
}
.play-btn.syncing .play-icon {
  display: inline-block;
  animation: spin 0.8s linear infinite;
}
.play-btn.playing {
  background: var(--gold);
  color: #14140f;
}
.play-btn.playing .play-icon { transform: scale(1.1); }

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

/* "Now Playing" badge on poster */
.playing-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: none;
  align-items: center;
  gap: 6px;
  background: rgba(11, 11, 13, 0.85);
  border: 1px solid var(--gold-dark);
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 5px 10px 5px 8px;
  border-radius: 999px;
  z-index: 2;
}
.movie-poster.is-playing .playing-badge { display: inline-flex; }

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 rgba(239, 68, 68, 0.6);
  animation: pulseDot 1.4s ease-out infinite;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* ===== Sync Status ===== */
.sync-intro {
  text-align: center;
  color: var(--text-muted);
  margin-top: -36px;
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 44px;
  margin: 0 auto 40px;
  max-width: 340px;
}
.waveform span {
  flex: 1;
  min-width: 3px;
  height: 20%;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-dark));
  animation-name: wavePulse;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
@keyframes wavePulse {
  0%, 100% { height: 18%; opacity: 0.7; }
  50% { height: 100%; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .waveform span { animation: none; height: 45%; opacity: 0.85; }
}

.ss-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}
.ss-ring {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #4ade80;
  color: #08130c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  flex-shrink: 0;
}
.ss-banner-title { font-size: 19px; font-weight: 700; }
.ss-banner-sub { color: var(--text-muted); margin-top: 2px; }

.ss-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}
.ss-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  will-change: transform;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ss-card:hover { border-color: var(--gold-dark); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.ss-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.ss-card-title { font-size: 17px; font-weight: 700; }
.ss-status-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid #4ade80;
  color: #4ade80;
  font-weight: 700;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 999px;
}
.ss-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.ss-dot-green { background: #4ade80; }
.ss-file { font-size: 12px; color: var(--text-muted); margin-bottom: 16px; }
.ss-metrics {
  display: flex;
  gap: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}
.ss-metric-value { font-size: 22px; font-weight: 700; color: var(--gold); }
.ss-metric-label { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.ss-detail { color: var(--text-muted); margin: 0; }

.ss-legend {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 780px;
  margin: 0 auto;
}
.ss-legend strong {
  color: var(--gold);
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.ss-legend p { margin: 0; }

@media (max-width: 700px) {
  .ss-grid { grid-template-columns: 1fr; }
}

/* ===== About ===== */
.about-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.about-inner h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  margin-bottom: 28px;
}
.about-inner p { color: var(--text-muted); margin-bottom: 20px; font-size: 1.05rem; }
.about-highlight {
  color: var(--text) !important;
  font-weight: 600;
  border-left: 3px solid var(--gold);
  padding-left: 18px;
  text-align: left;
  margin-top: 32px !important;
}
.owner-card {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding: 14px 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-alt);
  text-align: left;
}
.owner-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}
.owner-name { color: var(--text); font-weight: 700; font-size: 1rem; }
.owner-title { color: var(--text-muted); font-size: 0.85rem; margin-top: 2px; }

/* ===== Steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.step-card { will-change: transform; }
.step-card:hover {
  border-color: var(--gold-dark);
}
.step-num {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.step-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.step-card p { color: var(--text-muted); }

/* ===== Features ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  border-top: 2px solid var(--gold-dark);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}
.feature-card { will-change: transform; }
.feature-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* Cursor-tracking gold glow */
.tilt-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(212, 175, 55, 0.16), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.tilt-card:hover::before { opacity: 1; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--gold-light); }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ===== Mission ===== */
.section-mission {
  background:
    radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.08), transparent 70%),
    var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.mission-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.mission-inner p { color: var(--text-muted); margin-bottom: 18px; font-size: 1.05rem; }

/* ===== FAQ ===== */
.faq-inner { max-width: 780px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  padding: 20px 24px;
  cursor: pointer;
}
.faq-icon {
  color: var(--gold);
  font-size: 1.3rem;
  font-weight: 300;
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 24px 22px;
}
.faq-answer p { color: var(--text-muted); }

/* ===== CTA / Download ===== */
.section-cta {
  text-align: center;
  background: linear-gradient(180deg, var(--bg-alt), var(--bg));
}
.cta-inner h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); margin-bottom: 16px; }
.cta-inner p { color: var(--text-muted); margin-bottom: 36px; font-size: 1.05rem; }
.store-buttons { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* ===== Contact ===== */
.contact-inner { max-width: 620px; margin: 0 auto; text-align: center; }
.contact-inner p { color: var(--text-muted); margin-bottom: 28px; }
.contact-details p { color: var(--text); margin-bottom: 10px; font-size: 1.05rem; }

/* ===== Accessibility statement ===== */
.a11y-inner { max-width: 820px; margin: 0 auto; }
.a11y-intro {
  text-align: center;
  color: var(--text-muted);
  margin-top: -36px;
  margin-bottom: 44px;
  font-size: 1.05rem;
}

.a11y-list {
  list-style: none;
  display: grid;
  gap: 18px;
  margin-bottom: 40px;
}
.a11y-list li {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.a11y-list h3 {
  font-size: 1rem;
  color: var(--gold-light);
}
.a11y-list p {
  color: var(--text-muted);
  font-size: 0.93rem;
}

.a11y-footnote {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* ===== Legal pages ===== */
.legal-header {
  padding: 60px 0 20px;
  text-align: center;
}
.legal-header .eyebrow-label {
  display: block;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.legal-header h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.legal-updated { color: var(--text-muted); font-size: 0.9rem; margin-top: 10px; }

.legal-article { max-width: 760px; margin: 0 auto; padding: 20px 0 80px; }
.legal-article h2 {
  font-size: 1.25rem;
  color: var(--gold-light);
  margin: 40px 0 14px;
}
.legal-article h2:first-child { margin-top: 0; }
.legal-article p { color: var(--text-muted); margin-bottom: 14px; }
.legal-article a { text-decoration: underline; text-underline-offset: 3px; }
.legal-list { color: var(--text-muted); margin: 0 0 14px; padding-left: 20px; }
.legal-list li { margin-bottom: 6px; }

.back-home-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.back-home-link:hover { color: var(--gold); }

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 56px 0 32px;
}
.footer-inner { text-align: center; }
.footer-logo { display: inline-block; margin-bottom: 14px; }
.footer-tagline {
  color: var(--gold-light);
  font-style: italic;
  font-size: 1.05rem;
  margin-bottom: 28px;
}
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.footer-nav a { color: var(--text-muted); font-size: 0.92rem; }
.footer-nav a:hover { color: var(--gold); }
.footer-copy { color: #6b6b72; font-size: 0.85rem; }
.footer-credit { color: #6b6b72; font-size: 0.8rem; margin-top: 6px; }
.footer-credit a { color: var(--text-muted); text-decoration: none; }
.footer-credit a:hover { color: var(--gold); }

/* ===== Back to top ===== */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--gold-dark);
  background: var(--bg-card);
  color: var(--gold);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  z-index: 90;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--gold);
  color: #14140f;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .steps, .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .main-nav.open { max-height: 400px; }
  .main-nav a {
    padding: 16px;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid var(--border);
  }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .steps, .features-grid { grid-template-columns: 1fr; }
  .hero { padding: 90px 0 70px; }
  .section { padding: 64px 0; }
}
