/* -----------------------------------------------------------------
 * Shikaka Kasino — tropical jungle theme (deep jade + gold)
 * Tailwind CDN handles utilities. This file holds the palette tokens,
 * the 2 chosen animations (particle + shimmer), the 3D nav buttons,
 * prose, interactive tabs, the withdrawal/support charts, the Pay N
 * Play highlight, the RG quiz, and the slot-card styling.
 * ----------------------------------------------------------------- */

:root {
  --accent: #f5c542;          /* gold CTA */
  --accent-2: #e0962f;        /* gold gradient pair / ledge */
  --jade: #0c2b22;            /* page background — deep jungle */
  --jade-2: #103a2d;          /* raised surface */
  --leaf: #2fae6b;            /* emerald highlight */
  --coral: #ff7a59;           /* warm secondary accent */
  --surface: rgba(255,255,255,0.04);
  --surface-2: rgba(255,255,255,0.08);
  --text: #f3faf6;
  --muted: rgba(243,250,246,0.66);
}

body { background: var(--jade); color: var(--text); }

/* ----- Prose readability (no @tailwindcss/typography on the CDN) ----- */
.prose, .prose-invert { line-height: 1.7; }
.prose h1, .prose-invert h1 { font-size: 2.25rem; font-weight: 800; margin: 1rem 0 1.25rem; line-height: 1.2; }
.prose h2, .prose-invert h2 { font-size: 1.5rem; font-weight: 700; margin: 2rem 0 0.75rem; line-height: 1.3; color: var(--accent); }
.prose h3, .prose-invert h3 { font-size: 1.2rem; font-weight: 600; margin: 1.5rem 0 0.5rem; color: var(--leaf); }
.prose p, .prose-invert p { margin: 0.75rem 0; }
.prose ul, .prose-invert ul { list-style: disc; padding-left: 1.25rem; margin: 0.75rem 0; }
.prose ol, .prose-invert ol { list-style: decimal; padding-left: 1.25rem; margin: 0.75rem 0; }
.prose li, .prose-invert li { margin: 0.25rem 0; }
.prose a, .prose-invert a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose strong, .prose-invert strong { font-weight: 700; }
.prose table, .prose-invert table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.9rem; }
.prose th, .prose td, .prose-invert th, .prose-invert td { padding: 0.6rem 0.75rem; border-bottom: 1px solid rgba(255,255,255,0.1); text-align: left; }
.prose th, .prose-invert th { background: var(--surface); font-weight: 600; }

html { scroll-behavior: smooth; }

/* ----- Reusable data tables (home page) ----- */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.data-table th, .data-table td { padding: 0.65rem 0.8rem; border-bottom: 1px solid rgba(255,255,255,0.1); text-align: left; }
.data-table th { background: var(--surface); font-weight: 600; color: var(--accent); }
.data-table tr:hover td { background: rgba(255,255,255,0.02); }

/* ----- 3D nav buttons ----- */
.btn-3d {
  --btn-face: var(--accent);
  --btn-ledge: var(--accent-2);
  --btn-ink: #102a1f;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.5rem 1rem; border-radius: 0.75rem;
  font-weight: 700; line-height: 1; color: var(--btn-ink);
  background: var(--btn-face);
  box-shadow: 0 4px 0 0 var(--btn-ledge), 0 6px 10px -4px rgba(0,0,0,0.55);
  transform: translateY(0);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
  text-decoration: none;
}
.btn-3d:hover { filter: brightness(1.06); }
.btn-3d:active { transform: translateY(3px); box-shadow: 0 1px 0 0 var(--btn-ledge), 0 2px 4px -2px rgba(0,0,0,0.5); }

/* ----- Interactive tabs (payments + charts) ----- */
.tab-btn {
  padding: 0.55rem 1.1rem; border-radius: 999px; font-weight: 600; font-size: 0.9rem;
  background: var(--surface); color: var(--muted); border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer; transition: all 0.15s ease;
}
.tab-btn[aria-selected="true"] { background: var(--accent); color: #102a1f; border-color: transparent; }
.tab-panel[hidden] { display: none; }

/* ----- Horizontal bar charts (withdrawal speed / support response) ----- */
.chart-row { display: grid; grid-template-columns: 6rem 1fr 3.5rem; align-items: center; gap: 0.6rem; margin: 0.5rem 0; }
@media (min-width: 640px) { .chart-row { grid-template-columns: 9rem 1fr 4rem; gap: 0.75rem; } }
.chart-track { background: rgba(255,255,255,0.08); border-radius: 999px; height: 0.9rem; overflow: hidden; }
.chart-fill {
  height: 100%; border-radius: 999px; width: 0;
  background: linear-gradient(90deg, var(--leaf), var(--accent));
  transition: width 1.1s cubic-bezier(.2,.8,.2,1);
}
.chart-fill.slow { background: linear-gradient(90deg, var(--coral), #ffb27a); }
.chart-label { font-size: 0.85rem; color: var(--muted); }
.chart-value { font-size: 0.85rem; font-weight: 700; text-align: right; color: var(--accent); }

/* ----- Pay N Play highlight ----- */
.paynplay {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 140% at 0% 0%, rgba(47,174,107,0.35), transparent 55%),
              linear-gradient(135deg, var(--jade-2), #0a241c);
  border: 1px solid rgba(245,197,66,0.25);
  border-radius: 1.75rem;
}
.paynplay .pnp-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--coral); color: #2a0f08; font-weight: 800;
  padding: 0.3rem 0.8rem; border-radius: 999px; font-size: 0.75rem; letter-spacing: 0.03em;
}

/* ----- Trust icon chips (hero) ----- */
.trust-chip {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  padding: 0.4rem 0.8rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600;
}

/* ----- Responsible-gambling quiz ----- */
.rg-quiz { background: var(--surface); border: 1px solid rgba(255,255,255,0.08); border-radius: 1.5rem; padding: 1.5rem; }
.rg-quiz fieldset { border: 0; padding: 0; }
.rg-quiz label { cursor: pointer; }

/* ----- Slot cards ----- */
.slot-card { position: relative; border-radius: 1rem; overflow: hidden; aspect-ratio: 2/3; background: var(--jade-2); display: block; }
.slot-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.slot-card:hover img { transform: scale(1.06); }
.slot-card .cap { position: absolute; inset: auto 0 0 0; padding: 0.5rem 0.6rem; background: linear-gradient(transparent, rgba(0,0,0,0.85)); }
.slot-card .cap h3 { font-size: 0.8rem; font-weight: 700; line-height: 1.1; }
.slot-card .cap p { font-size: 0.65rem; color: var(--muted); }
.slot-card .badge {
  position: absolute; top: 0.5rem; left: 0.5rem;
  background: var(--accent); color: #102a1f; font-size: 0.6rem; font-weight: 800;
  padding: 0.15rem 0.5rem; border-radius: 999px;
}

/* ----- Payment logo cloud (footer) ----- */
.pay-logo {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 4.5rem; height: 2.2rem; padding: 0 0.7rem;
  background: #f3faf6; color: #0c2b22; border-radius: 0.5rem;
  font-weight: 800; font-size: 0.72rem; letter-spacing: 0.01em;
}

/* =================================================================
 * ANIMATIONS — chosen: particle (drifting fireflies) + shimmer (gold text)
 * ================================================================= */

/* particle — soft floating dots, jungle fireflies */
@keyframes particle-drift {
  0%   { transform: translate3d(0, 0, 0); opacity: 0.4; }
  50%  { transform: translate3d(22px, -28px, 0); opacity: 0.75; }
  100% { transform: translate3d(0, 0, 0); opacity: 0.4; }
}
.particle::before, .particle::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 18% 32%, var(--accent) 1px, transparent 1.6px),
    radial-gradient(circle at 72% 58%, var(--leaf) 1px, transparent 1.6px);
  background-size: 64px 64px, 96px 96px;
  animation: particle-drift 12s ease-in-out infinite;
  opacity: 0.3;
}
.particle::after { animation-duration: 18s; animation-delay: -4s; }

/* shimmer — sweeping gold light across headline text */
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
.shimmer {
  background: linear-gradient(110deg, var(--accent) 0%, #fff7df 50%, var(--accent) 100%);
  background-size: 200% 100%;
  animation: shimmer 3.4s linear infinite;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
