@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700;900&family=Nunito+Sans:wght@300;400;600;700&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --dark: #081c15;
  --panel: #0d2818;
  --surface: #143d28;
  --emerald: #2dd4a8;
  --gold: #e8b931;
  --light: #e8f5e9;
  --dim: #8ab5a0;
  --line: #1e5035;
}

html { scroll-behavior: smooth; }
body { font-family: 'Nunito Sans', sans-serif; background: var(--dark); color: var(--light); line-height: 1.75; }
h1, h2, h3 { font-family: 'Cinzel', serif; }
a { color: var(--emerald); text-decoration: none; transition: 0.3s; }
a:hover { color: var(--gold); }

/* NAV */
.nav-bar {
  position: fixed; top: 0; left: 0; right: 0; height: 64px; z-index: 1000;
  background: rgba(8,28,21,0.96); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: space-between; padding: 0 2rem;
  border-bottom: 1px solid var(--line);
}
.nav-brand {
  font-family: 'Cinzel', serif; font-size: 1.35rem; font-weight: 900; color: var(--emerald);
  display: flex; align-items: center; gap: 8px;
}
.nav-logo {
  width: 32px; height: 32px; border-radius: 6px;
  background: linear-gradient(135deg, var(--emerald), var(--gold));
  display: grid; place-items: center;
}
.nav-logo::after {
  content: 'L'; font-family: 'Cinzel', serif; font-weight: 900; font-size: 1rem; color: var(--dark);
}
.menu { list-style: none; display: flex; gap: 1.6rem; }
.menu a { color: var(--dim); font-weight: 600; font-size: 0.88rem; text-transform: uppercase; letter-spacing: 1px; }
.menu a:hover { color: var(--emerald); }

.menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.menu-btn i { display: block; width: 24px; height: 2px; background: var(--light); margin: 5px 0; border-radius: 2px; }

@media (max-width: 768px) {
  .menu-btn { display: block; }
  .menu {
    position: fixed; top: 64px; right: 0; width: 260px; height: calc(100vh - 64px);
    background: var(--panel); flex-direction: column; padding: 2rem;
    transform: translateX(100%); transition: transform 0.3s; gap: 1.2rem;
    border-left: 1px solid var(--line);
  }
  .menu.visible { transform: translateX(0); }
}

/* HERO SPLIT */
.split-hero {
  margin-top: 64px; display: grid; grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}
.split-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 4rem 3rem; background: var(--dark);
}
.split-left h1 {
  font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.2; margin-bottom: 1.2rem;
}
.split-left h1 .hl { color: var(--emerald); }
.split-left p { color: var(--dim); font-size: 1.05rem; margin-bottom: 2rem; max-width: 500px; }
.split-right {
  background: linear-gradient(160deg, var(--surface) 0%, var(--dark) 100%);
  display: flex; align-items: center; justify-content: center; padding: 3rem;
  position: relative; overflow: hidden;
}
.split-right::before {
  content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(45,212,168,0.15), transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}

@media (max-width: 768px) {
  .split-hero { grid-template-columns: 1fr; }
  .split-left { padding: 3rem 1.5rem; }
  .split-right { min-height: 300px; padding: 2rem; }
}

.play-btn {
  display: inline-block; padding: 14px 38px; background: var(--emerald); color: var(--dark);
  font-family: 'Cinzel', serif; font-weight: 700; border-radius: 8px;
  text-transform: uppercase; letter-spacing: 1px; transition: 0.3s;
}
.play-btn:hover { background: var(--gold); color: var(--dark); transform: scale(1.03); }

/* PILLARS */
.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.pillar {
  padding: 2.5rem 2rem; text-align: center;
  border-right: 1px solid var(--line);
}
.pillar:last-child { border-right: none; }
.pillar-icon { font-size: 2rem; margin-bottom: 0.8rem; }
.pillar h3 { font-size: 1rem; margin-bottom: 0.5rem; color: var(--gold); }
.pillar p { color: var(--dim); font-size: 0.9rem; }

@media (max-width: 768px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: none; border-bottom: 1px solid var(--line); }
  .pillar:last-child { border-bottom: none; }
}

/* GAME */
.game-block { padding: 4rem 2rem; max-width: 1200px; margin: 0 auto; }
.game-block h2 { text-align: center; color: var(--gold); font-size: clamp(1.4rem, 3vw, 2.2rem); margin-bottom: 1.5rem; }
.game-container {
  border: 2px solid var(--line); border-radius: 12px; overflow: hidden;
  background: #000; box-shadow: 0 4px 30px rgba(45,212,168,0.08);
}
.game-container iframe { display: block; width: 100%; height: 600px; border: none; }
@media (max-width: 768px) { .game-container iframe { height: 370px; } }

/* MOSAIC */
.mosaic { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; padding: 4rem 2rem; max-width: 1200px; margin: 0 auto; }
.tile { background: var(--surface); padding: 2rem; border-radius: 12px; border: 1px solid var(--line); }
.tile h3 { color: var(--emerald); font-size: 1.1rem; margin-bottom: 0.7rem; }
.tile p { color: var(--dim); font-size: 0.93rem; }

/* COUNTER ROW */
.counter-row { background: var(--panel); padding: 3rem 2rem; display: flex; justify-content: center; gap: 4rem; flex-wrap: wrap; text-align: center; }
.counter-val { font-family: 'Cinzel', serif; font-size: 2.4rem; font-weight: 900; color: var(--emerald); }
.counter-lbl { font-size: 0.85rem; color: var(--dim); margin-top: 0.3rem; }

/* FOOTER */
.ft { background: var(--panel); border-top: 1px solid var(--line); padding: 2.5rem 2rem; text-align: center; }
.ft-links { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.ft-links a { color: var(--dim); font-size: 0.88rem; }
.ft-resp { border-top: 1px solid var(--line); padding-top: 1.5rem; margin-top: 0.5rem; }
.ft-resp p { font-size: 0.82rem; color: var(--dim); margin-bottom: 0.5rem; }
.ft-resp a { color: var(--dim); margin: 0 0.8rem; font-size: 0.82rem; }
.ft-copy { margin-top: 1.2rem; font-size: 0.78rem; color: var(--dim); }

/* INNER PAGES */
.pg-hero { margin-top: 64px; padding: 4.5rem 2rem 2.5rem; text-align: center; background: var(--panel); }
.pg-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 0.7rem; }
.pg-hero p { color: var(--dim); max-width: 540px; margin: 0 auto; }
.pg-body { max-width: 860px; margin: 0 auto; padding: 2.5rem 2rem 4rem; }
.pg-body h2 { font-size: 1.35rem; color: var(--emerald); margin: 2rem 0 0.7rem; }
.pg-body h3 { font-size: 1.05rem; color: var(--gold); margin: 1.5rem 0 0.5rem; }
.pg-body p { color: var(--dim); margin-bottom: 1rem; font-size: 0.95rem; }
.pg-body ul { color: var(--dim); margin: 0.7rem 0 1rem 1.5rem; }
.pg-body ul li { margin-bottom: 0.3rem; }

/* PLAY PAGE */
.play-wrap { margin-top: 64px; padding: 3rem 2rem; max-width: 1200px; margin-left: auto; margin-right: auto; }
.play-wrap h1 { text-align: center; font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 0.8rem; margin-top: 64px; }
.play-hint { text-align: center; color: var(--dim); max-width: 650px; margin: 0 auto 2rem; }

/* AGE */
.age-screen { position: fixed; inset: 0; background: rgba(0,0,0,0.93); z-index: 9999; display: flex; align-items: center; justify-content: center; }
.age-card { background: var(--surface); border: 2px solid var(--emerald); border-radius: 16px; padding: 2.5rem; text-align: center; max-width: 430px; width: 92%; }
.age-card h2 { font-size: 1.5rem; color: var(--gold); margin-bottom: 0.8rem; }
.age-card p { color: var(--dim); margin-bottom: 1.5rem; }
.age-btns { display: flex; gap: 1rem; justify-content: center; }
.a-btn { padding: 11px 34px; border-radius: 8px; border: none; font-weight: 700; cursor: pointer; font-size: 0.95rem; transition: 0.3s; }
.a-btn:hover { transform: scale(1.04); }
.a-yes { background: var(--emerald); color: var(--dark); }
.a-no { background: transparent; border: 2px solid var(--dim); color: var(--dim); }
.blocked-msg { display: none; text-align: center; }
.blocked-msg h2 { color: #e53935; margin-bottom: 0.8rem; }
.blocked-msg p { color: var(--dim); }
.off { display: none !important; }
