/* Bearo — δάσος / άγρια φύση theme. Tailwind via CDN handles utilities. */

:root {
  --bg:        #1a0f08;   /* deepest forest soil */
  --bg-2:      #241608;   /* darker bark */
  --surface:   #2e1c0d;   /* warm bark */
  --surface-2: #3a2412;   /* lifted card */
  --accent:    #fbbf24;   /* honey yellow */
  --accent-2:  #f59e0b;   /* amber */
  --accent-3:  #fde68a;   /* pale honeycomb */
  --moss:      #4d7c0f;   /* moss green hint */
  --text:      #fef3c7;   /* warm cream */
  --muted:     rgba(254, 243, 199, 0.6);
  --line:      rgba(251, 191, 36, 0.15);
}

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

/* Earthy radial glow under hero */
.bg-forest {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(251, 191, 36, 0.12), transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 100%, rgba(77, 124, 15, 0.10), transparent 60%),
    var(--bg);
}

.bg-bark {
  background: linear-gradient(180deg, var(--bg-2), var(--surface));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
}
.card-2 {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #1a0f08;
  font-weight: 700;
  border-radius: 9999px;
  padding: 0.75rem 1.75rem;
  display: inline-block;
  box-shadow: 0 8px 24px -8px rgba(251, 191, 36, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(251, 191, 36, 0.7); }

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 9999px;
  padding: 0.6rem 1.4rem;
  display: inline-block;
}

.chip {
  display: inline-block;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--text);
}
.chip:hover { background: var(--accent); color: #1a0f08; border-color: var(--accent); }

/* Prose for inner pages (Tailwind CDN doesn't ship typography plugin) */
.prose, .prose-invert { line-height: 1.75; color: var(--text); }
.prose h1, .prose-invert h1 { font-size: 2.25rem; font-weight: 800; margin: 1rem 0 1.25rem; line-height: 1.2; color: var(--accent-3); }
.prose h2, .prose-invert h2 { font-size: 1.6rem; font-weight: 700; margin: 2.25rem 0 0.85rem; 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(--accent-3); }
.prose p, .prose-invert p { margin: 0.85rem 0; }
.prose ul, .prose-invert ul { list-style: disc; padding-left: 1.4rem; margin: 0.75rem 0; }
.prose ol, .prose-invert ol { list-style: decimal; padding-left: 1.4rem; margin: 0.75rem 0; }
.prose li, .prose-invert li { margin: 0.3rem 0; }
.prose a, .prose-invert a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose strong, .prose-invert strong { font-weight: 700; color: var(--accent-3); }
.prose table, .prose-invert table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.92rem; background: var(--surface); border-radius: 0.75rem; overflow: hidden; }
.prose th, .prose td, .prose-invert th, .prose-invert td { padding: 0.7rem 0.85rem; border-bottom: 1px solid var(--line); text-align: left; }
.prose th, .prose-invert th { background: var(--bg-2); font-weight: 700; color: var(--accent); }
.prose details { background: var(--surface); border: 1px solid var(--line); border-radius: 0.85rem; padding: 0.75rem 1rem; margin: 0.6rem 0; }
.prose summary { cursor: pointer; font-weight: 600; color: var(--accent-3); }

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

/* ANIMATIONS — chosen: float + shimmer */

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

@keyframes shimmer-sweep {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.shimmer-text {
  background: linear-gradient(110deg, var(--accent) 0%, #ffffff 50%, var(--accent) 100%);
  background-size: 200% 100%;
  animation: shimmer-sweep 3.5s linear infinite;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.shimmer-cta {
  position: relative;
  overflow: hidden;
}
.shimmer-cta::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.45) 50%, transparent 70%);
  background-size: 200% 100%;
  animation: shimmer-sweep 3s linear infinite;
  pointer-events: none;
}

/* Slot card */
.slot-card { position: relative; border-radius: 1rem; overflow: hidden; aspect-ratio: 1; background: var(--surface-2); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end; }
.slot-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.slot-card:hover img { transform: scale(1.06); }
.slot-card .meta { position: relative; z-index: 1; padding: 0.7rem 0.85rem; background: linear-gradient(180deg, transparent, rgba(26,15,8,0.9)); }
.slot-card .meta h3 { font-size: 0.95rem; font-weight: 700; color: var(--accent-3); }
.slot-card .meta p { font-size: 0.75rem; color: var(--muted); }
.slot-card .badge {
  position: absolute; top: 0.6rem; left: 0.6rem; z-index: 2;
  background: var(--accent); color: #1a0f08;
  font-size: 0.65rem; font-weight: 800;
  padding: 0.18rem 0.55rem; border-radius: 999px;
  text-transform: uppercase; letter-spacing: 0.04em;
}

/* Big winner */
.big-winner { position: relative; border-radius: 1.5rem; overflow: hidden; }
.big-winner img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.big-winner__overlay {
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem;
  background: rgba(26, 15, 8, 0.78); backdrop-filter: blur(10px);
  padding: 0.85rem 1.1rem; border-radius: 1rem;
  font-size: 0.95rem; border: 1px solid var(--line);
}

/* Bento helpers */
.bento { display: grid; grid-template-columns: repeat(1, 1fr); gap: 1rem; }
@media (min-width: 768px) { .bento { grid-template-columns: repeat(4, 1fr); } }
.bento-2 { grid-column: span 1; }
@media (min-width: 768px) { .bento-2 { grid-column: span 2; } .bento-3 { grid-column: span 3; } .bento-4 { grid-column: span 4; } .bento-row-2 { grid-row: span 2; } }

/* Footer trust badge */
.trust-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; border-radius: 9999px;
  border: 1px solid var(--line); background: var(--surface);
  font-weight: 800; color: var(--accent);
}

/* Hero panel */
.hero-panel {
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: 2rem;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.6);
}

/* Bear paw bullet vibe */
.paw-list li::marker { color: var(--accent); }
