/* ================================================
   FLASHBET VELOCITY MAX - Custom CSS
   Intensified light bursts, layered motion depth
   ================================================ */

/* === CSS Variables === */
:root {
  --color-primary: #ff6b00;
  --color-primary-glow: #ff8533;
  --color-secondary: #00d4ff;
  --color-accent: #ffd700;
  --color-dark: #0a0a12;
  --color-darker: #050508;
  --color-surface: #12121f;
  --color-surface-light: #1a1a2e;
  --color-text: #f0f0f5;
  --color-text-muted: #a0a0b5;
  --color-success: #00ff88;
  --color-danger: #ff4757;
  --gradient-velocity: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 50%, var(--color-secondary) 100%);
  --gradient-dark: linear-gradient(180deg, var(--color-dark) 0%, var(--color-darker) 100%);
  --shadow-glow: 0 0 2rem rgba(255, 107, 0, 0.4);
  --shadow-glow-intense: 0 0 3rem rgba(255, 107, 0, 0.6), 0 0 6rem rgba(255, 107, 0, 0.3);
}

/* === Keyframe Animations === */
@keyframes velocityPulse {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.02);
  }
}

@keyframes lightBurst {
  0% {
    opacity: 0;
    transform: scale(0.8) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.1) rotate(180deg);
  }
  100% {
    opacity: 0;
    transform: scale(1.3) rotate(360deg);
  }
}

@keyframes speedLines {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}

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

@keyframes floatUp {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.75rem);
  }
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 1rem rgba(255, 107, 0, 0.4);
  }
  50% {
    box-shadow: 0 0 2rem rgba(255, 107, 0, 0.8), 0 0 3rem rgba(255, 107, 0, 0.4);
  }
}

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

@keyframes particleFloat {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0.3;
  }
  25% {
    transform: translate(1rem, -2rem) rotate(90deg);
    opacity: 0.7;
  }
  50% {
    transform: translate(2rem, 0) rotate(180deg);
    opacity: 0.5;
  }
  75% {
    transform: translate(1rem, 2rem) rotate(270deg);
    opacity: 0.8;
  }
}

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

@keyframes rotateGlow {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* === Animation Utility Classes === */
.animate-velocity-pulse {
  animation: velocityPulse 3s ease-in-out infinite;
}

.animate-light-burst {
  animation: lightBurst 4s ease-in-out infinite;
}

.animate-speed-lines {
  animation: speedLines 2s linear infinite;
}

.animate-marquee {
  animation: marqueeScroll 30s linear infinite;
}

.animate-float {
  animation: floatUp 4s ease-in-out infinite;
}

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

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

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

.animate-rotate-glow {
  animation: rotateGlow 20s linear infinite;
}

/* === Parallax Effects === */
.parallax-layer {
  will-change: transform;
  transition: transform 0.1s ease-out;
}

.parallax-slow {
  transform: translateY(calc(var(--scroll-y, 0) * 0.1));
}

.parallax-medium {
  transform: translateY(calc(var(--scroll-y, 0) * 0.2));
}

.parallax-fast {
  transform: translateY(calc(var(--scroll-y, 0) * 0.3));
}

/* === Light Burst Effects === */
.light-burst {
  position: absolute;
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,0,0.3) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(2rem);
}

.light-burst-secondary {
  background: radial-gradient(circle, rgba(0,212,255,0.2) 0%, transparent 70%);
}

/* === Speed Lines Background === */
.speed-lines-bg {
  position: relative;
  overflow: hidden;
}

.speed-lines-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 2rem,
    rgba(255,107,0,0.03) 2rem,
    rgba(255,107,0,0.03) 2.125rem
  );
  animation: speedLines 3s linear infinite;
  pointer-events: none;
}

/* === Marquee Container === */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
}

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

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

/* === Hero Section Enhancements === */
.hero-gradient-overlay {
  background: linear-gradient(
    180deg,
    rgba(10,10,18,0.3) 0%,
    rgba(10,10,18,0.7) 50%,
    rgba(10,10,18,0.95) 100%
  );
}

.hero-pattern {
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(255,107,0,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0,212,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255,215,0,0.05) 0%, transparent 70%);
}

/* === Button Styles === */
.btn-velocity {
  position: relative;
  overflow: hidden;
  background: var(--gradient-velocity);
  border: none;
  color: var(--color-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.btn-velocity::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.btn-velocity:hover::before {
  left: 100%;
}

.btn-velocity:hover {
  transform: translateY(-0.125rem);
  box-shadow: var(--shadow-glow-intense);
}

.btn-secondary-velocity {
  background: transparent;
  border: 0.125rem solid var(--color-primary);
  color: var(--color-text);
}

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

/* === Card Styles === */
.card-velocity {
  background: var(--color-surface);
  border: 0.0625rem solid rgba(255,107,0,0.2);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

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

/* === Game Card Specific === */
.game-card {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--color-surface);
  transition: all 0.3s ease;
}

.game-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,10,18,0.9) 100%);
  pointer-events: none;
}

.game-card:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-glow);
}

.game-card:hover .game-card-cta {
  opacity: 1;
  transform: translateY(0);
}

.game-card-cta {
  opacity: 0;
  transform: translateY(1rem);
  transition: all 0.3s ease;
}

/* === Bonus Badge === */
.bonus-badge {
  position: relative;
  background: var(--gradient-dark);
  border: 0.125rem solid var(--color-primary);
  border-radius: 1.5rem;
  overflow: hidden;
}

.bonus-badge::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent,
    var(--color-primary),
    transparent,
    var(--color-secondary),
    transparent
  );
  animation: rotateGlow 4s linear infinite;
  opacity: 0.3;
}

/* === Step Badges === */
.step-badge {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-velocity);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-dark);
  box-shadow: var(--shadow-glow);
}

/* === Table Responsive Wrapper === */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* === Payment Table === */
.payment-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 30rem;
}

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

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

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

/* === Provider Cloud === */
.provider-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--color-surface);
  border: 0.0625rem solid rgba(255,107,0,0.3);
  border-radius: 2rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: all 0.3s ease;
}

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

/* === FAQ Accordion === */
.faq-item {
  border: 0.0625rem solid rgba(255,107,0,0.2);
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--color-surface);
  transition: all 0.3s ease;
}

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

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

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

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

.faq-icon {
  transition: transform 0.3s ease;
  color: var(--color-primary);
}

/* === Promo Cards === */
.promo-card {
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-surface-light) 100%);
  border: 0.0625rem solid rgba(255,107,0,0.2);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.promo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0.25rem;
  background: var(--gradient-velocity);
}

.promo-card:hover {
  transform: translateY(-0.5rem);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
}

/* === Navigation === */
.nav-velocity {
  background: rgba(10,10,18,0.95);
  backdrop-filter: blur(0.625rem);
  border-bottom: 0.0625rem solid rgba(255,107,0,0.2);
}

.nav-link {
  position: relative;
  color: var(--color-text-muted);
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -0.25rem;
  left: 0;
  width: 0;
  height: 0.125rem;
  background: var(--gradient-velocity);
  transition: width 0.3s ease;
}

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

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

/* === Mobile Menu === */
.mobile-menu {
  background: var(--color-dark);
  border-top: 0.0625rem solid rgba(255,107,0,0.2);
}

.mobile-menu-backdrop {
  background: rgba(5,5,8,0.9);
  backdrop-filter: blur(0.25rem);
}

/* === Footer === */
.footer-velocity {
  background: var(--gradient-dark);
  border-top: 0.0625rem solid rgba(255,107,0,0.2);
}

/* === 18+ Badge === */
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--color-danger);
  color: white;
  font-weight: 800;
  font-size: 0.875rem;
}

/* === Scrollbar Styling === */
::-webkit-scrollbar {
  width: 0.5rem;
  height: 0.5rem;
}

::-webkit-scrollbar-track {
  background: var(--color-darker);
}

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

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary-glow);
}

/* ================================================
   PROSE STYLING FOR MARKDOWN CONTENT
   ================================================ */

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

.prose > * + * {
  margin-top: 1.5em;
}

/* === Prose Headings === */
.prose h2 {
  color: var(--color-text);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  margin-top: 2.5em;
  margin-bottom: 1em;
  padding-bottom: 0.5em;
  border-bottom: 0.125rem solid rgba(255,107,0,0.3);
  position: relative;
}

.prose h2::before {
  content: '';
  position: absolute;
  bottom: -0.125rem;
  left: 0;
  width: 5rem;
  height: 0.125rem;
  background: var(--gradient-velocity);
}

.prose h3 {
  color: var(--color-text);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 600;
  line-height: 1.4;
  margin-top: 2em;
  margin-bottom: 0.75em;
}

.prose h4 {
  color: var(--color-primary-glow);
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

/* === Prose Paragraphs === */
.prose p {
  color: var(--color-text-muted);
  margin-bottom: 1.25em;
  line-height: 1.8;
}

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

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

/* === Prose Links === */
.prose a {
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 0.0625rem solid transparent;
  transition: all 0.3s ease;
}

.prose a:hover {
  color: var(--color-primary-glow);
  border-bottom-color: var(--color-primary);
}

/* === Prose Lists === */
.prose ul,
.prose ol {
  padding-left: 1.5em;
  margin-bottom: 1.5em;
}

.prose ul {
  list-style: none;
}

.prose ul li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.75em;
  color: var(--color-text-muted);
  line-height: 1.7;
}

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

.prose ol {
  list-style: none;
  counter-reset: prose-counter;
}

.prose ol li {
  position: relative;
  padding-left: 2.5em;
  margin-bottom: 0.75em;
  color: var(--color-text-muted);
  line-height: 1.7;
  counter-increment: prose-counter;
}

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

/* === Prose Tables === */
.prose .table-responsive {
  margin: 2em 0;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 0.0625rem solid rgba(255,107,0,0.2);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  min-width: 25rem;
  font-size: 0.9375rem;
}

.prose thead {
  background: var(--color-surface);
}

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

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

.prose tbody tr {
  transition: background 0.3s ease;
}

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

.prose tbody tr:last-child td {
  border-bottom: none;
}

/* === Prose Blockquotes === */
.prose blockquote {
  position: relative;
  margin: 2em 0;
  padding: 1.5em 2em;
  background: var(--color-surface);
  border-left: 0.25rem solid var(--color-primary);
  border-radius: 0 0.75rem 0.75rem 0;
  font-style: italic;
  color: var(--color-text);
}

.prose blockquote::before {
  content: '"';
  position: absolute;
  top: -0.5rem;
  left: 1rem;
  font-size: 4rem;
  color: var(--color-primary);
  opacity: 0.3;
  font-family: Georgia, serif;
  line-height: 1;
}

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

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

.prose pre {
  background: var(--color-surface);
  padding: 1.5em;
  border-radius: 0.75rem;
  overflow-x: auto;
  border: 0.0625rem solid rgba(255,107,0,0.2);
}

.prose pre code {
  background: transparent;
  padding: 0;
  font-size: 0.875rem;
  line-height: 1.7;
}

/* === Prose Images === */
.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  margin: 2em 0;
  box-shadow: 0 0.5rem 2rem rgba(0,0,0,0.3);
  border: 0.0625rem solid rgba(255,107,0,0.2);
}

/* === Prose Horizontal Rule === */
.prose hr {
  border: none;
  height: 0.0625rem;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  margin: 3em 0;
}

/* === Content Layout for Inner Pages === */
.content-wrapper {
  max-width: 50rem;
  margin: 0 auto;
  padding: 2rem 1rem;
}

@media (min-width: 48rem) {
  .content-wrapper {
    padding: 3rem 2rem;
  }
}

/* === Utility Classes === */
.text-gradient {
  background: var(--gradient-velocity);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-velocity {
  background: var(--gradient-velocity);
}

.border-velocity {
  border-color: var(--color-primary);
}

.glow-effect {
  box-shadow: var(--shadow-glow);
}

.glow-effect-intense {
  box-shadow: var(--shadow-glow-intense);
}

/* === Review Blocks === */
.review-block {
  background: var(--color-surface);
  border: 0.0625rem solid rgba(255,107,0,0.2);
  border-radius: 1rem;
  padding: 2rem;
  height: 100%;
}

.review-block h3 {
  color: var(--color-primary);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 0.0625rem solid rgba(255,107,0,0.2);
}

/* === Section Dividers === */
.section-divider {
  height: 0.0625rem;
  background: linear-gradient(90deg, transparent, rgba(255,107,0,0.5), transparent);
  margin: 4rem 0;
}

/* === Loading States === */
.skeleton {
  background: linear-gradient(90deg, var(--color-surface) 25%, var(--color-surface-light) 50%, var(--color-surface) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 0.5rem;
}

/* === Smooth Scroll Behavior === */
html {
  scroll-behavior: smooth;
}

/* === Focus States for Accessibility === */
*:focus-visible {
  outline: 0.125rem solid var(--color-primary);
  outline-offset: 0.125rem;
}

/* === Selection Color === */
::selection {
  background: var(--color-primary);
  color: var(--color-dark);
}
