:root {
  --purple: #7c3aed;
  --purple-bright: #9d5cff;
  --purple-glow: rgba(124,58,237,0.55);
  --cyan: #38bdf8;
  --cyan-glow: rgba(56,189,248,0.4);
  --dark: #050810;
  --dark2: #0b0f1e;
  --dark3: #111827;
  --card-bg: rgba(11,15,30,0.85);
  --border: rgba(124,58,237,0.3);
  --text: #e2e8f0;
  --muted: #94a3b8;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Exo 2', sans-serif;
  background-color: var(--dark);
  color: var(--text);
  overflow-x: hidden;
}

/* ── STARS BACKGROUND ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(124,58,237,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(56,189,248,0.08) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='600' height='600' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* ── NAV ── */
.navbar {
  background: rgba(5,8,16,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 12px;
  color: #fff;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.brand-text {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.1;
  color: #fff;
  letter-spacing: 2px;
}
.brand-text span { display: block; font-size: 0.65rem; color: var(--purple-bright); font-weight: 400; letter-spacing: 4px; }

.nav-link {
  font-family: 'Exo 2', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted) !important;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s;
}
.nav-link:hover, .nav-link.active { color: #fff !important; }

.btn-nav-login {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-family: 'Exo 2', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.45rem 1.2rem;
  border-radius: 4px;
  transition: all 0.2s;
}
.btn-nav-login:hover { border-color: var(--purple-bright); color: var(--purple-bright); }

.btn-nav-register {
  background: var(--purple);
  border: none;
  color: #fff;
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.45rem 1.2rem;
  border-radius: 4px;
  transition: all 0.2s;
}
.btn-nav-register:hover { background: var(--purple-bright); box-shadow: 0 0 20px var(--purple-glow); }

.lang-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--muted);
  font-size: 0.75rem;
  font-family: 'Exo 2', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  transition: border-color 0.2s, color 0.2s;
}
.lang-btn:hover { border-color: rgba(255,255,255,0.4); color: #fff; }
.lang-btn::after { margin-left: 5px; }

.lang-menu {
  background: rgba(11,15,30,0.97);
  border: 1px solid var(--border);
  border-radius: 6px;
  min-width: 80px;
  padding: 0.4rem 0;
  backdrop-filter: blur(12px);
}
.lang-item {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--muted);
  padding: 0.4rem 1rem;
  text-align: center;
}
.lang-item:hover, .lang-item:focus { background: rgba(124,58,237,0.15); color: #fff; }
.lang-item.active { color: var(--cyan); background: transparent; }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 0 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 65% 50%, rgba(56,189,248,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 10% 50%, rgba(124,58,237,0.18) 0%, transparent 60%),
    linear-gradient(180deg, var(--dark) 0%, var(--dark2) 100%);
  z-index: 0;
}

/* Animated grid lines */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124,58,237,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, black 0%, transparent 100%);
  z-index: 0;
  animation: gridPulse 6s ease-in-out infinite;
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* Fake cinematic space scene */
.hero-planet {
  position: absolute;
  right: -5%;
  top: -10%;
  width: 80vw;
  max-width: 900px;
  aspect-ratio: 1;
  background: radial-gradient(circle at 35% 40%,
    rgba(56,189,248,0.15) 0%,
    rgba(100,150,255,0.08) 30%,
    rgba(20,30,60,0.4) 60%,
    transparent 70%);
  border-radius: 50%;
  z-index: 0;
  animation: float 8s ease-in-out infinite;
}

.hero-planet::before {
  content: '';
  position: absolute;
  inset: 5%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%,
    rgba(80,120,200,0.25),
    rgba(10,15,40,0.6) 60%,
    transparent);
  border: 1px solid rgba(56,189,248,0.15);
  box-shadow: 0 0 80px rgba(56,189,248,0.1), inset 0 0 60px rgba(56,189,248,0.05);
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Particles */
.particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.particle {
  position: absolute;
  border-radius: 50%;
  animation: twinkle var(--d, 3s) ease-in-out infinite var(--delay, 0s);
}
@keyframes twinkle {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.5); }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 5px;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
}

.hero-title .sub-line {
  display: block;
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 8px;
  margin-bottom: 0.25rem;
}

.hero-title .main-line {
  display: block;
 font-size: clamp(2.2rem, 5.8vw, 4.5rem);;
  background: linear-gradient(135deg, #fff 0%, var(--cyan) 50%, var(--purple-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 40px rgba(56,189,248,0.3));
}

.hero-desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 430px;
  margin-bottom: 2.5rem;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.8s forwards;
}

.btn-primary-hero {
  background: linear-gradient(135deg, var(--purple), var(--purple-bright));
  border: none;
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: 0 0 30px var(--purple-glow);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-primary-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.4s;
}
.btn-primary-hero:hover { box-shadow: 0 0 50px var(--purple-glow); transform: translateY(-2px); color: #fff; }
.btn-primary-hero:hover::after { transform: translateX(100%); }

.btn-trailer {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-family: 'Exo 2', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.2s;
}
.btn-trailer:hover { color: var(--cyan); }

.play-icon {
  width: 46px; height: 46px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  transition: all 0.3s;
}
.btn-trailer:hover .play-icon {
  border-color: var(--cyan);
  box-shadow: 0 0 20px var(--cyan-glow);
  color: var(--cyan);
}

.hero-free-tag {
  margin-top: 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 3px;
  color: var(--muted);
  text-transform: uppercase;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── STATS BAR ── */
.stats-bar {
  position: relative;
  z-index: 2;
  background: rgba(11,15,30,0.9);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1rem;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }

.stat-icon {
  font-size: 1.6rem;
  color: var(--purple-bright);
  opacity: 0.85;
  flex-shrink: 0;
}

.stat-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

.stat-number {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}

.stat-sub {
  font-size: 0.6rem;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ── FEATURES ── */
.features-section {
  padding: 80px 0;
  position: relative;
  z-index: 2;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.35s;
  height: 100%;
  position: relative;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124,58,237,0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  border-color: var(--purple-bright);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(124,58,237,0.2);
}
.feature-card:hover::before { opacity: 1; }

.feature-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: linear-gradient(135deg, #0d1525, #1a1040);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  color: var(--purple-bright);
  border-bottom: 1px solid var(--border);
}

.feature-img-inner {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.feature-img-inner img { width: 100%; height: 100%; object-fit: cover; }

.feature-img-inner::before {
  content: '';
  position: absolute;
  inset: 0;
}

.fi-build { background: linear-gradient(135deg, #0a1520, #1a2a1a); }
.fi-build::before { background: radial-gradient(ellipse at 50% 80%, rgba(100,200,100,0.15), transparent); }

.fi-explore { background: linear-gradient(135deg, #080d20, #0d1a35); }
.fi-explore::before { background: radial-gradient(ellipse at 50% 50%, rgba(56,189,248,0.2), transparent); }

.fi-ally { background: linear-gradient(135deg, #10080a, #1a0f1a); }
.fi-ally::before { background: radial-gradient(ellipse at 50% 50%, rgba(200,100,150,0.15), transparent); }

.fi-fight { background: linear-gradient(135deg, #150a05, #2a1510); }
.fi-fight::before { background: radial-gradient(ellipse at 50% 50%, rgba(250,150,50,0.18), transparent); }

.feature-icon-glyph {
  position: relative;
  z-index: 1;
  font-size: 2.5rem;
  filter: drop-shadow(0 0 20px currentColor);
}

.feature-body {
  padding: 1.5rem;
  position: relative;
  z-index: 1;
}

.feature-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 2px;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.feature-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
}

/* ── CTA BOTTOM ── */
.cta-section {
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, rgba(124,58,237,0.12) 0%, rgba(56,189,248,0.06) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0;
}

.cta-medal {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, #c9a227, #f0c94a);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
  filter: drop-shadow(0 0 20px rgba(201,162,39,0.5));
}

.cta-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.cta-sub {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

.btn-cta {
  background: linear-gradient(135deg, var(--purple), var(--purple-bright));
  border: none;
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border-radius: 4px;
  transition: all 0.3s;
  box-shadow: 0 0 30px var(--purple-glow);
  text-decoration: none;
  white-space: nowrap;
}
.btn-cta:hover {
  box-shadow: 0 0 50px var(--purple-glow);
  transform: translateY(-2px);
  color: #fff;
}

.cta-note {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 0.4rem;
  letter-spacing: 1px;
}

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
  .hero-title .main-line { font-size: 3.5rem; }
}

@media (max-width: 767px) {
  .nav-links { display: none; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 3px; }

/* ── LOGIN MODAL ── */
.modal-login .modal-content {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
}

.modal-login .modal-header {
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 1.75rem 1rem;
}

.modal-login .modal-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
}

.modal-login .btn-close {
  filter: invert(1) brightness(0.6);
}

.modal-login .modal-body {
  padding: 2rem 1.75rem 1.5rem;
}

.modal-login .form-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.modal-login .form-control {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(124,58,237,0.35);
  border-radius: 5px;
  color: #fff;
  font-family: 'Exo 2', sans-serif;
  font-size: 0.9rem;
  padding: 0.65rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.modal-login .form-control:focus {
  background: rgba(255,255,255,0.06);
  border-color: var(--purple-bright);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.2);
  color: #fff;
  outline: none;
}

.modal-login .form-control::placeholder { color: rgba(148,163,184,0.45); }

.btn-modal-go {
  width: 100%;
  background: linear-gradient(135deg, var(--purple), var(--purple-bright));
  border: none;
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 0.8rem;
  border-radius: 5px;
  transition: all 0.3s;
  box-shadow: 0 0 24px var(--purple-glow);
  margin-top: 0.5rem;
}

.btn-modal-go:hover {
  box-shadow: 0 0 40px var(--purple-glow);
  transform: translateY(-1px);
}

.modal-login .google-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  transition: color 0.2s;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 5px;
  padding: 0.6rem 1rem;
}

.modal-login .google-link:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}

.modal-login .google-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.modal-backdrop { backdrop-filter: blur(4px); }

/* ── REGISTER MODAL ── */
.modal-register .modal-content {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
}

.modal-register .modal-header {
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 1.75rem 1rem;
}

.modal-register .modal-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
}

.modal-register .btn-close { filter: invert(1) brightness(0.6); }

.modal-register .modal-body { padding: 2rem 1.75rem 1.75rem; }

.modal-register .form-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.modal-register .form-control {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(124,58,237,0.35);
  border-radius: 5px;
  color: #fff;
  font-family: 'Exo 2', sans-serif;
  font-size: 0.9rem;
  padding: 0.65rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.modal-register .form-control:focus {
  background: rgba(255,255,255,0.06);
  border-color: var(--purple-bright);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.2);
  color: #fff;
  outline: none;
}

.modal-register .form-control::placeholder { color: rgba(148,163,184,0.45); }

.field-hint {
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.5px;
  margin-top: 0.3rem;
}

.planet-preview {
  font-size: 0.75rem;
  color: var(--cyan);
  letter-spacing: 0.5px;
  margin-top: 0.3rem;
  min-height: 1.1em;
  font-style: italic;
  opacity: 0;
  transition: opacity 0.25s;
}

.planet-preview.visible { opacity: 1; }

.btn-modal-register {
  width: 100%;
  background: linear-gradient(135deg, var(--purple), var(--purple-bright));
  border: none;
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 0.8rem;
  border-radius: 5px;
  transition: all 0.3s;
  box-shadow: 0 0 24px var(--purple-glow);
  margin-top: 0.5rem;
}

.btn-modal-register:hover {
  box-shadow: 0 0 40px var(--purple-glow);
  transform: translateY(-1px);
}

/* ══════════════════════════════════════════
   FOUNDATION – shared sections (home & pages)
   ══════════════════════════════════════════ */
:root {
  --gold: #f0c94a;
  --gold-glow: rgba(240,201,74,0.4);
  --border-subtle: rgba(124,58,237,0.15);
}

.hero-planet img { position: relative; z-index: 1; }

/* Section heading */
.section { position: relative; z-index: 2; padding: 80px 0; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(11,15,30,0.7) 20%, rgba(11,15,30,0.7) 80%, transparent); }
.section-eyebrow {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 1rem;
}
.section-lead { color: var(--muted); line-height: 1.8; font-weight: 300; max-width: 640px; }
.section-head-center { text-align: center; margin-bottom: 3rem; }
.section-head-center .section-lead { margin: 0 auto; }

/* ── THE GAME ── */
.game-text p { color: var(--muted); line-height: 1.85; font-weight: 300; }
.game-text strong { color: var(--text); font-weight: 600; }

.key-points { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin: 2rem 0 0; padding: 0; }
.key-points li {
  display: flex; align-items: center; gap: 0.75rem;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 0.8rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.key-points i { color: var(--cyan); width: 18px; text-align: center; }

.game-visual {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 100%, rgba(124,58,237,0.25), transparent 70%), var(--dark2);
}
.game-visual > img { width: 100%; display: block; }
.game-visual-badge {
  position: absolute; left: 1rem; bottom: 1rem;
  background: rgba(5,8,16,0.85);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  border-radius: 6px;
  padding: 0.6rem 1rem;
}
.game-visual-badge .stat-number { font-size: 1.3rem; }

/* ── FAMILIES ── */
.family-card {
  height: 100%;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-top: 3px solid var(--fam, var(--purple));
  border-radius: 8px;
  padding: 1.5rem 1.25rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.family-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.4); }
.family-icon { font-size: 1.5rem; color: var(--fam); margin-bottom: 0.9rem; }
.family-name {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700; font-size: 0.85rem; letter-spacing: 2px;
  text-transform: uppercase; color: #fff; margin-bottom: 0.6rem;
}
.family-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.7; font-weight: 300; margin: 0; }
.fam-indep { --fam: #4ade80; }
.fam-empire { --fam: #f87171; }
.fam-merchant { --fam: var(--gold); }
.fam-foundation { --fam: var(--cyan); }
.fam-brother { --fam: var(--purple-bright); }
.fam-secret { --fam: #f472b6; }
.fam-mule { --fam: #fb923c; }

/* ── GALACTIC REPORT ── */
.intel-card {
  height: 100%;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.intel-body { padding: 1.5rem; flex: 1; }
.intel-label {
  font-size: 0.65rem; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--muted); margin-bottom: 0.35rem;
}
.intel-title {
  font-family: 'Orbitron', sans-serif; font-weight: 700; font-size: 0.95rem;
  letter-spacing: 1.5px; color: #fff; margin-bottom: 0.6rem;
}
.intel-text { font-size: 0.85rem; color: var(--muted); line-height: 1.7; font-weight: 300; margin: 0; }
.intel-img { width: 100%; height: 190px; object-fit: cover; display: block; border-bottom: 1px solid var(--border); }
.intel-big {
  font-family: 'Orbitron', sans-serif; font-weight: 900; font-size: 2.4rem;
  color: #fff; line-height: 1; margin: 0.75rem 0 0.25rem;
}
.intel-big small { font-size: 1rem; color: var(--muted); font-weight: 400; }

/* Mule chart (inline SVG) */
.mule-chart { position: relative; margin-top: 1rem; }
.mule-chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.mule-chart .grid line { stroke: rgba(148,163,184,0.12); stroke-width: 1; }
.mule-chart .axis text { fill: var(--muted); font-size: 10px; font-family: 'Exo 2', sans-serif; }
.mule-chart .line { fill: none; stroke: var(--cyan); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.mule-chart .dot { fill: var(--cyan); stroke: var(--dark2); stroke-width: 2; }
.mule-chart .crosshair { stroke: rgba(226,232,240,0.35); stroke-width: 1; stroke-dasharray: 3 3; }
.mule-chart .hit { fill: transparent; cursor: crosshair; }
.chart-tooltip {
  position: absolute; pointer-events: none;
  background: rgba(5,8,16,0.95);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0.35rem 0.6rem;
  font-size: 0.75rem; color: var(--text); white-space: nowrap;
  transform: translate(-50%, -125%);
  opacity: 0; transition: opacity 0.15s;
}
.chart-tooltip.visible { opacity: 1; }
.chart-tooltip strong { font-family: 'Orbitron', sans-serif; color: #fff; }
.chart-empty { font-size: 0.8rem; color: var(--muted); font-style: italic; margin-top: 1rem; }

/* ── GALLERY ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  aspect-ratio: 1;
  background: var(--dark2);
  margin: 0;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-caption {
  position: absolute; inset: auto 0 0 0;
  padding: 2rem 1rem 0.9rem;
  background: linear-gradient(0deg, rgba(5,8,16,0.95), transparent);
}
.gallery-caption h3 {
  font-family: 'Orbitron', sans-serif; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: #fff; margin: 0;
}
.gallery-caption p { font-size: 0.75rem; color: var(--muted); margin: 0.25rem 0 0; }

/* ── QUOTE ── */
.quote-band { position: relative; z-index: 2; padding: 70px 0; text-align: center; }
.quote-band blockquote {
  font-family: 'Exo 2', sans-serif; font-weight: 300; font-style: italic;
  font-size: clamp(1.2rem, 2.6vw, 1.8rem); color: #fff; max-width: 760px; margin: 0 auto;
}
.quote-band blockquote::before { content: '\201C'; display: block; font-size: 3.5rem; line-height: 1; color: var(--purple-bright); font-style: normal; }
.quote-band cite { display: block; margin-top: 1rem; font-style: normal; font-size: 0.75rem; letter-spacing: 3px; text-transform: uppercase; color: var(--cyan); }

/* ── MODAL extras ── */
.modal-link {
  display: block; text-align: center; margin-top: 1rem;
  font-size: 0.75rem; letter-spacing: 1px; color: var(--muted); text-decoration: none;
}
.modal-link:hover { color: var(--cyan); }

/* ── FOOTER ── */
.site-footer { position: relative; z-index: 2; padding: 3.5rem 0 1.5rem; background: var(--dark); }
.footer-brand p { color: var(--muted); font-size: 0.85rem; line-height: 1.7; margin-top: 1rem; max-width: 340px; }
.footer-title {
  font-family: 'Orbitron', sans-serif; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: #fff; margin-bottom: 1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--cyan); }
.footer-links i { width: 18px; color: var(--purple-bright); font-size: 0.8rem; }
.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  margin-top: 2.5rem; padding-top: 1.25rem;
  font-size: 0.75rem; color: var(--muted);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
}
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: #fff; }

.to-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 50;
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--purple); color: #fff; text-decoration: none;
  box-shadow: 0 0 20px var(--purple-glow);
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.to-top.visible { opacity: 1; pointer-events: auto; }
.to-top:hover { color: #fff; background: var(--purple-bright); }

/* ══════════════════════════════════════════
   INNER PAGES – compact hero
   ══════════════════════════════════════════ */
.page-hero {
  position: relative;
  z-index: 1;
  padding: 110px 0 80px;
  overflow: hidden;
  text-align: center;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5,8,16,0.75) 0%, rgba(5,8,16,0.85) 60%, var(--dark) 100%),
    radial-gradient(ellipse 60% 100% at 50% 100%, rgba(124,58,237,0.35), transparent 70%),
    var(--page-bg, none) center / cover no-repeat;
}
.page-hero .hero-grid { mask-image: radial-gradient(ellipse 80% 100% at 50% 100%, black, transparent); }
.page-hero-content { position: relative; z-index: 2; }
.breadcrumb-nav {
  font-size: 0.7rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.5rem;
}
.breadcrumb-nav a { color: var(--cyan); text-decoration: none; }
.breadcrumb-nav span { margin: 0 0.5rem; }
.page-title {
  font-family: 'Orbitron', sans-serif; font-weight: 900;
  font-size: clamp(2.4rem, 6vw, 4.5rem); letter-spacing: 6px; text-transform: uppercase;
  background: linear-gradient(135deg, #fff 0%, var(--cyan) 50%, var(--purple-bright) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  filter: drop-shadow(0 0 30px rgba(56,189,248,0.25));
  margin-bottom: 1rem;
}
.page-subtitle {
  font-size: 1.05rem; color: #cbd5e1; font-weight: 300;
  max-width: 640px; margin: 0 auto 2rem; line-height: 1.8;
}
.divider-line {
  width: 80px; height: 2px; margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--purple-bright), transparent);
}

/* ══════════════════════════════════════════
   MISSIONS PAGE
   ══════════════════════════════════════════ */
.intro-block {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2.25rem;
  margin-bottom: 3.5rem;
  position: relative;
  overflow: hidden;
}
.intro-block::before {
  content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--cyan), var(--purple-bright));
}
.intro-block p { color: var(--muted); line-height: 1.85; font-weight: 300; }
.intro-block strong { color: var(--text); font-weight: 600; }
.intro-block .key-points { margin-top: 1.5rem; }

.section-heading {
  font-family: 'Orbitron', sans-serif; font-weight: 700; font-size: 0.95rem;
  letter-spacing: 4px; text-transform: uppercase; color: var(--text);
  margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 1rem;
}
.section-heading::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* Progression track */
.progression-track {
  display: flex;
  list-style: none;
  padding: 0 0 1rem;
  margin: 0 0 3.5rem;
  overflow-x: auto;
}
.prog-step { flex: 1; min-width: 92px; position: relative; }
.prog-step + .prog-step::before {
  content: ''; position: absolute; top: 24px; right: 50%; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--border-subtle), var(--border));
  z-index: 0;
}
.prog-step a {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
  text-decoration: none;
}
.prog-badge {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
  color: var(--fam);
  border: 2px solid var(--fam);
  background: var(--dark2);
  transition: transform 0.3s, box-shadow 0.3s;
}
.prog-step a:hover .prog-badge { transform: scale(1.12); box-shadow: 0 0 22px var(--fam); }
.prog-name {
  font-size: 0.62rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  color: var(--muted); text-align: center; line-height: 1.5;
}
.prog-step a:hover .prog-name { color: #fff; }

/* Mission cards */
.mission-card {
  display: grid;
  grid-template-columns: 210px 1fr;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--fam);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  scroll-margin-top: 100px;
  transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s;
}
.mission-card:hover {
  border-color: var(--border);
  border-left-color: var(--fam);
  box-shadow: 0 14px 44px rgba(0,0,0,0.45);
  transform: translateY(-3px);
}
.mission-visual { position: relative; overflow: hidden; background: var(--dark2); }
.mission-visual img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s; }
.mission-card:hover .mission-visual img { transform: scale(1.06); }
.mission-visual::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 50%, rgba(11,15,30,0.9));
}
.mission-visual .mission-icon {
  position: absolute; left: 1rem; top: 1rem; z-index: 1;
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--fam);
  border: 2px solid var(--fam);
  background: rgba(5,8,16,0.8);
  backdrop-filter: blur(6px);
}
.fam-secret .mission-visual img { filter: grayscale(0.6) blur(1px) brightness(0.7); }

.mission-main { padding: 1.5rem 1.75rem; }
.mission-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.mission-level {
  font-size: 0.65rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  color: var(--fam); margin-bottom: 0.3rem;
}
.mission-name {
  font-family: 'Orbitron', sans-serif; font-weight: 700; font-size: 1.15rem;
  letter-spacing: 2px; color: #fff; margin: 0;
}
.mission-tags { display: flex; gap: 0.4rem; margin-top: 0.6rem; flex-wrap: wrap; }
.mission-tag {
  font-size: 0.6rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  padding: 0.2rem 0.6rem; border-radius: 20px;
  color: var(--muted); border: 1px solid rgba(148,163,184,0.25); background: rgba(148,163,184,0.06);
}
.mission-difficulty { text-align: right; flex-shrink: 0; }
.diff-label { font-size: 0.6rem; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 0.35rem; }
.diff-dots { display: flex; gap: 4px; justify-content: flex-end; }
.diff-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(148,163,184,0.2); }
.diff-dot.on { background: var(--fam); }

.mission-main p { font-size: 0.9rem; color: var(--muted); line-height: 1.85; font-weight: 300; margin-bottom: 0.75rem; }
.mission-main p strong { color: var(--text); font-weight: 600; }
.mission-highlights {
  display: flex; gap: 0.5rem 1.5rem; flex-wrap: wrap;
  margin-top: 1rem; padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}
.highlight-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; color: var(--text); }
.highlight-item i { color: var(--fam); font-size: 0.85rem; }

/* Sidebar */
.sidebar-sticky { position: sticky; top: 100px; }
.sidebar-card {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.sidebar-title {
  font-family: 'Orbitron', sans-serif; font-size: 0.7rem; letter-spacing: 3px;
  text-transform: uppercase; color: var(--cyan);
  margin-bottom: 1rem; padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}
.sidebar-nav-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.55rem 0.75rem; margin-bottom: 0.2rem;
  border: 1px solid transparent; border-radius: 6px;
  text-decoration: none; transition: background 0.2s, border-color 0.2s;
}
.sidebar-nav-item:hover { background: rgba(124,58,237,0.1); }
.sidebar-nav-item.active { background: rgba(124,58,237,0.15); border-color: var(--border); }
.sidebar-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; background: var(--fam); }
.sidebar-nav-text { font-size: 0.8rem; font-weight: 600; letter-spacing: 1px; color: var(--muted); }
.sidebar-nav-item small { margin-left: auto; font-size: 0.65rem; color: var(--muted); letter-spacing: 1px; }
.sidebar-nav-item.active .sidebar-nav-text,
.sidebar-nav-item:hover .sidebar-nav-text { color: var(--text); }

.sidebar-stat {
  display: flex; justify-content: space-between; align-items: center; gap: 0.75rem;
  padding: 0.55rem 0; border-bottom: 1px solid var(--border-subtle); font-size: 0.8rem;
}
.sidebar-stat:last-child { border-bottom: none; }
.sidebar-stat-label { color: var(--muted); display: flex; align-items: center; gap: 0.6rem; }
.sidebar-stat-value { color: #fff; font-family: 'Orbitron', sans-serif; font-weight: 700; font-size: 0.85rem; }

.sidebar-cta {
  background: linear-gradient(135deg, rgba(124,58,237,0.22), rgba(56,189,248,0.1));
  border-color: var(--purple-bright);
}
.sidebar-cta p { font-size: 0.82rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.25rem; }
.sidebar-cta .btn-cta { display: block; width: 100%; text-align: center; padding: 0.85rem; }

@media (max-width: 767px) {
  .mission-card { grid-template-columns: 1fr; }
  .mission-visual { height: 160px; }
  .mission-visual::after { background: linear-gradient(180deg, transparent 40%, rgba(11,15,30,0.9)); }
  .mission-main { padding: 1.25rem; }
  .mission-header { flex-direction: column; }
  .mission-difficulty { text-align: left; }
  .diff-dots { justify-content: flex-start; }
  .intro-block { padding: 1.5rem; }
}

/* ══════════════════════════════════════════
   FAQ PAGE
   ══════════════════════════════════════════ */
.cat-account  { --cat: #60a5fa; }
.cat-game     { --cat: #a78bfa; }
.cat-mechanics{ --cat: #34d399; }
.cat-trade    { --cat: #f472b6; }
.cat-credits  { --cat: var(--gold); }
.cat-veterans { --cat: #fb923c; }

.faq-search { position: relative; margin-bottom: 1.25rem; }
.faq-search i {
  position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%);
  color: var(--muted); font-size: 0.9rem; pointer-events: none;
}
.faq-search input {
  width: 100%;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.9rem 1rem 0.9rem 2.8rem;
  color: #fff; font-family: 'Exo 2', sans-serif; font-size: 0.95rem;
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-search input::placeholder { color: rgba(148,163,184,0.6); }
.faq-search input:focus { border-color: var(--purple-bright); box-shadow: 0 0 0 3px rgba(124,58,237,0.2); }

.filter-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.filter-pill {
  background: transparent;
  border: 1px solid rgba(148,163,184,0.25);
  color: var(--muted);
  font-family: 'Exo 2', sans-serif; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 0.4rem 0.9rem; border-radius: 20px;
  display: inline-flex; align-items: center; gap: 0.45rem;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.filter-pill i { color: var(--cat, var(--cyan)); font-size: 0.7rem; }
.filter-pill:hover { border-color: var(--cat, var(--purple-bright)); color: var(--text); }
.filter-pill.active {
  border-color: var(--cat, var(--purple-bright));
  background: rgba(124,58,237,0.15);
  color: #fff;
}

.results-count { font-size: 0.75rem; letter-spacing: 1px; color: var(--muted); margin-bottom: 2rem; }
.results-count strong { color: var(--cyan); }

.no-results {
  display: none; text-align: center; padding: 3rem 1rem;
  color: var(--muted); border: 1px dashed var(--border); border-radius: 10px;
}
.no-results i { font-size: 2rem; display: block; margin-bottom: 0.75rem; color: var(--purple-bright); }

.faq-group { margin-bottom: 2.5rem; scroll-margin-top: 100px; }
.faq-group-title {
  display: flex; align-items: center; gap: 0.75rem;
  font-family: 'Orbitron', sans-serif; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: #fff;
  margin-bottom: 1rem;
}
.faq-group-title i {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; color: var(--cat); border: 1px solid var(--cat);
}
.faq-group-title::after { content: ''; flex: 1; height: 1px; background: var(--border-subtle); }

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid transparent;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  scroll-margin-top: 100px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.faq-item:hover { border-color: var(--border); }
.faq-item.open { border-color: var(--border); border-left-color: var(--cat); box-shadow: 0 10px 30px rgba(0,0,0,0.35); }
.faq-question {
  width: 100%;
  display: flex; align-items: center; gap: 1rem;
  background: transparent; border: none; text-align: left;
  padding: 1.1rem 1.25rem;
  color: var(--text);
  font-family: 'Exo 2', sans-serif; font-size: 0.95rem; font-weight: 600; line-height: 1.5;
}
.faq-question:hover, .faq-item.open .faq-question { color: #fff; }
.faq-question:focus-visible { outline: 2px solid var(--purple-bright); outline-offset: -2px; }
.faq-q-icon {
  width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); color: var(--purple-bright); font-size: 0.7rem;
  transition: transform 0.3s, background 0.3s, color 0.3s;
}
.faq-item.open .faq-q-icon { transform: rotate(45deg); background: var(--purple); border-color: var(--purple); color: #fff; }
.faq-answer {
  padding: 0 1.25rem 1.25rem calc(1.25rem + 28px + 1rem);
  color: var(--muted); font-size: 0.9rem; line-height: 1.85; font-weight: 300;
}
.faq-answer p { margin-bottom: 0.75rem; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer strong { color: var(--text); font-weight: 600; }
.faq-answer a { color: var(--cyan); }
.faq-answer ul { padding-left: 1.1rem; margin: 0.5rem 0 0.75rem; }
.faq-answer li { margin-bottom: 0.4rem; }
.note-box {
  display: flex; gap: 0.75rem; align-items: flex-start;
  background: rgba(124,58,237,0.08);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 0.75rem 1rem; margin-top: 0.75rem;
  font-size: 0.85rem;
}
.note-box i { color: var(--purple-bright); margin-top: 0.3rem; }

.sidebar-link {
  display: flex; align-items: baseline; gap: 0.75rem;
  padding: 0.6rem 0; border-bottom: 1px solid var(--border-subtle);
  text-decoration: none;
}
.sidebar-link:last-child { border-bottom: none; }
.sl-num { font-family: 'Orbitron', sans-serif; font-size: 0.7rem; color: var(--purple-bright); min-width: 22px; }
.sl-num i { color: var(--cat); }
.sl-text { font-size: 0.82rem; color: var(--muted); line-height: 1.45; flex: 1; }
.sl-count { font-size: 0.7rem; color: var(--muted); }
.sidebar-link:hover .sl-text { color: var(--cyan); }

@media (max-width: 575px) {
  .faq-answer { padding-left: 1.25rem; }
}

/* ══════════════════════════════════════════
   SIGN-UP & ACTIVATION PAGES
   ══════════════════════════════════════════ */
.steps {
  display: flex; justify-content: center; gap: 0; list-style: none;
  padding: 0; margin: 0 auto 2.5rem; max-width: 560px;
}
.step { flex: 1; position: relative; text-align: center; }
.step + .step::before {
  content: ''; position: absolute; top: 17px; right: 50%; width: 100%; height: 2px;
  background: var(--border-subtle);
}
.step.done + .step::before, .step.done + .step.current::before { background: var(--purple-bright); }
.step-num {
  position: relative; z-index: 1;
  width: 36px; height: 36px; border-radius: 50%; margin: 0 auto 0.5rem;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Orbitron', sans-serif; font-size: 0.8rem; font-weight: 700;
  background: var(--dark2); border: 2px solid var(--border); color: var(--muted);
}
.step.current .step-num { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 18px var(--cyan-glow); }
.step.done .step-num { border-color: var(--purple-bright); background: var(--purple); color: #fff; }
.step-label { font-size: 0.65rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.step.current .step-label { color: #fff; }

.auth-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
}
.auth-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
}
.auth-title {
  font-family: 'Orbitron', sans-serif; font-weight: 700; font-size: 1.15rem;
  letter-spacing: 3px; text-transform: uppercase; color: #fff; margin-bottom: 0.5rem;
}
.auth-sub { color: var(--muted); font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.75rem; }
.auth-sub strong { color: var(--text); }

.form-dark .form-label {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.4rem;
}
.form-dark .form-control {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(124,58,237,0.35);
  border-radius: 5px; color: #fff;
  font-family: 'Exo 2', sans-serif; font-size: 0.95rem;
  padding: 0.7rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-dark .form-control:focus {
  background: rgba(255,255,255,0.06); border-color: var(--purple-bright);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.2); color: #fff;
}
.form-dark .form-control::placeholder { color: rgba(148,163,184,0.45); }
.form-dark .form-control.is-invalid { border-color: #f87171; }
.form-dark .btn-modal-register, .form-dark .btn-modal-go { margin-top: 0.75rem; }
.form-legal { font-size: 0.72rem; color: var(--muted); text-align: center; margin: 1rem 0 0; line-height: 1.6; }
.form-legal a { color: var(--cyan); }

/* Honeypot field, invisible to humans */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert-box {
  display: flex; gap: 0.85rem; align-items: flex-start;
  border-radius: 8px; padding: 1rem 1.15rem; margin-bottom: 1.5rem;
  font-size: 0.88rem; line-height: 1.6;
  border: 1px solid; background: rgba(255,255,255,0.03);
}
.alert-box i { margin-top: 0.2rem; }
.alert-box ul { margin: 0; padding-left: 1.1rem; }
.alert-error { border-color: rgba(248,113,113,0.4); color: #fecaca; background: rgba(248,113,113,0.08); }
.alert-error i { color: #f87171; }
.alert-info { border-color: rgba(56,189,248,0.35); color: #bae6fd; background: rgba(56,189,248,0.07); }
.alert-info i { color: var(--cyan); }

.result-icon {
  width: 72px; height: 72px; margin: 0 auto 1.25rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
  border: 2px solid var(--fam, var(--cyan)); color: var(--fam, var(--cyan));
  box-shadow: 0 0 30px rgba(56,189,248,0.25);
}
.result-center { text-align: center; }
.result-center .auth-sub { max-width: 460px; margin-left: auto; margin-right: auto; }
.result-center .btn-primary-hero { justify-content: center; }

.planet-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; margin: 0 0 1.75rem; padding: 0; list-style: none; }
.planet-chips li {
  font-size: 0.8rem; color: var(--cyan);
  border: 1px solid rgba(56,189,248,0.4); border-radius: 20px; padding: 0.25rem 0.8rem;
}

.recruits { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.recruits span {
  font-size: 0.75rem; color: var(--text);
  background: rgba(124,58,237,0.12); border: 1px solid var(--border-subtle);
  border-radius: 4px; padding: 0.2rem 0.55rem;
}
.side-tip { font-size: 0.85rem; color: var(--muted); line-height: 1.7; margin: 0; }
.side-tip strong { color: var(--text); }

@media (max-width: 575px) {
  .auth-card { padding: 1.5rem; }
  .step-label { font-size: 0.55rem; letter-spacing: 1px; }
}

/* ══════════════════════════════════════════
   CONTACT PAGE
   ══════════════════════════════════════════ */
.topic-choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.5rem; border: 0; padding: 0; margin: 0 0 1.25rem; }
.topic-choices legend { float: none; font-size: 0.7rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; }
.topic-choice input { position: absolute; opacity: 0; pointer-events: none; }
.topic-choice label {
  display: flex; align-items: center; gap: 0.6rem; height: 100%;
  padding: 0.65rem 0.85rem; cursor: pointer;
  border: 1px solid rgba(124,58,237,0.3); border-radius: 6px;
  background: rgba(255,255,255,0.03);
  font-size: 0.82rem; font-weight: 600; color: var(--muted);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.topic-choice label i { color: var(--cat, var(--cyan)); width: 16px; text-align: center; }
.topic-choice label:hover { border-color: var(--purple-bright); color: var(--text); }
.topic-choice input:checked + label { border-color: var(--cat, var(--purple-bright)); background: rgba(124,58,237,0.15); color: #fff; }
.topic-choice input:focus-visible + label { outline: 2px solid var(--purple-bright); outline-offset: 2px; }
.form-dark textarea.form-control { min-height: 180px; resize: vertical; line-height: 1.6; }
.char-count { font-size: 0.68rem; color: var(--muted); text-align: right; margin-top: 0.3rem; }
.contact-faq-link {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.55rem 0; border-bottom: 1px solid var(--border-subtle);
  font-size: 0.82rem; color: var(--muted); text-decoration: none;
}
.contact-faq-link:last-child { border-bottom: none; }
.contact-faq-link i { color: var(--purple-bright); font-size: 0.75rem; }
.contact-faq-link:hover { color: var(--cyan); }

/* ══════════════════════════════════════════
   UNSUBSCRIBE PAGE
   ══════════════════════════════════════════ */
.btn-danger-hero {
  width: 100%;
  background: linear-gradient(135deg, #b91c1c, #ef4444);
  border: none; color: #fff;
  font-family: 'Orbitron', sans-serif; font-weight: 700; font-size: 0.8rem;
  letter-spacing: 3px; text-transform: uppercase;
  padding: 0.85rem; border-radius: 5px; margin-top: 0.75rem;
  box-shadow: 0 0 24px rgba(239,68,68,0.35);
  transition: box-shadow 0.3s, transform 0.3s, opacity 0.3s;
}
.btn-danger-hero:hover { box-shadow: 0 0 40px rgba(239,68,68,0.5); transform: translateY(-1px); }
.btn-danger-hero:disabled { opacity: 0.4; box-shadow: none; transform: none; cursor: not-allowed; }
.btn-ghost {
  display: block; width: 100%; text-align: center; margin-top: 0.75rem;
  padding: 0.75rem; border-radius: 5px;
  border: 1px solid rgba(255,255,255,0.2); color: var(--text);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.delete-list { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.delete-list li { display: flex; gap: 0.75rem; align-items: center; padding: 0.45rem 0; font-size: 0.88rem; color: var(--muted); border-bottom: 1px solid var(--border-subtle); }
.delete-list li:last-child { border-bottom: none; }
.delete-list i { color: #f87171; width: 18px; text-align: center; }
.check-dark { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.85rem; color: var(--text); cursor: pointer; }
.check-dark input { margin-top: 0.25rem; width: 18px; height: 18px; accent-color: #ef4444; flex-shrink: 0; }

/* ══════════════════════════════════════════
   404 PAGE
   ══════════════════════════════════════════ */
.error-hero { min-height: calc(100vh - 70px); padding: 60px 0; }
.error-code {
  font-family: 'Orbitron', sans-serif; font-weight: 900;
  font-size: clamp(5rem, 16vw, 10rem); line-height: 1; letter-spacing: 8px;
  background: linear-gradient(135deg, #fff 0%, var(--cyan) 45%, var(--purple-bright) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  filter: drop-shadow(0 0 40px rgba(56,189,248,0.3));
  margin-bottom: 0.5rem;
  opacity: 0; animation: fadeUp 0.8s 0.3s forwards;
}
.error-path {
  display: inline-block; max-width: 100%;
  font-family: monospace; font-size: 0.8rem; color: var(--muted);
  background: rgba(255,255,255,0.04); border: 1px solid var(--border-subtle);
  border-radius: 4px; padding: 0.3rem 0.7rem; margin-bottom: 2rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.error-ship {
  position: absolute; z-index: 1; right: 4%; top: 18%;
  width: min(42vw, 520px); opacity: 0.85;
  animation: drift 14s ease-in-out infinite;
  pointer-events: none;
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) rotate(-4deg); }
  50% { transform: translate(-30px, 25px) rotate(3deg); }
}
.error-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
.error-links a {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 1rem; border-radius: 4px;
  border: 1px solid var(--border); color: var(--text); text-decoration: none;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  transition: border-color 0.2s, color 0.2s;
}
.error-links a i { color: var(--purple-bright); }
.error-links a:hover { border-color: var(--cyan); color: var(--cyan); }
@media (max-width: 991px) {
  .error-ship { opacity: 0.25; width: 80vw; right: -10%; top: 10%; }
}
@media (prefers-reduced-motion: reduce) {
  .error-ship { animation: none; }
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s, transform 0.7s; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 991px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-planet { opacity: 0.45; }
}
@media (max-width: 575px) {
  .key-points { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-grid, .hero-planet, .particle { animation: none; }
}
