@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800;900&family=Cormorant+Garamond:wght@300;400;500;600;700&display=swap');

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

:root {
  --myth-dark: #1a0f06;
  --myth-brown: #2a1a0e;
  --myth-gold: #d4a853;
  --myth-amber: #c49436;
  --myth-cream: #f5e6c8;
  --myth-text: #d4c4a8;
  --myth-muted: #8a7a64;
  --myth-red: #8b2500;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Cormorant Garamond', serif;
  background: var(--myth-dark);
  color: var(--myth-text);
  line-height: 1.8;
  font-weight: 400;
}

/* HEADER */
.myth-header {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 1000;
  background: rgba(26,15,6,0.96);
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 3rem;
  border-bottom: 2px solid var(--myth-gold);
}

.myth-logo {
  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--myth-gold);
  text-decoration: none;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.myth-nav { display: flex; list-style: none; gap: 1.6rem; }

.myth-nav a {
  font-family: 'Cinzel', serif;
  color: var(--myth-muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: color 0.3s;
}

.myth-nav a:hover, .myth-nav a.sel { color: var(--myth-gold); }

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

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

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

/* BANNER */
.myth-banner {
  margin-top: 68px;
  padding: 8rem 4rem 6rem;
  background: linear-gradient(180deg, var(--myth-brown), var(--myth-dark));
  text-align: center;
  border-bottom: 3px solid var(--myth-gold);
}

.myth-banner h1 {
  font-family: 'Cinzel', serif;
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--myth-cream);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.myth-banner p {
  font-size: 1.15rem;
  color: var(--myth-muted);
  max-width: 650px;
  margin: 0 auto 2.5rem;
}

.myth-cta {
  display: inline-block;
  padding: 14px 40px;
  border: 2px solid var(--myth-gold);
  color: var(--myth-gold);
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 3px;
  transition: all 0.3s;
}

.myth-cta:hover { background: var(--myth-gold); color: var(--myth-dark); }

/* DECREE PANELS */
.decree-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 2px solid rgba(212,168,83,0.15);
}

.decree {
  padding: 2.5rem 2rem;
  text-align: center;
  border-right: 1px solid rgba(212,168,83,0.1);
  background: var(--myth-brown);
}

.decree:last-child { border-right: none; }
.decree .sigil { font-size: 2rem; margin-bottom: 0.5rem; display: block; }

.decree h3 {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--myth-gold);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ARENA */
.myth-arena {
  padding: 5rem 4rem;
  text-align: center;
}

.myth-arena h2 {
  font-family: 'Cinzel', serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--myth-cream);
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.myth-arena .lore { color: var(--myth-muted); margin-bottom: 2rem; font-size: 1.05rem; }

.myth-frame {
  width: 100%; max-width: 960px; margin: 0 auto;
  aspect-ratio: 16/9;
  border: 2px solid var(--myth-gold);
  overflow: hidden;
  background: #000;
}

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

/* SCROLL */
.myth-scroll {
  padding: 5rem 4rem;
  background: var(--myth-brown);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.scroll-col h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--myth-gold);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* PILLARS */
.myth-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.pillar-card {
  padding: 3rem 2rem;
  background: var(--myth-dark);
  border: 1px solid rgba(212,168,83,0.08);
  text-align: center;
}

.pillar-card h3 {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--myth-gold);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

/* INNER PAGE */
.myth-page {
  max-width: 850px;
  margin: 0 auto;
  padding: 110px 2rem 60px;
}

.myth-page h1 {
  font-family: 'Cinzel', serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--myth-cream);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-bottom: 2px solid var(--myth-gold);
  padding-bottom: 0.5rem;
}

.myth-page h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--myth-gold);
  margin: 2rem 0 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.myth-page p { margin-bottom: 1rem; font-size: 1.05rem; }
.myth-page ul { margin: 1rem 0 1rem 1.5rem; }
.myth-page li { margin-bottom: 0.5rem; }

/* PLAY */
.myth-play {
  padding: 110px 4rem 60px;
  text-align: center;
}

.myth-play h1 {
  font-family: 'Cinzel', serif;
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--myth-cream);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.myth-play .note { color: var(--myth-muted); max-width: 600px; margin: 0 auto 2rem; font-size: 1.05rem; }

.myth-play-frame {
  width: 100%; max-width: 1100px; margin: 0 auto;
  aspect-ratio: 16/9;
  border: 2px solid var(--myth-gold);
  overflow: hidden;
  background: #000;
}

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

/* FOOTER */
.myth-footer {
  padding: 3rem;
  background: var(--myth-brown);
  text-align: center;
  border-top: 2px solid var(--myth-gold);
}

.mf-links { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.mf-links a { color: var(--myth-muted); text-decoration: none; font-family: 'Cinzel', serif; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; transition: color 0.3s; }
.mf-links a:hover { color: var(--myth-gold); }

.mf-resp { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(212,168,83,0.1); }
.mf-resp p { font-size: 0.85rem; color: var(--myth-muted); margin-bottom: 0.5rem; }
.mf-resp a { color: var(--myth-gold); text-decoration: none; margin: 0 0.7rem; font-size: 0.82rem; }
.mf-resp a:hover { text-decoration: underline; }

.mf-copy { margin-top: 1.2rem; font-size: 0.78rem; color: var(--myth-muted); }

/* AGE GATE */
.myth-gate {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(26,15,6,0.97);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
}

.myth-age-box {
  background: var(--myth-brown);
  border: 2px solid var(--myth-gold);
  padding: 3rem 2.5rem;
  text-align: center;
  max-width: 430px; width: 90%;
}

.myth-age-box h2 { font-family: 'Cinzel', serif; font-weight: 800; font-size: 1.5rem; color: var(--myth-cream); margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 1px; }
.myth-age-box p { color: var(--myth-muted); font-size: 0.95rem; margin-bottom: 1.5rem; }
.myth-age-btns { display: flex; gap: 1rem; justify-content: center; }

.m-yes {
  padding: 11px 30px;
  border: 2px solid var(--myth-gold);
  background: var(--myth-gold);
  color: var(--myth-dark);
  font-family: 'Cinzel', serif;
  font-weight: 700; font-size: 0.85rem;
  cursor: pointer; text-transform: uppercase; letter-spacing: 2px;
}

.m-no {
  padding: 11px 30px;
  border: 2px solid var(--myth-muted);
  background: transparent;
  color: var(--myth-muted);
  font-family: 'Cinzel', serif;
  font-weight: 600; font-size: 0.85rem;
  cursor: pointer; text-transform: uppercase; letter-spacing: 2px;
}

.m-yes:hover { background: var(--myth-amber); border-color: var(--myth-amber); }
.m-block { color: var(--myth-red); font-weight: 600; margin-top: 1rem; display: none; font-size: 0.95rem; }

@media (max-width: 900px) {
  .myth-scroll { grid-template-columns: 1fr; }
  .myth-pillars { grid-template-columns: 1fr; }
  .decree-row { grid-template-columns: 1fr; }
  .myth-banner h1 { font-size: 2.2rem; }
}

@media (max-width: 768px) {
  .myth-burger { display: flex; }
  .myth-nav {
    display: none;
    position: absolute;
    top: 68px; left: 0; width: 100%;
    background: rgba(26,15,6,0.98);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 0.8rem;
    border-bottom: 2px solid var(--myth-gold);
  }
  .myth-nav.open { display: flex; }
  .myth-page { padding: 90px 1.2rem 40px; }
  .myth-play { padding: 90px 1.2rem 40px; }
  .myth-arena, .myth-scroll { padding: 3rem 1.2rem; }
}
