/* ============================================================
   Westminster Evening Club — Shared Styles
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --navy:        #0B1520;
  --navy-light:  #112030;
  --navy-mid:    #1A2E42;
  --navy-card:   #162438;
  --gold:        #C9A052;
  --gold-light:  #D4B470;
  --gold-dark:   #9A7A38;
  --cream:       #F3ECDC;
  --cream-dark:  #E4D8C0;
  --green-dark:  #1A3328;
  --green-mid:   #2A4A3A;
  --burgundy:    #6B1E2A;
  --text-light:  #EAE0CC;
  --text-muted:  #8A7E6A;
  --text-dark:   #1A1410;
  --border:      rgba(201, 160, 82, 0.25);
  --border-strong: rgba(201, 160, 82, 0.5);
  --shadow-gold: 0 0 30px rgba(201, 160, 82, 0.15);
  --radius:      4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --transition:  0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--navy);
  color: var(--text-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  font-weight: 700;
}

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

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

/* ---- Utility ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-gold  { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--cream);
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
}

/* ---- Divider ---- */
.ornament {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
}
.ornament::before, .ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.ornament-diamond {
  width: 8px; height: 8px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--navy);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(201, 160, 82, 0.35);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--border-strong);
}
.btn-outline:hover {
  background: rgba(201, 160, 82, 0.1);
  color: var(--gold-light);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text-light);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.05);
  border-color: var(--border-strong);
}
.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
}

/* ---- Card ---- */
.card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all var(--transition);
}
.card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-gold); }

/* ---- Header / Nav ---- */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: rgba(11, 21, 32, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-decoration: none;
}
.nav-logo-main {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.04em;
  line-height: 1.1;
}
.nav-logo-sub {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
  text-decoration: none;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-coins-display {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(201, 160, 82, 0.1);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
}
.nav-coins-icon { font-size: 0.9rem; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-light);
  transition: all var(--transition);
  border-radius: 2px;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--border);
  gap: 4px;
}
.nav-mobile a {
  padding: 10px 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-mobile a:hover { color: var(--gold); }
.nav-mobile.open { display: flex; }

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
}

/* ---- Page Header ---- */
.page-hero {
  padding: 140px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, var(--navy-light) 0%, var(--navy) 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,160,82,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); color: var(--cream); margin-bottom: 16px; }
.page-hero p { color: var(--text-muted); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* ---- Footer ---- */
#site-footer {
  background: var(--navy-light);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand {}
.footer-brand-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--cream);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.footer-brand-tagline {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 300px;
}
.footer-col-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 20px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
  text-decoration: none;
}
.footer-links a:hover { color: var(--gold); }

.footer-disclaimer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  margin-top: 0;
}
.disclaimer-box {
  background: rgba(201, 160, 82, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 24px;
}
.disclaimer-box p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.disclaimer-box strong { color: var(--text-light); font-weight: 600; }
.disclaimer-box a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 20px;
  border-top: 1px solid var(--border);
}
.footer-copyright {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.footer-age-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}
.age-badge {
  width: 28px; height: 28px;
  border: 2px solid var(--text-muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--text-muted);
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ---- Age Modal ---- */
#age-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(7, 13, 22, 0.97);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
#age-modal.hidden { display: none; }
.age-modal-box {
  background: var(--navy-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  box-shadow: 0 0 80px rgba(0,0,0,0.6), var(--shadow-gold);
}
.age-modal-crest {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1;
}
.age-modal-box h2 {
  font-size: 1.6rem;
  color: var(--cream);
  margin-bottom: 8px;
}
.age-modal-box > p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
  line-height: 1.6;
}
.age-check-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  cursor: pointer;
  margin-bottom: 24px;
  padding: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}
.age-check-label:hover { border-color: var(--border-strong); }
.age-check-label input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--gold);
  flex-shrink: 0;
  margin-top: 1px;
  cursor: pointer;
}
.age-check-label span {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.age-check-label span strong { color: var(--text-light); }
#age-confirm-btn {
  width: 100%;
  padding: 14px;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
}
.age-modal-disclaimer {
  margin-top: 16px;
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ---- Cookie Banner ---- */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 8000;
  background: var(--navy-light);
  border-top: 1px solid var(--border);
  padding: 16px 24px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
#cookie-banner.show { transform: translateY(0); }
.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-inner p {
  flex: 1;
  font-size: 0.82rem;
  color: var(--text-muted);
  min-width: 260px;
  line-height: 1.5;
}
.cookie-inner p a { color: var(--gold); }
.cookie-btns {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* ---- Game Common ---- */
.game-page-main {
  padding-top: 100px;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--navy-light) 0%, var(--navy) 30%);
}
.game-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  align-items: start;
  padding: 32px 0 60px;
}
.game-arena {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.game-arena-header {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%);
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.game-arena-title {
  font-size: 1.1rem;
  color: var(--cream);
  font-family: 'Playfair Display', serif;
}
.game-arena-body { padding: 28px; }
.game-sidebar {}
.sidebar-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
}
.sidebar-card-title {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}
.coin-display {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.coin-display-label { font-size: 0.75rem; color: var(--text-muted); }

@media (max-width: 900px) {
  .game-layout { grid-template-columns: 1fr; }
  .game-sidebar { order: -1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .sidebar-card { margin-bottom: 0; }
}
@media (max-width: 540px) {
  .game-sidebar { grid-template-columns: 1fr; }
}

/* ---- Content Page ---- */
.content-page { padding: 32px 0 80px; }
.content-page h2 {
  font-size: 1.5rem;
  color: var(--cream);
  margin: 36px 0 12px;
}
.content-page h3 {
  font-size: 1.1rem;
  color: var(--gold);
  margin: 24px 0 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}
.content-page p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}
.content-page ul {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}
.content-page ul li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 6px 0 6px 20px;
  position: relative;
  line-height: 1.6;
}
.content-page ul li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--gold);
}
.content-box {
  background: rgba(201,160,82,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 24px 0;
}
.content-box p { margin: 0; }

/* ---- Animations ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.animate-in { animation: fadeInUp 0.5s ease both; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .page-hero { padding: 120px 0 60px; }
}
