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

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

:root {
  --gold: #d4a537;
  --gold-pale: #f0dfa0;
  --burgundy: #6b1a2a;
  --burgundy-deep: #3d0f19;
  --parchment: #faf3e4;
  --dark: #1e1108;
  --txt: #5c4a33;
  --txt-light: #9a876e;
}

html { scroll-behavior: smooth; }
body { font-family: 'Merriweather', serif; background: var(--parchment); color: var(--txt); line-height: 1.85; }
h1, h2, h3, h4 { font-family: 'Cinzel', serif; font-weight: 700; }
a { color: var(--burgundy); text-decoration: none; transition: 0.3s; }
a:hover { color: var(--gold); }

/* HEADER */
.myth-header {
  position: fixed; top: 0; width: 100%; z-index: 1000; height: 72px;
  background: var(--burgundy-deep); display: flex; align-items: center;
  justify-content: space-between; padding: 0 2.5rem;
  border-bottom: 3px solid var(--gold);
}
.mh-brand { display: flex; align-items: center; gap: 10px; }
.mh-brand svg { width: 34px; height: 34px; }
.mh-brand span { font-family: 'Cinzel', serif; font-size: 1.2rem; font-weight: 700; color: var(--gold); letter-spacing: 2px; }
.mh-links { display: flex; gap: 1.8rem; list-style: none; }
.mh-links a { color: var(--gold-pale); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; font-family: 'Cinzel', serif; }
.mh-links a:hover, .mh-links a.lit { color: var(--gold); text-shadow: 0 0 8px rgba(212,165,55,0.4); }
.mh-burger { display: none; background: none; border: none; cursor: pointer; }
.mh-burger span { display: block; width: 24px; height: 2.5px; background: var(--gold); margin: 4px 0; }

/* HERO */
.myth-hero {
  padding: 120px 2.5rem 5rem; text-align: center;
  background: linear-gradient(180deg, var(--burgundy-deep) 0%, var(--dark) 40%, var(--parchment) 100%);
}
.myth-hero h1 { font-size: 3rem; color: var(--gold); margin-bottom: 1.2rem; text-shadow: 0 2px 8px rgba(0,0,0,0.5); }
.myth-hero > p { max-width: 700px; margin: 0 auto 2rem; color: var(--gold-pale); font-size: 1.05rem; }
.myth-badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; }
.mbadge {
  background: rgba(212,165,55,0.15); border: 2px solid var(--gold); color: var(--gold);
  padding: 0.5rem 1.5rem; font-family: 'Cinzel', serif; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
}

/* GAME */
.game-temple { max-width: 1000px; margin: 0 auto; padding: 4rem 2rem; }
.game-temple h2 { text-align: center; font-size: 2rem; color: var(--burgundy); margin-bottom: 1.5rem; }
.temple-frame {
  width: 100%; padding-top: 64%; position: relative; overflow: hidden;
  border: 4px solid var(--gold); box-shadow: 0 8px 30px rgba(212,165,55,0.15);
}
.temple-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

/* COLUMNS */
.col-section {
  max-width: 1100px; margin: 4rem auto; padding: 0 2rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem;
}
.pillar {
  text-align: center; padding: 2.5rem 1.5rem;
  border-top: 4px solid var(--gold); background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.pillar .sym { font-size: 2.5rem; margin-bottom: 0.8rem; }
.pillar h3 { font-size: 1rem; color: var(--burgundy); margin-bottom: 0.5rem; }
.pillar p { font-size: 0.88rem; color: var(--txt-light); }

/* SCROLL SECTION */
.scroll-sec {
  background: var(--burgundy-deep); padding: 4rem 2.5rem; margin: 3rem 0; text-align: center;
}
.scroll-sec h2 { font-size: 2rem; color: var(--gold); margin-bottom: 1.2rem; }
.scroll-sec p { max-width: 800px; margin: 0 auto 1rem; color: var(--gold-pale); font-size: 0.95rem; }

/* CONTENT */
.myth-content { max-width: 880px; margin: 0 auto; padding: 0 2rem; }
.myth-content h2 { font-size: 1.8rem; color: var(--burgundy); margin: 3rem 0 1rem; }
.myth-content p { color: var(--txt-light); margin-bottom: 1rem; }

/* PAGE CONTENT */
.pg-myth { max-width: 860px; margin: 0 auto; padding: 110px 2rem 4rem; }
.pg-myth h1 { font-size: 2.2rem; color: var(--burgundy); margin-bottom: 1rem; }
.pg-myth h3 { font-size: 1.15rem; color: var(--gold); margin: 2rem 0 0.7rem; font-family: 'Cinzel', serif; }
.pg-myth p { color: var(--txt-light); margin-bottom: 1rem; }
.pg-myth ul { margin: 0.8rem 0 1rem 1.5rem; }
.pg-myth li { color: var(--txt-light); margin-bottom: 0.4rem; }

/* PLAY */
.play-altar { padding: 110px 2rem 2rem; text-align: center; }
.play-altar h1 { font-size: 2.2rem; color: var(--burgundy); margin-bottom: 0.6rem; }
.play-altar p { color: var(--txt-light); max-width: 600px; margin: 0 auto; }
.play-scroll {
  max-width: 700px; margin: 2rem auto; background: #fff; border: 2px solid var(--gold);
  padding: 1.5rem 2rem; text-align: left;
}
.play-scroll h3 { color: var(--burgundy); margin-bottom: 0.5rem; }
.play-scroll li { color: var(--txt-light); font-size: 0.9rem; margin-bottom: 0.3rem; }

/* FOOTER */
.myth-footer {
  background: var(--burgundy-deep); border-top: 3px solid var(--gold);
  padding: 3rem 2rem; text-align: center; margin-top: 4rem;
}
.mf-links { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.mf-links a { color: var(--gold-pale); font-size: 0.88rem; font-family: 'Cinzel', serif; }
.mf-links a:hover { color: var(--gold); }
.mf-resp { margin-bottom: 1.2rem; }
.mf-resp p { color: var(--gold-pale); font-size: 0.82rem; margin-bottom: 0.4rem; }
.mf-resp a { color: var(--gold); font-size: 0.82rem; margin: 0 0.5rem; }
.mf-copy { color: var(--gold-pale); font-size: 0.72rem; opacity: 0.5; }

/* AGE */
.age-veil {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(30,17,8,0.96); display: flex; align-items: center; justify-content: center;
}
.age-veil.lifted { display: none; }
.age-scroll-box {
  background: var(--parchment); border: 3px solid var(--gold); padding: 2.5rem; text-align: center;
  max-width: 430px; width: 90%;
}
.age-scroll-box h2 { font-size: 1.4rem; color: var(--burgundy); margin-bottom: 0.8rem; }
.age-scroll-box p { color: var(--txt-light); margin-bottom: 1.5rem; font-size: 0.92rem; }
.age-duo { display: flex; gap: 1rem; justify-content: center; }
.age-duo button {
  padding: 0.7rem 2rem; font-family: 'Cinzel', serif; font-weight: 700; font-size: 0.95rem;
  cursor: pointer; border: 2px solid var(--gold); transition: 0.3s;
}
.myth-yes { background: var(--gold); color: var(--dark); }
.myth-yes:hover { background: var(--burgundy); color: var(--gold); border-color: var(--burgundy); }
.myth-no { background: transparent; color: var(--txt-light); }
.myth-no:hover { background: #fee2e2; color: #b91c1c; border-color: #b91c1c; }

@media (max-width: 768px) {
  .mh-burger { display: block; }
  .mh-links {
    position: fixed; top: 72px; left: 0; width: 100%; background: var(--burgundy-deep);
    flex-direction: column; padding: 1.5rem 2rem; gap: 1rem; border-bottom: 3px solid var(--gold);
    transform: translateX(-100%); transition: 0.3s;
  }
  .mh-links.revealed { transform: translateX(0); }
  .myth-hero h1 { font-size: 2rem; }
  .col-section { grid-template-columns: 1fr; }
  .temple-frame { padding-top: 75%; }
}
