/* quorivoryxon.xyz - Emerald Garden Theme */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;800&family=Quicksand:wght@300;500;700&display=swap');

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

:root {
  --forest: #0c2e1a;
  --emerald: #1a6b3c;
  --mint: #44d989;
  --cream: #f4faf6;
  --sage: #a8d5ba;
  --text-dark: #0a1f12;
  --card-bg: rgba(26, 107, 60, 0.08);
}

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  font-family: 'Nunito', sans-serif;
}

a { color: var(--emerald); text-decoration: none; transition: 0.3s; }
a:hover { color: var(--mint); }

/* HEADER */
.header {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: rgba(244, 250, 246, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 16px rgba(12, 46, 26, 0.06);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem; height: 62px;
}
.logo-area {
  font-family: 'Nunito', sans-serif;
  font-size: 1.4rem; font-weight: 800;
  color: var(--emerald);
  display: flex; align-items: center; gap: 0.5rem;
}
.logo-area svg { width: 34px; height: 34px; }
.main-nav { display: flex; gap: 1.5rem; list-style: none; }
.main-nav a {
  color: var(--forest); font-weight: 500; font-size: 0.92rem;
  border-radius: 20px; padding: 0.35rem 1rem; transition: 0.3s;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--emerald); color: #fff;
}
.mobile-toggle {
  display: none; background: none; border: 2px solid var(--emerald);
  border-radius: 8px; padding: 5px 8px; cursor: pointer;
}
.mobile-toggle span {
  display: block; width: 22px; height: 2px; background: var(--emerald);
  margin: 4px 0;
}

/* INTRO */
.intro-area {
  padding: 7rem 2rem 3rem;
  text-align: center;
  background: linear-gradient(180deg, #e8f7ee 0%, var(--cream) 100%);
}
.intro-area h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  color: var(--emerald); margin-bottom: 1rem; font-weight: 800;
}
.intro-area p {
  font-size: 1.1rem; max-width: 720px; margin: 0 auto 1.5rem;
  color: #3a6b4d;
}

/* PILLS */
.pill-row {
  display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap;
  margin: 2rem auto; max-width: 900px;
}
.pill {
  background: var(--emerald); color: #fff;
  border-radius: 30px; padding: 0.7rem 1.8rem;
  font-weight: 600; font-size: 0.95rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.pill .ico { font-size: 1.3rem; }

/* GAME AREA */
.game-area {
  max-width: 980px; margin: 2rem auto;
  background: #fff; border-radius: 24px;
  overflow: hidden; box-shadow: 0 8px 40px rgba(26, 107, 60, 0.1);
  border: 2px solid var(--sage);
}
.game-area iframe {
  width: 100%; height: 600px; border: none; display: block;
}

/* SECTION */
.section {
  max-width: 1100px; margin: 0 auto; padding: 3.5rem 2rem;
}
.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--emerald); text-align: center; margin-bottom: 1.5rem;
}
.section p {
  color: #3a6b4d; font-size: 1rem; max-width: 850px;
  margin: 0 auto 1rem; text-align: center;
}

/* FEATURE BOXES */
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem; margin-top: 2rem;
}
.feature-box {
  background: #fff; border-radius: 20px; padding: 2rem;
  box-shadow: 0 4px 20px rgba(12, 46, 26, 0.05);
  border: 1px solid rgba(168, 213, 186, 0.5);
}
.feature-box h3 {
  color: var(--emerald); font-size: 1.15rem; margin-bottom: 0.6rem;
}
.feature-box p { color: #4a7a5e; font-size: 0.93rem; }
.feature-box .ficon { font-size: 2.2rem; margin-bottom: 0.8rem; display: block; }

/* FOOTER */
.footer {
  background: var(--forest); color: var(--sage);
  text-align: center; padding: 2.5rem 2rem;
  margin-top: 3rem;
}
.footer-nav { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; margin-bottom: 1rem; }
.footer-nav a { color: var(--sage); font-size: 0.88rem; }
.footer-nav a:hover { color: var(--mint); }
.footer p { font-size: 0.82rem; color: #6b9e80; }

/* AGE GATE */
.age-gate {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(10, 31, 18, 0.94);
  display: flex; align-items: center; justify-content: center;
}
.age-gate.hidden { display: none; }
.age-card {
  background: #fff; border-radius: 24px; padding: 2.5rem 3rem;
  max-width: 430px; text-align: center;
  box-shadow: 0 16px 60px rgba(12, 46, 26, 0.3);
}
.age-card h2 { color: var(--emerald); margin-bottom: 1rem; }
.age-card p { color: #4a7a5e; margin-bottom: 1.5rem; }
.age-buttons { display: flex; gap: 1rem; justify-content: center; }
.age-buttons button {
  padding: 0.7rem 2rem; border: none; border-radius: 30px;
  font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 1rem;
  cursor: pointer; transition: 0.2s;
}
.age-buttons button:hover { transform: translateY(-2px); }
.btn-accept { background: var(--emerald); color: #fff; }
.btn-reject { background: transparent; border: 2px solid var(--emerald) !important; color: var(--emerald); }

/* INNER PAGE */
.inner-page {
  max-width: 1100px; margin: 0 auto; padding: 6.5rem 2rem 4rem;
}
.inner-page h1 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); color: var(--emerald); margin-bottom: 1.5rem; }
.inner-page h2 { font-size: 1.35rem; color: var(--forest); margin: 1.8rem 0 0.7rem; }
.inner-page p, .inner-page li { color: #3a6b4d; font-size: 0.98rem; margin-bottom: 0.7rem; }
.inner-page ul { padding-left: 1.3rem; }

@media (max-width: 768px) {
  .mobile-toggle { display: block; }
  .main-nav {
    position: fixed; top: 62px; left: 0; right: 0;
    background: rgba(244, 250, 246, 0.98);
    flex-direction: column; padding: 1.2rem 2rem; gap: 0.6rem;
    transform: translateY(-120%); transition: 0.3s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  }
  .main-nav.open { transform: translateY(0); }
  .game-area iframe { height: 380px; }
  .pill-row { flex-direction: column; align-items: center; }
  .feature-grid { grid-template-columns: 1fr; }
}
