
:root {
  --bg-dark: #050816;
  --bg-darker: #02040a;
  --bg-light: #f6f7fb;
  --accent-gold: #f6c453;
  --accent-red: #f94144;
  --accent-purple: #7b2cbf;
  --text-main: #fdfdfd;
  --text-dark: #111827;
  --pill-bg: #111827;
  --radius-lg: 18px;
  --shadow-soft: 0 18px 40px rgba(0,0,0,0.45);
  --max-width: 1080px;
  --transition: 0.25s ease;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

body {
  margin: 0;
  background: radial-gradient(circle at top, #0b1220 0, #020617 50%, #000 100%);
  color: var(--text-main);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
}

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

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

.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem 3rem;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(248, 250, 252, 0.16), transparent 55%),
    radial-gradient(circle at bottom left, rgba(244, 114, 182, 0.2), transparent 55%),
    radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.18), transparent 55%);
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    conic-gradient(from 210deg, rgba(239, 68, 68, .16), transparent 40%, rgba(52, 211, 153, .16), transparent 70%, rgba(59, 130, 246, .2), transparent 100%);
  opacity: 0.7;
  filter: blur(80px);
  pointer-events: none;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 720px;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.3rem, 4vw, 3.1rem);
  line-height: 1.1;
  margin-bottom: 0.75rem;
  text-shadow: 0 14px 40px rgba(0,0,0,0.8);
}

.hero-subtitle {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 1.8rem;
}

.hero-buttons {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #f97316, #e11d48);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 20px 45px rgba(248, 113, 22, 0.55);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
}

.btn-secondary:hover {
  background: rgba(15, 23, 42, 1);
  border-color: #e5e7eb;
  transform: translateY(-1px);
}

.nav {
  position: absolute;
  top: 1.25rem;
  left: 0;
  right: 0;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  z-index: 2;
}

.nav-logo {
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 0.98rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(18px);
}

.nav-links {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

.nav-links a {
  padding: 0.2rem 0.4rem;
  opacity: 0.9;
  border-radius: 999px;
}

.nav-links a:hover {
  background: rgba(15, 23, 42, 0.8);
  opacity: 1;
}

.section {
  padding: 4rem 1.5rem;
}

.section-light {
  background: var(--bg-light);
  color: var(--text-dark);
}

.section-dark {
  background: radial-gradient(circle at top, #0b1220 0, #020617 50%, #000 100%);
  color: var(--text-main);
}

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

.section h2 {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.section p {
  line-height: 1.6;
  font-size: 0.98rem;
}

.section-tagline {
  opacity: 0.9;
  margin-bottom: 1.25rem;
}

.trailer-wrapper {
  margin-top: 1rem;
}

.trailer-placeholder {
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(148, 163, 184, 0.7);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(148, 163, 184, 0.9);
  font-size: 0.95rem;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.98));
}

.character-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.character-card {
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
}

.character-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.signup-form {
  margin-top: 1.6rem;
  max-width: 520px;
}

.signup-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  opacity: 0.95;
}

.signup-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.signup-row input[type="email"] {
  flex: 1 1 180px;
  padding: 0.75rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  font-size: 0.95rem;
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
}

.signup-row input::placeholder {
  color: rgba(148, 163, 184, 0.9);
}

.signup-row input:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.7);
}

.small-print {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  opacity: 0.8;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.social-pill {
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: #111827;
  color: #e5e7eb;
  font-size: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.section-light .social-pill {
  background: #111827;
  color: #f9fafb;
}

.social-pill:hover {
  background: #020617;
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.35);
}

.footer {
  background: #020617;
  color: rgba(148, 163, 184, 0.9);
  padding: 1.25rem 1.5rem 1.8rem;
  font-size: 0.85rem;
}

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

.back-to-top {
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 0.8rem;
}

.back-to-top:hover {
  background: #020617;
}

/* Responsive tweaks */
@media (max-width: 720px) {
  .nav {
    padding-inline: 1rem;
  }
  .nav-links {
    display: none;
  }
  .hero {
    padding-top: 5rem;
  }
  .section {
    padding-inline: 1.2rem;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
