﻿/* ============================================================
   Novali Games CASINO - Main Stylesheet
   Theme: Elegant dark/gold luxury casino aesthetic
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
  --bg-dark: #0f0c08;
  --bg-darker: #1a1408;
  --bg-card: #1e1a12;
  --bg-card-hover: #252016;
  --gold: #d4a843;
  --gold-light: #f0d060;
  --gold-muted: #a8873a;
  --cream: #f5ecd7;
  --burgundy: #6b1d1d;
  --burgundy-light: #8a2a2a;
  --text-primary: #f5ecd7;
  --text-secondary: #c4b896;
  --text-muted: #8a7e6a;
  --border-gold: #d4a843;
  --shadow-gold: rgba(212, 168, 67, 0.3);
  --overlay-dark: rgba(10, 8, 4, 0.92);
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  --transition-smooth: 0.3s ease;
  --max-width: 1200px;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition-smooth);
}

a:hover {
  color: var(--gold-light);
}

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

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--cream);
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* --- Gold Shimmer Animation --- */
@keyframes goldShimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

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

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 5px var(--shadow-gold); }
  50% { box-shadow: 0 0 20px var(--shadow-gold), 0 0 40px rgba(212, 168, 67, 0.15); }
}

.shimmer-text {
  background: linear-gradient(
    90deg,
    var(--gold) 0%,
    var(--gold-light) 25%,
    var(--cream) 50%,
    var(--gold-light) 75%,
    var(--gold) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldShimmer 4s linear infinite;
}

/* --- Ornamental Divider --- */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.ornament::before,
.ornament::after {
  content: '';
  flex: 1;
  max-width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.ornament-diamond {
  width: 10px;
  height: 10px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* --- Section Styling --- */
.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 0.75rem;
  color: var(--cream);
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 3rem;
  font-style: italic;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 12, 8, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 168, 67, 0.2);
  transition: background var(--transition-smooth);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 3px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-sub {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all var(--transition-smooth);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

button.nav-link {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.auth-play-link {
  color: var(--bg-darker);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  font-weight: 700;
}

.auth-play-link:hover {
  color: var(--bg-darker);
  box-shadow: 0 0 18px rgba(212, 168, 67, 0.25);
}

.auth-user-control {
  color: var(--gold);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--gold);
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold);
  margin-left: 0.75rem;
  flex-shrink: 0;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transition: all var(--transition-smooth);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7rem 1.25rem 4rem;
  position: relative;
  background: url('../herobgn.jpg') center/cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(15, 12, 8, 0.88) 0%, rgba(15, 12, 8, 0.72) 50%, rgba(15, 12, 8, 0.88) 100%),
    radial-gradient(ellipse at 50% 30%, rgba(212, 168, 67, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(107, 29, 29, 0.1) 0%, transparent 50%);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, var(--bg-dark) 100%);
  z-index: 1;
}

.hero-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-text {
  flex: 0 0 55%;
  max-width: 55%;
  text-align: left;
}

.hero-image {
  flex: 0 0 40%;
  max-width: 40%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  border-radius: 12px;
  transform: rotate(2deg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(212, 168, 67, 0.2);
  border: 2px solid rgba(212, 168, 67, 0.3);
}

.hero-content {
  max-width: 750px;
  animation: fadeInUp 1s ease-out;
}

.hero h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  letter-spacing: 1px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
  font-style: italic;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-smooth);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--bg-dark);
  box-shadow: 0 4px 20px rgba(212, 168, 67, 0.3);
}

.btn-primary:hover {
  color: var(--bg-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(212, 168, 67, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn-outline:hover {
  background: rgba(212, 168, 67, 0.1);
  color: var(--gold-light);
}

/* ============================================================
   GAME CARDS
   ============================================================ */
.games-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid rgba(212, 168, 67, 0.15);
  border-radius: 8px;
  overflow: hidden;
  transition: all var(--transition-smooth);
  position: relative;
}

.game-card:hover {
  border-color: var(--gold);
  box-shadow: 0 0 25px rgba(212, 168, 67, 0.2), 0 10px 40px rgba(0, 0, 0, 0.4);
  transform: translateY(-5px);
}

.game-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid rgba(212, 168, 67, 0.15);
}

.game-card-body {
  padding: 1.25rem;
}

.game-card-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(212, 168, 67, 0.1);
  border: 1px solid rgba(212, 168, 67, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 3px;
  margin-bottom: 0.75rem;
}

.game-card-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.game-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.game-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
}

.game-card-link::after {
  content: '\2192';
  transition: transform var(--transition-smooth);
}

.game-card-link:hover::after {
  transform: translateX(4px);
}

/* ============================================================
   FEATURE / INFO SECTIONS
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(212, 168, 67, 0.1);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color var(--transition-smooth);
}

.feature-card:hover {
  border-color: rgba(212, 168, 67, 0.3);
}

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

.feature-card h3 {
  margin-bottom: 0.75rem;
  color: var(--cream);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- Responsible Gambling Teaser --- */
.rg-teaser {
  background: var(--bg-darker);
  border: 1px solid rgba(107, 29, 29, 0.4);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  text-align: center;
  margin-top: 3rem;
}

.rg-teaser h3 {
  color: var(--burgundy-light);
  margin-bottom: 0.75rem;
}

.rg-teaser p {
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

/* ============================================================
   AGE VERIFICATION MODAL
   ============================================================ */
.age-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: var(--overlay-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 1;
  transition: opacity 0.4s ease;
}

.age-modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

/* ============================================================
   ACCOUNT AUTHENTICATION
   ============================================================ */
.auth-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(8, 6, 4, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.auth-modal.active {
  display: flex;
}

body.auth-modal-open {
  overflow: hidden;
}

.auth-modal-panel {
  position: relative;
  width: min(100%, 440px);
  max-height: calc(100vh - 2.5rem);
  overflow-y: auto;
  padding: 2.25rem;
  border: 1px solid var(--gold);
  border-radius: 8px;
  background: var(--bg-darker);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65), 0 0 45px rgba(212, 168, 67, 0.1);
}

.auth-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.auth-kicker {
  margin-bottom: 0.65rem;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.auth-form h2 {
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
}

.auth-form > p {
  margin-bottom: 1.35rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.auth-form label:not(.auth-consent) {
  display: block;
  margin: 0.85rem 0 0.4rem;
  color: var(--cream);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.auth-form input:not([type="checkbox"]) {
  width: 100%;
  height: 46px;
  padding: 0 0.85rem;
  border: 1px solid rgba(212, 168, 67, 0.3);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--cream);
  font: inherit;
}

.auth-form input:not([type="checkbox"]):focus {
  border-color: var(--gold);
}

.auth-consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 0.65rem;
  align-items: start;
  margin-top: 1.1rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.auth-consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--gold);
}

.auth-consent a,
.auth-switch button {
  color: var(--gold-light);
  text-decoration: underline;
}

.auth-message {
  min-height: 21px;
  margin-top: 0.85rem;
  color: var(--burgundy-light);
  font-size: 0.82rem;
}

.auth-submit {
  width: 100%;
}

.auth-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.auth-form .auth-switch {
  margin: 1.1rem 0 0;
  text-align: center;
}

.auth-switch button {
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.auth-form[hidden] {
  display: none;
}

.age-modal {
  background: var(--bg-darker);
  border: 1px solid var(--gold);
  border-radius: 12px;
  padding: 3rem 2.5rem;
  max-width: 480px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 0 60px rgba(212, 168, 67, 0.15);
}

.age-modal-logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
}

.age-modal h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--cream);
}

.age-modal p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.age-modal-disclaimer {
  background: rgba(107, 29, 29, 0.2);
  border: 1px solid rgba(107, 29, 29, 0.4);
  border-radius: 6px;
  padding: 1rem;
  margin: 1.5rem 0;
}

.age-modal-disclaimer p {
  color: var(--burgundy-light);
  font-size: 0.8rem;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.age-modal-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.age-modal-buttons .btn {
  flex: 1;
  text-align: center;
}

.btn-decline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(138, 126, 106, 0.3);
}

.btn-decline:hover {
  color: var(--cream);
  border-color: var(--text-muted);
}

/* ============================================================
   GAME PAGE (Individual)
   ============================================================ */
.game-page-header {
  padding: 8rem 1.25rem 3rem;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(212, 168, 67, 0.06) 0%, transparent 60%),
    var(--bg-dark);
}

.game-page-header h1 {
  margin-bottom: 0.75rem;
}

.game-free-badge {
  display: inline-block;
  background: rgba(212, 168, 67, 0.15);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.4rem 1.2rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.game-page-desc {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.game-iframe-wrapper {
  max-width: 1000px;
  margin: 0 auto 3rem;
  border: 1px solid rgba(212, 168, 67, 0.2);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
  position: relative;
}

.game-iframe-wrapper iframe {
  width: 100%;
  height: 550px;
  border: none;
  display: block;
  background: #000;
  transition: filter 0.35s ease, transform 0.35s ease;
}

.game-iframe-wrapper.auth-game-locked iframe {
  filter: blur(14px) brightness(0.4);
  transform: scale(1.03);
  pointer-events: none;
  user-select: none;
}

.game-auth-gate {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(8, 6, 4, 0.4);
  text-align: center;
}

.game-auth-gate[hidden] {
  display: none;
}

.game-auth-gate-content {
  width: min(100%, 450px);
  padding: 2rem;
  border: 1px solid var(--gold);
  border-radius: 8px;
  background: rgba(15, 12, 8, 0.94);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.game-auth-gate-content h2 {
  margin-bottom: 0.65rem;
  font-size: 1.7rem;
}

.game-auth-gate-content p {
  margin-bottom: 1.35rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.game-auth-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.game-auth-actions .btn {
  min-width: 130px;
}

@media (max-width: 479px) {
  .auth-modal-panel {
    padding: 1.75rem 1.25rem;
  }

  .game-auth-gate {
    padding: 1rem;
  }

  .game-auth-gate-content {
    min-width: 0;
    padding: 1.5rem 1.1rem;
  }

  .game-auth-actions {
    gap: 0.5rem;
  }

  .game-auth-actions .btn {
    flex: 1;
    min-width: 0;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }
}

.game-notice {
  max-width: 700px;
  margin: 0 auto 4rem;
  background: rgba(107, 29, 29, 0.15);
  border: 1px solid rgba(107, 29, 29, 0.3);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
}

.game-notice p {
  color: var(--burgundy-light);
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.5px;
}

/* ============================================================
   CONTENT PAGES (About, RG, Privacy, Terms, Contact)
   ============================================================ */
.page-header {
  padding: 8rem 1.25rem 3rem;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(212, 168, 67, 0.06) 0%, transparent 60%),
    var(--bg-dark);
}

.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}

.page-content h2 {
  color: var(--gold);
  margin: 2rem 0 1rem;
  font-size: 1.4rem;
}

.page-content h3 {
  color: var(--cream);
  margin: 1.5rem 0 0.75rem;
  font-size: 1.15rem;
}

.page-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.page-content ul {
  margin: 1rem 0 1.5rem 1.5rem;
}

.page-content ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.page-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}

.page-content a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-content a:hover {
  color: var(--gold-light);
}

.page-disclaimer {
  background: rgba(212, 168, 67, 0.08);
  border: 1px solid rgba(212, 168, 67, 0.2);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.page-disclaimer p {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  margin: 0;
  letter-spacing: 0.5px;
}

/* --- RG Self-Assessment --- */
.rg-list {
  margin: 1.5rem 0;
}

.rg-list li {
  list-style: decimal;
  margin-bottom: 0.75rem;
  padding-left: 0.5rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-darker);
  border-top: 1px solid rgba(212, 168, 67, 0.15);
  padding: 3rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color var(--transition-smooth);
}

.footer-col ul li a:hover {
  color: var(--gold);
}

.footer-disclaimer {
  text-align: center;
  padding: 1.5rem 1.25rem;
  border-top: 1px solid rgba(212, 168, 67, 0.1);
}

.footer-disclaimer p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.footer-disclaimer .no-real-money {
  color: var(--burgundy-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.7rem;
}

.footer-bottom {
  text-align: center;
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(212, 168, 67, 0.08);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.footer-18-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold);
  margin: 1rem auto 0.5rem;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Mobile: up to 480px (base styles are mobile-first) */

/* Small tablets & large phones: 480px+ */
@media (min-width: 480px) {
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

/* Tablets: 768px+ */
@media (min-width: 768px) {
  .hamburger {
    display: none !important;
  }

  .nav {
    display: flex !important;
    position: static;
    background: none;
    flex-direction: row;
    width: auto;
  }

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

  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .game-iframe-wrapper iframe {
    height: 600px;
  }
}

/* Desktop: 1024px+ */
@media (min-width: 1024px) {
  .games-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .game-card-image {
    height: 220px;
  }

  .hero h1 {
    font-size: 3.5rem;
  }
}

/* Mobile nav overlay - shown on small screens */
@media (max-width: 767px) {
  .hero-grid {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .hero-text {
    flex: none;
    max-width: 100%;
    width: 100%;
    text-align: center;
  }

  .hero-image {
    flex: none;
    max-width: 260px;
    width: 260px;
    margin-top: 12px;
  }

  .hero-image img {
    transform: rotate(1deg);
  }

  .hamburger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    height: calc(100vh - 70px);
    height: calc(100dvh - 70px);
    overflow-y: auto;
    background: rgba(15, 12, 8, 0.98);
    border-top: 1px solid rgba(212, 168, 67, 0.2);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 2rem;
    gap: 0.5rem;
    transform: translateX(100%);
    transition: transform var(--transition-smooth);
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
  }

  .age-badge {
    margin-left: 0;
    margin-top: 1rem;
  }
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-cream { color: var(--cream); }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
