@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;600;700&family=Open+Sans:wght@400;600&display=swap');

:root {
  --midnight: #07101f;
  --midnight-mid: #0d1a2e;
  --icy-blue: #38c9e8;
  --icy-blue-dark: #1a7fa0;
  --gold: #f5c542;
  --gold-dark: #c9a020;
  --text-light: #dff0f7;
  --text-muted: #8ab5c8;
}

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

body {
  background-color: var(--midnight);
  color: var(--text-light);
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
}

@keyframes aurora {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 10px 2px rgba(56,201,232,0.4); }
  50% { box-shadow: 0 0 24px 6px rgba(245,197,66,0.5); }
}

@keyframes spin-reel {
  0% { transform: rotateX(0deg); }
  100% { transform: rotateX(360deg); }
}

.aurora-bg {
  background: linear-gradient(135deg, #07101f 0%, #0a1f35 30%, #0d2b1a 60%, #07101f 100%);
  background-size: 300% 300%;
  animation: aurora 12s ease infinite;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.glow-btn {
  animation: glow-pulse 2.5s ease-in-out infinite;
}

.prose h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  margin-top: 1rem;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.prose h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--icy-blue);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.prose p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.prose a {
  color: var(--gold);
  text-decoration: underline;
}

.prose a:hover {
  color: var(--icy-blue);
}

.prose ul, .prose ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }

.prose li {
  margin-bottom: 0.4rem;
  color: var(--text-light);
}

.prose blockquote {
  border-left: 4px solid var(--gold);
  padding-left: 1rem;
  margin: 1.5rem 0;
  color: var(--text-muted);
  font-style: italic;
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  margin: 1.5rem 0;
  display: block;
}

.prose table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  white-space: nowrap;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  width: 100%;
}

.prose th {
  background-color: var(--midnight-mid);
  color: var(--gold);
  padding: 0.6rem 1rem;
  text-align: left;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  border: 1px solid rgba(56,201,232,0.2);
}

.prose td {
  padding: 0.55rem 1rem;
  border: 1px solid rgba(56,201,232,0.15);
  color: var(--text-light);
  background-color: rgba(13,26,46,0.6);
}

.prose tr:hover td {
  background-color: rgba(56,201,232,0.06);
}

.section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  text-align: center;
  margin-bottom: 0.4rem;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.card-dark {
  background: linear-gradient(145deg, #0d1a2e, #101f38);
  border: 1px solid rgba(56,201,232,0.15);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: border-color 0.3s, transform 0.3s;
}

.card-dark:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #07101f;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.7rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--icy-blue);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.7rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  border: 2px solid var(--icy-blue);
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--icy-blue);
  color: #07101f;
}

.nav-link {
  color: var(--text-light);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: 0.375rem;
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
  color: var(--gold);
  background: rgba(245,197,66,0.08);
}

.badge-bonus {
  background: linear-gradient(135deg, rgba(245,197,66,0.12), rgba(56,201,232,0.12));
  border: 2px solid var(--gold);
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  text-align: center;
  max-width: 38rem;
  margin: 0 auto;
}

.step-badge {
  width: 2.8rem;
  height: 2.8rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #07101f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.parallax-section {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

@media (max-width: 640px) {
  .section-title { font-size: 1.5rem; }
  .badge-bonus { padding: 1rem 1rem; }
}
