/* ============================================
   Crown & Quill Play — Design System
   Theme: Royal library / social parlor
   Palette: Emerald + Gold + Cream (no purple/indigo)
   ============================================ */

/* --- Design Tokens --- */
:root {
  /* Color ramps */
  --emerald-900: #0a2e22;
  --emerald-800: #0f3d2e;
  --emerald-700: #155c44;
  --emerald-600: #1d7a5c;
  --emerald-500: #2a9d74;
  --emerald-400: #4cc194;
  --emerald-300: #8fe0bf;
  --emerald-200: #c4f0dc;

  --gold-900: #5a4408;
  --gold-800: #7a5c12;
  --gold-700: #a07a16;
  --gold-600: #c9a227;
  --gold-500: #e0bd3e;
  --gold-400: #f4d58d;
  --gold-300: #f9e6b0;
  --gold-200: #fdf3d4;

  --cream-50: #fdfaf3;
  --cream-100: #faf3e3;
  --cream-200: #f4ead0;
  --cream-300: #e9dab4;

  --ink-900: #1a1a1a;
  --ink-800: #2d2d2d;
  --ink-700: #444444;
  --ink-600: #6b6b6b;
  --ink-500: #8a8a8a;
  --ink-400: #a8a8a8;
  --ink-300: #c4c4c4;
  --ink-200: #e0e0e0;
  --ink-100: #f0f0f0;

  --success-600: #2a9d74;
  --success-100: #d4f5e8;
  --warning-600: #d4951e;
  --warning-100: #fdf3d4;
  --error-600: #c0392b;
  --error-100: #fadbd8;

  /* Semantic */
  --bg: var(--cream-50);
  --bg-alt: var(--cream-100);
  --surface: #ffffff;
  --surface-elevated: #ffffff;
  --text: var(--ink-900);
  --text-muted: var(--ink-600);
  --text-faint: var(--ink-500);
  --border: var(--cream-200);
  --border-strong: var(--cream-300);
  --primary: var(--emerald-700);
  --primary-hover: var(--emerald-600);
  --primary-contrast: var(--cream-50);
  --accent: var(--gold-600);
  --accent-hover: var(--gold-500);
  --accent-contrast: var(--ink-900);

  /* Typography */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

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

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(10,46,34,0.06), 0 1px 3px rgba(10,46,34,0.04);
  --shadow-md: 0 4px 12px rgba(10,46,34,0.08), 0 2px 4px rgba(10,46,34,0.04);
  --shadow-lg: 0 12px 32px rgba(10,46,34,0.12), 0 4px 8px rgba(10,46,34,0.06);
  --shadow-gold: 0 0 0 1px rgba(201,162,39,0.3), 0 8px 24px rgba(201,162,39,0.15);

  /* Transitions */
  --t-fast: 150ms cubic-bezier(0.4,0,0.2,1);
  --t-base: 250ms cubic-bezier(0.4,0,0.2,1);
  --t-slow: 400ms cubic-bezier(0.4,0,0.2,1);
  --t-bounce: 500ms cubic-bezier(0.34,1.56,0.64,1);

  /* Layout */
  --maxw: 1200px;
  --maxw-narrow: 820px;
  --header-h: 72px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--primary-hover); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* --- Typography --- */
h1, h2, h3, h4, h5 { font-family: var(--font-display); line-height: 1.2; font-weight: 700; color: var(--ink-900); }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p { line-height: 1.6; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-700);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}
.eyebrow::before {
  content: "";
  width: 24px; height: 2px;
  background: var(--gold-600);
  border-radius: 2px;
}
.lead { font-size: 1.15rem; color: var(--text-muted); line-height: 1.7; max-width: 60ch; }

/* --- Layout helpers --- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--sp-5); }
.container-narrow { max-width: var(--maxw-narrow); }
.section { padding: var(--sp-11) 0; }
.section-sm { padding: var(--sp-9) 0; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mb-2 { margin-bottom: var(--sp-2); }
.mb-3 { margin-bottom: var(--sp-3); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-5 { margin-bottom: var(--sp-5); }
.mb-6 { margin-bottom: var(--sp-6); }
.mb-7 { margin-bottom: var(--sp-7); }
.mb-8 { margin-bottom: var(--sp-8); }
.mt-6 { margin-top: var(--sp-6); }
.mt-8 { margin-top: var(--sp-8); }
.grid { display: grid; gap: var(--sp-6); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--r-full);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all var(--t-base);
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--primary);
  color: var(--primary-contrast);
}
.btn-primary:hover {
  background: var(--primary-hover);
  color: var(--primary-contrast);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--accent-contrast);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(201,162,39,0.3);
}
.btn-outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--emerald-200);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  padding: var(--sp-2) var(--sp-4);
}
.btn-ghost:hover { color: var(--primary); }
.btn-lg { padding: var(--sp-4) var(--sp-8); font-size: 1.05rem; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }
.btn:active { transform: translateY(0) scale(0.98); }

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(253,250,243,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background var(--t-base), box-shadow var(--t-base);
}
.site-header.scrolled {
  background: rgba(253,250,243,0.97);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  height: 100%;
  padding: 0 var(--sp-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.brand:hover { color: var(--ink-900); }
.brand-mark {
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  background: var(--emerald-800);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand-mark svg { width: 26px; height: 26px; }
.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
}
.brand-name { white-space: nowrap; }
.brand-name span { color: var(--gold-700); }

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}
.nav-link {
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-md);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--t-fast);
}
.nav-link:hover { color: var(--primary); background: var(--emerald-200); }

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.coin-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-full);
  background: var(--cream-100);
  border: 1px solid var(--border-strong);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-900);
}
.coin-badge svg { width: 18px; height: 18px; }

/* Mobile nav */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  align-items: center; justify-content: center;
  color: var(--text);
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  transition: all var(--t-base);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: all var(--t-base);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open span::after { top: 0; transform: rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: var(--sp-4) var(--sp-5) var(--sp-6);
  box-shadow: var(--shadow-lg);
  z-index: 99;
}
.mobile-menu.open { display: block; animation: slideDown var(--t-base); }
.mobile-menu .nav-link {
  display: block;
  padding: var(--sp-3) var(--sp-4);
  font-size: 1rem;
  border-radius: var(--r-md);
}
.mobile-menu .nav-link:hover { background: var(--cream-100); }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .coin-badge { display: none; }
}
@media (max-width: 900px) {
  .mobile-menu .coin-badge { display: inline-flex; margin-bottom: var(--sp-3); }
}

/* --- Hero --- */
.hero {
  position: relative;
  padding: var(--sp-12) 0 var(--sp-11);
  background:
    linear-gradient(90deg, rgba(255, 253, 247, 0.96) 0%, rgba(255, 253, 247, 0.86) 44%, rgba(255, 253, 247, 0.28) 100%),
    url("assets/hero.png") center / cover no-repeat;
  overflow: hidden;
}
.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--sp-5);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--sp-9);
  align-items: center;
}
.hero-content { max-width: 560px; }
.hero h1 { margin: var(--sp-5) 0 var(--sp-5); }
.hero h1 .accent-word {
  color: var(--gold-700);
  font-style: italic;
  position: relative;
}
.hero-lead { font-size: 1.2rem; color: var(--text-muted); line-height: 1.7; margin-bottom: var(--sp-7); }
.hero-cta { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: var(--sp-7);
  margin-top: var(--sp-9);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--border);
}
.hero-stat .num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ink-900);
}
.hero-stat .label {
  font-size: 0.82rem;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-card-stack {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4/5;
}
.hero-card {
  position: absolute;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: transform var(--t-slow);
}
.hero-card-1 {
  width: 70%; height: 80%;
  top: 5%; left: 0;
  background: linear-gradient(145deg, var(--emerald-700), var(--emerald-900));
  transform: rotate(-6deg);
  display: flex; align-items: center; justify-content: center;
}
.hero-card-2 {
  width: 70%; height: 80%;
  top: 12%; right: 0;
  background: linear-gradient(145deg, var(--gold-500), var(--gold-700));
  transform: rotate(5deg);
  display: flex; align-items: center; justify-content: center;
}
.hero-card-3 {
  width: 60%; height: 50%;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: var(--sp-5);
  text-align: center;
  z-index: 2;
}
.hero-card-3 .label { font-size: 0.75rem; color: var(--text-faint); letter-spacing: 0.1em; text-transform: uppercase; }
.hero-card-3 .value { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--gold-700); }
.hero-card-icon { width: 60%; height: auto; opacity: 0.9; }

.hero-particle {
  position: absolute;
  border-radius: 50%;
  background: var(--gold-400);
  opacity: 0.3;
  animation: floatParticle 6s ease-in-out infinite;
}
@keyframes floatParticle {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
  50% { transform: translateY(-20px) scale(1.1); opacity: 0.5; }
}

@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-content { max-width: 100%; margin: 0 auto; }
  .hero-cta, .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
}

/* --- Section headers --- */
.section-head { text-align: center; max-width: 640px; margin: 0 auto var(--sp-9); }
.section-head .eyebrow { margin-bottom: var(--sp-3); }
.section-head h2 { margin-bottom: var(--sp-3); }
.section-head p { color: var(--text-muted); font-size: 1.08rem; }

/* --- Game cards --- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
.game-card {
  background: var(--surface);
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  display: flex;
  flex-direction: column;
}
.game-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-400);
}
.game-card-banner {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.game-card-banner svg { width: 80px; height: 80px; transition: transform var(--t-slow); }
.game-card:hover .game-card-banner svg { transform: scale(1.1) rotate(3deg); }
.banner-slots { background: linear-gradient(135deg, var(--emerald-600), var(--emerald-900)); }
.banner-blackjack { background: linear-gradient(135deg, var(--gold-600), var(--gold-800)); }
.banner-roulette { background: linear-gradient(135deg, var(--emerald-700), var(--gold-700)); }
.game-card-body { padding: var(--sp-6); flex: 1; display: flex; flex-direction: column; }
.game-card-body h3 { margin-bottom: var(--sp-2); }
.game-card-body p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: var(--sp-5); flex: 1; }
.game-card-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: 4px 10px;
  border-radius: var(--r-full);
  background: var(--cream-100);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: var(--sp-4);
  width: fit-content;
}
.game-card-cta { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); }

@media (max-width: 880px) {
  .games-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

/* --- Benefits --- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
}
.benefit-card {
  text-align: center;
  padding: var(--sp-6);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all var(--t-base);
}
.benefit-card:hover {
  border-color: var(--gold-400);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.benefit-icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: var(--emerald-200);
  color: var(--emerald-800);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--sp-4);
}
.benefit-icon svg { width: 28px; height: 28px; }
.benefit-card h4 { margin-bottom: var(--sp-2); }
.benefit-card p { font-size: 0.9rem; color: var(--text-muted); }

@media (max-width: 880px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .benefits-grid { grid-template-columns: 1fr; }
}

/* --- CTA band --- */
.cta-band {
  background: linear-gradient(135deg, var(--emerald-800), var(--emerald-900));
  border-radius: var(--r-xl);
  padding: var(--sp-10) var(--sp-7);
  text-align: center;
  color: var(--cream-50);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(201,162,39,0.2), transparent);
}
.cta-band h2 { color: var(--cream-50); position: relative; margin-bottom: var(--sp-3); }
.cta-band p { color: var(--emerald-200); position: relative; margin-bottom: var(--sp-6); font-size: 1.1rem; }
.cta-band .btn { position: relative; }

/* --- Footer --- */
.site-footer {
  margin-top: auto;
  background: var(--emerald-900);
  color: var(--cream-200);
  padding: var(--sp-10) 0 var(--sp-5);
}
.footer-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--sp-5);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--sp-7);
}
.footer-brand .brand { color: var(--cream-50); margin-bottom: var(--sp-4); }
.footer-brand .brand-name span { color: var(--gold-400); }
.footer-brand p { color: var(--emerald-300); font-size: 0.9rem; max-width: 280px; }
.footer-contact-info {
  display: grid;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(255,255,255,0.12);
}
.footer-contact-info span {
  display: block;
  margin-bottom: 3px;
  color: var(--gold-400);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-brand .footer-contact-info p {
  color: var(--cream-200);
  font-size: 0.82rem;
  line-height: 1.5;
}
.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: var(--sp-4);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-col a { color: var(--cream-200); font-size: 0.92rem; }
.footer-col a:hover { color: var(--gold-400); }

.footer-disclaimer {
  max-width: var(--maxw);
  margin: var(--sp-8) auto 0;
  padding: var(--sp-5);
  border-top: 1px solid rgba(244,213,141,0.15);
}
.disclaimer-box {
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(244,213,141,0.2);
  border-radius: var(--r-md);
  padding: var(--sp-5);
}
.disclaimer-box p { color: var(--emerald-300); font-size: 0.85rem; line-height: 1.6; }
.disclaimer-box strong { color: var(--gold-400); }
.disclaimer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-5);
  margin-top: var(--sp-4);
}
.disclaimer-links a {
  color: var(--emerald-200);
  font-size: 0.85rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.disclaimer-links a:hover { color: var(--gold-400); }

.footer-bottom {
  max-width: var(--maxw);
  margin: var(--sp-6) auto 0;
  padding: var(--sp-5) var(--sp-5) 0;
  border-top: 1px solid rgba(244,213,141,0.15);
  text-align: center;
  color: var(--emerald-300);
  font-size: 0.85rem;
}

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* --- Age modal --- */
.age-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,46,34,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-5);
  animation: fadeIn var(--t-base);
}
.age-overlay.hidden { display: none; }
.age-modal {
  background: var(--surface);
  border-radius: var(--r-xl);
  max-width: 440px;
  width: 100%;
  padding: var(--sp-8) var(--sp-7);
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: modalIn var(--t-bounce);
}
.age-modal-icon {
  width: 64px; height: 64px;
  border-radius: var(--r-full);
  background: var(--emerald-200);
  color: var(--emerald-800);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--sp-5);
}
.age-modal-icon svg { width: 32px; height: 32px; }
.age-modal h2 { margin-bottom: var(--sp-3); }
.age-modal p { color: var(--text-muted); margin-bottom: var(--sp-5); }
.age-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  text-align: left;
  padding: var(--sp-4);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin-bottom: var(--sp-5);
  cursor: pointer;
  transition: all var(--t-fast);
}
.age-checkbox-row:hover { border-color: var(--gold-400); background: var(--cream-100); }
.age-checkbox-row.checked { border-color: var(--primary); background: var(--emerald-200); }
.age-checkbox {
  width: 22px; height: 22px;
  border: 2px solid var(--border-strong);
  border-radius: var(--r-sm);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t-fast);
  margin-top: 1px;
}
.age-checkbox-row.checked .age-checkbox {
  background: var(--primary);
  border-color: var(--primary);
}
.age-checkbox svg { width: 14px; height: 14px; color: white; opacity: 0; transition: opacity var(--t-fast); }
.age-checkbox-row.checked .age-checkbox svg { opacity: 1; }
.age-checkbox-label { font-size: 0.92rem; color: var(--text); line-height: 1.5; }
.age-checkbox-label a { color: var(--primary); text-decoration: underline; }
.age-modal .btn { width: 100%; }
.age-modal-denied {
  display: none;
  margin-top: var(--sp-4);
  padding: var(--sp-3);
  border-radius: var(--r-md);
  background: var(--error-100);
  color: var(--error-600);
  font-size: 0.9rem;
}
.age-modal-denied.show { display: block; animation: shake 0.4s; }
@keyframes shake {
  0%,100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

/* --- Cookie banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(10,46,34,0.1);
  padding: var(--sp-5);
  z-index: 9000;
  transform: translateY(100%);
  transition: transform var(--t-slow);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  flex-wrap: wrap;
}
.cookie-text { flex: 1; min-width: 280px; }
.cookie-text p { font-size: 0.9rem; color: var(--text-muted); }
.cookie-text a { text-decoration: underline; }
.cookie-actions { display: flex; gap: var(--sp-3); flex-shrink: 0; }

@media (max-width: 600px) {
  .cookie-inner { flex-direction: column; align-items: stretch; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; }
}

/* --- Page hero (inner pages) --- */
.page-hero {
  padding: var(--sp-10) 0 var(--sp-9);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, var(--emerald-200) 0%, transparent 60%),
    var(--cream-50);
  text-align: center;
}
.page-hero .container { max-width: var(--maxw-narrow); }
.page-hero h1 { margin: var(--sp-4) 0 var(--sp-4); }
.page-hero p { font-size: 1.15rem; color: var(--text-muted); max-width: 60ch; margin: 0 auto; }
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: var(--sp-2);
  font-size: 0.85rem;
  color: var(--text-faint);
  margin-bottom: var(--sp-3);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb span { color: var(--text-faint); }

/* --- Content prose --- */
.prose { max-width: var(--maxw-narrow); margin: 0 auto; }
.prose h2 { margin-top: var(--sp-9); margin-bottom: var(--sp-4); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--sp-7); margin-bottom: var(--sp-3); color: var(--ink-800); }
.prose p { margin-bottom: var(--sp-4); color: var(--ink-700); }
.prose ul { margin: var(--sp-3) 0 var(--sp-5); padding-left: var(--sp-5); }
.prose ul li { list-style: disc; margin-bottom: var(--sp-2); color: var(--ink-700); }
.prose ol { margin: var(--sp-3) 0 var(--sp-5); padding-left: var(--sp-5); }
.prose ol li { list-style: decimal; margin-bottom: var(--sp-2); color: var(--ink-700); }
.prose strong { color: var(--ink-900); }
.prose a { text-decoration: underline; text-underline-offset: 2px; }

/* --- Info cards (content pages) --- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin: var(--sp-8) 0;
}
.info-grid.two-col { grid-template-columns: repeat(2, 1fr); }
.info-card {
  padding: var(--sp-6);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all var(--t-base);
}
.info-card:hover { border-color: var(--gold-400); box-shadow: var(--shadow-md); }
.info-card .step-num {
  width: 40px; height: 40px;
  border-radius: var(--r-full);
  background: var(--emerald-700);
  color: var(--cream-50);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: var(--sp-4);
}
.info-card h4 { margin-bottom: var(--sp-2); }
.info-card p { color: var(--text-muted); font-size: 0.92rem; }

@media (max-width: 760px) {
  .info-grid, .info-grid.two-col { grid-template-columns: 1fr; }
}

/* --- FAQ accordion --- */
.faq-list { max-width: var(--maxw-narrow); margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  margin-bottom: var(--sp-3);
  overflow: hidden;
  transition: border-color var(--t-fast);
}
.faq-item.open { border-color: var(--gold-400); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5);
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink-900);
}
.faq-question:hover { color: var(--primary); }
.faq-icon {
  width: 28px; height: 28px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-full);
  background: var(--cream-100);
  transition: all var(--t-base);
}
.faq-item.open .faq-icon { background: var(--gold-400); transform: rotate(45deg); }
.faq-icon svg { width: 16px; height: 16px; color: var(--ink-700); transition: color var(--t-base); }
.faq-item.open .faq-icon svg { color: var(--ink-900); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow);
}
.faq-answer-inner { padding: 0 var(--sp-5) var(--sp-5); color: var(--text-muted); }

/* --- Help center cards --- */
.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
.help-card {
  padding: var(--sp-6);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all var(--t-base);
  display: flex;
  flex-direction: column;
}
.help-card:hover { border-color: var(--gold-400); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.help-card-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: var(--emerald-200);
  color: var(--emerald-800);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-4);
}
.help-card-icon svg { width: 24px; height: 24px; }
.help-card h4 { margin-bottom: var(--sp-2); }
.help-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: var(--sp-4); flex: 1; }
.help-card a { font-weight: 600; font-size: 0.9rem; }

@media (max-width: 760px) { .help-grid { grid-template-columns: 1fr; } }

/* --- Community --- */
.community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
.community-card {
  padding: var(--sp-6);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
  transition: all var(--t-base);
}
.community-card:hover { border-color: var(--gold-400); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.community-avatar {
  width: 56px; height: 56px;
  border-radius: var(--r-full);
  margin: 0 auto var(--sp-3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--cream-50);
}
.community-card h4 { margin-bottom: var(--sp-1); }
.community-card .role { font-size: 0.82rem; color: var(--gold-700); font-weight: 600; margin-bottom: var(--sp-3); }
.community-card p { font-size: 0.9rem; color: var(--text-muted); }

@media (max-width: 760px) { .community-grid { grid-template-columns: 1fr; } }

/* --- Contact form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--sp-8);
  max-width: var(--maxw);
  margin: 0 auto;
}
.contact-info-card {
  background: linear-gradient(145deg, var(--emerald-800), var(--emerald-900));
  border-radius: var(--r-xl);
  padding: var(--sp-7);
  color: var(--cream-200);
}
.contact-info-card h3 { color: var(--cream-50); margin-bottom: var(--sp-4); }
.contact-info-card p { color: var(--emerald-300); margin-bottom: var(--sp-5); font-size: 0.95rem; }
.contact-info-list { display: flex; flex-direction: column; gap: var(--sp-4); }
.contact-info-item { display: flex; align-items: center; gap: var(--sp-3); }
.contact-info-item .icon {
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  background: rgba(244,213,141,0.15);
  color: var(--gold-400);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-item .icon svg { width: 20px; height: 20px; }
.contact-info-item .label { font-size: 0.78rem; color: var(--emerald-300); text-transform: uppercase; letter-spacing: 0.08em; }
.contact-info-item .value { color: var(--cream-50); font-weight: 500; }

.contact-form {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: var(--sp-7);
  border: 1px solid var(--border);
}
.form-group { margin-bottom: var(--sp-5); }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-800);
  margin-bottom: var(--sp-2);
}
.form-control {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  background: var(--cream-50);
  color: var(--text);
  transition: all var(--t-fast);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(29,122,92,0.12);
}
textarea.form-control { min-height: 120px; resize: vertical; }
.form-success {
  display: none;
  padding: var(--sp-4);
  border-radius: var(--r-md);
  background: var(--success-100);
  color: var(--success-600);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: var(--sp-4);
}
.form-success.show { display: block; animation: fadeIn var(--t-base); }

@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* --- Animations --- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* --- Game page layout --- */
.game-page {
  padding: var(--sp-8) 0 var(--sp-10);
  min-height: calc(100vh - var(--header-h));
}
.game-layout {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--sp-5);
}
.game-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
  flex-wrap: wrap;
}
.game-title-block { display: flex; align-items: center; gap: var(--sp-4); }
.game-title-icon {
  width: 56px; height: 56px;
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  color: var(--cream-50);
}
.game-title-icon svg { width: 30px; height: 30px; }
.game-title-block h1 { font-size: 1.8rem; margin: 0; }
.game-title-block p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }
.game-balance {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.game-board {
  background: var(--surface);
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  padding: var(--sp-7);
  box-shadow: var(--shadow-md);
}
.game-controls {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-top: var(--sp-5);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--border);
}
.game-message {
  min-height: 28px;
  font-weight: 600;
  font-size: 1.05rem;
  text-align: center;
  margin-bottom: var(--sp-4);
  transition: color var(--t-fast);
}
.game-message.win { color: var(--success-600); }
.game-message.lose { color: var(--error-600); }
.game-message.push { color: var(--gold-700); }

/* --- Slots game --- */
.slots-machine {
  display: flex;
  justify-content: center;
  gap: var(--sp-3);
  padding: var(--sp-6) 0;
}
.slot-reel {
  width: 100px; height: 140px;
  background: var(--emerald-900);
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  border: 4px solid var(--gold-700);
  box-shadow: inset 0 0 20px rgba(0,0,0,0.4);
}
.slot-reel-strip {
  display: flex;
  flex-direction: column;
  alignimate: none;
  transition: transform 0.1s linear;
}
.slot-symbol {
  width: 100px; height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  flex-shrink: 0;
}
.slot-paytable {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}
.paytable-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-3);
  border-radius: var(--r-md);
  background: var(--cream-100);
  font-size: 0.9rem;
}
.paytable-symbols { font-size: 1.3rem; letter-spacing: 2px; }
.paytable-payout { font-weight: 700; color: var(--gold-700); }

/* --- Blackjack game --- */
.bj-felt {
  background: linear-gradient(160deg, var(--emerald-700), var(--emerald-900));
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  min-height: 340px;
  position: relative;
  overflow: hidden;
}
.bj-felt::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(244,213,141,0.08), transparent);
}
.bj-hand-area { position: relative; margin-bottom: var(--sp-5); }
.bj-hand-label {
  color: var(--gold-400);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--sp-2);
}
.bj-cards { display: flex; gap: var(--sp-2); flex-wrap: wrap; min-height: 110px; }
.bj-card {
  width: 76px; height: 106px;
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--sp-2);
  font-family: var(--font-display);
  font-weight: 700;
  position: relative;
  animation: cardDeal var(--t-bounce);
}
@keyframes cardDeal {
  from { opacity: 0; transform: translateY(-30px) rotate(-10deg); }
  to { opacity: 1; transform: translateY(0) rotate(0); }
}
.bj-card.red { color: var(--error-600); }
.bj-card.black { color: var(--ink-900); }
.bj-card-corner { font-size: 1rem; line-height: 1; }
.bj-card-corner.br { text-align: right; transform: rotate(180deg); }
.bj-card-center { font-size: 2rem; text-align: center; }
.bj-card-back {
  background: linear-gradient(135deg, var(--gold-600), var(--gold-800));
  border: 3px solid var(--gold-400);
  display: flex; align-items: center; justify-content: center;
}
.bj-card-back::after {
  content: "";
  width: 40px; height: 40px;
  border-radius: var(--r-full);
  border: 2px solid var(--gold-400);
  background: rgba(0,0,0,0.2);
}
.bj-score {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 4px 12px;
  border-radius: var(--r-full);
  background: rgba(0,0,0,0.3);
  color: var(--gold-400);
  font-weight: 700;
  font-size: 0.9rem;
  margin-left: var(--sp-3);
}

/* --- Roulette game --- */
.roulette-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-5);
}
.roulette-wheel-container {
  position: relative;
  width: 280px;
  aspect-ratio: 1;
  border-radius: 50%;
}
.roulette-wheel {
  width: 100%; height: 100%;
  box-sizing: border-box;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  border: 8px solid var(--gold-800);
  box-shadow: var(--shadow-lg), inset 0 0 20px rgba(0,0,0,0.3);
  transition: transform 4s cubic-bezier(0.17,0.67,0.12,0.99);
}
.roulette-pointer {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 20px solid var(--gold-600);
  z-index: 5;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
.roulette-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--gold-600);
  border: 4px solid var(--gold-800);
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
}
.roulette-center svg { width: 30px; height: 30px; color: var(--emerald-900); }
.roulette-bets {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  width: 100%;
  max-width: 400px;
}
.roulette-bet-group { display: flex; gap: var(--sp-2); flex-wrap: wrap; justify-content: center; }
.bet-chip {
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-full);
  border: 2px solid var(--border-strong);
  background: var(--surface);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
  transition: all var(--t-fast);
}
.bet-chip:hover { border-color: var(--primary); color: var(--primary); }
.bet-chip.selected {
  background: var(--primary);
  color: var(--cream-50);
  border-color: var(--primary);
  transform: scale(1.05);
}
.bet-chip.red { border-color: var(--error-600); color: var(--error-600); }
.bet-chip.red.selected { background: var(--error-600); color: white; border-color: var(--error-600); }
.bet-chip.black { border-color: var(--ink-900); color: var(--ink-900); }
.bet-chip.black.selected { background: var(--ink-900); color: white; border-color: var(--ink-900); }
.roulette-result {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  min-height: 36px;
  text-align: center;
}
.roulette-history {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
  justify-content: center;
}
.history-dot {
  width: 28px; height: 28px;
  border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
}
.history-dot.red { background: var(--error-600); }
.history-dot.black { background: var(--ink-900); }
.history-dot.green { background: var(--emerald-600); }

/* --- Bet amount selector --- */
.bet-amount {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.bet-amount label { font-size: 0.88rem; font-weight: 600; color: var(--ink-800); }
.bet-input-group { display: flex; align-items: center; gap: var(--sp-2); }
.bet-btn {
  width: 36px; height: 36px;
  border-radius: var(--r-full);
  background: var(--cream-100);
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink-800);
  transition: all var(--t-fast);
}
.bet-btn:hover { background: var(--primary); color: var(--cream-50); border-color: var(--primary); }
.bet-input {
  width: 80px;
  text-align: center;
  padding: var(--sp-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  font-weight: 700;
  color: var(--ink-900);
}
.bet-input:focus { outline: none; border-color: var(--primary); }

/* --- Game stats bar --- */
.game-stats {
  display: flex;
  gap: var(--sp-5);
  padding: var(--sp-4) var(--sp-5);
  background: var(--cream-100);
  border-radius: var(--r-md);
  margin-bottom: var(--sp-5);
  flex-wrap: wrap;
}
.game-stat { display: flex; flex-direction: column; gap: 2px; }
.game-stat .label { font-size: 0.78rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.06em; }
.game-stat .value { font-weight: 700; color: var(--ink-900); font-size: 1.05rem; }

/* --- Toast --- */
.toast-container {
  position: fixed;
  top: calc(var(--header-h) + var(--sp-4));
  right: var(--sp-5);
  z-index: 8000;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.toast {
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--r-md);
  background: var(--ink-900);
  color: var(--cream-50);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  animation: toastIn var(--t-bounce);
  max-width: 320px;
}
.toast.success { background: var(--success-600); }
.toast.error { background: var(--error-600); }
.toast.warning { background: var(--warning-600); color: var(--ink-900); }
@keyframes toastIn {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* --- Misc --- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.badge-gold { background: var(--gold-200); color: var(--gold-900); }
.badge-emerald { background: var(--emerald-200); color: var(--emerald-800); }

.divider { height: 1px; background: var(--border); margin: var(--sp-7) 0; }

.responsible-banner {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-md);
  background: var(--warning-100);
  border: 1px solid var(--gold-400);
  margin: var(--sp-6) 0;
}
.responsible-banner svg { width: 24px; height: 24px; color: var(--gold-800); flex-shrink: 0; }
.responsible-banner p { font-size: 0.9rem; color: var(--ink-800); margin: 0; }

.org-list { display: flex; flex-direction: column; gap: var(--sp-4); }
.org-card {
  display: flex;
  gap: var(--sp-4);
  padding: var(--sp-5);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  align-items: flex-start;
}
.org-card .icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--emerald-200);
  color: var(--emerald-800);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.org-card .icon svg { width: 22px; height: 22px; }
.org-card h4 { margin-bottom: var(--sp-1); }
.org-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: var(--sp-2); }
.org-card a { font-size: 0.88rem; font-weight: 600; text-decoration: underline; }

/* --- Utility --- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.no-scroll { overflow: hidden; }
