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

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

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 8px 2px #0066ff, 0 0 20px 4px #ff00aa44; }
  50% { box-shadow: 0 0 18px 6px #0066ff, 0 0 40px 10px #ff00aa88; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes neon-border {
  0%, 100% { border-color: #0066ff; }
  50% { border-color: #ff00aa; }
}

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

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

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee-track:hover {
  animation-play-state: paused;
}
.marquee-wrap {
  overflow: hidden;
  width: 100%;
}
.pulse-glow {
  animation: pulse-glow 3s ease-in-out infinite;
}
.float-anim {
  animation: float 4s ease-in-out infinite;
}
.neon-border {
  border-width: 2px;
  border-style: solid;
  animation: neon-border 2.5s ease-in-out infinite;
}

/* ===== Hero Gradient Background ===== */

.hero-gradient {
  background: radial-gradient(ellipse 80% 60% at 50% 40%, #0066ff18 0%, transparent 60%),
              radial-gradient(ellipse 60% 50% at 70% 60%, #ff00aa12 0%, transparent 55%),
              linear-gradient(180deg, #04091a 0%, #080f28 100%);
}

/* ===== Game Card Placeholders ===== */

.game-placeholder {
  width: 100%;
  height: 8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  position: relative;
  overflow: hidden;
}
.game-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 30%, rgba(255,255,255,0.04) 50%, transparent 70%);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}
.game-placeholder__icon {
  font-size: 2rem;
  opacity: 0.9;
}
.game-placeholder__label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
}

.game-placeholder--1 {
  background: linear-gradient(135deg, #991b1b, #dc2626, #f97316);
  color: #fbbf24;
}
.game-placeholder--2 {
  background: linear-gradient(135deg, #1e1b4b, #4338ca, #7c3aed);
  color: #c4b5fd;
}
.game-placeholder--3 {
  background: linear-gradient(135deg, #0c4a6e, #0284c7, #22d3ee);
  color: #bae6fd;
}
.game-placeholder--4 {
  background: linear-gradient(135deg, #064e3b, #059669, #34d399);
  color: #a7f3d0;
}
.game-placeholder--5 {
  background: linear-gradient(135deg, #831843, #db2777, #f472b6);
  color: #fbcfe8;
}

/* ===== Provider Pills ===== */

.provider-pill {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid;
  transition: transform 0.2s, box-shadow 0.2s;
}
.provider-pill:hover {
  transform: translateY(-2px);
}
.provider-pill--blue {
  color: #0066ff;
  border-color: #0066ff44;
  background: #0066ff0d;
}
.provider-pill--blue:hover {
  box-shadow: 0 4px 12px #0066ff33;
}
.provider-pill--magenta {
  color: #ff00aa;
  border-color: #ff00aa44;
  background: #ff00aa0d;
}
.provider-pill--magenta:hover {
  box-shadow: 0 4px 12px #ff00aa33;
}

/* ===== FAQ Accordion Animation ===== */

.faq-item summary {
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item .faq-body {
  overflow: hidden;
  animation: faqOpen 0.3s ease-out;
}
@keyframes faqOpen {
  from { opacity: 0; max-height: 0; padding-bottom: 0; }
  to   { opacity: 1; max-height: 20rem; padding-bottom: 1.25rem; }
}

/* ===== Page Hero for Inner Pages ===== */

.page-hero {
  position: relative;
  padding: 5rem 1rem 3rem;
  text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 30%, #0066ff15 0%, transparent 60%),
              radial-gradient(ellipse 50% 50% at 60% 70%, #ff00aa10 0%, transparent 55%);
  pointer-events: none;
}
.page-hero__title {
  font-size: 2.25rem;
  font-weight: 900;
  color: #fff;
  position: relative;
}
.page-hero__desc {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: #94a3b8;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.page-hero__divider {
  width: 5rem;
  height: 3px;
  margin: 1.5rem auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, #0066ff, #ff00aa);
  position: relative;
}

/* ===== Prose — Content Pages ===== */

.prose {
  color: #e2e8f0;
  line-height: 1.8;
  font-size: 1rem;
  max-width: 100%;
}
.prose h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #0066ff;
  margin-top: 2.5rem;
  margin-bottom: 0.8rem;
  border-bottom: 2px solid #0066ff33;
  padding-bottom: 0.4rem;
}
.prose h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #ff00aa;
  margin-top: 1.8rem;
  margin-bottom: 0.5rem;
}
.prose p {
  margin-bottom: 1.2rem;
  color: #cbd5e1;
}
.prose a {
  color: #0066ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.prose a:hover {
  color: #ff00aa;
}
.prose ul {
  list-style: disc;
  padding-left: 1.5em;
  margin-bottom: 1.2rem;
  color: #cbd5e1;
}
.prose ol {
  list-style: decimal;
  padding-left: 1.5em;
  margin-bottom: 1.2rem;
  color: #cbd5e1;
}
.prose li {
  margin-bottom: 0.4rem;
}
.prose strong {
  color: #f1f5f9;
}
.prose blockquote {
  border-left: 4px solid #0066ff;
  padding-left: 1em;
  color: #94a3b8;
  font-style: italic;
  margin: 1.5rem 0;
}
.prose img {
  max-width: 100%;
  border-radius: 0.75rem;
  margin: 1.5rem auto;
  display: block;
  border: 2px solid #0066ff44;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}
.prose thead {
  background: #0a1a3a;
}
.prose th {
  padding: 0.6em 1em;
  color: #0066ff;
  font-weight: 700;
  text-align: left;
  border: 1px solid #0066ff33;
  white-space: nowrap;
}
.prose td {
  padding: 0.55em 1em;
  color: #cbd5e1;
  border: 1px solid #0066ff1a;
  white-space: nowrap;
}
.prose tr:nth-child(even) td {
  background: #0a1a3a66;
}

/* ===== Table Scroll Wrapper ===== */

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

/* ===== Custom Scrollbar (dark theme) ===== */

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #04091a;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}
