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

:root {
  --neon-green: #39ff14;
  --neon-violet: #a855f7;
  --dark-bg: #0d0d1a;
  --card-bg: #16162a;
  --card-border: #2a2a4a;
  --text-primary: #f0f0ff;
  --text-muted: #9494b8;
}

body {
  background-color: var(--dark-bg);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
}

@keyframes neonPulse {
  0%, 100% { box-shadow: 0 0 8px var(--neon-green), 0 0 20px var(--neon-green); }
  50% { box-shadow: 0 0 20px var(--neon-green), 0 0 50px var(--neon-green); }
}

@keyframes violetGlow {
  0%, 100% { box-shadow: 0 0 8px var(--neon-violet), 0 0 20px var(--neon-violet); }
  50% { box-shadow: 0 0 20px var(--neon-violet), 0 0 50px var(--neon-violet); }
}

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

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.neon-btn {
  animation: neonPulse 2.5s ease-in-out infinite;
}

.violet-btn {
  animation: violetGlow 2.5s ease-in-out infinite;
}

.fade-in-up {
  animation: fadeInUp 0.7s ease both;
}

.hero-bg {
  background-image: url('/images/hero.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.parallax-overlay {
  background: linear-gradient(135deg, rgba(8,8,18,0.88) 0%, rgba(45,20,100,0.55) 50%, rgba(8,8,18,0.92) 100%);
}

/* Hero: readable text over busy background */
.hero-content-panel {
  background: rgba(10, 10, 22, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(57, 255, 20, 0.2);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem 2rem;
  max-width: 42rem;
  width: 100%;
}

@media (min-width: 768px) {
  .hero-content-panel {
    padding: 2.25rem 2.5rem 2.5rem;
    max-width: 48rem;
  }
}

.hero-title {
  color: #f5f5ff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.85), 0 0 24px rgba(57, 255, 20, 0.35);
}

.hero-subtitle {
  color: #e8e8f5;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
  line-height: 1.35;
}

/* HOT GAMES: static grid — all cards visible (no marquee) */
.hot-games-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .hot-games-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .hot-games-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.card-glow {
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.card-glow:hover {
  border-color: var(--neon-green);
  box-shadow: 0 0 18px rgba(57,255,20,0.25);
}

.neon-text {
  color: var(--neon-green);
  text-shadow: 0 0 10px var(--neon-green);
}

.violet-text {
  color: var(--neon-violet);
  text-shadow: 0 0 10px var(--neon-violet);
}

.badge-neon {
  border: 2px solid var(--neon-green);
  box-shadow: 0 0 14px rgba(57,255,20,0.4);
  background: rgba(57,255,20,0.08);
}

.step-badge {
  background: linear-gradient(135deg, var(--neon-green), var(--neon-violet));
  color: #0d0d1a;
  font-weight: 700;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.provider-cloud span {
  display: inline-block;
  margin: 0.3rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: rgba(168,85,247,0.15);
  border: 1px solid rgba(168,85,247,0.4);
  color: var(--text-primary);
  font-size: 0.85rem;
  transition: background 0.2s;
}

.provider-cloud span:hover {
  background: rgba(57,255,20,0.15);
  border-color: var(--neon-green);
}

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

.prose h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--neon-green);
  text-shadow: 0 0 8px rgba(57,255,20,0.4);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(57,255,20,0.2);
  padding-bottom: 0.4rem;
}

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

.prose p {
  margin-bottom: 1.1rem;
  color: #d0d0e8;
}

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

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

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

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

.prose li {
  margin-bottom: 0.4rem;
  color: #d0d0e8;
}

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

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

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

.prose th {
  background: rgba(57,255,20,0.12);
  color: var(--neon-green);
  padding: 0.6rem 1rem;
  text-align: left;
  border: 1px solid var(--card-border);
}

.prose td {
  padding: 0.6rem 1rem;
  border: 1px solid var(--card-border);
  color: #d0d0e8;
  background: var(--card-bg);
}

.prose tr:hover td {
  background: rgba(168,85,247,0.08);
}

.overflow-x-auto {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

.nav-link {
  color: #d0d0e8;
  font-weight: 600;
  transition: color 0.2s;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.04em;
  font-size: 1rem;
  text-transform: uppercase;
}

.nav-link:hover {
  color: var(--neon-green);
  text-shadow: 0 0 8px var(--neon-green);
}

.mobile-menu {
  background-color: #10101e;
  border-top: 1px solid var(--card-border);
}

.sticky-nav {
  background-color: rgba(13,13,26,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(57,255,20,0.15);
}

.faq-item {
  border: 1px solid var(--card-border);
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-question {
  background: var(--card-bg);
  color: var(--text-primary);
  padding: 1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  background: rgba(22,22,42,0.7);
  color: #c0c0d8;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--card-border);
}
