/* ========================================
   Striker Rooms Arena - Custom Styles
   Sports-lounge vibes, bold lighting
   ======================================== */

/* CSS Custom Properties */
:root {
  --primary: #ff4d00;
  --primary-dark: #cc3d00;
  --secondary: #00d4ff;
  --accent: #ffd700;
  --dark: #0a0e17;
  --dark-light: #141c2b;
  --dark-mid: #1e2a3d;
  --light: #f8fafc;
  --light-muted: #94a3b8;
  --success: #22c55e;
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, #ff8c00 100%);
  --gradient-dark: linear-gradient(180deg, var(--dark) 0%, var(--dark-light) 100%);
}

/* Base Resets */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--dark);
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========================================
   Keyframe Animations
   ======================================== */

@keyframes tiltIn {
  0% {
    opacity: 0;
    transform: perspective(1000px) rotateX(15deg) rotateY(-10deg) translateY(2rem);
  }
  100% {
    opacity: 1;
    transform: perspective(1000px) rotateX(0) rotateY(0) translateY(0);
  }
}

@keyframes parallaxFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-1rem) rotate(1deg);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 1.25rem rgba(255, 77, 0, 0.4);
  }
  50% {
    box-shadow: 0 0 2.5rem rgba(255, 77, 0, 0.7), 0 0 3.75rem rgba(255, 140, 0, 0.3);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

@keyframes slideInUp {
  0% {
    opacity: 0;
    transform: translateY(1.875rem);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes spotlightMove {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.15;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 0.25;
  }
}

@keyframes borderGlow {
  0%, 100% {
    border-color: var(--primary);
  }
  50% {
    border-color: var(--secondary);
  }
}

/* ========================================
   Animation Utility Classes
   ======================================== */

.animate-tilt {
  animation: tiltIn 0.8s ease-out forwards;
}

.animate-parallax {
  animation: parallaxFloat 6s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulseGlow 2s ease-in-out infinite;
}

.animate-shimmer {
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 3s infinite;
}

.animate-slide-up {
  animation: slideInUp 0.6s ease-out forwards;
}

.animate-fade-in {
  animation: fadeIn 0.5s ease-out forwards;
}

/* Delay utilities */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* ========================================
   Component Styles
   ======================================== */

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background: var(--gradient-primary);
  color: var(--light);
  font-weight: 700;
  font-size: 1.125rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-primary:hover {
  transform: translateY(-0.125rem);
  box-shadow: 0 0.625rem 1.875rem rgba(255, 77, 0, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background: transparent;
  color: var(--light);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 0.125rem solid var(--secondary);
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--secondary);
  color: var(--dark);
}

.btn-game {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  background: var(--primary);
  color: var(--light);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 0.375rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
}

.btn-game:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

/* Cards */
.card {
  background: var(--dark-light);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.card:hover {
  border-color: var(--primary);
  transform: translateY(-0.25rem);
}

.card-game {
  background: var(--dark-mid);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 0.125rem solid transparent;
}

.card-game:hover {
  border-color: var(--primary);
  transform: scale(1.03);
  box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.3);
}

.card-game img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 23, 0.7) 0%, rgba(10, 14, 23, 0.9) 100%);
}

.hero-spotlight {
  position: absolute;
  width: 50rem;
  height: 50rem;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  opacity: 0.15;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: spotlightMove 8s ease-in-out infinite;
  z-index: 1;
}

/* Bonus Badge */
.bonus-badge {
  background: var(--gradient-primary);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: pulseGlow 3s ease-in-out infinite;
}

.bonus-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

.bonus-amount {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--light);
  text-shadow: 0.125rem 0.125rem 0.5rem rgba(0, 0, 0, 0.3);
}

/* Steps */
.step-badge {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--light);
  flex-shrink: 0;
}

/* Navigation */
.nav-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 14, 23, 0.95);
  backdrop-filter: blur(0.625rem);
  border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.1);
}

.nav-link {
  color: var(--light-muted);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 0.125rem;
  background: var(--primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 80%;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 4rem;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--dark);
  z-index: 999;
  padding: 2rem;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  color: var(--light);
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 1rem;
  border-radius: 0.5rem;
  background: var(--dark-light);
  transition: all 0.3s ease;
}

.mobile-menu a:hover {
  background: var(--primary);
}

/* Burger Menu */
.burger {
  display: none;
  flex-direction: column;
  gap: 0.375rem;
  cursor: pointer;
  padding: 0.5rem;
}

.burger span {
  width: 1.5rem;
  height: 0.1875rem;
  background: var(--light);
  border-radius: 0.125rem;
  transition: all 0.3s ease;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(0.375rem, 0.375rem);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(0.375rem, -0.375rem);
}

@media (max-width: 63.9375rem) {
  .burger {
    display: flex;
  }
  .desktop-nav {
    display: none;
  }
}

/* Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.payment-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 37.5rem;
}

.payment-table th,
.payment-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.1);
}

.payment-table th {
  background: var(--dark-mid);
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

.payment-table td {
  color: var(--light);
}

.payment-table tr:hover td {
  background: rgba(255, 77, 0, 0.1);
}

/* Provider Cloud */
.provider-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.provider-tag {
  background: var(--dark-mid);
  color: var(--light-muted);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 0.0625rem solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.provider-tag:hover {
  border-color: var(--primary);
  color: var(--light);
}

/* Promo Cards */
.promo-card {
  background: linear-gradient(135deg, var(--dark-light) 0%, var(--dark-mid) 100%);
  border-radius: 1rem;
  padding: 2rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.promo-card:hover {
  border-color: var(--secondary);
  transform: translateY(-0.5rem);
}

.promo-card h3 {
  color: var(--secondary);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* FAQ */
.faq-item {
  background: var(--dark-light);
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  overflow: hidden;
  border: 0.0625rem solid rgba(255, 255, 255, 0.1);
}

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

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

.faq-answer {
  padding: 0 1.25rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  color: var(--light-muted);
}

.faq-item.active .faq-answer {
  padding: 0 1.25rem 1.25rem;
  max-height: 31.25rem;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* Footer */
.footer {
  background: var(--dark);
  border-top: 0.0625rem solid rgba(255, 255, 255, 0.1);
  padding: 3rem 0 2rem;
}

.footer-link {
  color: var(--light-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--primary);
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--primary);
  color: var(--light);
  font-weight: 800;
  font-size: 1rem;
}

/* SVG Pattern Background */
.pattern-bg {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ff4d00' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

/* Disclaimer */
.disclaimer {
  font-size: 0.75rem;
  color: var(--light-muted);
  margin-top: 1rem;
}

/* Section Divider */
.section-divider {
  height: 0.25rem;
  background: var(--gradient-primary);
  border-radius: 0.125rem;
  width: 6rem;
  margin: 0 auto 2rem;
}

/* ========================================
   Prose Styling for Markdown Content
   ======================================== */

.prose {
  color: var(--light);
  max-width: 75rem;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.75;
}

.prose h2 {
  color: var(--light);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 0.1875rem solid var(--primary);
  position: relative;
}

.prose h3 {
  color: var(--secondary);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.prose h4 {
  color: var(--light);
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

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

.prose a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 0.1875rem;
  transition: color 0.3s ease;
}

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

.prose strong {
  color: var(--light);
  font-weight: 600;
}

.prose em {
  color: var(--light);
  font-style: italic;
}

/* Prose Lists */
.prose ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.prose ul li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--light-muted);
}

.prose ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.625rem;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--primary);
  border-radius: 50%;
}

.prose ol {
  counter-reset: prose-counter;
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.prose ol li {
  counter-increment: prose-counter;
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--light-muted);
}

.prose ol li::before {
  content: counter(prose-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.75rem;
  height: 1.75rem;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--light);
}

/* Prose Tables */
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.9375rem;
}

.prose thead {
  background: var(--dark-mid);
}

.prose th {
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  padding: 1rem;
  text-align: left;
  border-bottom: 0.125rem solid var(--primary);
}

.prose td {
  padding: 1rem;
  color: var(--light-muted);
  border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.1);
}

.prose tbody tr:hover {
  background: rgba(255, 77, 0, 0.05);
}

.prose tbody tr:hover td {
  color: var(--light);
}

/* Prose Blockquotes */
.prose blockquote {
  border-left: 0.25rem solid var(--primary);
  background: var(--dark-light);
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  border-radius: 0 0.5rem 0.5rem 0;
  font-style: italic;
}

.prose blockquote p {
  color: var(--light);
  margin-bottom: 0;
}

.prose blockquote p:last-child {
  margin-bottom: 0;
}

/* Prose Images */
.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  margin: 2rem 0;
  border: 0.125rem solid rgba(255, 255, 255, 0.1);
}

/* Prose Code */
.prose code {
  background: var(--dark-mid);
  color: var(--secondary);
  padding: 0.1875rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.875em;
  font-family: 'Fira Code', monospace;
}

.prose pre {
  background: var(--dark-mid);
  padding: 1.5rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin: 2rem 0;
}

.prose pre code {
  background: none;
  padding: 0;
}

/* Prose Horizontal Rule */
.prose hr {
  border: none;
  height: 0.1875rem;
  background: var(--gradient-primary);
  margin: 3rem 0;
  border-radius: 0.125rem;
}

/* Games Strip Scroll */
.games-strip {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 1rem 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.games-strip::-webkit-scrollbar {
  height: 0.5rem;
}

.games-strip::-webkit-scrollbar-track {
  background: var(--dark-mid);
  border-radius: 0.25rem;
}

.games-strip::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 0.25rem;
}

.games-strip > * {
  scroll-snap-align: start;
  flex-shrink: 0;
}

/* Review Block */
.review-block {
  background: var(--dark-light);
  border-radius: 1rem;
  padding: 2rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.1);
}

.review-block h3 {
  color: var(--primary);
  font-size: 1.25rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Container */
.container {
  width: 100%;
  max-width: 90rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 48rem) {
  .container {
    padding: 0 2rem;
  }
}

/* Section spacing */
section {
  padding: 4rem 0;
}

@media (min-width: 48rem) {
  section {
    padding: 6rem 0;
  }
}

/* Logo */
.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--light);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--primary);
}

/* Responsive Utilities */
@media (max-width: 47.9375rem) {
  .prose h2 {
    font-size: 1.5rem;
  }
  
  .prose h3 {
    font-size: 1.25rem;
  }
  
  .bonus-amount {
    font-size: 2rem;
  }
}

/* Focus States for Accessibility */
a:focus-visible,
button:focus-visible {
  outline: 0.125rem solid var(--secondary);
  outline-offset: 0.125rem;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -2.5rem;
  left: 0;
  background: var(--primary);
  color: var(--light);
  padding: 0.5rem 1rem;
  z-index: 10000;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
}
