/* Betarion Custom CSS */

:root {
  --sapphire: #0f2460;
  --sapphire-light: #1a3a8f;
  --gold: #f0b429;
  --gold-light: #ffd166;
  --space-bg: #070c1a;
  --space-card: #0e1730;
  --space-card2: #111f3d;
  --text-primary: #e8eaf6;
  --text-muted: #9aa5c4;
  --accent-glow: #2563eb;
}

* { box-sizing: border-box; }

body {
  background-color: var(--space-bg);
  color: var(--text-primary);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  margin: 0;
  padding: 0;
}

/* Keyframe Animations */
@keyframes starPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

@keyframes goldGlow {
  0%, 100% { text-shadow: 0 0 8px rgba(240,180,41,0.5); }
  50% { text-shadow: 0 0 24px rgba(240,180,41,0.95), 0 0 48px rgba(240,180,41,0.4); }
}

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

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

@keyframes reelSpin {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

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

@keyframes borderGlow {
  0%, 100% { box-shadow: 0 0 8px rgba(240,180,41,0.3); }
  50% { box-shadow: 0 0 24px rgba(240,180,41,0.8), 0 0 48px rgba(37,99,235,0.3); }
}

.animate-gold-glow { animation: goldGlow 2.5s ease-in-out infinite; }
.animate-cosmic-float { animation: cosmicFloat 4s ease-in-out infinite; }
.animate-border-glow { animation: borderGlow 2.5s ease-in-out infinite; }
.animate-fade-in-up { animation: fadeInUp 0.7s ease-out both; }

/* Marquee */
.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}
.marquee-wrapper { overflow: hidden; }

/* Hero Parallax */
.hero-parallax {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

/* Stars Background */
.stars-bg {
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.12) 1px, transparent 1px),
    radial-gradient(circle, rgba(240,180,41,0.08) 1px, transparent 1px);
  background-size: 80px 80px, 130px 130px;
}

/* Prose Styles */
.prose {
  color: var(--text-primary);
  line-height: 1.8;
  font-size: 1rem;
  max-width: 100%;
}

.prose h2 {
  color: var(--gold);
  font-size: 1.6rem;
  font-weight: 700;
  margin: 1.5rem 0 1rem;
  border-bottom: 2px solid rgba(240,180,41,0.25);
  padding-bottom: 0.4em;
}

.prose h3 {
  color: var(--gold-light);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem;
}

.prose p {
  margin: 0 0 1.2rem;
  color: var(--text-primary);
}

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

.prose a:hover { color: #fff; }

.prose ul, .prose ol {
  margin: 0.75rem 0 1.25rem 1.5rem;
  padding: 0;
}

.prose ul li, .prose ol li {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

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

.prose blockquote {
  border-left: 4px solid var(--gold);
  padding: 0.75em 1.25em;
  margin: 1.5rem 0;
  background: rgba(240,180,41,0.07);
  border-radius: 0 8px 8px 0;
  color: var(--text-muted);
  font-style: italic;
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 1.5rem auto;
  border: 2px solid rgba(240,180,41,0.2);
}

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

.prose table th {
  background: var(--sapphire-light);
  color: var(--gold);
  padding: 0.65em 1em;
  text-align: left;
  font-weight: 700;
  border: 1px solid rgba(240,180,41,0.2);
}

.prose table td {
  padding: 0.6em 1em;
  border: 1px solid rgba(255,255,255,0.1);
  background: var(--space-card);
  color: var(--text-primary);
}

.prose table tr:hover td { background: var(--space-card2); }

/* Card */
.bcard {
  background: var(--space-card);
  border: 1px solid rgba(240,180,41,0.15);
  border-radius: 14px;
  padding: 1.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(240,180,41,0.18);
}

/* Buttons */
.btn-gold {
  background: linear-gradient(135deg, var(--gold), #e08b00);
  color: #070c1a;
  font-weight: 700;
  padding: 0.75em 2em;
  border-radius: 50px;
  display: inline-block;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.btn-gold:hover {
  transform: scale(1.04);
  box-shadow: 0 0 20px rgba(240,180,41,0.55);
  color: #070c1a;
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  font-weight: 600;
  padding: 0.7em 1.8em;
  border-radius: 50px;
  border: 2px solid var(--gold);
  display: inline-block;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.btn-outline:hover {
  background: var(--gold);
  color: #070c1a;
}

/* Section */
.section-wrap {
  padding: 1rem 1.25rem 4rem;
  max-width: 1440px;
  margin: 0 auto;
}

/* Number badge */
.step-badge {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--sapphire-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(240,180,41,0.4);
}

/* Bonus badge */
.bonus-badge {
  background: linear-gradient(135deg, rgba(15,36,96,0.92), rgba(240,180,41,0.18));
  border: 2px solid var(--gold);
  border-radius: 18px;
  padding: 1.75rem 2.5rem;
  display: inline-block;
  text-align: center;
  backdrop-filter: blur(8px);
}

/* Provider word cloud */
.provider-cloud span {
  display: inline-block;
  margin: 0.3rem;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  background: var(--space-card2);
  border: 1px solid rgba(240,180,41,0.2);
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.2s, border-color 0.2s;
}

.provider-cloud span:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid rgba(240,180,41,0.12);
  padding: 1.1rem 0;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--gold-light);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item[open] summary { color: var(--gold); }

.faq-item p {
  margin: 0.75rem 0 0.25rem;
  color: var(--text-primary);
  line-height: 1.75;
}

/* 18+ badge */
.badge-18 {
  width: 2.2rem;
  height: 2.2rem;
  background: #dc2626;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* Mobile menu */
#mobile-menu {
  background: #0a1225;
  border-top: 2px solid rgba(240,180,41,0.2);
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--space-bg); }
::-webkit-scrollbar-thumb { background: var(--sapphire-light); border-radius: 4px; }
