/* ============================================
   NorthernRiiverClub — Design System
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Color Palette */
  --forest-900: #0d2e1e;
  --forest-800: #1a5c42;
  --forest-700: #1e6b4d;
  --forest-600: #2a7a5e;
  --forest-500: #3a9472;
  --forest-400: #4aaf86;
  --forest-300: #6bc8a2;
  --forest-200: #a8e6cb;
  --forest-100: #d4f4e6;
  --forest-50:  #f0faf5;

  --river-900: #0c2a3a;
  --river-800: #184a60;
  --river-700: #1e5c78;
  --river-600: #286e90;
  --river-500: #3385ad;
  --river-400: #4a9ec8;
  --river-300: #72bad8;
  --river-200: #a8d8ec;
  --river-100: #d4eef8;

  --amber-600: #c97c00;
  --amber-500: #f0a500;
  --amber-400: #f5ba30;
  --amber-300: #f9d06a;
  --amber-100: #fef3d0;

  --stone-900: #1a1a1a;
  --stone-800: #2a2a2a;
  --stone-700: #3d3d3d;
  --stone-600: #555;
  --stone-500: #777;
  --stone-400: #999;
  --stone-300: #bbb;
  --stone-200: #ddd;
  --stone-100: #f0f0f0;
  --stone-50:  #fafafa;

  --success-500: #2e9e5a;
  --warning-500: #e07800;
  --error-500:   #c0392b;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Spacing (8px base) */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:  0 4px 12px rgba(0,0,0,.1),  0 2px 4px rgba(0,0,0,.06);
  --shadow-lg:  0 12px 32px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.08);
  --shadow-xl:  0 24px 64px rgba(0,0,0,.16), 0 8px 16px rgba(0,0,0,.1);

  /* Transitions */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- 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-color: var(--stone-50);
  color: var(--stone-900);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ============================================
   FAVICON SVG (referenced in <link>)
   ============================================ */

/* ============================================
   AGE VERIFICATION MODAL
   ============================================ */
.age-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 46, 30, 0.96);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  padding: var(--sp-4);
}

.age-overlay.hidden { display: none; }

.age-modal {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--sp-12) var(--sp-10);
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-xl);
  animation: modalSlideIn .4s var(--ease-out);
}

@keyframes modalSlideIn {
  from { opacity: 0; transform: translateY(24px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.age-modal-emblem { margin-bottom: var(--sp-5); }

.age-modal-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--forest-800);
  margin-bottom: var(--sp-3);
}

.age-modal-subtitle {
  font-size: .95rem;
  color: var(--stone-600);
  line-height: 1.6;
  margin-bottom: var(--sp-8);
}

.age-modal-check {
  margin-bottom: var(--sp-6);
  text-align: left;
}

.age-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  cursor: pointer;
}

.age-checkbox-input { display: none; }

.age-checkbox-custom {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 2px solid var(--stone-300);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: all .2s var(--ease-out);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.age-checkbox-input:checked + .age-checkbox-custom {
  background: var(--forest-600);
  border-color: var(--forest-600);
}

.age-checkbox-input:checked + .age-checkbox-custom::after {
  content: '';
  display: block;
  width: 6px;
  height: 10px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translate(-1px, -1px);
}

.age-checkbox-text {
  font-size: .875rem;
  color: var(--stone-700);
  line-height: 1.5;
}

.age-checkbox-text a {
  color: var(--forest-600);
  text-decoration: underline;
}

.age-confirm-btn {
  width: 100%;
  padding: var(--sp-4) var(--sp-6);
  background: var(--forest-600);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all .2s var(--ease-out);
  margin-bottom: var(--sp-4);
}

.age-confirm-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.age-confirm-btn:not(:disabled):hover {
  background: var(--forest-700);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.age-modal-disclaimer {
  font-size: .78rem;
  color: var(--stone-400);
  line-height: 1.5;
}

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--forest-900);
  color: #fff;
  z-index: 8888;
  padding: var(--sp-4) var(--sp-6);
  transform: translateY(100%);
  transition: transform .4s var(--ease-out);
}

.cookie-banner.visible { transform: translateY(0); }
.cookie-banner.hidden  { display: none; }

.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  flex-wrap: wrap;
}

.cookie-banner-text {
  flex: 1;
  font-size: .875rem;
  color: var(--stone-300);
  min-width: 240px;
}

.cookie-banner-text a {
  color: var(--forest-300);
  text-decoration: underline;
}

.cookie-banner-actions { display: flex; gap: var(--sp-3); flex-shrink: 0; }

.cookie-btn-decline {
  padding: var(--sp-2) var(--sp-5);
  border: 1px solid var(--stone-600);
  color: var(--stone-300);
  border-radius: var(--radius-md);
  font-size: .875rem;
  font-weight: 500;
  transition: all .2s;
}
.cookie-btn-decline:hover { border-color: var(--stone-300); color: #fff; }

.cookie-btn-accept {
  padding: var(--sp-2) var(--sp-5);
  background: var(--forest-500);
  color: #fff;
  border-radius: var(--radius-md);
  font-size: .875rem;
  font-weight: 600;
  transition: all .2s;
}
.cookie-btn-accept:hover { background: var(--forest-400); }

/* ============================================
   AUTH MODAL
   ============================================ */
.auth-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 46, 30, 0.7);
  z-index: 7777;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  backdrop-filter: blur(4px);
}

.auth-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.auth-modal {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--sp-8) var(--sp-8);
  max-width: 440px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-xl);
  animation: modalSlideIn .3s var(--ease-out);
}

.auth-modal-close {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-4);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--stone-100);
  color: var(--stone-600);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  line-height: 1;
}
.auth-modal-close:hover { background: var(--stone-200); }

.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: var(--sp-6);
  border-bottom: 2px solid var(--stone-100);
}

.auth-tab {
  flex: 1;
  padding: var(--sp-3) var(--sp-4);
  font-size: .95rem;
  font-weight: 600;
  color: var(--stone-500);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all .2s;
}
.auth-tab.active {
  color: var(--forest-700);
  border-bottom-color: var(--forest-600);
}
.auth-tab:hover:not(.active) { color: var(--stone-700); }

.auth-form-panel { display: none; }
.auth-form-panel.active { display: block; }

.auth-form-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--forest-800);
  margin-bottom: var(--sp-1);
}

.auth-form-subtitle {
  font-size: .875rem;
  color: var(--stone-500);
  margin-bottom: var(--sp-6);
}

.auth-field { margin-bottom: var(--sp-4); }

.auth-label {
  display: block;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--stone-700);
  margin-bottom: var(--sp-2);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.auth-input {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  border: 1.5px solid var(--stone-200);
  border-radius: var(--radius-md);
  font-size: .9375rem;
  color: var(--stone-900);
  font-family: var(--font-body);
  transition: border-color .2s;
  outline: none;
}
.auth-input:focus { border-color: var(--forest-500); }
.auth-input::placeholder { color: var(--stone-400); }

.auth-error {
  font-size: .8125rem;
  color: var(--error-500);
  margin-bottom: var(--sp-3);
  min-height: 18px;
}

.auth-submit-btn {
  width: 100%;
  padding: var(--sp-4);
  background: var(--forest-600);
  color: #fff;
  font-size: .9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all .2s var(--ease-out);
  margin-bottom: var(--sp-3);
}
.auth-submit-btn:hover {
  background: var(--forest-700);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.auth-welcome-bonus {
  font-size: .8125rem;
  text-align: center;
  color: var(--stone-500);
}
.auth-welcome-bonus strong { color: var(--amber-600); }

/* ============================================
   SITE HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 6000;
  transition: background .3s, box-shadow .3s;
  padding: 0 var(--sp-6);
}

.site-header.scrolled {
  background: rgba(255,255,255,.97);
  box-shadow: 0 1px 0 rgba(0,0,0,.08), var(--shadow-sm);
  backdrop-filter: blur(8px);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo-text {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  transition: color .3s;
}

.site-header.scrolled .header-logo-text { color: var(--forest-800); }

.header-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  margin-left: auto;
}

.nav-link {
  padding: var(--sp-2) var(--sp-3);
  font-size: .9375rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  border-radius: var(--radius-md);
  transition: all .2s;
}

.nav-link:hover { color: #fff; background: rgba(255,255,255,.1); }

.site-header.scrolled .nav-link { color: var(--stone-600); }
.site-header.scrolled .nav-link:hover { color: var(--forest-700); background: var(--forest-50); }

.nav-link-contact {
  color: rgba(255,255,255,.95);
  font-weight: 600;
}
.site-header.scrolled .nav-link-contact { color: var(--forest-700); }

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}

.header-auth-btns { display: flex; gap: var(--sp-2); }

.header-login-btn {
  padding: var(--sp-2) var(--sp-4);
  font-size: .875rem;
  font-weight: 600;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.5);
  border-radius: var(--radius-md);
  transition: all .2s;
}
.header-login-btn:hover { border-color: #fff; background: rgba(255,255,255,.1); }

.site-header.scrolled .header-login-btn {
  color: var(--forest-700);
  border-color: var(--forest-300);
}
.site-header.scrolled .header-login-btn:hover {
  background: var(--forest-50);
  border-color: var(--forest-500);
}

.header-register-btn {
  padding: var(--sp-2) var(--sp-4);
  font-size: .875rem;
  font-weight: 600;
  background: var(--amber-500);
  color: var(--stone-900);
  border-radius: var(--radius-md);
  transition: all .2s var(--ease-out);
}
.header-register-btn:hover {
  background: var(--amber-400);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.header-user-info {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.header-coins-badge {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--amber-100);
  border: 1px solid var(--amber-300);
  color: var(--amber-600);
  font-weight: 700;
  font-size: .875rem;
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-full);
}

.header-username {
  font-weight: 600;
  font-size: .9375rem;
  color: #fff;
}
.site-header.scrolled .header-username { color: var(--forest-800); }

.header-signout-btn {
  padding: var(--sp-1) var(--sp-3);
  font-size: .8125rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--radius-md);
  transition: all .2s;
}
.header-signout-btn:hover { color: #fff; border-color: rgba(255,255,255,.7); }
.site-header.scrolled .header-signout-btn {
  color: var(--stone-600);
  border-color: var(--stone-200);
}
.site-header.scrolled .header-signout-btn:hover {
  color: var(--error-500);
  border-color: var(--error-500);
}

.header-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
}
.header-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all .3s;
}
.site-header.scrolled .header-mobile-toggle span { background: var(--stone-700); }

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: url("images/hero.png") center top / cover no-repeat;
}

.hero-bg-layers {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: none;
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px var(--sp-6) var(--sp-20);
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(74,175,134,.15);
  border: 1px solid rgba(74,175,134,.3);
  color: var(--forest-300);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-6);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: var(--sp-6);
  max-width: 700px;
}

.hero-title-accent {
  color: var(--forest-300);
  display: block;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: rgba(255,255,255,.72);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: var(--sp-10);
}

.hero-cta-group {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-bottom: var(--sp-16);
}

.hero-cta-primary {
  padding: var(--sp-4) var(--sp-8);
  background: var(--forest-500);
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: all .25s var(--ease-out);
  box-shadow: 0 4px 24px rgba(58,148,114,.4);
}
.hero-cta-primary:hover {
  background: var(--forest-400);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(58,148,114,.5);
}

.hero-cta-secondary {
  padding: var(--sp-4) var(--sp-8);
  border: 1.5px solid rgba(255,255,255,.35);
  color: rgba(255,255,255,.9);
  font-size: 1.0625rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all .25s;
  display: inline-block;
}
.hero-cta-secondary:hover {
  border-color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.06);
}

.hero-stats-row {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  flex-wrap: wrap;
}

.hero-stat { text-align: center; }

.hero-stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}

.hero-stat-label {
  display: block;
  font-size: .8125rem;
  color: rgba(255,255,255,.5);
  font-weight: 500;
  margin-top: var(--sp-1);
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.15);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: .3; }
  50%       { opacity: 1; }
}

/* ============================================
   SHARED SECTION STYLES
   ============================================ */
.section-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--forest-600);
  margin-bottom: var(--sp-3);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--forest-900);
  line-height: 1.15;
  margin-bottom: var(--sp-4);
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--stone-600);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: var(--sp-12);
}

/* ============================================
   GAMES SECTION
   ============================================ */
.games-section {
  padding: var(--sp-24) 0;
  background: #fff;
}

.games-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.game-card {
  background: #fff;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .3s var(--ease-out), box-shadow .3s;
  position: relative;
}

.game-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.game-card-featured {
  border-color: var(--forest-300);
  box-shadow: 0 0 0 2px var(--forest-200);
}

.game-card-badge {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-4);
  background: var(--amber-500);
  color: var(--stone-900);
  font-size: .75rem;
  font-weight: 700;
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-full);
  letter-spacing: .04em;
  z-index: 2;
}

.game-card-visual {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.game-card-visual-poker   { background: linear-gradient(135deg, #0f3520 0%, #1a5c42 100%); }
.game-card-visual-slots   { background: linear-gradient(135deg, #162540 0%, #1e3d60 100%); }
.game-card-visual-roulette { background: linear-gradient(135deg, #2a1f0a 0%, #4a3510 100%); }

.game-card-illustration { position: relative; z-index: 1; }

.card-deck-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 80px;
}

.preview-card {
  width: 52px;
  height: 72px;
  background: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--stone-800);
  box-shadow: var(--shadow-md);
  position: absolute;
  transition: transform .3s;
}

.game-card:hover .preview-card { transform: var(--original-transform) translateY(-4px) !important; }

.slots-preview {
  display: flex;
  gap: var(--sp-2);
}

.slot-reel-preview {
  width: 52px;
  height: 64px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.roulette-preview { opacity: .9; }

.game-card-tag {
  position: absolute;
  bottom: var(--sp-3);
  left: var(--sp-4);
  background: rgba(0,0,0,.4);
  color: rgba(255,255,255,.85);
  font-size: .75rem;
  font-weight: 600;
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-full);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.game-card-body { padding: var(--sp-6); }

.game-card-title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--forest-900);
  margin-bottom: var(--sp-3);
}

.game-card-description {
  font-size: .9375rem;
  color: var(--stone-600);
  line-height: 1.65;
  margin-bottom: var(--sp-4);
}

.game-card-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}

.game-meta-item {
  font-size: .8125rem;
  font-weight: 500;
  color: var(--stone-500);
}

.game-meta-dot {
  width: 3px;
  height: 3px;
  background: var(--stone-300);
  border-radius: 50%;
}

.game-card-play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: var(--sp-3) var(--sp-5);
  background: var(--forest-600);
  color: #fff;
  font-size: .9375rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: all .2s var(--ease-out);
  text-align: center;
}
.game-card-play-btn:hover {
  background: var(--forest-700);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ============================================
   BENEFITS SECTION
   ============================================ */
.benefits-section {
  padding: var(--sp-24) 0;
  background: var(--stone-50);
}

.benefits-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.benefit-item {
  background: #fff;
  border: 1px solid var(--stone-100);
  border-radius: var(--radius-lg);
  padding: var(--sp-8) var(--sp-6);
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.benefit-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-5);
  background: var(--forest-50);
  border: 1px solid var(--forest-100);
}

.benefit-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--forest-900);
  margin-bottom: var(--sp-3);
}

.benefit-text {
  font-size: .9375rem;
  color: var(--stone-600);
  line-height: 1.65;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: var(--sp-24) 0;
  background: var(--forest-900);
}

.cta-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.cta-box {
  background: linear-gradient(135deg, var(--forest-800) 0%, #162d20 100%);
  border: 1px solid rgba(74,175,134,.2);
  border-radius: var(--radius-xl);
  padding: var(--sp-16) var(--sp-12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
  flex-wrap: wrap;
}

.cta-box-content { flex: 1; min-width: 280px; }

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--sp-4);
}

.cta-text {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.7);
  line-height: 1.6;
  margin-bottom: var(--sp-6);
  max-width: 480px;
}

.cta-main-btn {
  padding: var(--sp-4) var(--sp-8);
  background: var(--forest-400);
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: all .25s var(--ease-out);
  box-shadow: 0 4px 24px rgba(74,175,134,.3);
}
.cta-main-btn:hover {
  background: var(--forest-300);
  color: var(--forest-900);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(74,175,134,.4);
}

.cta-box-visual { flex-shrink: 0; }

.cta-coins-display {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(240,165,0,.25), rgba(240,165,0,.05));
  border: 2px solid rgba(240,165,0,.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: coinGlow 3s ease-in-out infinite;
}

@keyframes coinGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(240,165,0,.15); }
  50%       { box-shadow: 0 0 40px rgba(240,165,0,.3); }
}

.cta-coin {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--amber-400);
}

.cta-coin-label {
  font-size: .8125rem;
  color: rgba(255,255,255,.5);
  margin-top: var(--sp-2);
  text-align: center;
}

/* ============================================
   SITE FOOTER
   ============================================ */
.site-footer {
  background: var(--forest-900);
  color: rgba(255,255,255,.6);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--sp-16) var(--sp-6) var(--sp-10);
  display: flex;
  gap: var(--sp-12);
  flex-wrap: wrap;
}

.footer-brand {
  flex: 0 0 260px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}

.footer-logo span {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.footer-tagline {
  font-size: .875rem;
  line-height: 1.6;
  color: rgba(255,255,255,.45);
}

.footer-columns {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-8);
  min-width: 300px;
}

.footer-col-heading {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin-bottom: var(--sp-5);
}

.footer-links li { margin-bottom: var(--sp-3); }

.footer-links a {
  font-size: .875rem;
  color: rgba(255,255,255,.5);
  transition: color .2s;
}
.footer-links a:hover { color: rgba(255,255,255,.9); }

.footer-contact-info {
  font-size: .875rem;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
}

.footer-contact-item {
  margin-bottom: var(--sp-3);
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
}

.footer-contact-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-icon svg {
  width: 100%;
  height: 100%;
}

.footer-contact-text {
  flex: 1;
}

.footer-contact-label {
  font-weight: 600;
  color: rgba(255,255,255,.7);
  margin-bottom: 2px;
}

.footer-contact-value {
  color: rgba(255,255,255,.5);
}

.footer-disclaimer-box {
  background: rgba(255,255,255,.04);
  border-top: 1px solid rgba(255,255,255,.08);
}

.footer-disclaimer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--sp-8) var(--sp-6);
}

.footer-disclaimer-heading {
  font-size: .8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.6);
  margin-bottom: var(--sp-3);
}

.footer-disclaimer-text {
  font-size: .8125rem;
  color: rgba(255,255,255,.38);
  line-height: 1.65;
  margin-bottom: var(--sp-3);
  max-width: 900px;
}

.footer-support-links {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-top: var(--sp-3);
}

.footer-support-link {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--forest-400);
  text-decoration: underline;
  transition: color .2s;
}
.footer-support-link:hover { color: var(--forest-300); }

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--sp-5) var(--sp-6);
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.footer-copyright {
  font-size: .8125rem;
  color: rgba(255,255,255,.35);
}

.footer-age-notice {
  font-size: .8125rem;
  color: rgba(255,255,255,.35);
}

/* ============================================
   INNER PAGE STYLES (shared)
   ============================================ */
.page-hero {
  padding: 140px var(--sp-6) var(--sp-16);
  background: linear-gradient(160deg, var(--forest-900) 0%, var(--forest-800) 100%);
  text-align: center;
}

.page-hero-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--forest-300);
  margin-bottom: var(--sp-3);
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: var(--sp-4);
}

.page-hero-text {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.65);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.page-content {
  max-width: 860px;
  margin: 0 auto;
  padding: var(--sp-16) var(--sp-6);
}

.page-content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--forest-800);
  margin: var(--sp-10) 0 var(--sp-4);
}
.page-content h2:first-child { margin-top: 0; }

.page-content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--stone-800);
  margin: var(--sp-6) 0 var(--sp-3);
}

.page-content p {
  font-size: .9875rem;
  color: var(--stone-600);
  line-height: 1.75;
  margin-bottom: var(--sp-4);
}

.page-content ul, .page-content ol {
  margin: var(--sp-3) 0 var(--sp-5) var(--sp-6);
}

.page-content li {
  font-size: .9875rem;
  color: var(--stone-600);
  line-height: 1.75;
  margin-bottom: var(--sp-2);
  list-style: disc;
}
.page-content ol li { list-style: decimal; }

.page-content a {
  color: var(--forest-600);
  text-decoration: underline;
}

.page-section-divider {
  border: none;
  border-top: 1px solid var(--stone-100);
  margin: var(--sp-8) 0;
}

/* ============================================
   GAME PAGES
   ============================================ */
.game-page-wrapper {
  min-height: 100vh;
  background: var(--forest-900);
  padding-top: 80px;
}

.game-page-header {
  padding: var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
}

.game-page-back-link {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  color: rgba(255,255,255,.6);
  font-size: .9375rem;
  font-weight: 500;
  transition: color .2s;
}
.game-page-back-link:hover { color: #fff; }

.game-page-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.game-coins-display {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(240,165,0,.1);
  border: 1px solid rgba(240,165,0,.3);
  color: var(--amber-400);
  font-weight: 700;
  font-size: 1rem;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-full);
}

.game-area {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--sp-6) var(--sp-12);
}

/* --- Poker Game --- */
.poker-table {
  background: radial-gradient(ellipse at center, #2d6e4a 0%, #1a4d30 60%, #0d2e1a 100%);
  border-radius: var(--radius-xl);
  border: 6px solid #8b6914;
  box-shadow: 0 0 0 2px #5a4208, var(--shadow-xl), inset 0 2px 8px rgba(0,0,0,.3);
  padding: var(--sp-8);
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

.poker-community-cards {
  display: flex;
  justify-content: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
  flex-wrap: wrap;
}

.poker-card {
  width: 64px;
  height: 90px;
  background: #fff;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  transition: transform .3s;
  color: var(--stone-800);
  position: relative;
  border: 1px solid var(--stone-200);
  user-select: none;
}

.poker-card.card-red { color: #c0392b; }
.poker-card.card-back {
  background: linear-gradient(135deg, #1a5c42, #0d2e1e);
  color: transparent;
}
.poker-card.card-back::after {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 3px;
}

.poker-card-rank {
  font-size: .875rem;
  line-height: 1;
  position: absolute;
  top: 5px;
  left: 7px;
}

.poker-card-suit {
  font-size: 1.5rem;
  line-height: 1;
}

.poker-pot-info {
  text-align: center;
  margin-bottom: var(--sp-6);
}

.poker-pot-label {
  font-size: .8125rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.poker-pot-amount {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--amber-400);
}

.poker-player-hand {
  display: flex;
  justify-content: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}

.poker-actions {
  display: flex;
  justify-content: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

.poker-bet-input {
  width: 100px;
  padding: var(--sp-2) var(--sp-3);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  text-align: center;
  outline: none;
}

.poker-btn {
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--radius-md);
  font-size: .9375rem;
  font-weight: 700;
  transition: all .2s;
}

.poker-btn-fold { background: rgba(192,57,43,.8); color: #fff; }
.poker-btn-fold:hover { background: #c0392b; }
.poker-btn-check { background: rgba(255,255,255,.1); color: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.2); }
.poker-btn-check:hover { background: rgba(255,255,255,.2); }
.poker-btn-call  { background: rgba(40,110,144,.8); color: #fff; }
.poker-btn-call:hover  { background: #286e90; }
.poker-btn-raise { background: var(--forest-500); color: #fff; }
.poker-btn-raise:hover { background: var(--forest-400); }
.poker-btn-new   { background: var(--amber-500); color: var(--stone-900); }
.poker-btn-new:hover { background: var(--amber-400); }

.poker-message-bar {
  text-align: center;
  color: rgba(255,255,255,.7);
  font-size: .9375rem;
  padding: var(--sp-3) 0;
  min-height: 44px;
  font-weight: 500;
}

.poker-phase-label {
  text-align: center;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.4);
  margin-bottom: var(--sp-3);
}

/* --- Slots Game --- */
.slots-machine {
  background: linear-gradient(160deg, #1a2b40 0%, #0e1a2a 100%);
  border-radius: var(--radius-xl);
  border: 4px solid #2a4060;
  box-shadow: var(--shadow-xl), inset 0 2px 8px rgba(0,0,0,.3);
  padding: var(--sp-8) var(--sp-6);
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.slots-title-bar {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--amber-400);
  margin-bottom: var(--sp-6);
  text-shadow: 0 0 20px rgba(240,165,0,.4);
}

.slots-reels-container {
  display: flex;
  justify-content: center;
  gap: var(--sp-3);
  background: rgba(0,0,0,.3);
  border-radius: var(--radius-md);
  padding: var(--sp-5);
  margin-bottom: var(--sp-5);
  border: 2px solid rgba(255,255,255,.05);
}

.slots-reel {
  width: 80px;
  height: 90px;
  background: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 2px 6px rgba(0,0,0,.2);
  transition: transform .1s;
}

.slots-reel.spinning {
  animation: slotSpin .12s linear infinite;
}

@keyframes slotSpin {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

.slots-win-line {
  height: 3px;
  background: rgba(240,165,0,.6);
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-4);
  transition: background .3s;
}

.slots-win-line.winner { background: var(--amber-400); box-shadow: 0 0 12px rgba(240,165,0,.6); }

.slots-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-bottom: var(--sp-5);
}

.slots-bet-selector {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.slots-bet-label {
  font-size: .8125rem;
  color: rgba(255,255,255,.5);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.slots-bet-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--amber-400);
  min-width: 50px;
  text-align: center;
}

.slots-bet-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.7);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.slots-bet-btn:hover { background: rgba(255,255,255,.15); }

.slots-spin-btn {
  padding: var(--sp-3) var(--sp-8);
  background: linear-gradient(135deg, var(--forest-500), var(--forest-600));
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(58,148,114,.4);
  transition: all .2s var(--ease-out);
}
.slots-spin-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(58,148,114,.5);
}
.slots-spin-btn:disabled { opacity: .5; cursor: not-allowed; }

.slots-paytable {
  background: rgba(0,0,0,.2);
  border-radius: var(--radius-md);
  padding: var(--sp-4);
  text-align: left;
}

.slots-paytable-title {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.4);
  margin-bottom: var(--sp-3);
}

.slots-paytable-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-1) 0;
  font-size: .8125rem;
  color: rgba(255,255,255,.6);
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.slots-paytable-row:last-child { border-bottom: none; }

.slots-paytable-payout {
  color: var(--amber-400);
  font-weight: 700;
}

.slots-message {
  text-align: center;
  font-size: .9375rem;
  font-weight: 600;
  color: rgba(255,255,255,.65);
  min-height: 40px;
  padding: var(--sp-2) 0;
}

/* --- Roulette Game --- */
.roulette-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--sp-6);
  align-items: start;
}

.roulette-wheel-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
}

.roulette-wheel-svg {
  width: 100%;
  max-width: 320px;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.4));
  transition: transform 3s cubic-bezier(0.17, 0.67, 0.29, 0.99);
  transform-origin: center;
}

.roulette-ball-display {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  text-align: center;
}

.roulette-result-number {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.roulette-result-color {
  font-size: .9375rem;
  font-weight: 600;
  margin-top: var(--sp-1);
}

.roulette-result-color.is-red   { color: #e74c3c; }
.roulette-result-color.is-black { color: rgba(255,255,255,.5); }
.roulette-result-color.is-green { color: var(--forest-400); }

.roulette-betting-panel {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
}

.roulette-bet-group {
  margin-bottom: var(--sp-5);
}

.roulette-bet-group-title {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.4);
  margin-bottom: var(--sp-3);
}

.roulette-bet-options {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

.roulette-bet-chip {
  padding: var(--sp-2) var(--sp-3);
  background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.7);
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  user-select: none;
}
.roulette-bet-chip:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); }
.roulette-bet-chip.selected {
  background: var(--forest-600);
  border-color: var(--forest-400);
  color: #fff;
}

.roulette-chip-red    { border-color: rgba(231,76,60,.4); color: #e74c3c; }
.roulette-chip-red.selected { background: #c0392b; border-color: #e74c3c; color: #fff; }
.roulette-chip-black  { }
.roulette-chip-green  { border-color: rgba(46,158,90,.4); color: var(--forest-400); }
.roulette-chip-green.selected { background: var(--success-500); border-color: var(--forest-400); color: #fff; }

.roulette-wager-row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
  flex-wrap: wrap;
}

.roulette-wager-label {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  font-weight: 600;
}

.roulette-wager-presets {
  display: flex;
  gap: var(--sp-2);
}

.roulette-preset-btn {
  padding: var(--sp-1) var(--sp-3);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.7);
  border-radius: var(--radius-sm);
  font-size: .8125rem;
  font-weight: 700;
  transition: all .2s;
}
.roulette-preset-btn:hover { background: rgba(255,255,255,.12); color: #fff; }
.roulette-preset-btn.active { background: var(--forest-600); border-color: var(--forest-400); color: #fff; }

.roulette-spin-btn {
  width: 100%;
  padding: var(--sp-4);
  background: linear-gradient(135deg, var(--forest-500), var(--forest-700));
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: all .2s var(--ease-out);
  box-shadow: 0 4px 16px rgba(42,122,94,.3);
}
.roulette-spin-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(42,122,94,.4);
}
.roulette-spin-btn:disabled { opacity: .5; cursor: not-allowed; }

.roulette-history {
  margin-top: var(--sp-5);
}

.roulette-history-title {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.35);
  margin-bottom: var(--sp-3);
}

.roulette-history-balls {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

.roulette-history-ball {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  color: #fff;
}
.roulette-history-ball.ball-red   { background: #c0392b; }
.roulette-history-ball.ball-black { background: #2a2a2a; }
.roulette-history-ball.ball-green { background: #1e6b4d; }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-10);
  max-width: 1000px;
  margin: 0 auto;
  padding: var(--sp-16) var(--sp-6);
}

.contact-info-block { }

.contact-info-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--forest-800);
  margin-bottom: var(--sp-4);
}

.contact-info-text {
  font-size: .9875rem;
  color: var(--stone-600);
  line-height: 1.7;
  margin-bottom: var(--sp-6);
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: var(--forest-50);
  border: 1px solid var(--forest-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--stone-500);
  margin-bottom: var(--sp-1);
}

.contact-detail-value {
  font-size: .9375rem;
  color: var(--stone-700);
  font-weight: 500;
}

.contact-form-card {
  background: #fff;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  box-shadow: var(--shadow-sm);
}

.contact-form-title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--forest-800);
  margin-bottom: var(--sp-5);
}

.contact-field { margin-bottom: var(--sp-4); }

.contact-label {
  display: block;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--stone-700);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: var(--sp-2);
}

.contact-input, .contact-textarea, .contact-select {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  border: 1.5px solid var(--stone-200);
  border-radius: var(--radius-md);
  font-size: .9375rem;
  color: var(--stone-900);
  font-family: var(--font-body);
  outline: none;
  transition: border-color .2s;
  background: #fff;
}

.contact-input:focus,
.contact-textarea:focus,
.contact-select:focus { border-color: var(--forest-500); }

.contact-textarea { resize: vertical; min-height: 120px; }

.contact-submit-btn {
  width: 100%;
  padding: var(--sp-4);
  background: var(--forest-600);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: all .2s var(--ease-out);
}
.contact-submit-btn:hover {
  background: var(--forest-700);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.contact-success-msg {
  display: none;
  text-align: center;
  padding: var(--sp-6);
  color: var(--success-500);
  font-weight: 600;
  font-size: 1rem;
}

/* ============================================
   COMMUNITY PAGE
   ============================================ */
.community-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  margin-bottom: var(--sp-12);
}

.community-stat-card {
  background: #fff;
  border: 1px solid var(--stone-100);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  text-align: center;
}

.community-stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--forest-700);
  display: block;
}

.community-stat-label {
  font-size: .875rem;
  color: var(--stone-500);
  margin-top: var(--sp-1);
}

.leaderboard-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.leaderboard-table th {
  background: var(--forest-900);
  color: rgba(255,255,255,.7);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: var(--sp-4) var(--sp-5);
  text-align: left;
}

.leaderboard-table td {
  padding: var(--sp-4) var(--sp-5);
  font-size: .9375rem;
  color: var(--stone-700);
  border-bottom: 1px solid var(--stone-100);
}

.leaderboard-table tr:last-child td { border-bottom: none; }

.leaderboard-table tr:hover td { background: var(--stone-50); }

.leaderboard-rank { font-weight: 700; color: var(--stone-400); }
.leaderboard-rank.top-1 { color: var(--amber-500); }
.leaderboard-rank.top-2 { color: var(--stone-500); }
.leaderboard-rank.top-3 { color: #cd7f32; }

.leaderboard-username { font-weight: 700; color: var(--forest-800); }

.leaderboard-coins {
  font-weight: 700;
  color: var(--amber-600);
}

/* ============================================
   HOW IT WORKS PAGE
   ============================================ */
.how-steps-list {
  counter-reset: step-counter;
  margin: 0;
  padding: 0;
}

.how-step-item {
  display: flex;
  gap: var(--sp-6);
  margin-bottom: var(--sp-10);
  counter-increment: step-counter;
}

.how-step-number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--forest-600);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-step-content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--forest-800);
  margin-bottom: var(--sp-2);
}

.how-step-content p {
  font-size: .9875rem;
  color: var(--stone-600);
  line-height: 1.7;
}

/* ============================================
   HELP CENTER / FAQ
   ============================================ */
.faq-item {
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-md);
  margin-bottom: var(--sp-3);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: var(--sp-5) var(--sp-6);
  background: #fff;
  font-size: 1rem;
  font-weight: 600;
  color: var(--forest-800);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  transition: background .2s;
  cursor: pointer;
  border: none;
}

.faq-question:hover { background: var(--stone-50); }

.faq-question-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--stone-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .875rem;
  color: var(--stone-500);
  transition: transform .3s, background .2s;
}

.faq-item.open .faq-question-icon {
  transform: rotate(45deg);
  background: var(--forest-100);
  color: var(--forest-700);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease-out), padding .3s;
}

.faq-item.open .faq-answer { max-height: 500px; }

.faq-answer-inner {
  padding: var(--sp-1) var(--sp-6) var(--sp-5);
  font-size: .9375rem;
  color: var(--stone-600);
  line-height: 1.7;
}

/* ============================================
   RESPONSIBLE GAMING PAGE
   ============================================ */
.rg-checklist {
  background: var(--forest-50);
  border: 1px solid var(--forest-100);
  border-radius: var(--radius-md);
  padding: var(--sp-6);
  margin: var(--sp-5) 0;
}

.rg-checklist-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-2) 0;
  font-size: .9375rem;
  color: var(--stone-700);
  line-height: 1.6;
}

.rg-check-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: var(--forest-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.rg-check-icon::after {
  content: '';
  width: 5px;
  height: 8px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translate(-1px, -1px);
  display: block;
}

.rg-helplines {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
  margin: var(--sp-5) 0;
}

.rg-helpline-card {
  background: #fff;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-md);
  padding: var(--sp-5);
}

.rg-helpline-name {
  font-weight: 700;
  color: var(--forest-700);
  margin-bottom: var(--sp-1);
}

.rg-helpline-desc {
  font-size: .875rem;
  color: var(--stone-600);
  line-height: 1.55;
  margin-bottom: var(--sp-3);
}

.rg-helpline-link {
  font-size: .875rem;
  font-weight: 600;
  color: var(--forest-600);
  text-decoration: underline;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
  margin: var(--sp-5) 0;
}

.about-value-item {
  background: var(--stone-50);
  border-left: 3px solid var(--forest-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: var(--sp-5) var(--sp-5);
}

.about-value-title {
  font-weight: 700;
  color: var(--forest-800);
  margin-bottom: var(--sp-2);
  font-size: 1rem;
}

.about-value-text {
  font-size: .875rem;
  color: var(--stone-600);
  line-height: 1.6;
}

/* ============================================
   NOTIFICATION TOAST
   ============================================ */
.toast-notification {
  position: fixed;
  bottom: var(--sp-6);
  right: var(--sp-6);
  background: var(--forest-900);
  color: #fff;
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--radius-md);
  font-size: .9375rem;
  font-weight: 500;
  box-shadow: var(--shadow-xl);
  z-index: 9990;
  transform: translateY(20px);
  opacity: 0;
  transition: all .3s var(--ease-out);
  max-width: 320px;
  border-left: 4px solid var(--forest-400);
}

.toast-notification.visible {
  transform: translateY(0);
  opacity: 1;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .games-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .community-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .roulette-layout { grid-template-columns: 1fr; }
  .rg-helplines { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .header-nav { display: none; }
  .header-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(13,46,30,.98);
    padding: var(--sp-4);
    border-top: 1px solid rgba(255,255,255,.1);
    gap: var(--sp-1);
    z-index: 5999;
    backdrop-filter: blur(8px);
  }
  .header-nav.open .nav-link { color: rgba(255,255,255,.85); padding: var(--sp-3); }
  .header-mobile-toggle { display: flex; }
  .header-auth-btns .header-register-btn span { display: none; }

  .hero-container { padding-top: 100px; }
  .hero-stats-row { gap: var(--sp-4); }
  .hero-stat-divider { display: none; }

  .benefits-grid { grid-template-columns: 1fr; }

  .cta-box { padding: var(--sp-8); }
  .cta-box-visual { display: none; }

  .footer-container { flex-direction: column; gap: var(--sp-8); }
  .footer-brand { flex: none; }
  .footer-columns { grid-template-columns: repeat(3, 1fr); }

  .footer-bottom { flex-direction: column; text-align: center; }

  .contact-grid { grid-template-columns: 1fr; }

  .community-stats-grid { grid-template-columns: repeat(2, 1fr); }

  .about-values-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .footer-columns { grid-template-columns: 1fr; }
  .community-stats-grid { grid-template-columns: 1fr; }
  .hero-cta-group { flex-direction: column; }
  .hero-cta-primary, .hero-cta-secondary { width: 100%; text-align: center; display: block; }
  .poker-actions { gap: var(--sp-2); }
  .poker-btn { padding: var(--sp-2) var(--sp-3); font-size: .875rem; }
}
