@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;800&family=Lato:wght@300;400;700&display=swap');

:root {
  --gold: #d4a843;
  --gold-light: #f0d078;
  --black: #0d0d0d;
  --charcoal: #1a1a1a;
  --panel-bg: #141414;
  --cream: #faf3e0;
  --muted: #b0a080;
  --gold-glow: rgba(212,168,67,0.25);
}

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

body {
  font-family: 'Lato', sans-serif;
  background: var(--black);
  color: var(--cream);
  line-height: 1.8;
  overflow-x: hidden;
}

/* Top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13,13,13,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212,168,67,0.15);
}

.topbar-inner {
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon {
  width: 40px;
  height: 40px;
}

.brand-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 3px;
}

.topnav ul {
  list-style: none;
  display: flex;
  gap: 2.2rem;
}

.topnav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.3s;
}

.topnav a:hover, .topnav a.on { color: var(--gold); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.burger span {
  width: 28px;
  height: 2px;
  background: var(--gold);
  transition: 0.3s;
}

.burger.on span:first-child { transform: rotate(45deg) translate(5px,5px); }
.burger.on span:nth-child(2) { opacity: 0; }
.burger.on span:last-child { transform: rotate(-45deg) translate(5px,-5px); }

/* Grand hero */
.grand-hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 2rem;
  background: linear-gradient(180deg, var(--black), var(--charcoal));
  position: relative;
}

.grand-hero::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 600px; height: 600px;
  transform: translate(-50%,-50%);
  background: radial-gradient(circle, var(--gold-glow), transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.hero-inner h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.8rem;
  font-weight: 800;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero-inner p {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.gold-btn {
  display: inline-block;
  padding: 16px 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--black);
  text-decoration: none;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 4px;
  transition: box-shadow 0.3s, transform 0.3s;
}

.gold-btn:hover {
  box-shadow: 0 0 30px var(--gold-glow);
  transform: translateY(-2px);
}

/* Divider */
.gold-divider {
  width: 80px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto;
  opacity: 0.4;
}

/* Triple pillars */
.pillars {
  display: flex;
  gap: 0;
  max-width: 1500px;
  margin: 4rem auto;
}

.pillar {
  flex: 1;
  padding: 3rem 2.5rem;
  text-align: center;
  border-right: 1px solid rgba(212,168,67,0.08);
}

.pillar:last-child { border-right: none; }

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

.pillar h3 {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
}

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

/* Game showcase */
.showcase {
  max-width: 1500px;
  margin: 0 auto;
  padding: 4rem 2.5rem;
  text-align: center;
}

.showcase h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--gold-light);
  margin-bottom: 2rem;
}

.showcase-frame {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  border: 1px solid rgba(212,168,67,0.2);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(212,168,67,0.08);
}

.showcase-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Features row */
.features-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1500px;
  margin: 0 auto;
  padding: 3rem 2.5rem;
}

.feat-box {
  background: var(--panel-bg);
  border: 1px solid rgba(212,168,67,0.08);
  padding: 2.5rem;
  border-radius: 6px;
}

.feat-box h3 {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.feat-box p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Counters */
.counters {
  display: flex;
  max-width: 1500px;
  margin: 2rem auto 4rem;
  border-top: 1px solid rgba(212,168,67,0.08);
  border-bottom: 1px solid rgba(212,168,67,0.08);
}

.ctr {
  flex: 1;
  text-align: center;
  padding: 2rem 1rem;
  border-right: 1px solid rgba(212,168,67,0.08);
}

.ctr:last-child { border-right: none; }

.ctr .val {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
}

.ctr .lbl {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 0.3rem;
}

/* Content page */
.text-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 4rem 2.5rem;
}

.text-page h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}

.text-page h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--gold);
  margin: 2rem 0 0.8rem;
}

.text-page p { color: var(--muted); margin-bottom: 1rem; }

.text-page ul { color: var(--muted); margin: 0.8rem 0 1.2rem 1.5rem; }

/* Play hero */
.play-banner {
  text-align: center;
  padding: 3rem 2.5rem 1rem;
}

.play-banner h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.play-info {
  max-width: 780px;
  margin: 0 auto 2rem;
  background: var(--panel-bg);
  border: 1px solid rgba(212,168,67,0.1);
  border-radius: 6px;
  padding: 1.2rem 1.5rem;
}

.play-info p { color: var(--muted); font-size: 0.9rem; }

/* Footer */
.site-foot {
  background: var(--panel-bg);
  border-top: 1px solid rgba(212,168,67,0.1);
  padding: 2.5rem;
  text-align: center;
}

.foot-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.foot-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.25s;
}

.foot-links a:hover { color: var(--gold); }

.rg-block {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(212,168,67,0.08);
}

.rg-block p { color: var(--muted); font-size: 0.8rem; margin-bottom: 0.5rem; }

.rg-block a { color: var(--gold); text-decoration: none; margin: 0 0.7rem; font-size: 0.8rem; }
.rg-block a:hover { text-decoration: underline; }

.foot-copy { margin-top: 1rem; color: var(--muted); font-size: 0.72rem; opacity: 0.5; }

/* Age popup */
.age-wall {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.94);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-panel {
  background: var(--charcoal);
  border: 1px solid var(--gold);
  padding: 3rem;
  text-align: center;
  max-width: 460px;
  width: 90%;
  border-radius: 6px;
}

.age-panel h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.age-panel p { color: var(--muted); margin-bottom: 2rem; }

.age-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.age-actions button {
  padding: 12px 36px;
  border: none;
  border-radius: 4px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: 0.25s;
}

.age-confirm {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--black);
}

.age-confirm:hover { box-shadow: 0 0 20px var(--gold-glow); }

.age-deny {
  background: transparent;
  border: 1px solid var(--muted) !important;
  color: var(--muted);
}

.age-deny:hover { border-color: #ef4444 !important; color: #ef4444; }

/* Responsive */
@media (max-width: 768px) {
  .burger { display: flex; }
  .topnav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; width: 100%;
    background: rgba(13,13,13,0.98);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(212,168,67,0.15);
  }
  .topnav ul.visible { display: flex; }
  .topnav ul li { text-align: center; padding: 0.7rem 0; }
  .topbar-inner { position: relative; }
  .grand-hero h1 { font-size: 2.4rem; }
  .pillars { flex-direction: column; }
  .pillar { border-right: none; border-bottom: 1px solid rgba(212,168,67,0.08); }
  .features-row { grid-template-columns: 1fr; }
  .counters { flex-wrap: wrap; }
  .ctr { min-width: 50%; border-bottom: 1px solid rgba(212,168,67,0.08); }
}

@media (max-width: 480px) {
  .grand-hero h1 { font-size: 1.8rem; }
  .counters { flex-direction: column; }
  .ctr { border-right: none; }
}
