/* ===================================================
   Slimking Casino — Alice in Wonderland Theme
   Animations: MARQUEE + FLOAT
   =================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --bg-deep: #021A02;
  --bg-primary: #041F04;
  --bg-secondary: #0A3D0A;
  --bg-surface: #143514;
  --bg-card: rgba(20, 53, 20, 0.75);
  --bg-card-hover: rgba(30, 70, 30, 0.85);
  --red-queen: #C41E3A;
  --red-queen-hover: #E02050;
  --red-glow: rgba(196, 30, 58, 0.5);
  --gold: #DAA520;
  --gold-light: #FFD700;
  --cream: #FFF8DC;
  --text-primary: #E8F5E9;
  --text-secondary: #A5D6A7;
  --text-muted: #81C784;
  --text-dim: #4CAF50;
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.35);
  --shadow-glow-red: 0 0 20px rgba(196, 30, 58, 0.4);
  --shadow-glow-gold: 0 0 15px rgba(218, 165, 32, 0.3);
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --radius-full: 9999px;
}

/* ---------- Base Reset & Body ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(175deg, var(--bg-deep) 0%, var(--bg-primary) 30%, var(--bg-secondary) 100%);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Subtle playing-card pattern overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.03;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ctext x='15' y='35' font-size='18' fill='%23ffffff' font-family='serif'%3E%E2%99%A0%3C/text%3E%3Ctext x='40' y='18' font-size='14' fill='%23C41E3A' font-family='serif'%3E%E2%99%A5%3C/text%3E%3Ctext x='5' y='55' font-size='12' fill='%23DAA520' font-family='serif'%3E%E2%99%A6%3C/text%3E%3Ctext x='42' y='50' font-size='16' fill='%23ffffff' font-family='serif'%3E%E2%99%A3%3C/text%3E%3C/svg%3E");
  background-size: 60px 60px;
}

/* ---------- Typography / Prose ---------- */
.prose {
  max-width: 72ch;
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.prose h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--cream);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.prose h3 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--gold);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.prose p {
  margin-bottom: 1.25rem;
}

.prose ul, .prose ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

.prose li::marker {
  color: var(--gold);
}

.prose a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose a:hover {
  color: var(--cream);
}

.prose strong {
  color: var(--text-primary);
  font-weight: 600;
}

.prose blockquote {
  border-left: 3px solid var(--red-queen);
  padding: 0.75rem 1.25rem;
  margin: 1.5rem 0;
  background: var(--bg-card);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-secondary);
  font-style: italic;
}

/* ---------- Keyframe Animations ---------- */

/* FLOAT — gentle up-down bob */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* FLOAT variant — slower, offset */
@keyframes float-slow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-8px) rotate(1deg); }
  66% { transform: translateY(4px) rotate(-1deg); }
}

/* MARQUEE — continuous horizontal scroll */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* PULSE GLOW — CTA red pulsation */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 8px var(--red-glow), 0 4px 16px rgba(0,0,0,0.3);
  }
  50% {
    box-shadow: 0 0 24px var(--red-glow), 0 0 48px rgba(196, 30, 58, 0.25), 0 4px 16px rgba(0,0,0,0.3);
  }
}

/* SHIMMER — gold shimmer sweep */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* SMOKE CURL — caterpillar hookah smoke */
@keyframes smoke-rise {
  0% {
    opacity: 0.4;
    transform: translateY(0) scale(1) rotate(0deg);
  }
  40% {
    opacity: 0.6;
    transform: translateY(-30px) scale(1.3) rotate(8deg);
  }
  100% {
    opacity: 0;
    transform: translateY(-70px) scale(1.6) rotate(-5deg);
  }
}

/* FADE-IN UP for scroll reveals */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CARD ENTRANCE */
@keyframes card-enter {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* SPIN — for decorative elements */
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ---------- Animation Utility Classes ---------- */
.animate-float {
  animation: float 4s ease-in-out infinite;
}

.animate-float-slow {
  animation: float-slow 6s ease-in-out infinite;
}

.animate-marquee {
  animation: marquee 30s linear infinite;
}

.animate-marquee:hover {
  animation-play-state: paused;
}

.animate-pulse-glow {
  animation: pulse-glow 2.5s ease-in-out infinite;
}

.animate-shimmer {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 215, 0, 0.15) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

.animate-fade-in {
  animation: fade-in-up 0.6s ease-out both;
}

.animate-card-enter {
  animation: card-enter 0.5s ease-out both;
}

/* Staggered delays for grids */
.stagger-1 { animation-delay: 0.05s; }
.stagger-2 { animation-delay: 0.1s; }
.stagger-3 { animation-delay: 0.15s; }
.stagger-4 { animation-delay: 0.2s; }
.stagger-5 { animation-delay: 0.25s; }
.stagger-6 { animation-delay: 0.3s; }
.stagger-7 { animation-delay: 0.35s; }
.stagger-8 { animation-delay: 0.4s; }

/* ---------- Smoke Decorative Element ---------- */
.smoke-puff {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 200, 200, 0.3), transparent 70%);
  animation: smoke-rise 4s ease-out infinite;
  pointer-events: none;
}

.smoke-puff:nth-child(2) {
  animation-delay: 1.2s;
  width: 22px;
  height: 22px;
  left: 15px;
}

.smoke-puff:nth-child(3) {
  animation-delay: 2.5s;
  width: 18px;
  height: 18px;
  left: -10px;
}

/* ---------- Component Styles ---------- */

/* Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(4, 31, 4, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* Hero Floating Card */
.hero-card {
  background:
    radial-gradient(ellipse at 20% 80%, rgba(196, 30, 58, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(218, 165, 32, 0.08) 0%, transparent 50%),
    linear-gradient(160deg, var(--bg-surface) 0%, rgba(10, 61, 10, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 30, 58, 0.06), transparent 70%);
  pointer-events: none;
}

/* CTA Buttons */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.btn-cta-red {
  background: linear-gradient(135deg, var(--red-queen), var(--red-queen-hover));
  color: #fff;
  animation: pulse-glow 2.5s ease-in-out infinite;
}

.btn-cta-red:hover {
  background: linear-gradient(135deg, var(--red-queen-hover), #ff2a5e);
  transform: translateY(-2px);
  box-shadow: 0 0 30px var(--red-glow), 0 8px 24px rgba(0,0,0,0.4);
}

.btn-cta-gold {
  background: linear-gradient(135deg, var(--gold), #c99a18);
  color: var(--bg-deep);
}

.btn-cta-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-gold), 0 8px 24px rgba(0,0,0,0.3);
}

.btn-cta-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-cta-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(218, 165, 32, 0.08);
}

.btn-cta-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
}

/* Game Cards */
.game-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.game-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card), 0 0 20px rgba(10, 61, 10, 0.3);
  border-color: rgba(218, 165, 32, 0.2);
}

.game-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.game-card:hover img {
  transform: scale(1.05);
}

.game-card .card-body {
  padding: 0.75rem 1rem;
}

.game-card .card-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-card .card-provider {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Game Badge */
.game-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.2rem 0.6rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  z-index: 2;
}

.badge-rtp {
  background: linear-gradient(135deg, #10B981, #059669);
  color: #fff;
}

.badge-jackpot {
  background: linear-gradient(135deg, var(--gold), #B8860B);
  color: var(--bg-deep);
}

.badge-bonus {
  background: linear-gradient(135deg, #8B5CF6, #6D28D9);
  color: #fff;
}

.badge-popular {
  background: linear-gradient(135deg, var(--red-queen), #991B1B);
  color: #fff;
}

.badge-new {
  background: linear-gradient(135deg, #3B82F6, #1D4ED8);
  color: #fff;
}

/* Overlay play button on card hover */
.game-card .play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
  aspect-ratio: 1;
}

.game-card:hover .play-overlay {
  opacity: 1;
}

.play-overlay svg {
  width: 48px;
  height: 48px;
  fill: #fff;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

/* Marquee Provider Strip */
.marquee-container {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 1rem;
  width: max-content;
}

.provider-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.4rem;
  background: linear-gradient(145deg, rgba(30, 70, 30, 0.6), rgba(20, 53, 20, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: all 0.3s ease;
}

.provider-chip:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: var(--shadow-glow-gold);
}

/* Section Cards / Panels */
.section-panel {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

/* Feature Card */
.feature-card {
  background: linear-gradient(160deg, rgba(20, 53, 20, 0.6), rgba(10, 40, 10, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(218, 165, 32, 0.2);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

/* Review Stars */
.star-filled {
  color: var(--gold);
}
.star-empty {
  color: rgba(255, 255, 255, 0.15);
}

/* Payment Tabs */
.tab-btn {
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.25s ease;
}

.tab-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.tab-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg-deep);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fade-in-up 0.35s ease-out;
}

/* Payment Table */
.pay-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.pay-table thead th {
  text-align: left;
  padding: 0.875rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pay-table tbody td {
  padding: 0.875rem 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.pay-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Author Card */
.author-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: linear-gradient(160deg, rgba(20, 53, 20, 0.7), rgba(10, 40, 10, 0.9));
  border: 1px solid rgba(218, 165, 32, 0.15);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

@media (max-width: 640px) {
  .author-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

.author-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-secondary), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--bg-deep);
  flex-shrink: 0;
  border: 3px solid var(--gold);
}

/* Promo Card */
.promo-card {
  background: linear-gradient(160deg, rgba(20, 53, 20, 0.6), rgba(10, 40, 10, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.promo-card:hover {
  border-color: rgba(196, 30, 58, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Review Card (player review) */
.review-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

/* CTA Banner */
.cta-banner {
  background:
    radial-gradient(ellipse at 30% 50%, rgba(196, 30, 58, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(218, 165, 32, 0.1) 0%, transparent 60%),
    linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-secondary) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.cta-banner::after {
  content: '';
  position: absolute;
  top: -2px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Feature Image Overlay */
.feature-overlay {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.feature-overlay img {
  width: 100%;
  display: block;
}

.feature-overlay .overlay-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
}

/* Glow ring for spotlight */
.glow-ring {
  box-shadow: 0 0 30px rgba(218, 165, 32, 0.15), 0 0 60px rgba(218, 165, 32, 0.05);
  border: 1px solid rgba(218, 165, 32, 0.12);
}

/* Section heading accent */
.section-title {
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--red-queen), var(--gold));
  border-radius: 2px;
}

/* Mobile Menu */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.mobile-menu.open {
  max-height: 400px;
}

/* Footer */
.site-footer {
  background: rgba(2, 12, 2, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive grid helpers */
.grid-slots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .grid-slots {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-slots {
    grid-template-columns: repeat(4, 1fr);
  }
}

.grid-live {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .grid-live {
    grid-template-columns: repeat(4, 1fr);
  }
}

.grid-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .grid-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-features {
    grid-template-columns: repeat(4, 1fr);
  }
}

.grid-promos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .grid-promos {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-promos {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-reviews {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .grid-reviews {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Hero grid */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-surface);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-dim);
}

/* Selection */
::selection {
  background: var(--red-queen);
  color: #fff;
}

/* Decorative mushroom shapes (CSS only) */
.mushroom-deco {
  position: absolute;
  pointer-events: none;
  opacity: 0.06;
}

.mushroom-deco::before {
  content: '';
  display: block;
  width: 40px;
  height: 25px;
  background: var(--red-queen);
  border-radius: 20px 20px 4px 4px;
}

.mushroom-deco::after {
  content: '';
  display: block;
  width: 12px;
  height: 20px;
  background: var(--cream);
  border-radius: 0 0 4px 4px;
  margin: 0 auto;
}

/* Img overflow guard */
.img-guard {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.img-guard img {
  display: block;
  width: 100%;
  height: auto;
}

/* 18+ badge SVG container */
.badge-18 svg {
  width: 48px;
  height: 48px;
}

/* ---------- Inner Page Styles ---------- */

/* Page Hero */
.page-hero {
  position: relative;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(196, 30, 58, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 0%, rgba(218, 165, 32, 0.06) 0%, transparent 50%);
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(218, 165, 32, 0.2), transparent);
}

/* Trust Badge Chips */
.trust-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  border: 1px solid rgba(218, 165, 32, 0.25);
  border-radius: var(--radius-full);
  background: rgba(218, 165, 32, 0.06);
  transition: all 0.25s ease;
}

.trust-badge:hover {
  background: rgba(218, 165, 32, 0.12);
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(218, 165, 32, 0.15);
}

/* Expandable Sections (details/summary) */
.expandable-section {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.expandable-section[open] {
  border-color: rgba(218, 165, 32, 0.15);
}

.expandable-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--cream);
  list-style: none;
  transition: background 0.2s ease;
}

.expandable-trigger::-webkit-details-marker {
  display: none;
}

.expandable-trigger:hover {
  background: rgba(255, 255, 255, 0.03);
}

.expand-icon {
  flex-shrink: 0;
  color: var(--gold);
  transition: transform 0.3s ease;
}

[open] > .expandable-trigger .expand-icon,
[open] > .faq-question .expand-icon {
  transform: rotate(180deg);
}

.expandable-content {
  padding: 0 1.5rem 1.5rem;
}

/* FAQ Styles */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item[open] {
  border-color: rgba(218, 165, 32, 0.15);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cream);
  list-style: none;
  transition: background 0.2s ease;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.03);
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary);
  animation: fade-in-up 0.3s ease-out;
}

/* Responsible Gaming Tool Cards */
.rg-tool-card {
  background: linear-gradient(160deg, rgba(20, 53, 20, 0.6), rgba(10, 40, 10, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.rg-tool-card:hover {
  transform: translateY(-3px);
  border-color: rgba(218, 165, 32, 0.15);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.rg-tool-card-highlight {
  border-color: rgba(196, 30, 58, 0.2);
  background: linear-gradient(160deg, rgba(40, 20, 20, 0.4), rgba(10, 40, 10, 0.8));
}

.rg-tool-card-highlight:hover {
  border-color: rgba(196, 30, 58, 0.4);
  box-shadow: 0 8px 25px rgba(196, 30, 58, 0.1);
}

.rg-tool-icon {
  margin-bottom: 1rem;
}

/* Prose h2 counter reset for inner pages */
.prose h2::before {
  content: none;
}

/* Prose ol for inner pages */
.prose ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  list-style: decimal;
}

.prose ol li::marker {
  color: var(--gold);
  font-weight: 600;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
