/* Bearo — wildlife-themed UK casino. Deep blue, emerald CTAs. */

:root {
  --bg: #06142b;
  --bg-2: #0a1f3d;
  --bg-3: #0f2a52;
  --accent: #10b981;          /* emerald */
  --accent-2: #059669;
  --accent-3: #34d399;
  --surface: rgba(255,255,255,0.05);
  --surface-2: rgba(255,255,255,0.09);
  --line: rgba(255,255,255,0.10);
  --text: #eaf2ff;
  --muted: rgba(234,242,255,0.70);
}

html, body { background: var(--bg); color: var(--text); }
body {
  background-image:
    radial-gradient(900px 600px at 10% -10%, rgba(16,185,129,0.10), transparent 70%),
    radial-gradient(800px 500px at 100% 0%, rgba(52,211,153,0.08), transparent 65%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 60%, var(--bg) 100%);
  background-attachment: fixed;
}

html { scroll-behavior: smooth; }

/* Prose for inner pages */
.prose, .prose-invert { line-height: 1.7; color: var(--text); }
.prose h1, .prose-invert h1 { font-size: 2.25rem; font-weight: 800; margin: 1rem 0 1.25rem; line-height: 1.15; }
.prose h2, .prose-invert h2 { font-size: 1.55rem; font-weight: 700; margin: 2rem 0 0.75rem; line-height: 1.3; color: var(--accent-3); }
.prose h3, .prose-invert h3 { font-size: 1.2rem; font-weight: 600; margin: 1.5rem 0 0.5rem; }
.prose p { margin: 0.75rem 0; color: var(--text); }
.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-3); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { font-weight: 700; color: #fff; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.92rem; }
.prose th, .prose td { padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { background: var(--surface); font-weight: 600; color: #fff; }
.prose details { background: var(--surface); border: 1px solid var(--line); border-radius: 0.9rem; padding: 0.75rem 1rem; margin: 0.5rem 0; }
.prose summary { cursor: pointer; font-weight: 600; }
.prose dl dt { font-weight: 600; color: var(--accent-3); margin-top: 0.75rem; }
.prose dl dd { margin-left: 0; opacity: 0.9; }

/* RG quiz */
.rg-quiz {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: 1.5rem;
}
.rg-quiz fieldset { border: 0; padding: 0; }
.rg-quiz label { cursor: pointer; }

/* ===== Animations: parallax + float ===== */
.parallax-bg {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}
.parallax-layer {
  will-change: transform;
  transition: transform 0.05s linear;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.float { animation: float 4.5s ease-in-out infinite; }
.float-slow { animation: float 7s ease-in-out infinite; }
.float-delay { animation: float 5s ease-in-out infinite; animation-delay: -2s; }

/* Slot cards */
.slot-card { position: relative; border-radius: 1rem; overflow: hidden; aspect-ratio: 1; background: var(--surface-2); border: 1px solid var(--line); display: block; }
.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.55rem 0.7rem;
  background: linear-gradient(180deg, transparent, rgba(6,20,43,0.92));
}
.slot-card .meta h3 { font-size: 0.85rem; font-weight: 700; color: #fff; line-height: 1.1; }
.slot-card .meta p { font-size: 0.7rem; color: var(--muted); }
.slot-card .badge {
  position: absolute; top: 0.5rem; left: 0.5rem;
  background: var(--accent); color: #04221a; font-size: 0.62rem; font-weight: 800;
  padding: 0.18rem 0.5rem; border-radius: 999px; letter-spacing: 0.02em; text-transform: uppercase;
}

/* CTA buttons */
.btn-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04221a;
  font-weight: 800;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  box-shadow: 0 10px 30px -10px rgba(16,185,129,0.65);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-cta:hover { transform: translateY(-1px); box-shadow: 0 18px 38px -10px rgba(16,185,129,0.8); }
.btn-ghost {
  display: inline-block;
  border: 1px solid var(--line);
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  color: var(--text);
}

/* Big winner overlay */
.big-winner { position: relative; border-radius: 1.25rem; overflow: hidden; }
.big-winner__overlay {
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem;
  background: rgba(6,20,43,0.78); backdrop-filter: blur(10px);
  padding: 0.85rem 1.1rem; border-radius: 1rem;
  font-size: 0.95rem; border: 1px solid rgba(16,185,129,0.3);
}

/* Bento card base */
.bento { background: var(--surface); border: 1px solid var(--line); border-radius: 1.25rem; padding: 1.25rem; }
.bento h2, .bento h3 { color: var(--accent-3); }

/* VIP tier card */
.vip-card {
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
}
.vip-card::after {
  content: ''; position: absolute; inset: -1px;
  background: linear-gradient(160deg, rgba(16,185,129,0.0), rgba(16,185,129,0.12));
  pointer-events: none;
}
.vip-emoji { font-size: 2.6rem; line-height: 1; }
