/* XenyVoryVoryx - Unique Design 3: Emerald/teal with asymmetric sections */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=DM+Serif+Display&display=swap');

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

:root {
  --emerald: #0A8F6C;
  --teal: #00D4AA;
  --dark-green: #043D2E;
  --mint: #E0FFF5;
  --bg: #F5FDFB;
  --surface: #FFFFFF;
  --text-dark: #1A3A30;
  --text-mid: #4A7268;
  --text-light: #7FA99D;
  --radius: 20px;
  --shadow: 0 4px 24px rgba(10,143,108,0.1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: all 0.3s; }
img, svg { max-width: 100%; display: block; }

/* HEADER */
.header-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  border-bottom: 2px solid var(--mint);
}

.header-bar .logo { height: 38px; }

.nav-menu {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-menu a {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-mid);
}

.nav-menu a:hover { color: var(--emerald); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  padding: 4px;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: var(--emerald);
  border-radius: 3px;
  transition: all 0.3s;
}

/* HERO */
.hero-wrap {
  margin-top: 70px;
  display: flex;
  min-height: 90vh;
  background: linear-gradient(160deg, var(--dark-green) 0%, var(--emerald) 60%, var(--teal) 100%);
}

.hero-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3rem;
  color: #fff;
}

.hero-left h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 3.4rem;
  line-height: 1.12;
  margin-bottom: 1.2rem;
}

.hero-left h1 span { color: var(--mint); }

.hero-left p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 500px;
  margin-bottom: 2rem;
}

.action-btn {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background: var(--surface);
  color: var(--emerald);
  font-weight: 700;
  border-radius: 50px;
  font-size: 1rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.hero-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.hero-right iframe {
  width: 100%;
  max-width: 580px;
  height: 430px;
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

/* PILLARS */
.pillars {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.pillars h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 2.4rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--dark-green);
}

.pillar-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--teal);
  transition: transform 0.3s;
}

.pillar:hover { transform: translateY(-5px); }

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

.pillar h3 {
  font-size: 1.2rem;
  color: var(--emerald);
  margin-bottom: 0.6rem;
}

.pillar p { color: var(--text-mid); font-size: 0.95rem; }

/* HIGHLIGHT */
.highlight-band {
  background: var(--dark-green);
  color: #fff;
  padding: 4rem 2rem;
  text-align: center;
}

.highlight-band h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--teal);
}

.highlight-band p {
  max-width: 700px;
  margin: 0 auto;
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
}

/* EXTRA WIDGETS */
.extras {
  padding: 5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.extras h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2.5rem;
}

.extras-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.extra-box {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.extra-box h3 {
  color: var(--emerald);
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.extra-box ul { list-style: none; }

.extra-box li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--mint);
  color: var(--text-mid);
  font-size: 0.93rem;
}

.extra-box li:last-child { border-bottom: none; }

/* TEXT PAGES */
.content-area {
  margin-top: 70px;
  padding: 4rem 2rem;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  min-height: calc(100vh - 70px - 180px);
}

.content-area h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 2.6rem;
  color: var(--dark-green);
  margin-bottom: 1.5rem;
}

.content-area h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: var(--emerald);
  margin: 2rem 0 0.7rem;
}

.content-area p { margin-bottom: 1rem; }

.content-area ul { margin-left: 1.5rem; margin-bottom: 1rem; }
.content-area li { color: var(--text-mid); margin-bottom: 0.3rem; }

/* PLAY */
.game-showcase {
  margin-top: 70px;
  padding: 3rem 2rem;
  text-align: center;
  min-height: calc(100vh - 70px - 180px);
}

.game-showcase h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 2.4rem;
  color: var(--dark-green);
  margin-bottom: 0.8rem;
}

.game-showcase p {
  max-width: 640px;
  margin: 0 auto 2rem;
  color: var(--text-mid);
}

.game-showcase iframe {
  width: 100%;
  max-width: 960px;
  height: 600px;
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* FOOTER */
.site-bottom {
  background: var(--dark-green);
  text-align: center;
  padding: 2.5rem 2rem 1.5rem;
}

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

.bottom-links a {
  color: var(--teal);
  font-size: 0.88rem;
  font-weight: 600;
}

.bottom-links a:hover { color: var(--mint); }

.site-bottom p { color: rgba(255,255,255,0.5); font-size: 0.82rem; }

/* AGE POPUP */
.age-wall {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(4,61,46,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-wall.hidden { display: none; }

.age-dialog {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  text-align: center;
  max-width: 440px;
  width: 90%;
  box-shadow: 0 16px 64px rgba(0,0,0,0.3);
}

.age-dialog h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.8rem;
  color: var(--dark-green);
  margin-bottom: 0.8rem;
}

.age-dialog p {
  color: var(--text-mid);
  margin-bottom: 2rem;
}

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

.age-actions button {
  padding: 0.75rem 2.5rem;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s;
}

.age-actions button:hover { transform: scale(1.05); }

.btn-accept {
  background: linear-gradient(135deg, var(--emerald), var(--teal));
  color: #fff;
}

.btn-reject {
  background: var(--mint);
  color: var(--text-dark);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-wrap { flex-direction: column; min-height: auto; }
  .hero-left { padding: 3rem 1.5rem; }
  .hero-left h1 { font-size: 2.4rem; }
  .hero-right iframe { height: 320px; }
  .pillar-row { grid-template-columns: 1fr; }
  .extras-grid { grid-template-columns: 1fr; }
  .game-showcase iframe { height: 400px; }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    gap: 1.5rem;
    transform: translateY(-120%);
    transition: transform 0.4s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }
  .nav-menu.open { transform: translateY(0); }
}
