/* =============================================
   TrueNoorthLounge — Global Styles
   ============================================= */

/* --- Variables & Tokens --- */
:root {
  --forest-900: #0a2614;
  --forest-800: #0d3d22;
  --forest-700: #1a5c33;
  --forest-600: #1a6b3c;
  --forest-500: #228b4e;
  --forest-400: #2ecc71;
  --forest-300: #6fcf97;
  --forest-200: #b2dfcb;
  --forest-100: #e8f5ee;
  --forest-50:  #f2faf6;

  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;
  --white:     #ffffff;

  --amber-500: #f59e0b;
  --amber-400: #fbbf24;
  --amber-300: #fcd34d;
  --amber-100: #fef3c7;

  --red-500: #ef4444;
  --red-100: #fee2e2;
  --teal-500: #14b8a6;
  --teal-100: #ccfbf1;
  --blue-500: #3b82f6;
  --blue-100: #dbeafe;

  --text-primary:   var(--slate-900);
  --text-secondary: var(--slate-600);
  --text-muted:     var(--slate-400);
  --border-color:   var(--slate-200);
  --bg-surface:     var(--white);
  --bg-page:        var(--slate-50);

  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-pill: 9999px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md:  0 4px 12px rgba(0,0,0,0.1), 0 2px 6px rgba(0,0,0,0.06);
  --shadow-lg:  0 10px 30px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.07);
  --shadow-xl:  0 20px 50px rgba(0,0,0,0.15), 0 8px 20px rgba(0,0,0,0.09);

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  --header-h: 70px;
  --transition: 0.22s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-sans); border: none; background: none; }
input, textarea, select { font-family: var(--font-sans); }

/* --- Age Gate --- */
.age-gate-overlay {
  position: fixed; inset: 0;
  background: rgba(10, 38, 20, 0.97);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 1;
  transition: opacity 0.4s ease;
}
.age-gate-overlay.hidden { opacity: 0; pointer-events: none; }
html[data-age-gate-hidden="true"] .age-gate-overlay {
  display: none !important;
}

.age-gate-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-xl);
  animation: slideUp 0.5s ease;
}
.age-gate-logo {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-bottom: 24px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--forest-700);
}
.age-gate-card h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--slate-900);
}
.age-gate-card > p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.age-gate-disclaimer {
  background: var(--amber-100);
  border: 1px solid var(--amber-300);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 13px;
  color: #92400e;
  margin-bottom: 24px;
  text-align: left;
}
.age-gate-checkbox-label {
  display: flex; align-items: flex-start; gap: 12px;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.5;
}
.age-gate-checkbox-label input[type="checkbox"] { display: none; }
.age-gate-checkbox-custom {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border: 2px solid var(--border-color);
  border-radius: 4px;
  margin-top: 2px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
  background: var(--white);
}
.age-gate-checkbox-label input:checked + .age-gate-checkbox-custom {
  background: var(--forest-600);
  border-color: var(--forest-600);
}
.age-gate-checkbox-label input:checked + .age-gate-checkbox-custom::after {
  content: '';
  width: 10px; height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
}
.age-gate-checkbox-label a { color: var(--forest-600); text-decoration: underline; }

.age-gate-btn {
  width: 100%;
  padding: 14px 24px;
  background: var(--forest-600);
  color: var(--white);
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  transition: all var(--transition);
  margin-bottom: 16px;
}
.age-gate-btn:not(:disabled):hover { background: var(--forest-500); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(26,107,60,0.3); }
.age-gate-btn:disabled { background: var(--slate-300); color: var(--slate-500); cursor: not-allowed; }
.age-gate-footer { font-size: 13px; color: var(--text-muted); }

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--slate-900);
  z-index: 9000;
  padding: 16px 24px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner-content {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  flex-wrap: wrap;
}
.cookie-banner-text { font-size: 14px; color: var(--slate-300); }
.cookie-banner-text a { color: var(--forest-300); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn-decline {
  padding: 8px 16px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500;
  border: 1px solid var(--slate-600);
  color: var(--slate-300);
  transition: all var(--transition);
}
.cookie-btn-decline:hover { border-color: var(--slate-400); color: var(--white); }
.cookie-btn-accept {
  padding: 8px 16px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600;
  background: var(--forest-600); color: var(--white);
  transition: all var(--transition);
}
.cookie-btn-accept:hover { background: var(--forest-500); }

/* --- Header --- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex; align-items: center; gap: 32px;
}
.header-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 19px; font-weight: 700;
  color: var(--slate-900);
  flex-shrink: 0;
  text-decoration: none;
}
.header-brand img {
  border-radius: var(--radius-sm);
  object-fit: contain;
}
.header-nav {
  display: flex; align-items: center; gap: 28px;
  margin-left: auto;
}
.header-nav a {
  font-size: 15px; font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}
.header-nav a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--forest-600);
  transform: scaleX(0); transition: transform var(--transition);
}
.header-nav a:hover { color: var(--forest-600); }
.header-nav a:hover::after { transform: scaleX(1); }

.header-actions {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}
.coin-display {
  display: flex; align-items: center; gap: 6px;
  background: var(--amber-100);
  border: 1px solid var(--amber-300);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  font-size: 14px; font-weight: 600;
  color: #92400e;
}
.btn-header-login {
  padding: 8px 18px;
  font-size: 14px; font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}
.btn-header-login:hover { border-color: var(--slate-400); color: var(--text-primary); }
.btn-header-register {
  padding: 8px 18px;
  font-size: 14px; font-weight: 600;
  color: var(--white);
  background: var(--forest-600);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}
.btn-header-register:hover { background: var(--forest-500); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(26,107,60,0.25); }

.user-menu { position: relative; }
.user-menu-trigger {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 14px; font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
  background: var(--white);
}
.user-menu-trigger:hover { border-color: var(--slate-400); color: var(--text-primary); }
.user-avatar {
  width: 28px; height: 28px;
  background: var(--forest-600);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
.user-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  min-width: 140px;
  overflow: hidden;
  display: none;
  animation: fadeDown 0.15s ease;
}
.user-dropdown.open { display: block; }
.user-dropdown-item {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--text-secondary);
  transition: background var(--transition);
}
.user-dropdown-item:hover { background: var(--slate-100); color: var(--text-primary); }

.mobile-menu-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  padding: 6px;
}
.mobile-menu-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* --- Auth Modal --- */
.auth-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  z-index: 5000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.auth-overlay.open { opacity: 1; pointer-events: all; }
.auth-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 440px; width: 100%;
  position: relative;
  box-shadow: var(--shadow-xl);
  animation: slideUp 0.3s ease;
}
.auth-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 20px; color: var(--text-muted);
  transition: all var(--transition);
  background: none;
}
.auth-close:hover { background: var(--slate-100); color: var(--text-primary); }
.auth-tabs {
  display: flex; gap: 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 4px;
  margin-bottom: 28px;
}
.auth-tab {
  flex: 1; padding: 8px;
  font-size: 14px; font-weight: 500;
  border-radius: calc(var(--radius-md) - 2px);
  color: var(--text-muted);
  transition: all var(--transition);
}
.auth-tab.active { background: var(--forest-600); color: var(--white); }
.auth-panel { display: none; }
.auth-panel.active { display: block; }
.auth-panel h3 { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.auth-subtitle { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 13px; font-weight: 500; color: var(--text-secondary); }
.form-field input {
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--text-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-field input:focus { border-color: var(--forest-500); box-shadow: 0 0 0 3px rgba(26,107,60,0.1); }
.auth-error { font-size: 13px; color: var(--red-500); min-height: 18px; }
.auth-submit-btn {
  padding: 12px 24px;
  background: var(--forest-600); color: var(--white);
  border-radius: var(--radius-md);
  font-size: 15px; font-weight: 600;
  transition: all var(--transition);
}
.auth-submit-btn:hover { background: var(--forest-500); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(26,107,60,0.3); }
.auth-switch { font-size: 14px; color: var(--text-muted); text-align: center; margin-top: 16px; }
.auth-switch-link { color: var(--forest-600); font-weight: 500; text-decoration: underline; background: none; border: none; cursor: pointer; font-size: 14px; }

.auth-success { text-align: center; }
.success-icon { margin-bottom: 16px; }
.auth-success h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.auth-success p { font-size: 15px; color: var(--text-secondary); margin-bottom: 16px; }
.coin-reward-display {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--amber-100);
  border: 1px solid var(--amber-300);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  font-size: 16px; font-weight: 700; color: #92400e;
  margin-bottom: 24px;
  animation: coinPop 0.5s ease;
}

/* --- Hero Section --- */
.hero-section {
  min-height: calc(100vh - var(--header-h));
  background: url('images/hero.png') center center / cover no-repeat;
  display: flex; align-items: center; justify-content: space-between;
  padding: 80px 80px 80px 80px;
  position: relative; overflow: hidden;
  gap: 60px;
}
.hero-bg-pattern {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10, 38, 20, 0.7) 0%, rgba(13, 61, 34, 0.6) 50%, rgba(15, 23, 42, 0.7) 100%);
  pointer-events: none;
}
.hero-content { max-width: 620px; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(46,204,113,0.12);
  border: 1px solid rgba(46,204,113,0.25);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 13px; font-weight: 500; color: var(--forest-300);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.5vw, 66px);
  font-weight: 700; line-height: 1.12;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-title-accent { color: var(--forest-400); }
.hero-description {
  font-size: 17px; line-height: 1.7;
  color: rgba(255,255,255,0.72);
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-cta { display: flex; align-items: center; gap: 16px; margin-bottom: 48px; flex-wrap: wrap; }
.btn-primary-hero {
  padding: 15px 32px;
  background: var(--forest-400);
  color: var(--slate-900);
  border-radius: var(--radius-md);
  font-size: 16px; font-weight: 700;
  transition: all var(--transition);
  letter-spacing: 0.01em;
}
.btn-primary-hero:hover { background: #27ae60; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(46,204,113,0.35); }
.btn-ghost-hero {
  padding: 15px 32px;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  font-size: 16px; font-weight: 500;
  transition: all var(--transition);
}
.btn-ghost-hero:hover { border-color: rgba(255,255,255,0.5); color: var(--white); background: rgba(255,255,255,0.05); }

.hero-stats { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero-stat strong { display: block; font-size: 26px; font-weight: 700; color: var(--white); line-height: 1.1; }
.hero-stat span { font-size: 13px; color: rgba(255,255,255,0.5); }
.hero-stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.15); }

/* Hero Visual */
.hero-visual {
  position: relative; flex-shrink: 0;
  width: 360px; height: 360px;
}
.hero-card-stack { position: relative; width: 100%; height: 100%; }
.floating-card {
  position: absolute;
  width: 110px; height: 150px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-xl);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between;
  padding: 14px;
}
.card-value { font-size: 28px; font-weight: 700; line-height: 1; }
.card-suit { font-size: 36px; align-self: flex-end; }
.card-suit.spade, .card-suit.club { color: var(--slate-900); }
.card-suit.heart, .card-suit.diamond { color: #e11d48; }
.card-one { top: 20px; left: 40px; transform: rotate(-12deg); animation: floatCard1 6s ease-in-out infinite; z-index: 1; }
.card-two { top: 60px; left: 120px; transform: rotate(4deg); animation: floatCard2 7s ease-in-out infinite; z-index: 2; }
.card-three { top: 140px; left: 80px; transform: rotate(-5deg); animation: floatCard3 5.5s ease-in-out infinite; z-index: 3; }
.hero-coin-float {
  position: absolute;
  animation: floatCoin 4s ease-in-out infinite;
}
.coin-float-one { bottom: 60px; right: 30px; animation-delay: 0.5s; }
.coin-float-two { top: 30px; right: 80px; animation-delay: 1.5s; }

/* --- Shared Section Styles --- */
.section-container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-block;
  background: var(--forest-100);
  color: var(--forest-600);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 14px;
  line-height: 1.2;
}
.section-subtitle { font-size: 17px; color: var(--text-secondary); max-width: 520px; margin: 0 auto; }

/* --- Games Section --- */
.games-section { padding: 100px 0; background: var(--white); }
.games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.game-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}
.game-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: var(--forest-200); }
.game-featured-badge {
  position: absolute; top: 16px; right: 16px;
  background: var(--amber-400);
  color: var(--slate-900);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  font-size: 12px; font-weight: 700;
  z-index: 2;
  letter-spacing: 0.03em;
}
.game-card-visual {
  height: 200px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.poker-visual { background: linear-gradient(135deg, #0d3d22, #1a5c33); }
.slots-visual { background: linear-gradient(135deg, #1a2a4a, #0e3a6e); }
.blackjack-visual { background: linear-gradient(135deg, #1c1c1c, #3d3d3d); }

.game-card-inner-deco { display: flex; align-items: center; gap: 12px; }
.deco-card {
  width: 72px; height: 96px;
  background: var(--white);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}
.game-card:hover .deco-card { transform: translateY(-4px) rotate(-3deg); }
.game-card:hover .deco-card:nth-child(2) { transform: translateY(-8px) rotate(0deg); transition-delay: 0.05s; }
.game-card:hover .deco-card:nth-child(3) { transform: translateY(-4px) rotate(3deg); transition-delay: 0.1s; }
.dc-2 { transform: translateY(-16px); }
.deco-reel {
  font-size: 42px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
  animation: reelSpin 3s ease-in-out infinite;
}
.deco-reel:nth-child(2) { animation-delay: 0.2s; }
.deco-reel:nth-child(3) { animation-delay: 0.4s; }
.deco-card.dc-bj1 { font-size: 18px; }
.deco-card.dc-bj2 { font-size: 18px; transform: translateY(-12px); }

.game-card-body { padding: 24px; }
.game-badge {
  display: inline-block;
  background: var(--forest-100);
  color: var(--forest-600);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.game-card-body h3 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700;
  margin-bottom: 10px;
  color: var(--slate-900);
}
.game-card-body p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 16px; }
.game-meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.game-players { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--text-muted); }
.game-difficulty { font-size: 14px; color: var(--amber-400); letter-spacing: 2px; }
.game-play-btn {
  display: block;
  text-align: center;
  padding: 11px 20px;
  background: var(--forest-600);
  color: var(--white);
  border-radius: var(--radius-md);
  font-size: 14px; font-weight: 600;
  transition: all var(--transition);
}
.game-play-btn:hover { background: var(--forest-500); box-shadow: 0 4px 12px rgba(26,107,60,0.3); }
.featured-game { border-color: var(--amber-300); }
.featured-game .game-play-btn { background: var(--slate-900); }
.featured-game .game-play-btn:hover { background: var(--slate-700); }

/* --- Benefits Section --- */
.benefits-section { padding: 100px 0; background: var(--slate-50); }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.benefit-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s ease;
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.benefit-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.benefit-icon-green { background: var(--forest-100); color: var(--forest-600); }
.benefit-icon-blue { background: var(--blue-100); color: var(--blue-500); }
.benefit-icon-amber { background: var(--amber-100); color: var(--amber-500); }
.benefit-icon-red { background: var(--red-100); color: var(--red-500); }
.benefit-icon-teal { background: var(--teal-100); color: var(--teal-500); }
.benefit-card h4 { font-size: 17px; font-weight: 600; margin-bottom: 8px; color: var(--slate-900); }
.benefit-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* --- CTA Section --- */
.cta-section {
  padding: 100px 24px;
  background: linear-gradient(135deg, var(--forest-800), var(--forest-900));
  text-align: center;
}
.cta-inner { max-width: 600px; margin: 0 auto; }
.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}
.cta-section p { font-size: 17px; color: rgba(255,255,255,0.7); margin-bottom: 32px; }
.btn-cta-main {
  display: inline-block;
  padding: 16px 40px;
  background: var(--forest-400);
  color: var(--slate-900);
  border-radius: var(--radius-md);
  font-size: 17px; font-weight: 700;
  transition: all var(--transition);
  margin-bottom: 16px;
}
.btn-cta-main:hover { background: #27ae60; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(46,204,113,0.3); }
.cta-note { font-size: 13px; color: rgba(255,255,255,0.45); }

/* --- Footer --- */
.site-footer { background: var(--slate-900); color: var(--slate-300); }
.footer-inner {
  max-width: 1140px; margin: 0 auto;
  padding: 60px 24px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  text-decoration: none;
}
.footer-brand img {
  border-radius: var(--radius-sm);
  object-fit: contain;
}
.footer-tagline { font-size: 14px; color: var(--slate-400); line-height: 1.6; margin-bottom: 16px; max-width: 280px; }
.footer-age-badge {
  display: inline-block;
  background: var(--slate-700);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 4px 12px;
  font-size: 14px; font-weight: 700;
  border: 1px solid var(--slate-600);
}
.footer-links-col h5 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--white); margin-bottom: 16px; }
.footer-links-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links-col a { font-size: 14px; color: var(--slate-400); transition: color var(--transition); }
.footer-links-col a:hover { color: var(--forest-300); }

.footer-contact-info {
  display: flex; flex-direction: column; gap: 12px;
}
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--slate-400);
  line-height: 1.5;
}
.footer-contact-item svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--forest-400);
  margin-top: 2px;
}

.footer-disclaimer {
  background: rgba(255,255,255,0.03);
  border-top: 1px solid var(--slate-800);
  border-bottom: 1px solid var(--slate-800);
  padding: 28px 0;
}
.footer-disclaimer-inner {
  max-width: 1140px; margin: 0 auto;
  padding: 0 24px;
}
.footer-disclaimer p { font-size: 13px; color: var(--slate-500); line-height: 1.7; margin-bottom: 12px; }
.footer-disclaimer p:last-child { margin-bottom: 0; }
.footer-help-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; }
.footer-help-links a {
  font-size: 13px; color: var(--forest-300);
  text-decoration: underline;
  transition: color var(--transition);
}
.footer-help-links a:hover { color: var(--forest-400); }
.footer-bottom {
  max-width: 1140px; margin: 0 auto;
  padding: 20px 24px;
  font-size: 13px; color: var(--slate-600);
}

/* --- Inner Page Styles --- */
.inner-hero {
  background: linear-gradient(135deg, var(--forest-900), var(--forest-800));
  padding: 80px 24px;
  text-align: center;
}
.inner-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}
.inner-hero p { font-size: 17px; color: rgba(255,255,255,0.7); max-width: 560px; margin: 0 auto; }

.page-content {
  max-width: 880px; margin: 0 auto;
  padding: 60px 24px 80px;
}
.page-content h2 {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 700;
  color: var(--slate-900);
  margin: 36px 0 12px;
}
.page-content h2:first-child { margin-top: 0; }
.page-content h3 { font-size: 19px; font-weight: 600; color: var(--slate-800); margin: 24px 0 10px; }
.page-content p { font-size: 15px; color: var(--text-secondary); line-height: 1.75; margin-bottom: 16px; }
.page-content ul, .page-content ol { padding-left: 20px; margin-bottom: 16px; }
.page-content li { font-size: 15px; color: var(--text-secondary); line-height: 1.75; margin-bottom: 8px; }
.page-content a { color: var(--forest-600); text-decoration: underline; }
.page-content a:hover { color: var(--forest-500); }
.page-content .highlight-box {
  background: var(--forest-50);
  border: 1px solid var(--forest-200);
  border-left: 4px solid var(--forest-500);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 24px 0;
}
.page-content .warning-box {
  background: var(--amber-100);
  border: 1px solid var(--amber-300);
  border-left: 4px solid var(--amber-500);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 24px 0;
}
.page-content .warning-box p, .page-content .highlight-box p { color: #92400e; margin-bottom: 0; }
.page-content .warning-box p { color: #78350f; }

/* --- Contact Page --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.contact-form-card h2 { font-family: var(--font-display); font-size: 24px; margin-bottom: 8px; }
.contact-form-card > p { font-size: 15px; color: var(--text-muted); margin-bottom: 28px; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form textarea {
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 15px; resize: vertical;
  min-height: 120px;
  outline: none;
  font-family: var(--font-sans);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-form textarea:focus { border-color: var(--forest-500); box-shadow: 0 0 0 3px rgba(26,107,60,0.1); }
.contact-submit-btn {
  padding: 12px 28px;
  background: var(--forest-600); color: var(--white);
  border-radius: var(--radius-md);
  font-size: 15px; font-weight: 600;
  transition: all var(--transition);
  width: 100%;
}
.contact-submit-btn:hover { background: var(--forest-500); }

.contact-success-message {
  text-align: center;
  padding: 40px 20px;
  animation: fadeIn 0.4s ease;
}
.contact-success-message svg {
  margin: 0 auto 16px;
}
.contact-success-message h3 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--forest-600);
  margin-bottom: 8px;
}
.contact-success-message p {
  font-size: 16px;
  color: var(--text-secondary);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-info-item {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.contact-info-icon {
  width: 44px; height: 44px;
  background: var(--forest-100);
  color: var(--forest-600);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.contact-info-item h4 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.contact-info-item p { font-size: 14px; color: var(--text-muted); margin: 0; }

/* --- FAQ Styles --- */
.faq-list { display: flex; flex-direction: column; gap: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-color); }
.faq-item { border-bottom: 1px solid var(--border-color); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  width: 100%; padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 16px; font-weight: 500;
  color: var(--text-primary);
  background: var(--white);
  text-align: left;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--slate-50); }
.faq-question.open { background: var(--forest-50); color: var(--forest-700); }
.faq-icon { flex-shrink: 0; transition: transform var(--transition); }
.faq-question.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
  background: var(--forest-50);
}
.faq-answer.open { max-height: 300px; padding: 0 24px 20px; }
.faq-answer p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin: 0; }

/* --- Community --- */
.community-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.community-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  transition: all 0.3s ease;
}
.community-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.community-card-icon {
  width: 56px; height: 56px;
  background: var(--forest-100);
  color: var(--forest-600);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
}
.community-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.community-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* --- How It Works Steps --- */
.steps-grid { display: flex; flex-direction: column; gap: 0; position: relative; }
.steps-grid::before {
  content: '';
  position: absolute;
  left: 27px; top: 28px; bottom: 28px;
  width: 2px;
  background: var(--forest-200);
}
.step-item {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 32px 0;
  position: relative;
}
.step-number {
  flex-shrink: 0;
  width: 56px; height: 56px;
  background: var(--forest-600);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--bg-page);
}
.step-body h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; padding-top: 12px; }
.step-body p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin: 0; }

/* --- Responsible Gaming --- */
.responsible-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin: 32px 0; }
.responsible-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.responsible-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; color: var(--slate-900); }
.responsible-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin: 0; }
.org-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 24px 0; }
.org-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  transition: all var(--transition);
}
.org-card:hover { border-color: var(--forest-300); background: var(--forest-50); }
.org-card a { display: block; font-size: 15px; font-weight: 600; color: var(--forest-600); text-decoration: none; margin-bottom: 4px; }
.org-card p { font-size: 13px; color: var(--text-muted); margin: 0; }

/* --- Animations --- */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes coinPop {
  0% { transform: scale(0.5); opacity: 0; }
  70% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes floatCard1 {
  0%, 100% { transform: rotate(-12deg) translateY(0); }
  50% { transform: rotate(-10deg) translateY(-10px); }
}
@keyframes floatCard2 {
  0%, 100% { transform: rotate(4deg) translateY(-16px); }
  50% { transform: rotate(6deg) translateY(-24px); }
}
@keyframes floatCard3 {
  0%, 100% { transform: rotate(-5deg) translateY(0); }
  50% { transform: rotate(-3deg) translateY(-8px); }
}
@keyframes floatCoin {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(10deg); }
}
@keyframes reelSpin {
  0%, 80%, 100% { transform: translateY(0) scale(1); opacity: 1; }
  40% { transform: translateY(-6px) scale(1.1); opacity: 0.8; }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-section { padding: 60px 40px; }
  .hero-visual { width: 280px; height: 280px; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .hero-section { flex-direction: column; padding: 60px 24px; text-align: center; }
  .hero-visual { display: none; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .header-nav { display: none; }
  .header-nav.mobile-open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    padding: 8px 0;
    z-index: 999;
  }
  .header-nav.mobile-open a {
    padding: 12px 24px;
    border-radius: 0;
  }
  .header-nav.mobile-open a::after { display: none; }
  .mobile-menu-toggle { display: flex; }
  .btn-header-login, .btn-header-register { display: none; }
  .games-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .responsible-grid { grid-template-columns: 1fr; }
  .org-grid { grid-template-columns: 1fr; }
  .community-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .age-gate-card { padding: 32px 24px; }
  .auth-card { padding: 28px 20px; }
  .footer-inner { grid-template-columns: 1fr; }
}

/* --- Game Pages Styles --- */
.game-container {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.game-header {
  background: linear-gradient(135deg, var(--forest-900) 0%, var(--forest-700) 100%);
  color: var(--white);
  padding: 32px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.game-info h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.game-info p {
  font-size: 15px;
  color: var(--forest-200);
  margin: 0;
}

.game-stats {
  display: flex;
  gap: 24px;
}

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

.stat-label {
  display: block;
  font-size: 12px;
  color: var(--forest-300);
  margin-bottom: 4px;
}

.stat-value {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}

/* Blackjack Table */
.blackjack-table {
  padding: 40px;
  background: linear-gradient(180deg, #0a4a2e 0%, #063824 100%);
  min-height: 400px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.dealer-section, .player-section {
  text-align: center;
}

.dealer-section h3, .player-section h3 {
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cards-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
  min-height: 120px;
}

.card-placeholder {
  width: 80px;
  height: 112px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed rgba(255,255,255,0.3);
}

.card-back {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--forest-600) 0%, var(--forest-800) 100%);
  border-radius: var(--radius-md);
  border: 2px solid rgba(255,255,255,0.2);
}

.placeholder-text {
  color: rgba(255,255,255,0.4);
  font-size: 11px;
  text-align: center;
  padding: 8px;
}

.hand-value {
  color: var(--forest-300);
  font-size: 18px;
  font-weight: 600;
}

.game-message {
  text-align: center;
  color: var(--white);
  font-size: 18px;
  font-weight: 600;
  padding: 16px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
}

.game-controls {
  padding: 32px 40px;
  background: var(--bg-page);
  border-top: 1px solid var(--border-color);
}

.bet-buttons, .action-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  justify-content: center;
}

.bet-btn {
  padding: 10px 20px;
  background: var(--white);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  transition: all var(--transition);
}

.bet-btn:hover {
  border-color: var(--forest-500);
  color: var(--forest-600);
}

.bet-btn.active {
  background: var(--forest-600);
  border-color: var(--forest-600);
  color: var(--white);
}

.action-btn {
  padding: 12px 28px;
  background: var(--slate-200);
  color: var(--text-primary);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  transition: all var(--transition);
}

.action-btn.primary {
  background: var(--forest-600);
  color: var(--white);
}

.action-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.action-btn.primary:hover {
  background: var(--forest-500);
}

/* Slots Machine */
.slots-machine {
  padding: 40px;
  background: linear-gradient(180deg, #1a237e 0%, #0d1545 100%);
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.slots-display {
  width: 100%;
  max-width: 500px;
  background: rgba(0,0,0,0.3);
  border-radius: var(--radius-xl);
  padding: 32px;
  border: 4px solid rgba(255,215,0,0.3);
  box-shadow: 0 0 40px rgba(255,215,0,0.2);
}

.reel-container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.reel {
  width: 100px;
  height: 100px;
  overflow: hidden;
  position: relative;
  background: rgba(0,0,0,0.3);
  border-radius: var(--radius-lg);
  border: 2px solid rgba(255,255,255,0.1);
}

.reel-symbol {
  font-size: 48px;
  animation: bounce 0.5s ease;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.payline-indicator {
  height: 4px;
  background: linear-gradient(90deg, transparent, rgba(255,215,0,0.5), transparent);
  border-radius: 2px;
}

.slots-info {
  width: 100%;
  max-width: 500px;
}

.payout-table {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.payout-table h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  text-align: center;
}

.payout-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.symbol {
  font-size: 20px;
}

.multiplier {
  color: #ffd700;
  font-weight: 600;
}

.spin-btn {
  width: 100%;
  max-width: 200px;
  height: 60px;
  font-size: 18px;
  font-weight: 700;
  background: linear-gradient(180deg, #ffd700 0%, #ffb300 100%);
  color: #000;
}

/* Poker Table */
.poker-table {
  padding: 40px;
  background: linear-gradient(180deg, #0a4a2e 0%, #063824 100%);
  min-height: 450px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.poker-controls {
  padding: 32px 40px;
  background: var(--bg-page);
  border-top: 1px solid var(--border-color);
}

.draw-instruction {
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 16px;
}

.hand-rankings {
  margin-top: 24px;
  padding: 24px;
  background: var(--slate-50);
  border-radius: var(--radius-lg);
}

.hand-rankings h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ranking-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--white);
  border-radius: var(--radius-sm);
  font-size: 13px;
}

.ranking-name {
  font-weight: 600;
  color: var(--forest-600);
}

.ranking-desc {
  color: var(--text-muted);
  font-size: 12px;
}

/* --- Additional Game Element Styles --- */

/* Card Styles */
.play-card {
  width: 80px;
  height: 112px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px;
  position: relative;
  cursor: default;
  transition: transform var(--transition), box-shadow var(--transition);
}

.play-card.player-card {
  cursor: pointer;
}

.play-card.player-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.play-card.player-card.held {
  border: 3px solid #ffd700;
  transform: translateY(-8px);
  box-shadow: 0 6px 20px rgba(255,215,0,0.3);
}

.play-card.red-card {
  color: #dc2626;
}

.play-card.black-card {
  color: #1f2937;
}

.play-card.face-down {
  background: linear-gradient(135deg, var(--forest-600) 0%, var(--forest-800) 100%);
  border: 2px solid rgba(255,255,255,0.2);
}

.card-top-val, .card-bottom-val {
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.card-top-val {
  text-align: left;
}

.card-bottom-val {
  text-align: right;
  transform: rotate(180deg);
}

.card-top-suit, .card-bottom-suit {
  font-size: 14px;
  line-height: 1;
}

.card-top-suit {
  text-align: right;
  margin-top: 2px;
}

.card-center-suit {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 32px;
  opacity: 0.3;
}

/* Blackjack Score */
.bj-score {
  font-size: 18px;
  font-weight: 600;
  color: var(--forest-300);
}

.bj-score.bust {
  color: #ef4444;
}

.bj-score.blackjack-score {
  color: #ffd700;
}

/* Slots Styles */
.reel {
  width: 100px;
  height: 100px;
  overflow: hidden;
  position: relative;
  background: rgba(0,0,0,0.3);
  border-radius: var(--radius-lg);
  border: 2px solid rgba(255,255,255,0.1);
}

.reel-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(0);
  will-change: transform;
}

.slot-symbol {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  flex-shrink: 0;
}

/* Chip Buttons */
.chip-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  border: 3px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 2px 8px rgba(245,158,11,0.3);
}

.chip-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245,158,11,0.5);
}

.chip-btn.selected {
  border-color: #ffd700;
  box-shadow: 0 0 16px rgba(255,215,0,0.6);
}

/* Control Panels */
.control-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px;
}

.control-panel button {
  min-width: 120px;
}

/* Result Messages */
.result-message {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
}

.result-message.result-win {
  background: var(--forest-100);
  color: var(--forest-700);
  border: 2px solid var(--forest-400);
}

.result-message.result-lose {
  background: var(--red-100);
  color: var(--red-500);
  border: 2px solid var(--red-300);
}

.result-message.result-push {
  background: var(--amber-100);
  color: #92400e;
  border: 2px solid var(--amber-300);
}

/* Slots Result Display */
.slots-result-display {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  padding: 16px;
  margin: 16px 0;
  border-radius: var(--radius-lg);
}

.slots-result-display.win-text {
  background: var(--forest-100);
  color: var(--forest-700);
}

.slots-result-display.lose-text {
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.6);
}

/* Aurora Overlay for Big Wins */
.aurora-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, 
    rgba(46,204,113,0.3) 0%, 
    rgba(155,89,182,0.3) 25%, 
    rgba(255,154,0,0.3) 50%, 
    rgba(52,152,219,0.3) 75%, 
    rgba(46,204,113,0.3) 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  border-radius: var(--radius-xl);
}

.aurora-overlay.active {
  opacity: 1;
  animation: aurora-pulse 2s ease;
}

@keyframes aurora-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* Game Toast Messages */
.game-message-toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--slate-900);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-lg);
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  z-index: 10001;
}

.game-message-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Bet Amount Display */
.bet-amount {
  font-size: 20px;
  font-weight: 700;
  color: var(--forest-600);
  min-width: 80px;
  text-align: center;
}

/* Drawing Controls */
.draw-instruction {
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 12px;
}

/* --- Additional Slots Fixes --- */
.slots-display {
  position: relative;
  overflow: hidden;
}

.reel {
  flex: 0 0 100px;
}


/* Fix for the spinning animation */
@keyframes slot-spin {
  0% { transform: translateY(0); }
  100% { transform: translateY(-100px); }
}
