/* LolaJack — Indiana Jones adventure casino
 * Black bg, orange CTA, treasure-hunter motif
 */

:root {
  --accent: #FF7A1A;        /* torch orange */
  --accent-2: #FFB84D;       /* gold dust */
  --accent-3: #C9501A;       /* burnt amber */
  --bg: #0A0705;             /* deep cave black */
  --surface: rgba(255, 122, 26, 0.06);
  --surface-2: rgba(255, 184, 77, 0.10);
  --text: #F4EBDC;           /* parchment */
  --muted: rgba(244, 235, 220, 0.65);
  --map: #C9A66B;
}

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

/* ---------- Parchment / map textures ---------- */
.map-texture {
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 184, 77, 0.06) 0, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255, 122, 26, 0.07) 0, transparent 35%),
    repeating-linear-gradient(45deg, rgba(201, 166, 107, 0.02) 0 2px, transparent 2px 12px);
}
.parchment-edge {
  background:
    linear-gradient(135deg, rgba(255,184,77,0.08), rgba(255,122,26,0.03));
  border: 1px solid rgba(255,184,77,0.15);
}

/* ---------- Prose ---------- */
.prose, .prose-invert { line-height: 1.75; color: var(--text); }
.prose h1, .prose-invert h1 { font-size: 2.5rem; font-weight: 800; margin: 0.5rem 0 1.5rem; line-height: 1.15; color: var(--accent-2); }
.prose h2, .prose-invert h2 { font-size: 1.65rem; font-weight: 700; margin: 2.25rem 0 0.75rem; line-height: 1.3; color: var(--accent); border-left: 3px solid var(--accent); padding-left: 0.75rem; }
.prose h3, .prose-invert h3 { font-size: 1.25rem; font-weight: 600; margin: 1.5rem 0 0.5rem; color: var(--accent-2); }
.prose p, .prose-invert p { margin: 0.9rem 0; }
.prose ul, .prose-invert ul { list-style: disc; padding-left: 1.4rem; margin: 0.9rem 0; }
.prose ol, .prose-invert ol { list-style: decimal; padding-left: 1.4rem; margin: 0.9rem 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-2); }
.prose table, .prose-invert table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; font-size: 0.92rem; border: 1px solid rgba(255,184,77,0.15); border-radius: 0.5rem; overflow: hidden; }
.prose th, .prose td, .prose-invert th, .prose-invert td { padding: 0.7rem 0.85rem; border-bottom: 1px solid rgba(255,184,77,0.12); text-align: left; }
.prose th, .prose-invert th { background: rgba(255, 122, 26, 0.12); font-weight: 700; color: var(--accent-2); text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.04em; }
.prose details { background: var(--surface); border: 1px solid rgba(255,184,77,0.15); border-radius: 0.75rem; padding: 0.85rem 1rem; margin: 0.6rem 0; }
.prose summary { cursor: pointer; font-weight: 600; color: var(--accent-2); }
.prose dl { margin: 1rem 0; }
.prose dt { font-weight: 700; color: var(--accent-2); margin-top: 0.6rem; }
.prose dd { margin-left: 1rem; opacity: 0.85; }

/* ---------- Responsible-gambling quiz ---------- */
.rg-quiz {
  background: linear-gradient(135deg, rgba(255, 122, 26, 0.08), rgba(255, 184, 77, 0.04));
  border: 1px solid rgba(255, 184, 77, 0.22);
  border-radius: 1.5rem;
  padding: 1.75rem;
}
.rg-quiz fieldset { border: 0; padding: 0; }
.rg-quiz label { cursor: pointer; padding: 0.25rem 0.6rem; border-radius: 0.5rem; transition: background 0.15s; }
.rg-quiz label:hover { background: rgba(255, 184, 77, 0.08); }

/* ---------- Animation 1: PARALLAX ---------- */
.parallax-bg {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}
.parallax-layer {
  position: relative;
  background:
    radial-gradient(ellipse at top, rgba(255, 122, 26, 0.18) 0, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(201, 80, 26, 0.25) 0, transparent 55%),
    linear-gradient(180deg, #0A0705 0%, #1A0F08 100%);
  background-attachment: fixed;
}
@media (prefers-reduced-motion: reduce) {
  .parallax-bg, .parallax-layer { background-attachment: scroll; }
}

/* ---------- Animation 2: SHIMMER (treasure glint) ---------- */
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.shimmer-text {
  background: linear-gradient(110deg, var(--accent) 0%, #FFE9B0 45%, #FFFFFF 50%, #FFE9B0 55%, var(--accent) 100%);
  background-size: 200% 100%;
  animation: shimmer 4s linear infinite;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.shimmer-btn {
  position: relative;
  overflow: hidden;
}
.shimmer-btn::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,0.45) 50%, transparent 65%);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
  pointer-events: none;
}

/* ---------- CTA button ---------- */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #FF7A1A, #FFB84D);
  color: #0A0705;
  font-weight: 800;
  padding: 0.85rem 1.75rem;
  border-radius: 9999px;
  box-shadow: 0 6px 24px -6px rgba(255, 122, 26, 0.55), inset 0 1px 0 rgba(255,255,255,0.25);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  letter-spacing: 0.02em;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px -6px rgba(255, 122, 26, 0.7); }
.btn-ghost {
  display: inline-block;
  border: 1px solid rgba(255, 184, 77, 0.4);
  color: var(--accent-2);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  transition: background 0.18s;
}
.btn-ghost:hover { background: rgba(255, 184, 77, 0.08); }

/* ---------- Slot card ---------- */
.slot-card {
  position: relative;
  border-radius: 0.9rem;
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 184, 77, 0.12);
  background: linear-gradient(180deg, #1a100a 0%, #0A0705 100%);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.slot-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.slot-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; opacity: 0.95; }
.slot-card:hover img { transform: scale(1.06); opacity: 1; }
.slot-card .meta {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0.55rem 0.7rem 0.6rem;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.85) 60%);
}
.slot-card .meta h3 { font-size: 0.85rem; font-weight: 700; margin: 0; color: #fff; line-height: 1.2; }
.slot-card .meta p { font-size: 0.7rem; opacity: 0.7; margin: 0.1rem 0 0; color: var(--accent-2); }
.slot-card .badge {
  position: absolute; top: 0.55rem; left: 0.55rem;
  background: var(--accent); color: #0A0705; font-size: 0.62rem; font-weight: 800;
  padding: 0.18rem 0.55rem; border-radius: 999px; letter-spacing: 0.04em; text-transform: uppercase;
}

/* ---------- Big winner overlay ---------- */
.big-winner { position: relative; border-radius: 1.25rem; overflow: hidden; border: 1px solid rgba(255,184,77,0.22); }
.big-winner__overlay {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem;
  background: rgba(10, 7, 5, 0.78); backdrop-filter: blur(10px);
  padding: 0.85rem 1.1rem; border-radius: 0.85rem;
  font-size: 0.95rem; border: 1px solid rgba(255, 184, 77, 0.2);
}

/* ---------- Latest bets ticker ---------- */
.latest-bets table { width: 100%; }
.latest-bets th { text-align: left; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.55; padding: 0.4rem 0.5rem; }
.latest-bets td { padding: 0.55rem 0.5rem; font-size: 0.85rem; border-top: 1px solid rgba(255,184,77,0.08); }

/* ---------- Bento card ---------- */
.bento-card {
  background: linear-gradient(160deg, rgba(255,122,26,0.05), rgba(10,7,5,0.4));
  border: 1px solid rgba(255, 184, 77, 0.14);
  border-radius: 1.25rem;
  padding: 1.25rem;
  transition: border-color 0.2s;
}
.bento-card:hover { border-color: rgba(255, 122, 26, 0.45); }

/* ---------- Italy flag accent strip ---------- */
.italy-strip {
  background: linear-gradient(90deg, #008C45 0 33%, #F4F5F0 33% 66%, #CD212A 66% 100%);
  height: 4px;
}

/* ---------- Trust seal ---------- */
.trust-seal {
  background: radial-gradient(circle, rgba(255, 184, 77, 0.15), transparent 70%);
  border: 2px dashed rgba(255, 184, 77, 0.35);
  border-radius: 50%;
}

/* ---------- Marquee provider strip (small) ---------- */
.provider-pill {
  border: 1px solid rgba(255, 184, 77, 0.2);
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  color: var(--accent-2);
  background: var(--surface);
  white-space: nowrap;
}
