/* -----------------------------------------------------------------
 * Bearo — Arctic / icy-blue theme.
 * Tailwind (CDN) handles utilities. This file holds: the 2 chosen
 * animations (float, shimmer), prose readability, the 3D nav button,
 * RG quiz, slot cards, big-winner overlay, and the lang disclaimer.
 * ----------------------------------------------------------------- */

:root {
  --accent: #0ea5e9;        /* sky-500 — primary icy blue */
  --accent-2: #22d3ee;      /* cyan-400 — gradient pair / button ledge */
  --bg: #f0f9ff;            /* sky-50 page background */
  --surface: #ffffff;
  --ink: #1e293b;           /* slate-800 */
  --muted: #64748b;         /* slate-500 */
  --line: #bae6fd;          /* sky-200 hairlines */
}

html { scroll-behavior: smooth; }
body { background: var(--bg); }

/* ----- Prose readability (Tailwind CDN has no typography plugin) ----- */
.prose { line-height: 1.7; color: var(--ink); }
.prose h1 { font-size: 2.25rem; font-weight: 800; margin: 1rem 0 1.25rem; line-height: 1.2; color: #0f172a; }
.prose h2 { font-size: 1.5rem; font-weight: 700; margin: 2rem 0 0.75rem; line-height: 1.3; color: #0f172a; }
.prose h3 { font-size: 1.2rem; font-weight: 600; margin: 1.5rem 0 0.5rem; color: #0f172a; }
.prose p { margin: 0.75rem 0; }
.prose ul { list-style: disc; padding-left: 1.25rem; margin: 0.75rem 0; }
.prose ol { list-style: decimal; padding-left: 1.25rem; margin: 0.75rem 0; }
.prose li { margin: 0.25rem 0; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { font-weight: 700; color: #0f172a; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.9rem; }
.prose th, .prose td { padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { background: #f0f9ff; font-weight: 600; }
.prose details { background: #fff; border: 1px solid var(--line); border-radius: 1rem; padding: 0.75rem 1rem; margin: 0.5rem 0; }
.prose summary { cursor: pointer; font-weight: 600; color: #0f172a; }
.prose .cta-card a { color: #fff; text-decoration: none; }

/* ----- Language disclaimer banner ----- */
.lang-disclaimer {
  background: linear-gradient(90deg, #e0f2fe, #cffafe);
  border-bottom: 1px solid var(--line);
  color: #075985;
}

/* ----- 3D nav buttons (always present) ----- */
.btn-3d {
  --btn-face: var(--accent);
  --btn-ledge: #0369a1;     /* sky-700 ledge */
  --btn-ink: #fff;
  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(2,132,199,0.4);
  transform: translateY(0);
  transition: transform 0.08s ease, box-shadow 0.08s ease, filter 0.08s ease;
  text-decoration: none;
}
.btn-3d:hover { filter: brightness(1.07); }
.btn-3d:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 0 var(--btn-ledge), 0 2px 4px -2px rgba(2,132,199,0.4);
}

/* ----- Responsible-gambling quiz ----- */
.rg-quiz {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: 1.5rem;
}
.rg-quiz fieldset { border: 0; padding: 0; }
.rg-quiz label { cursor: pointer; }
.rg-quiz input[type="radio"] { accent-color: var(--accent); }

/* =================================================================
 * ANIMATIONS — chosen for this build: float + shimmer.
 * ================================================================= */

/* float — gentle vertical bob on hero panels / cards */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.float { animation: float 5s ease-in-out infinite; }

/* shimmer — a sweeping icy light pass across accent text */
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.shimmer {
  background: linear-gradient(110deg, var(--accent) 0%, #7dd3fc 45%, #ffffff 50%, #7dd3fc 55%, var(--accent) 100%);
  background-size: 200% 100%;
  animation: shimmer 4s linear infinite;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (prefers-reduced-motion: reduce) {
  .float, .shimmer { animation: none; }
  .shimmer { color: var(--accent); -webkit-text-fill-color: var(--accent); }
}

/* ----- Slot / live cards ----- */
.slot-card { position: relative; display: block; border-radius: 1rem; overflow: hidden; aspect-ratio: 1; background: #fff; border: 1px solid var(--line); }
.slot-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.slot-card:hover img { transform: scale(1.05); }
.slot-card .slot-meta {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0.6rem 0.7rem;
  background: linear-gradient(to top, rgba(2,132,199,0.85), rgba(2,132,199,0));
  color: #fff;
}
.slot-card .slot-meta h3 { font-size: 0.8rem; font-weight: 700; line-height: 1.1; }
.slot-card .slot-meta p { font-size: 0.65rem; opacity: 0.85; }
.slot-card .badge {
  position: absolute; top: 0.5rem; left: 0.5rem;
  background: #fff; color: var(--accent); font-size: 0.6rem; font-weight: 700;
  padding: 0.15rem 0.5rem; border-radius: 999px; box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

/* ----- "Recent big winner" overlay ----- */
.big-winner { position: relative; }
.big-winner__overlay {
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem;
  background: rgba(255,255,255,0.85); backdrop-filter: blur(8px);
  color: #0f172a;
  padding: 0.75rem 1rem; border-radius: 1rem;
  font-size: 0.95rem;
}

/* ----- Language picker dropdown ----- */
details.lang-picker summary::-webkit-details-marker { display: none; }
