/* ======================================================
   GOLDEN EMU — Main Stylesheet
   Entertainment-only Social Casino | Australia
   ====================================================== */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Nunito:wght@300;400;600;700;800&display=swap');

/* ── CSS Custom Properties ── */
:root {
  --gold:        #F0B429;
  --gold-light:  #FFD76A;
  --gold-dark:   #C8862A;
  --navy:        #0B0F2E;
  --navy-mid:    #13193F;
  --navy-card:   #1B2250;
  --navy-border: #2A3170;
  --teal:        #00C9B1;
  --teal-dark:   #009E8E;
  --coral:       #FF6B47;
  --white:       #FFFFFF;
  --off-white:   #EEF0FF;
  --muted:       #8B9BC4;
  --danger:      #FF4444;

  --font-head:   'Playfair Display', serif;
  --font-body:   'Nunito', sans-serif;

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   32px;

  --shadow-card: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 24px rgba(240,180,41,0.3);
  --shadow-teal: 0 0 20px rgba(0,201,177,0.25);

  --transition:  0.3s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--off-white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; outline: none; }

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  line-height: 1.25;
}
h1 { font-size: clamp(2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.1rem; }

p { max-width: 72ch; }

/* ── Utility ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.text-gold   { color: var(--gold); }
.text-teal   { color: var(--teal); }
.text-muted  { color: var(--muted); }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-0 { margin-bottom: 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: var(--radius-xl);
  transition: var(--transition);
  cursor: pointer;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--navy);
  box-shadow: 0 4px 18px rgba(240,180,41,0.4);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(240,180,41,0.55);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}
.btn-teal {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: var(--navy);
  box-shadow: 0 4px 18px rgba(0,201,177,0.35);
}
.btn-teal:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,201,177,0.5);
}
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.9rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.1rem; }
.btn-danger {
  background: var(--danger);
  color: #fff;
}
.btn-danger:hover { background: #cc0000; }

/* ── Badges ── */
.badge {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge-gold { background: rgba(240,180,41,0.15); color: var(--gold); border: 1px solid rgba(240,180,41,0.4); }
.badge-teal { background: rgba(0,201,177,0.12); color: var(--teal); border: 1px solid rgba(0,201,177,0.35); }
.badge-free { background: rgba(0,201,177,0.15); color: var(--teal); border: 1px solid rgba(0,201,177,0.4); }

/* ── Section Titles ── */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}
.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 1rem 0 1.5rem;
}
.section-divider.centered {
  margin-inline: auto;
}

/* ── Age Gate Overlay ── */
#age-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 10, 35, 0.97);
  backdrop-filter: blur(8px);
}
.age-gate-card {
  background: var(--navy-mid);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  max-width: 480px;
  width: 92%;
  text-align: center;
  box-shadow: 0 20px 80px rgba(0,0,0,0.7);
  position: relative;
  overflow: hidden;
}
.age-gate-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
}
.age-gate-badge {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--navy);
  box-shadow: var(--shadow-glow);
}
.age-gate-card h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
  font-size: 1.7rem;
}
.age-gate-card p {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 100%;
  margin: 0 auto 2rem;
}
.age-gate-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.age-gate-btns .btn { min-width: 140px; }
.age-gate-disclaimer {
  margin-top: 1.5rem;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── Cookie Banner ── */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 8000;
  background: var(--navy-mid);
  border-top: 1px solid var(--navy-border);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.4);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
#cookie-banner.visible { transform: translateY(0); }
.cookie-text {
  font-size: 0.88rem;
  color: var(--off-white);
  flex: 1;
  min-width: 200px;
}
.cookie-text a {
  color: var(--gold);
  text-decoration: underline;
}
.cookie-btns { display: flex; gap: 0.75rem; flex-shrink: 0; }

/* ── Header / Navigation ── */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 15, 46, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
  padding: 0.75rem 0;
}
#site-header.scrolled {
  background: rgba(11, 15, 46, 0.97);
  border-bottom-color: var(--navy-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}
.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  overflow: hidden;
  flex-shrink: 0;
}
.logo-icon img { width: 100%; height: 100%; object-fit: cover; }
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-name {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.03em;
}
.logo-tagline {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
}
nav.main-nav { display: flex; align-items: center; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-list li a {
  display: block;
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--off-white);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.nav-list li a:hover,
.nav-list li a.active {
  color: var(--gold);
  background: rgba(240,180,41,0.08);
}
.nav-cta { margin-left: 0.5rem; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px;
  cursor: pointer;
  background: none;
}
.hamburger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--off-white);
  transition: var(--transition);
}

/* ── Hero Section ── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.35;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11,15,46,0.95) 0%,
    rgba(11,15,46,0.75) 50%,
    rgba(11,15,46,0.5) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0;
}
.hero-text .badge { margin-bottom: 1.2rem; }
.hero-text h1 {
  color: var(--white);
  margin-bottom: 1rem;
}
.hero-text h1 span { color: var(--gold); }
.hero-text p {
  color: var(--off-white);
  opacity: 0.85;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 48ch;
}
.hero-disclaimer {
  margin-top: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.04);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  max-width: 44ch;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0;
}
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.hero-stat-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.stat-card {
  flex: 1;
  min-width: 120px;
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-md);
  padding: 1.2rem 1rem;
  text-align: center;
}
.stat-card .stat-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
}
.stat-card .stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 0.35rem;
}
.hero-img-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--navy-border);
  box-shadow: var(--shadow-card);
  position: relative;
}
.hero-img-card img { width: 100%; height: 220px; object-fit: cover; }
.hero-img-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(11,15,46,0.85);
  border: 1px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 0.4rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
}

/* ── Scroll Ticker / Disclaimer Bar ── */
.disclaimer-bar {
  background: var(--navy-mid);
  border-top: 1px solid var(--navy-border);
  border-bottom: 1px solid var(--navy-border);
  padding: 0.65rem 0;
  overflow: hidden;
}
.disclaimer-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  animation: tickerScroll 25s linear infinite;
  white-space: nowrap;
}
.disclaimer-inner span {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gold);
  flex-shrink: 0;
}
.disclaimer-inner .sep {
  color: var(--navy-border);
  font-size: 1.2rem;
}
@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Section Base ── */
section {
  padding: 5rem 0;
}
.section-head {
  margin-bottom: 3rem;
}
.section-head p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 56ch;
}
.section-head.centered {
  text-align: center;
}
.section-head.centered p {
  margin-inline: auto;
}

/* ── Games Preview Grid ── */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}
.game-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}
.game-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}
.game-thumb {
  position: relative;
  overflow: hidden;
}
.game-thumb img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.game-card:hover .game-thumb img {
  transform: scale(1.05);
}
.game-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11,15,46,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.game-card:hover .game-thumb-overlay { opacity: 1; }
.play-btn-circle {
  width: 64px;
  height: 64px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1.5rem;
  box-shadow: var(--shadow-glow);
  transform: scale(0.8);
  transition: transform 0.3s ease;
}
.game-card:hover .play-btn-circle { transform: scale(1); }
.game-info {
  padding: 1.25rem 1.5rem 1.5rem;
}
.game-info-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.game-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--white);
}
.game-desc {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1rem;
  max-width: 100%;
}
.game-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.1rem;
  font-size: 0.78rem;
  color: var(--muted);
}
.game-meta span { display: flex; align-items: center; gap: 0.3rem; }

/* ── Feature Highlights ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  transition: var(--transition);
}
.feature-card:hover {
  border-color: rgba(240,180,41,0.4);
  box-shadow: var(--shadow-glow);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(240,180,41,0.15), rgba(240,180,41,0.05));
  border: 1px solid rgba(240,180,41,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.feature-card h4 { color: var(--white); margin-bottom: 0.4rem; }
.feature-card p { font-size: 0.88rem; color: var(--muted); max-width: 100%; }

/* ── Responsible Play Strip ── */
.resp-strip {
  background: var(--navy-mid);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.resp-strip-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}
.resp-strip-text { flex: 1; min-width: 200px; }
.resp-strip-text h4 { color: var(--white); margin-bottom: 0.3rem; }
.resp-strip-text p { font-size: 0.88rem; color: var(--muted); max-width: 60ch; }
.resp-strip-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.resp-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal);
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(0,201,177,0.3);
  border-radius: 100px;
  transition: var(--transition);
}
.resp-link:hover {
  background: rgba(0,201,177,0.1);
  border-color: var(--teal);
}

/* ── Leaderboard Preview ── */
.leaderboard-table {
  width: 100%;
  border-collapse: collapse;
}
.leaderboard-table th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 700;
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--navy-border);
}
.leaderboard-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(42,49,112,0.5);
  font-size: 0.92rem;
  vertical-align: middle;
}
.leaderboard-table tr:last-child td { border-bottom: none; }
.leaderboard-table tr:hover td { background: rgba(240,180,41,0.04); }
.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.85rem;
}
.rank-1 { background: linear-gradient(135deg, #FFD700, #FFA500); color: #1a0a00; }
.rank-2 { background: linear-gradient(135deg, #C0C0C0, #909090); color: #1a1a1a; }
.rank-3 { background: linear-gradient(135deg, #CD7F32, #8B4500); color: #fff8f0; }
.rank-other { background: rgba(42,49,112,0.5); color: var(--muted); }
.player-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  flex-shrink: 0;
}
.player-info { display: flex; align-items: center; gap: 0.75rem; }
.player-name { font-weight: 600; color: var(--white); }
.player-sub { font-size: 0.75rem; color: var(--muted); }
.score-val { font-family: var(--font-head); font-weight: 700; color: var(--gold); }
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00ff88;
  animation: pulse 1.5s ease infinite;
  margin-right: 4px;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.7); }
}
.section-leaderboard { background: var(--navy-mid); }
.leaderboard-wrap {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.leaderboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--navy-border);
  gap: 1rem;
  flex-wrap: wrap;
}
.leaderboard-header h3 { color: var(--white); font-size: 1.1rem; }
.live-indicator {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: #00ff88;
  font-weight: 700;
}

/* ── CTA Section ── */
.section-cta {
  background: linear-gradient(135deg, var(--navy-mid) 0%, rgba(27,34,80,0.6) 100%);
  border-top: 1px solid var(--navy-border);
  border-bottom: 1px solid var(--navy-border);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.section-cta::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(240,180,41,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.section-cta h2 span { color: var(--gold); }
.section-cta p { color: var(--muted); margin-inline: auto; margin-top: 0.75rem; }

/* ── Footer ── */
#site-footer {
  background: #080B24;
  border-top: 1px solid var(--navy-border);
  padding: 4rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand .logo-wrap { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.85rem; color: var(--muted); max-width: 30ch; }
.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--muted);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-divider {
  border: none;
  border-top: 1px solid var(--navy-border);
  margin: 0 0 1.5rem;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-legal-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.footer-legal-links a {
  font-size: 0.8rem;
  color: var(--muted);
  transition: var(--transition);
}
.footer-legal-links a:hover { color: var(--gold); }
.footer-copyright {
  font-size: 0.8rem;
  color: var(--muted);
}
.footer-disclaimer {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: rgba(240,180,41,0.04);
  border: 1px solid rgba(240,180,41,0.12);
  border-radius: var(--radius-md);
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.6;
  text-align: center;
}
.footer-disclaimer strong { color: var(--gold); }
.footer-regulators {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--navy-border);
  justify-content: center;
}
.footer-regulators a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  padding: 0.45rem 0.9rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.footer-regulators a:hover {
  border-color: var(--teal);
  color: var(--teal);
}
.age-badge-footer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--danger);
  color: #fff;
  font-weight: 900;
  font-size: 0.72rem;
  border: 2px solid rgba(255,68,68,0.5);
  flex-shrink: 0;
}

/* ── Inner page hero ── */
.page-hero {
  padding: 7rem 0 3rem;
  background: linear-gradient(180deg, var(--navy-mid) 0%, var(--navy) 100%);
  border-bottom: 1px solid var(--navy-border);
}
.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.page-hero .breadcrumb a { color: var(--muted); }
.page-hero .breadcrumb a:hover { color: var(--gold); }
.page-hero .breadcrumb .sep { opacity: 0.4; }
.page-hero h1 { color: var(--white); }
.page-hero p  { color: var(--muted); margin-top: 0.75rem; }

/* ── Prose content (legal pages) ── */
.prose-section {
  padding: 3.5rem 0 5rem;
}
.prose-wrap {
  max-width: 820px;
  margin-inline: auto;
}
.prose-wrap h2 {
  font-size: 1.4rem;
  color: var(--gold);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--navy-border);
}
.prose-wrap h3 {
  font-size: 1.05rem;
  color: var(--white);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.prose-wrap p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 1rem;
  max-width: 100%;
}
.prose-wrap ul, .prose-wrap ol {
  margin: 0.75rem 0 1.25rem 1.5rem;
}
.prose-wrap ul { list-style: disc; }
.prose-wrap ol { list-style: decimal; }
.prose-wrap li {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.prose-wrap a { color: var(--gold); text-decoration: underline; }
.prose-wrap a:hover { color: var(--gold-light); }
.info-box {
  background: rgba(240,180,41,0.06);
  border: 1px solid rgba(240,180,41,0.2);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.info-box p { font-size: 0.88rem; color: var(--off-white); margin-bottom: 0; }
.info-box strong { color: var(--gold); }

/* ── Contact Page ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(240,180,41,0.1);
  border: 1px solid rgba(240,180,41,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-detail-text h5 { color: var(--white); margin-bottom: 0.2rem; }
.contact-detail-text p,
.contact-detail-text a {
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 100%;
}
.contact-detail-text a:hover { color: var(--gold); }
.contact-form-wrap {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--navy-mid);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-sm);
  color: var(--off-white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(240,180,41,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { cursor: pointer; }
.form-group select option { background: var(--navy-mid); }
.form-success {
  display: none;
  padding: 1.25rem;
  background: rgba(0,201,177,0.1);
  border: 1px solid rgba(0,201,177,0.3);
  border-radius: var(--radius-md);
  color: var(--teal);
  font-weight: 600;
  text-align: center;
}

/* ── Responsible Play page ── */
.resp-orgs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.resp-org-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: var(--transition);
}
.resp-org-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-teal);
}
.resp-org-icon { font-size: 2.2rem; }
.resp-org-card h4 { color: var(--white); }
.resp-org-card p { font-size: 0.85rem; color: var(--muted); max-width: 100%; }
.resp-org-card a {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal);
  margin-top: auto;
}
.resp-org-card a:hover { text-decoration: underline; }

/* ── Games (Slot Machine) ── */
.games-section-header {
  padding: 7rem 0 2rem;
  background: linear-gradient(180deg, var(--navy-mid) 0%, var(--navy) 100%);
  border-bottom: 1px solid var(--navy-border);
}
.game-player {
  background: var(--navy-mid);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-card);
}
.game-player-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--navy-border);
  background: var(--navy-card);
  flex-wrap: wrap;
  gap: 1rem;
}
.game-player-title {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--white);
}
.game-player-badges { display: flex; gap: 0.5rem; }
.game-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── Slot Machine ── */
.slot-machine {
  width: 100%;
  max-width: 560px;
  background: var(--navy);
  border: 2px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.slot-balance-bar {
  display: flex;
  width: 100%;
  gap: 1rem;
  justify-content: space-between;
  flex-wrap: wrap;
}
.slot-stat {
  flex: 1;
  min-width: 100px;
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  text-align: center;
}
.slot-stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.slot-stat-value {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
}
.slot-reels {
  display: flex;
  gap: 0.75rem;
  background: rgba(0,0,0,0.35);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--navy-border);
  width: 100%;
  justify-content: center;
}
.reel {
  width: 90px;
  height: 90px;
  background: var(--navy-card);
  border: 2px solid var(--navy-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 4px 12px rgba(0,0,0,0.3);
  transition: border-color 0.3s;
}
.reel.spinning {
  animation: reelSpin 0.12s linear infinite;
  border-color: var(--gold);
}
.reel.win {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(240,180,41,0.5), inset 0 4px 12px rgba(0,0,0,0.3);
  animation: reelWin 0.4s ease 3;
}
@keyframes reelSpin {
  0%   { transform: translateY(-4px); }
  50%  { transform: translateY(4px); }
  100% { transform: translateY(-4px); }
}
@keyframes reelWin {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}
.slot-payline {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted);
}
.payline-indicator {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.payline-indicator .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--navy-border);
}
.payline-indicator .dot.active { background: var(--gold); }
.slot-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
}
.bet-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-md);
  padding: 0.4rem 0.75rem;
}
.bet-control label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 700;
}
.bet-adjust {
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0 0.25rem;
  line-height: 1;
}
.bet-adjust:hover { color: var(--gold-light); }
.bet-value {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  min-width: 32px;
  text-align: center;
}
.btn-spin {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--navy);
  font-weight: 800;
  font-size: 1rem;
  padding: 0.9rem 2.5rem;
  border-radius: var(--radius-xl);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(240,180,41,0.4);
  transition: var(--transition);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.btn-spin:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(240,180,41,0.6);
}
.btn-spin:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.slot-message {
  min-height: 32px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
  text-align: center;
  letter-spacing: 0.03em;
}
.slot-paytable {
  width: 100%;
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
}
.paytable-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.paytable-rows {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
}
.paytable-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--muted);
}
.paytable-row .symbols { font-size: 1rem; }
.paytable-row .mult { color: var(--gold); font-weight: 700; }

/* ── Card Game (Reef) ── */
.card-game {
  width: 100%;
  max-width: 560px;
  background: var(--navy);
  border: 2px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.card-hand {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.playing-card {
  width: 72px;
  height: 104px;
  background: #fff;
  border-radius: var(--radius-sm);
  border: 2px solid #ddd;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 3px 10px rgba(0,0,0,0.4);
  position: relative;
  user-select: none;
}
.playing-card:hover { transform: translateY(-6px); box-shadow: 0 8px 20px rgba(0,0,0,0.5); }
.playing-card.hearts, .playing-card.diamonds { color: #e53e3e; }
.playing-card.spades, .playing-card.clubs { color: #1a202c; }
.playing-card.back {
  background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
  color: #fff;
  font-size: 1.8rem;
}
.playing-card.face-down::before {
  content: '🎴';
  font-size: 2rem;
}
.playing-card .card-rank {
  font-size: 1.2rem;
  line-height: 1;
}
.playing-card .card-suit {
  font-size: 1.6rem;
  line-height: 1;
}
.card-score-bar {
  display: flex;
  gap: 1rem;
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
}
.score-panel {
  flex: 1;
  min-width: 100px;
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  text-align: center;
}
.score-panel-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.score-panel-value {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
}
.score-panel-value.gold { color: var(--gold); }
.score-panel-value.teal { color: var(--teal); }
.score-panel-value.danger { color: var(--danger); }
.card-controls {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}
.card-message {
  min-height: 32px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  color: var(--gold);
}

/* ── Leaderboard Full Page ── */
.lb-filters {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.lb-filter-btn {
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  color: var(--muted);
  cursor: pointer;
  transition: var(--transition);
}
.lb-filter-btn:hover,
.lb-filter-btn.active {
  background: rgba(240,180,41,0.1);
  border-color: var(--gold);
  color: var(--gold);
}
.lb-podium {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.podium-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.podium-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--navy-border);
}
.podium-item:nth-child(1) .podium-avatar { border-color: #C0C0C0; order: 0; }
.podium-item:nth-child(2) .podium-avatar { border-color: #FFD700; width: 76px; height: 76px; font-size: 1.9rem; }
.podium-item:nth-child(3) .podium-avatar { border-color: #CD7F32; }
.podium-name { font-weight: 700; font-size: 0.9rem; color: var(--white); }
.podium-score { font-family: var(--font-head); font-size: 1.1rem; color: var(--gold); }
.podium-rank-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.podium-bar {
  width: 80px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
}
.podium-item:nth-child(1) .podium-bar { height: 60px; }
.podium-item:nth-child(2) .podium-bar { height: 100px; background: rgba(240,180,41,0.1); border-color: rgba(240,180,41,0.3); }
.podium-item:nth-child(3) .podium-bar { height: 40px; }

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
