/* -----------------------------------------------------------------
 * Bearo — jelly bear / marshmallow theme
 * dark navy bg, pink CTAs, soft squishy candy aesthetic
 * ----------------------------------------------------------------- */

:root {
  --bg:        #0A1235;
  --bg-2:      #131E55;
  --bg-3:      #1B2A75;
  --pink:      #FF4FA3;
  --pink-2:    #FF8FC9;
  --pink-soft: #FFC8E2;
  --cream:     #FFF1E6;
  --jelly-y:   #FFD86B;
  --jelly-m:   #B388FF;
  --accent:    #FF4FA3;
  --accent-2:  #FF8FC9;
  --surface:   rgba(255,255,255,0.05);
  --surface-2: rgba(255,255,255,0.10);
  --text:      #FFF1E6;
  --muted:     rgba(255,241,230,0.70);
}

html, body { background: var(--bg); color: var(--text); }
body {
  font-family: 'Nunito', 'Quicksand', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background-image:
    radial-gradient(900px 600px at 10% -10%, rgba(255,79,163,0.18), transparent 60%),
    radial-gradient(700px 500px at 90% 10%, rgba(179,136,255,0.18), transparent 60%),
    radial-gradient(800px 700px at 50% 120%, rgba(255,143,201,0.15), transparent 60%);
  background-attachment: fixed;
}

/* Squishy default radius */
.jelly { border-radius: 32px; }
.gummy { border-radius: 9999px; }

/* CTA button — pink jelly */
.btn-pink {
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, var(--pink-2) 0%, var(--pink) 60%, #E62F8A 100%);
  color: #2A0B1E; font-weight: 800; letter-spacing: 0.01em;
  padding: 0.95rem 1.6rem; border-radius: 9999px;
  box-shadow:
    inset 0 -4px 0 rgba(0,0,0,0.18),
    inset 0 2px 0 rgba(255,255,255,0.45),
    0 14px 26px -10px rgba(255,79,163,0.65),
    0 3px 0 rgba(0,0,0,0.15);
  transform: translateZ(0);
  transition: transform .15s ease, box-shadow .2s ease;
}
.btn-pink:hover { transform: translateY(-2px); box-shadow:
    inset 0 -4px 0 rgba(0,0,0,0.18),
    inset 0 2px 0 rgba(255,255,255,0.55),
    0 18px 34px -10px rgba(255,79,163,0.75),
    0 4px 0 rgba(0,0,0,0.18); }
.btn-pink:active { transform: translateY(1px); }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid rgba(255,200,226,0.4);
  color: var(--cream); font-weight: 700;
  padding: 0.85rem 1.4rem; border-radius: 9999px;
  background: rgba(255,255,255,0.04); backdrop-filter: blur(6px);
}

/* Surfaces */
.card-jelly {
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,200,226,0.18);
  border-radius: 28px;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,0.10),
    0 12px 30px -16px rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
}

.panel-pink {
  background: linear-gradient(180deg, #FFB7DC 0%, #FF8FC9 100%);
  color: #2A0B1E;
  border-radius: 32px;
  box-shadow: inset 0 -6px 0 rgba(0,0,0,0.10), inset 0 3px 0 rgba(255,255,255,0.5), 0 20px 40px -20px rgba(255,79,163,0.45);
}

/* ----- Prose readability ----- */
.prose, .prose-invert { line-height: 1.75; color: var(--text); }
.prose h1, .prose-invert h1 { font-size: 2.4rem; font-weight: 900; margin: 1rem 0 1.25rem; line-height: 1.15; color: #FFF; }
.prose h2, .prose-invert h2 { font-size: 1.55rem; font-weight: 800; margin: 2.2rem 0 0.75rem; line-height: 1.3; color: var(--pink-2); }
.prose h3, .prose-invert h3 { font-size: 1.2rem; font-weight: 700; margin: 1.5rem 0 0.5rem; color: var(--cream); }
.prose p, .prose-invert p { margin: 0.85rem 0; }
.prose ul, .prose-invert ul { list-style: disc; padding-left: 1.4rem; margin: 0.85rem 0; }
.prose ol, .prose-invert ol { list-style: decimal; padding-left: 1.4rem; margin: 0.85rem 0; }
.prose li, .prose-invert li { margin: 0.3rem 0; }
.prose a, .prose-invert a { color: var(--pink-2); text-decoration: underline; text-underline-offset: 3px; }
.prose strong, .prose-invert strong { font-weight: 800; color: #FFF; }
.prose table, .prose-invert table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1rem 0; font-size: 0.92rem; border-radius: 18px; overflow: hidden; background: rgba(255,255,255,0.03); }
.prose th, .prose td, .prose-invert th, .prose-invert td { padding: 0.7rem 0.85rem; border-bottom: 1px solid rgba(255,200,226,0.12); text-align: left; }
.prose th, .prose-invert th { background: rgba(255,79,163,0.18); font-weight: 700; color: var(--cream); }
.prose details { background: var(--surface); border: 1px solid rgba(255,200,226,0.15); border-radius: 18px; padding: 0.75rem 1rem; margin: 0.5rem 0; }
.prose summary { cursor: pointer; font-weight: 700; color: var(--pink-2); }
.prose dl { margin: 1rem 0; }
.prose dt { font-weight: 700; color: var(--pink-2); margin-top: 0.5rem; }
.prose dd { margin: 0.2rem 0 0.6rem 0; }

html { scroll-behavior: smooth; }

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

/* =================================================================
 * ANIMATIONS — float + shimmer
 * ================================================================= */

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-10px) rotate(-1.2deg); }
}
.float { animation: float 5s ease-in-out infinite; }
.float-slow { animation: float 8s ease-in-out infinite; }
.float-fast { animation: float 3.5s ease-in-out infinite; }

@keyframes shimmer-bg {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.shimmer-text {
  background: linear-gradient(110deg, var(--pink) 0%, #FFF1E6 45%, var(--jelly-y) 55%, var(--pink) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer-bg 4s linear infinite;
}
.shimmer-card {
  position: relative; overflow: hidden;
}
.shimmer-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,0.20) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer-bg 4s linear infinite;
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* ----- Jelly bear silhouette decoration ----- */
.bear-blob {
  position: absolute; filter: blur(0.5px);
  pointer-events: none; opacity: 0.5;
}

/* ----- Slot card ----- */
.slot-card { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 1; display: block;
  background: linear-gradient(145deg, var(--bg-3), var(--bg-2));
  border: 1px solid rgba(255,200,226,0.15);
  box-shadow: inset 0 2px 0 rgba(255,255,255,0.10), 0 8px 20px -10px rgba(0,0,0,0.5);
  transition: transform .3s ease;
}
.slot-card:hover { transform: translateY(-4px) scale(1.02); }
.slot-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.slot-card:hover img { transform: scale(1.06); }
.slot-card .meta {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0.75rem 0.9rem;
  background: linear-gradient(180deg, transparent, rgba(10,18,53,0.92));
  color: var(--cream);
}
.slot-card .meta h3 { font-size: 0.95rem; font-weight: 800; margin: 0; }
.slot-card .meta p  { font-size: 0.72rem; opacity: 0.8; margin: 0.1rem 0 0 0; }
.slot-card .badge {
  position: absolute; top: 0.6rem; left: 0.6rem;
  background: var(--pink); color: #2A0B1E; font-size: 0.65rem; font-weight: 800;
  padding: 0.2rem 0.55rem; border-radius: 999px;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.15), 0 4px 10px -2px rgba(255,79,163,0.5);
}

/* ----- Big winner overlay ----- */
.big-winner { position: relative; border-radius: 32px; overflow: hidden; }
.big-winner img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.big-winner__overlay {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem;
  background: rgba(10,18,53,0.78); backdrop-filter: blur(10px);
  padding: 0.9rem 1.1rem; border-radius: 20px;
  border: 1px solid rgba(255,200,226,0.2);
  font-size: 0.95rem;
}

/* ----- Review card ----- */
.review-card { background: var(--surface); border: 1px solid rgba(255,200,226,0.15); border-radius: 22px; padding: 1.1rem; }
.review-card header { display: flex; align-items: center; gap: .5rem; margin-bottom: .35rem; flex-wrap: wrap; }
.review-card footer { margin-top: .6rem; }

/* ----- Trust badges ----- */
.trust-pill {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .45rem .85rem; border-radius: 999px;
  background: var(--surface); border: 1px solid rgba(255,200,226,0.2);
  font-size: .78rem; color: var(--cream);
}

/* ----- Latest bets table ----- */
.latest-bets table { width: 100%; font-size: .85rem; border-collapse: separate; border-spacing: 0; }
.latest-bets th, .latest-bets td { padding: .45rem .6rem; text-align: left; }
.latest-bets thead th { color: var(--muted); font-weight: 600; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; }
.latest-bets tbody tr { border-top: 1px solid rgba(255,200,226,0.10); }

/* ----- Quick nav pills ----- */
.qn-pill {
  display: inline-block; padding: .55rem 1rem; border-radius: 999px;
  background: var(--surface); border: 1px solid rgba(255,200,226,0.15);
  font-size: .85rem; color: var(--cream);
  transition: background .2s, border-color .2s;
}
.qn-pill:hover { background: rgba(255,79,163,0.18); border-color: var(--pink); }

/* ----- Decorative SVG bear ----- */
.bear-icon { width: 56px; height: 56px; }

/* ----- Marshmallow halos ----- */
.halo {
  position: relative;
}
.halo::before {
  content: ''; position: absolute; inset: -8px; z-index: -1;
  background: radial-gradient(closest-side, rgba(255,143,201,0.35), transparent 70%);
  border-radius: inherit;
  filter: blur(8px);
}

/* Bento ----------------------------------------------------------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.bento > * { min-height: 140px; }
@media (max-width: 768px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento > * { grid-column: span 2 !important; grid-row: auto !important; }
}

/* Bento mini-bar chart */
.bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden; }
.bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--pink), var(--jelly-y)); border-radius: 999px; }

/* Bear paw cursor accent inside hero */
.bear-paws { letter-spacing: .25em; }

/* Print smoothing for big numbers */
.big-num { font-variant-numeric: tabular-nums; font-weight: 800; }

/* Footer minor */
footer a:hover { color: var(--pink-2); }
