/* DicePalace — brown background, yellow CTA */

:root {
  --accent: #FACC15;
  --accent-2: #EAB308;
  --bg: #2A1810;
  --bg-2: #3B2418;
  --surface: rgba(255, 220, 170, 0.06);
  --surface-2: rgba(255, 220, 170, 0.12);
  --text: #FBE9D0;
  --muted: rgba(251, 233, 208, 0.7);
  --border: rgba(251, 233, 208, 0.14);
}

html { scroll-behavior: smooth; }

body {
  background: radial-gradient(1200px 700px at 80% -10%, #4A2A18 0%, transparent 60%),
              radial-gradient(900px 600px at 10% 100%, #3B2418 0%, transparent 60%),
              var(--bg);
  color: var(--text);
  min-height: 100vh;
}

/* ----- Prose readability ----- */
.prose, .prose-invert { line-height: 1.7; color: var(--text); }
.prose h1 { font-size: 2.25rem; font-weight: 800; margin: 1rem 0 1.25rem; line-height: 1.2; color: var(--accent); }
.prose h2 { font-size: 1.55rem; font-weight: 700; margin: 2rem 0 0.75rem; line-height: 1.3; color: #FFF1C7; }
.prose h3 { font-size: 1.2rem; font-weight: 600; margin: 1.5rem 0 0.5rem; color: #FFE9A8; }
.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.3rem 0; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { font-weight: 700; color: #FFE9A8; }
.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(--border); text-align: left; }
.prose th { background: var(--surface); font-weight: 600; color: #FFE9A8; }
.prose details { background: var(--surface); border: 1px solid var(--border); border-radius: 0.75rem; padding: 0.75rem 1rem; margin: 0.5rem 0; }
.prose details summary { cursor: pointer; font-weight: 600; color: #FFE9A8; }
.prose details[open] summary { margin-bottom: 0.5rem; }

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

/* ----- Slot / live card ----- */
.slot-card { position: relative; border-radius: 1rem; overflow: hidden; aspect-ratio: 1; background: var(--surface-2); border: 1px solid var(--border); display: block; }
.slot-card .thumb { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.slot-card:hover .thumb { transform: scale(1.05); }
.slot-card .meta {
  position: absolute; inset: auto 0 0 0;
  padding: 0.7rem 0.85rem; background: linear-gradient(180deg, transparent, rgba(20, 10, 5, 0.92));
}
.slot-card .meta h3 { font-size: 0.92rem; font-weight: 700; color: #FFF1C7; line-height: 1.2; }
.slot-card .meta p { font-size: 0.72rem; color: rgba(255,241,199,0.7); margin-top: 0.1rem; }
.slot-card .badge {
  position: absolute; top: 0.5rem; left: 0.5rem;
  background: var(--accent); color: #2A1810;
  font-size: 0.65rem; font-weight: 800;
  padding: 0.2rem 0.55rem; border-radius: 999px;
  text-transform: uppercase; letter-spacing: 0.04em;
}

/* ----- "Recent big winner" overlay ----- */
.big-winner { position: relative; border-radius: 1.25rem; overflow: hidden; border: 1px solid var(--border); }
.big-winner__overlay {
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem;
  background: rgba(20, 10, 5, 0.75); backdrop-filter: blur(8px);
  padding: 0.85rem 1rem; border-radius: 1rem;
  font-size: 0.95rem; color: #FFF1C7;
  border: 1px solid var(--border);
}

/* ----- Review cards ----- */
.review-card { background: var(--surface); border: 1px solid var(--border); border-radius: 1rem; padding: 1rem 1.1rem; }
.review-card header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; font-size: 0.92rem; }
.review-card header .ml-auto { margin-left: auto; color: var(--accent); letter-spacing: 0.1em; }

/* ----- CTA cards / buttons ----- */
.btn-cta {
  display: inline-block; padding: 0.8rem 1.6rem;
  background: var(--accent); color: #2A1810;
  font-weight: 800; border-radius: 999px;
  box-shadow: 0 8px 24px -8px rgba(250, 204, 21, 0.55);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.btn-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 30px -10px rgba(250, 204, 21, 0.7); }
.btn-ghost {
  display: inline-block; padding: 0.65rem 1.2rem;
  border: 1px solid var(--border); color: var(--text);
  border-radius: 999px; font-weight: 600;
}

.nav-3d {
  display: inline-block;
  padding: 0.62rem 1.1rem;
  border-radius: 0.72rem;
  border: 1px solid #8f5f11;
  color: #2a1810;
  font-weight: 800;
  letter-spacing: 0.01em;
  background: linear-gradient(180deg, #ffe28a 0%, #facc15 52%, #e1ab0c 100%);
  box-shadow: 0 4px 0 #8f5f11, 0 10px 20px -12px rgba(250, 204, 21, 0.55);
  transform: translateY(0);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.nav-3d:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
  box-shadow: 0 5px 0 #8f5f11, 0 14px 24px -12px rgba(250, 204, 21, 0.7);
}

.nav-3d:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #8f5f11, 0 8px 14px -12px rgba(250, 204, 21, 0.45);
}

.nav-3d-mobile {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.72rem 1rem;
  border-radius: 0.72rem;
  border: 1px solid #8f5f11;
  color: #2a1810;
  font-weight: 800;
  background: linear-gradient(180deg, #ffe28a 0%, #facc15 52%, #e1ab0c 100%);
  box-shadow: 0 3px 0 #8f5f11;
}

.nav-play-cta {
  display: inline-block;
  padding: 0.68rem 1.28rem;
  border-radius: 0.82rem;
  border: 1px solid #7f1010;
  color: #fff7df;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ff5d5d 0%, #dc2626 55%, #b91c1c 100%);
  box-shadow: 0 5px 0 #7f1010, 0 14px 24px -14px rgba(220, 38, 38, 0.8);
  transform: translateY(0);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.nav-play-cta:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 6px 0 #7f1010, 0 16px 28px -14px rgba(220, 38, 38, 0.95);
}

.nav-play-cta:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #7f1010, 0 10px 16px -14px rgba(220, 38, 38, 0.7);
}

.nav-play-cta-mobile {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.8rem 1rem;
  border-radius: 0.82rem;
  border: 1px solid #7f1010;
  color: #fff7df;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ff5d5d 0%, #dc2626 55%, #b91c1c 100%);
  box-shadow: 0 4px 0 #7f1010;
}

/* ----- Bento ----- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.bento > * { background: var(--surface); border: 1px solid var(--border); border-radius: 1.25rem; padding: 1.25rem; }
@media (max-width: 900px) { .bento { grid-template-columns: repeat(2, 1fr); } }

/* ----- Tabs ----- */
.tabs { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
.tabs button {
  padding: 0.55rem 1.1rem; border-radius: 999px;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); font-weight: 600; cursor: pointer;
}
.tabs button[aria-selected="true"] { background: var(--accent); color: #2A1810; border-color: var(--accent); }

/* ----- Section headings ----- */
section h2 { color: #FFF1C7; }

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

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.shimmer-text {
  background: linear-gradient(110deg, var(--accent) 0%, #FFF8DC 50%, var(--accent) 100%);
  background-size: 200% 100%;
  animation: shimmer 3s 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 30%, rgba(255,255,255,0.45) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: shimmer-sweep 2.8s linear infinite;
  pointer-events: none;
}
@keyframes shimmer-sweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@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; }

/* ----- Trust badge strip ----- */
.trust-strip {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem;
  align-items: center; padding: 1rem;
}
.trust-strip .badge-circle {
  width: 56px; height: 56px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; border: 2px solid var(--accent); color: var(--accent);
  background: rgba(250, 204, 21, 0.08);
}

/* ----- Player reviews carousel ----- */
.carousel { display: flex; overflow-x: auto; gap: 1rem; scroll-snap-type: x mandatory; padding-bottom: 0.5rem; }
.carousel > * { flex: 0 0 85%; scroll-snap-align: start; }
@media (min-width: 768px) { .carousel > * { flex: 0 0 32%; } }
.carousel::-webkit-scrollbar { height: 6px; }
.carousel::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ----- Latest bets ----- */
.latest-bets { background: var(--surface); border: 1px solid var(--border); border-radius: 1.25rem; padding: 1.25rem; }
.latest-bets table { width: 100%; font-size: 0.88rem; }
.latest-bets th { text-align: left; opacity: 0.7; font-weight: 500; padding: 0.4rem 0.3rem; }
.latest-bets td { padding: 0.4rem 0.3rem; border-top: 1px solid var(--border); }

/* ----- Flying banner styling complement ----- */
.flying-banner-card {
  background: var(--accent);
  color: #2A1810;
  border-radius: 1rem;
  padding: 0.9rem 2.5rem 0.9rem 1rem;
  box-shadow: 0 18px 40px -10px rgba(250, 204, 21, 0.45);
  font-size: 0.92rem;
  position: relative;
}

/* ----- Quick nav pills ----- */
.quick-nav a {
  display: inline-block; padding: 0.45rem 0.95rem;
  border-radius: 999px; background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.85rem; color: var(--text);
  transition: background 0.15s ease;
}
.quick-nav a:hover { background: var(--surface-2); }
