@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&display=swap');

/* ── CSS Custom Properties ── */
:root {
  --forest-900: #0f2218;
  --forest-800: #1a3329;
  --forest-700: #24483a;
  --forest-600: #2d5a47;
  --forest-500: #3d7a60;
  --forest-400: #4f9a78;
  --forest-300: #6ab896;
  --forest-200: #9ed4bc;
  --forest-100: #d0ede6;
  --forest-50: #edf7f3;

  --maple-900: #6b2510;
  --maple-800: #8f3218;
  --maple-700: #b04020;
  --maple-600: #c24a1e;
  --maple-500: #d45a28;
  --maple-400: #e07a3a;
  --maple-300: #eb9a6a;
  --maple-200: #f2be9f;
  --maple-100: #f9dfd0;
  --maple-50: #fdf3ee;

  --amber-600: #b8860e;
  --amber-500: #d4a017;
  --amber-400: #e6b82a;
  --amber-300: #f0cc5f;
  --amber-100: #fdf3c8;

  --stone-800: #3a3832;
  --stone-700: #52504a;
  --stone-600: #6b6a62;
  --stone-500: #8a8a80;
  --stone-400: #aaaa9f;
  --stone-300: #c8c8bf;
  --stone-200: #e0e0d8;
  --stone-100: #f0f0ea;
  --stone-50: #f8f8f4;

  --cream: #faf6ee;
  --white: #ffffff;

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

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 3px rgba(15,34,24,0.10);
  --shadow-md: 0 4px 16px rgba(15,34,24,0.13);
  --shadow-lg: 0 8px 32px rgba(15,34,24,0.17);
  --shadow-xl: 0 20px 60px rgba(15,34,24,0.22);

  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--stone-800);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font-body); }
ul { list-style: none; }

/* ── Typography ── */
h1,h2,h3,h4,h5 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }
p { line-height: 1.75; color: var(--stone-600); }

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--sm { padding: 64px 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 50px; font-size: 0.95rem;
  font-weight: 600; border: 2px solid transparent;
  transition: var(--transition); white-space: nowrap;
}
.btn-primary {
  background: var(--maple-600); color: var(--white);
  border-color: var(--maple-600);
}
.btn-primary:hover {
  background: var(--maple-700); border-color: var(--maple-700);
  transform: translateY(-2px); box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent; color: var(--forest-700);
  border-color: var(--forest-400);
}
.btn-outline:hover {
  background: var(--forest-700); color: var(--white);
  border-color: var(--forest-700); transform: translateY(-2px);
}
.btn-ghost {
  background: transparent; color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.15); border-color: var(--white);
}
.btn-amber {
  background: var(--amber-500); color: var(--forest-900);
  border-color: var(--amber-500); font-weight: 700;
}
.btn-amber:hover {
  background: var(--amber-400); transform: translateY(-2px); box-shadow: var(--shadow-md);
}
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: 0.875rem; }

/* ── Badge ── */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 12px; border-radius: 50px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
}
.badge--green { background: var(--forest-100); color: var(--forest-700); }
.badge--amber { background: var(--amber-100); color: var(--amber-600); }
.badge--maple { background: var(--maple-100); color: var(--maple-700); }

/* ── NAVBAR ── */
#site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 24px;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
#site-nav.scrolled {
  background: rgba(15,34,24,0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  padding: 0 24px;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 700;
  color: var(--white);
}
.nav-logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--maple-500), var(--maple-700));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.nav-links {
  display: flex; align-items: center; gap: 8px;
}
.nav-links a {
  padding: 8px 16px; border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,0.85);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(255,255,255,0.1); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-coins {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.1); border-radius: 50px;
  padding: 6px 14px; font-size: 0.85rem; font-weight: 600; color: var(--amber-300);
}
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 8px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px; transition: var(--transition);
}
.nav-mobile {
  display: none; flex-direction: column;
  background: rgba(15,34,24,0.98); backdrop-filter: blur(12px);
  padding: 16px 24px 24px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 14px 8px; border-bottom: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85); font-weight: 500; font-size: 1rem;
}
.nav-mobile a:last-child { border-bottom: none; }

/* ── FOOTER ── */
#site-footer {
  background: var(--forest-900);
  color: rgba(255,255,255,0.7);
}
.footer-top {
  display: grid; grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px; padding: 72px 0 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand p { margin-top: 12px; font-size: 0.9rem; line-height: 1.7; max-width: 280px; }
.footer-col h5 {
  font-family: var(--font-display); font-size: 1rem; font-weight: 600;
  color: var(--white); margin-bottom: 20px; letter-spacing: 0.02em;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.88rem; color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--maple-300); }
.footer-disclaimer {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md); padding: 20px 24px; margin: 32px 0;
  font-size: 0.82rem; line-height: 1.7; color: rgba(255,255,255,0.5);
}
.footer-disclaimer a { color: var(--maple-300); text-decoration: underline; }
.footer-disclaimer strong { color: rgba(255,255,255,0.7); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 0; font-size: 0.82rem;
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(255,255,255,0.4); transition: color var(--transition); }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ── AGE GATE MODAL ── */
#age-gate {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(10,22,16,0.95); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.age-gate-card {
  background: var(--cream); border-radius: var(--radius-xl);
  padding: 48px 40px; max-width: 480px; width: 100%;
  text-align: center; box-shadow: var(--shadow-xl);
}
.age-gate-icon {
  width: 72px; height: 72px; margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--maple-500), var(--maple-700));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
}
.age-gate-card h2 { color: var(--forest-900); margin-bottom: 12px; font-size: 2rem; }
.age-gate-card p { font-size: 0.95rem; margin-bottom: 28px; color: var(--stone-600); }
.age-gate-check {
  display: flex; align-items: flex-start; gap: 12px;
  text-align: left; background: var(--stone-50); border-radius: var(--radius-md);
  padding: 16px; margin-bottom: 20px; border: 2px solid var(--stone-200);
  cursor: pointer; transition: border-color var(--transition);
}
.age-gate-check:has(input:checked) { border-color: var(--forest-400); background: var(--forest-50); }
.age-gate-check input[type="checkbox"] {
  width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px;
  accent-color: var(--forest-600); cursor: pointer;
}
.age-gate-check label { font-size: 0.9rem; color: var(--stone-700); line-height: 1.5; cursor: pointer; }
#age-gate-btn {
  width: 100%; padding: 16px; border-radius: 50px;
  font-size: 1rem; font-weight: 700; border: none;
  background: var(--stone-300); color: var(--stone-500);
  transition: var(--transition); pointer-events: none;
}
#age-gate-btn.active {
  background: var(--maple-600); color: var(--white); pointer-events: all;
}
#age-gate-btn.active:hover { background: var(--maple-700); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.age-gate-note { font-size: 0.78rem; color: var(--stone-400); margin-top: 16px; }

/* ── COOKIE BANNER ── */
#cookie-banner {
  position: fixed; bottom: 24px; left: 24px; right: 24px; z-index: 8000;
  background: var(--forest-900); color: var(--white);
  border-radius: var(--radius-lg); padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255,255,255,0.1);
  max-width: 900px; margin-left: auto; margin-right: auto;
  animation: slideUp 0.4s ease;
}
@keyframes slideUp { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.cookie-text { flex: 1; }
.cookie-text p { font-size: 0.88rem; color: rgba(255,255,255,0.8); margin: 0; }
.cookie-text a { color: var(--maple-300); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-actions button {
  padding: 10px 20px; border-radius: 50px; font-size: 0.85rem; font-weight: 600;
  border: none; transition: var(--transition);
}
#cookie-accept { background: var(--maple-600); color: var(--white); }
#cookie-accept:hover { background: var(--maple-700); }
#cookie-decline { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); }
#cookie-decline:hover { background: rgba(255,255,255,0.15); }

/* ── INNER PAGE HEADER ── */
.page-hero {
  background: linear-gradient(160deg, var(--forest-900) 0%, var(--forest-700) 60%, var(--forest-600) 100%);
  padding: 140px 0 80px; text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 600px; margin: 0 auto; font-size: 1.1rem; }

/* ── INNER PAGE CONTENT ── */
.inner-content { padding: 80px 0; }
.inner-content h2 { color: var(--forest-800); margin: 48px 0 16px; }
.inner-content h3 { color: var(--forest-700); margin: 32px 0 12px; font-size: 1.3rem; }
.inner-content p { margin-bottom: 16px; }
.inner-content ul, .inner-content ol { padding-left: 24px; margin-bottom: 20px; color: var(--stone-600); }
.inner-content li { margin-bottom: 8px; line-height: 1.7; }
.inner-content strong { color: var(--stone-800); }

/* ── CARDS ── */
.card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); border: 1px solid var(--stone-200);
  overflow: hidden; transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* ── DIVIDER ── */
.divider { height: 1px; background: var(--stone-200); margin: 40px 0; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-cta .btn { display: none; }
  .nav-hamburger { display: flex; }
  .nav-coins { display: flex; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .cookie-actions { flex-direction: column; }
  .section { padding: 64px 0; }
  #cookie-banner { flex-direction: column; align-items: stretch; }
  .age-gate-card { padding: 32px 24px; }
}
