/* ===== CSS VARIABLES – DARK MODE (DEFAULT) ===== */
:root {
  --bg: #0a0a0f;
  --surface: #12121a;
  --surface2: #1c1c28;
  --border: rgba(255,255,255,0.08);
  --text: #f0f0ff;
  --text-muted: #8888aa;
  --accent: #ff4d4d;
  --accent2: #ff8c42;
  --accent-glow: rgba(255, 77, 77, 0.35);
  --gold: #ffd700;
  --green: #39d353;
  --card-hover: rgba(255,77,77,0.06);
}

/* ===== LIGHT MODE ===== */
body.light {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface2: #ebebf0;
  --border: rgba(0,0,0,0.10);
  --text: #0a0a1a;
  --text-muted: #555570;
  --accent: #d63031;
  --accent2: #e17055;
  --accent-glow: rgba(214, 48, 49, 0.18);
  --gold: #c8a200;
  --green: #27ae60;
  --card-hover: rgba(214,48,49,0.05);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  transition: background 0.35s ease, color 0.35s ease;
}

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

/* ===== NOISE OVERLAY ===== */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ===== BACKGROUND GLOW ===== */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,77,77,0.12) 0%, transparent 70%);
  top: -200px; left: -200px;
}
.glow-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,140,66,0.10) 0%, transparent 70%);
  bottom: -150px; right: -150px;
}
body.light .glow-1 { background: radial-gradient(circle, rgba(214,48,49,0.08) 0%, transparent 70%); }
body.light .glow-2 { background: radial-gradient(circle, rgba(225,112,85,0.07) 0%, transparent 70%); }

/* ===== WRAPPER ===== */
.wrapper {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HEADER ===== */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 20px;
}

.logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 2px;
}
.logo-mp4 { color: var(--accent); }
.logo-moviez { color: var(--text); }

.theme-toggle {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 42px; height: 42px;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
  color: var(--text);
}
.theme-toggle:hover {
  background: var(--surface2);
  border-color: var(--accent);
  transform: rotate(20deg);
}

/* ===== HERO ===== */
.hero {
  text-align: center;
  padding: 60px 0 50px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 18px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
  animation: fadeDown 0.6s ease both;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 9vw, 7rem);
  line-height: 1;
  letter-spacing: 1px;
  margin-bottom: 22px;
  animation: fadeDown 0.6s 0.1s ease both;
}
.title-accent {
  color: var(--accent);
  text-shadow: 0 0 60px var(--accent-glow);
}

.hero-sub {
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 36px;
  font-weight: 400;
  animation: fadeDown 0.6s 0.2s ease both;
}
.br-hide { display: none; }
@media (min-width: 600px) { .br-hide { display: block; } }

/* ===== CATEGORIES STRIP ===== */
.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 24px;
  animation: fadeDown 0.6s 0.3s ease both;
}
.cat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: default;
  transition: all 0.2s;
}
.cat:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--card-hover);
}

/* ===== QUALITY BADGES ===== */
.quality-row {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
  animation: fadeDown 0.6s 0.35s ease both;
}
.qual {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
}
.qual.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 18px var(--accent-glow);
}

/* ===== CTA BUTTON ===== */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--accent);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 16px 40px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
  box-shadow: 0 8px 40px var(--accent-glow);
  animation: fadeDown 0.6s 0.4s ease both;
  position: relative;
  overflow: hidden;
}
.cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  border-radius: inherit;
}
.cta-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 50px var(--accent-glow);
}
.cta-btn:active { transform: scale(0.98); }
.btn-icon { font-size: 0.9rem; }
.btn-arrow { transition: transform 0.2s ease; }
.cta-btn:hover .btn-arrow { transform: translateX(4px); }

.cta-note {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
  animation: fadeDown 0.6s 0.45s ease both;
}
.cta-note strong { color: var(--accent2); }

/* ===== FEATURES SECTION ===== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  padding: 60px 0 50px;
}
.feat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  transition: all 0.25s ease;
}
.feat-card:hover {
  border-color: var(--accent);
  background: var(--card-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
.feat-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}
.feat-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.feat-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== SEO CONTENT SECTION ===== */
.seo-section { padding: 10px 0 60px; }

.seo-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 32px;
  margin-bottom: 24px;
  line-height: 1.75;
}
.seo-block h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem;
  letter-spacing: 0.5px;
  color: var(--text);
  margin-bottom: 14px;
}
.seo-block p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.seo-block p:last-child { margin-bottom: 0; }
.seo-block strong { color: var(--text); font-weight: 600; }

.seo-block--why {
  border-color: var(--accent);
  background: var(--card-hover);
  box-shadow: 0 0 40px var(--accent-glow);
}
.seo-block--why h2 { color: var(--accent); }

.seo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.seo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 24px;
  transition: all 0.22s ease;
  line-height: 1.7;
}
.seo-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.seo-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.seo-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.seo-card strong { color: var(--text); font-weight: 600; }

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 30px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.9;
}
.footer a {
  color: var(--accent);
  font-weight: 600;
  transition: opacity 0.2s;
}
.footer a:hover { opacity: 0.75; }
.footer-note { font-size: 0.75rem; opacity: 0.6; }

/* ===== ANIMATIONS ===== */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .hero { padding: 40px 0 36px; }
  .hero-title { font-size: 3.2rem; }
  .cta-btn { padding: 14px 30px; font-size: 0.95rem; }
  .features { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pop-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 380px) {
  .features { grid-template-columns: 1fr; }
}
