/* SpinTitans Neon Core - Custom CSS */

:root {
  --cyan: #00e5ff;
  --magenta: #ff00cc;
  --dark-bg: #0a0a1a;
  --card-bg: #1a1a2e;
  --card-border: #2a2a4a;
  --text-primary: #e8e8f0;
  --text-muted: #9090b0;
}

* { box-sizing: border-box; }

body {
  background-color: var(--dark-bg);
  color: var(--text-primary);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
}

/* Keyframes */
@keyframes neonPulse {
  0%, 100% { box-shadow: 0 0 8px var(--cyan), 0 0 20px var(--cyan); }
  50% { box-shadow: 0 0 16px var(--magenta), 0 0 40px var(--magenta); }
}

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

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

@keyframes glowText {
  0%, 100% { text-shadow: 0 0 8px var(--cyan), 0 0 20px var(--cyan); }
  50% { text-shadow: 0 0 16px var(--magenta), 0 0 40px var(--magenta); }
}

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

.neon-pulse { animation: neonPulse 2.5s ease-in-out infinite; }
.glow-text { animation: glowText 3s ease-in-out infinite; }
.fade-in-up { animation: fadeInUp 0.7s ease forwards; }

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

.marquee-track:hover { animation-play-state: paused; }

/* Neon gradient border */
.neon-border {
  border: 1px solid transparent;
  background-clip: padding-box;
  position: relative;
}

.neon-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  z-index: -1;
}

/* CTA Buttons */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--cyan), #0099cc);
  color: #0a0a1a;
  font-weight: 700;
  padding: 0.85em 2em;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  animation: neonPulse 2.5s ease-in-out infinite;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,229,255,0.5);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--magenta);
  font-weight: 700;
  padding: 0.8em 2em;
  border-radius: 0.5rem;
  text-decoration: none;
  border: 2px solid var(--magenta);
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1rem;
}

.btn-secondary:hover {
  background: var(--magenta);
  color: #0a0a1a;
  transform: translateY(-2px);
}

/* Cards */
.game-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0,229,255,0.2);
}

.promo-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 0.75rem;
  padding: 1.75rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.promo-card:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0,229,255,0.15);
}

/* Hero */
.hero-section {
  min-height: 85vh;
  background-image: url('/images/hero.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,26,0.88) 0%, rgba(26,10,40,0.82) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1rem;
  max-width: 850px;
  margin: 0 auto;
}

/* Bonus Badge */
.bonus-badge {
  background: linear-gradient(135deg, rgba(0,229,255,0.1), rgba(255,0,204,0.1));
  border: 2px solid var(--cyan);
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  display: inline-block;
  animation: neonPulse 2.5s ease-in-out infinite;
  margin: 1.5rem auto;
}

/* Steps */
.step-badge {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  color: #0a0a1a;
  flex-shrink: 0;
  margin: 0 auto 1rem;
}

/* Provider word cloud */
.provider-cloud span {
  display: inline-block;
  margin: 0.4rem;
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  cursor: default;
}

.provider-cloud span:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 12px rgba(0,229,255,0.2);
}

/* Section headings */
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--cyan);
  text-align: center;
  margin-bottom: 0.5rem;
}

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

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10,10,26,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
}

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 0.4rem;
  transition: color 0.3s, background 0.3s;
  font-size: 0.95rem;
}

.nav-link:hover {
  color: var(--cyan);
  background: rgba(0,229,255,0.08);
}

.mobile-menu {
  background: #0f0f24;
  border-top: 1px solid var(--card-border);
}

/* Disclaimer */
.disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* Parallax bg shapes */
.bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
  pointer-events: none;
}

/* Tables */
.overflow-x-auto {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

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

.prose h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--cyan);
  margin: 1rem 0 1rem;
  border-left: 3px solid var(--magenta);
  padding-left: 0.75rem;
}

.prose h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 600;
  color: var(--magenta);
  margin: 1.5rem 0 0.75rem;
}

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

.prose a {
  color: var(--cyan);
  text-decoration: underline;
  transition: color 0.2s;
}

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

.prose ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
}

.prose ol {
  list-style: decimal;
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
}

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

.prose blockquote {
  border-left: 4px solid var(--cyan);
  padding: 0.75rem 1.25rem;
  background: var(--card-bg);
  border-radius: 0 0.5rem 0.5rem 0;
  margin: 1.5rem 0;
  color: var(--text-muted);
  font-style: italic;
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  border: 1px solid var(--card-border);
  margin: 1.5rem 0;
}

.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;
}

.prose thead {
  background: linear-gradient(135deg, rgba(0,229,255,0.15), rgba(255,0,204,0.15));
}

.prose th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 700;
  color: var(--cyan);
  border-bottom: 2px solid var(--card-border);
}

.prose td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--card-border);
  color: var(--text-primary);
}

.prose tr:hover td { background: rgba(255,255,255,0.03); }

/* FAQ */
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
}

.faq-question:hover { color: var(--cyan); }

.faq-icon {
  margin-left: 0.75rem;
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  line-height: 1.7;
  display: none;
}

.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-question { color: var(--cyan); }

/* Footer */
.site-footer {
  background: #07071a;
  border-top: 1px solid var(--card-border);
  padding: 3rem 1rem 2rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 2px solid var(--magenta);
  color: var(--magenta);
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Container */
.site-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Sections padding */
.section-pad { padding: 4.5rem 0; }

@media (max-width: 640px) {
  .section-pad { padding: 3rem 0; }
  .hero-section { background-attachment: scroll; }
}

/* Review blocks */
.review-block {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 0.75rem;
  padding: 2rem;
}

.review-block h3 {
  color: var(--cyan);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 0.75rem;
}

/* Payments table */
.payments-table th { color: var(--cyan); font-weight: 700; }
.payments-table td { color: var(--text-primary); }

/* Light trail animation for hero */
.light-trail {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  animation: trailMove 6s ease-in-out infinite;
  opacity: 0.4;
  width: 60%;
}
