/* PulsarSpins Custom CSS */

:root {
  --sapphire: #1a4fc4;
  --sapphire-light: #2d67e8;
  --silver: #94a3b8;
  --deep-space: #070b18;
  --space-mid: #0d1530;
  --space-card: #111d3f;
  --gold: #f0c040;
  --gold-light: #ffd966;
}

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

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 12px 2px rgba(26,79,196,0.6); }
  50% { box-shadow: 0 0 28px 6px rgba(45,103,232,0.9); }
}

@keyframes star-twinkle {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

@keyframes radiate {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

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

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

.cosmic-bg {
  background: radial-gradient(ellipse at 50% 30%, #1a2d6e 0%, #0d1530 45%, #070b18 100%);
}

.hero-overlay {
  background: linear-gradient(180deg, rgba(7,11,24,0.55) 0%, rgba(7,11,24,0.82) 100%);
}

.card-cosmic {
  background: linear-gradient(135deg, #111d3f 0%, #0d1530 100%);
  border: 1px solid rgba(26,79,196,0.35);
}

.btn-primary {
  background: linear-gradient(90deg, #1a4fc4, #2d67e8);
  color: #fff;
  font-weight: 700;
  border-radius: 0.5rem;
  padding: 0.75rem 2rem;
  transition: filter 0.2s, transform 0.15s;
  display: inline-block;
  text-align: center;
}

.btn-primary:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(90deg, #d4a000, #f0c040);
  color: #0d1530;
  font-weight: 700;
  border-radius: 0.5rem;
  padding: 0.75rem 2rem;
  transition: filter 0.2s, transform 0.15s;
  display: inline-block;
  text-align: center;
}

.btn-gold:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.step-badge {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a4fc4, #2d67e8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(45,103,232,0.7);
}

.word-cloud span {
  display: inline-block;
  margin: 0.35em;
  padding: 0.3em 0.7em;
  border-radius: 9999px;
  background: rgba(26,79,196,0.18);
  border: 1px solid rgba(26,79,196,0.4);
  color: #a8c4f8;
  font-size: clamp(0.75rem, 1.2vw, 1rem);
  font-weight: 600;
  transition: background 0.2s;
}

.word-cloud span:hover {
  background: rgba(26,79,196,0.45);
  color: #fff;
}

/* Prose styles for Markdown pages */
.prose {
  color: #cbd5e1;
  max-width: 100%;
  font-size: 1rem;
  line-height: 1.75;
}

.prose h2 {
  color: #e2e8f0;
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 700;
  margin-top: 1em;
  margin-bottom: 0.75em;
  padding-bottom: 0.3em;
  border-bottom: 2px solid rgba(26,79,196,0.4);
}

.prose h3 {
  color: #bfdbfe;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 600;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.prose p {
  margin-bottom: 1.2em;
  color: #cbd5e1;
}

.prose a {
  color: #60a5fa;
  text-decoration: underline;
}

.prose a:hover {
  color: #93c5fd;
}

.prose ul {
  list-style: disc;
  padding-left: 1.5em;
  margin-bottom: 1.2em;
  color: #cbd5e1;
}

.prose ol {
  list-style: decimal;
  padding-left: 1.5em;
  margin-bottom: 1.2em;
  color: #cbd5e1;
}

.prose li {
  margin-bottom: 0.4em;
}

.prose blockquote {
  border-left: 4px solid #1a4fc4;
  padding-left: 1em;
  margin: 1.5em 0;
  color: #94a3b8;
  font-style: italic;
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 1.5em 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.5em;
  width: 100%;
}

.prose thead {
  background: rgba(26,79,196,0.35);
}

.prose th {
  padding: 0.6em 1em;
  text-align: left;
  color: #e2e8f0;
  font-weight: 700;
  border: 1px solid rgba(26,79,196,0.3);
}

.prose td {
  padding: 0.55em 1em;
  border: 1px solid rgba(26,79,196,0.2);
  color: #cbd5e1;
}

.prose tr:nth-child(even) td {
  background: rgba(26,79,196,0.08);
}

/* Overflow wrapper for all tables */
.overflow-x-auto {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

/* Navigation */
.nav-link {
  color: #94a3b8;
  font-weight: 600;
  transition: color 0.2s;
  padding: 0.4rem 0.75rem;
  border-radius: 0.375rem;
}

.nav-link:hover {
  color: #fff;
  background: rgba(26,79,196,0.25);
}

/* Game card */
.game-card {
  background: linear-gradient(160deg, #111d3f 0%, #0d1530 100%);
  border: 1px solid rgba(26,79,196,0.3);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(26,79,196,0.45);
}

.game-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

/* Promo card */
.promo-card {
  background: linear-gradient(135deg, #131f47 0%, #0d1530 100%);
  border: 1px solid rgba(240,192,64,0.25);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

/* FAQ */
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: #bfdbfe;
  padding: 0.75rem 0;
  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: #93c5fd;
}

.faq-answer {
  padding: 0.5rem 0 1rem;
  color: #94a3b8;
  line-height: 1.7;
}

/* Payment table specific */
.pay-table th {
  background: rgba(26,79,196,0.3);
  color: #e2e8f0;
  padding: 0.65em 1.1em;
  font-weight: 700;
  border: 1px solid rgba(26,79,196,0.3);
  white-space: nowrap;
}

.pay-table td {
  padding: 0.6em 1.1em;
  border: 1px solid rgba(26,79,196,0.2);
  color: #cbd5e1;
  white-space: nowrap;
}

.pay-table tr:nth-child(even) td {
  background: rgba(26,79,196,0.08);
}

/* Stars */
.stars {
  color: #f0c040;
}

/* 18+ badge */
.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 2px solid #94a3b8;
  color: #94a3b8;
  font-weight: 800;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* Section divider */
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: #e2e8f0;
  text-align: center;
  margin-bottom: 0.5em;
}

.section-sub {
  color: #94a3b8;
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

@media (max-width: 1024px) {
  .desktop-nav { display: none; }
  .burger-btn { display: flex; }
}

@media (min-width: 1025px) {
  .desktop-nav { display: flex; }
  .burger-btn { display: none; }
  #mobile-menu { display: none !important; }
}
