@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Source+Sans+3:wght@300;400;600;700&display=swap');

:root {
  --earth: #1a1209;
  --parchment: #f4e8c1;
  --bronze: #cd7f32;
  --bronze-light: #daa06d;
  --olive: #556b2f;
  --wine: #722f37;
  --ink: #2c1810;
  --text-light: #f0e6d0;
  --text-body: #3d2b1f;
  --gold-accent: #d4a237;
  --border: rgba(205,127,50,0.2);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--parchment);
  color: var(--text-body);
  line-height: 1.8;
}

/* NAVIGATION */
.myth-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 900;
  background: linear-gradient(180deg, var(--earth) 0%, rgba(26,18,9,0.95) 100%);
  border-bottom: 3px solid var(--bronze);
}

.myth-nav {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 2rem;
}

.myth-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.7rem;
  color: var(--gold-accent);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.myth-brand svg { width: 34px; height: 34px; }

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

.nav-menu a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}

.nav-menu a:hover, .nav-menu a.here {
  color: var(--gold-accent);
  border-bottom-color: var(--gold-accent);
}

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

.burger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--gold-accent);
  border-radius: 2px;
  transition: all 0.3s;
}

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

@media (max-width: 768px) {
  .burger { display: flex; }
  .nav-menu {
    position: fixed;
    top: 66px;
    left: 0;
    width: 100%;
    background: var(--earth);
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s;
  }
  .nav-menu.show { transform: scaleY(1); }
}

/* HERO - Large centered with ornamental borders */
.myth-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 2rem 4rem;
  background: var(--earth);
  position: relative;
  overflow: hidden;
}

.myth-hero::before, .myth-hero::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border: 2px solid rgba(205,127,50,0.2);
  border-radius: 50%;
}

.myth-hero::before { top: -100px; left: -100px; }
.myth-hero::after { bottom: -100px; right: -100px; }

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  border: 2px solid var(--border);
  padding: 4rem 3rem;
  background: rgba(26,18,9,0.8);
}

.hero-inner h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--gold-accent);
  margin-bottom: 1.2rem;
  line-height: 1.2;
}

.hero-inner p {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  opacity: 0.85;
}

.myth-btn {
  display: inline-block;
  padding: 0.9rem 2.8rem;
  background: var(--bronze);
  color: var(--parchment);
  text-decoration: none;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  letter-spacing: 1px;
}

.myth-btn:hover {
  background: var(--gold-accent);
  transform: translateY(-2px);
}

/* NOTICE BANNER */
.myth-notices {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 2rem;
  background: var(--wine);
  color: var(--parchment);
}

.myth-notices .mn-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.myth-notices .mn-icon { font-size: 1.4rem; }

/* GAME SECTION */
.game-zone {
  padding: 4rem 2rem;
  background: var(--earth);
}

.game-frame {
  max-width: 1000px;
  margin: 0 auto;
  border: 4px solid var(--bronze);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

.game-frame iframe {
  width: 100%;
  height: 600px;
  border: none;
  display: block;
}

@media (max-width: 768px) {
  .game-frame iframe { height: 380px; }
}

/* CONTENT SECTIONS */
.myth-section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.ms-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: var(--ink);
  margin-bottom: 0.8rem;
  position: relative;
  display: inline-block;
}

.ms-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--bronze);
  margin-top: 0.5rem;
}

.ms-desc {
  color: var(--text-body);
  opacity: 0.7;
  font-size: 1.05rem;
  margin-bottom: 3rem;
}

/* THREE COLUMN */
.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 900px) {
  .trio { grid-template-columns: 1fr; }
}

.scroll-card {
  background: #fff;
  border: 1px solid rgba(205,127,50,0.15);
  padding: 2rem;
  text-align: center;
  transition: box-shadow 0.3s;
  border-top: 4px solid var(--bronze);
}

.scroll-card:hover {
  box-shadow: 0 8px 30px rgba(205,127,50,0.15);
}

.scroll-card .sc-icon { font-size: 2.5rem; margin-bottom: 1rem; }

.scroll-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 0.8rem;
}

.scroll-card p { font-size: 0.95rem; color: var(--text-body); opacity: 0.8; }

/* TEXT BLOCKS */
.parchment-block {
  background: #fff;
  border: 1px solid rgba(205,127,50,0.12);
  padding: 2.5rem;
  margin-bottom: 2rem;
  border-left: 4px solid var(--bronze);
}

.parchment-block h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--ink);
  margin-bottom: 1rem;
}

.parchment-block p { color: var(--text-body); opacity: 0.8; margin-bottom: 0.8rem; }

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

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

.mf-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.mf-links a:hover { opacity: 1; color: var(--gold-accent); }

.mf-safe {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(205,127,50,0.2);
}

.mf-safe p { font-size: 0.85rem; opacity: 0.6; margin-bottom: 0.5rem; }
.mf-safe a { color: var(--gold-accent); text-decoration: none; margin: 0 0.5rem; }
.mf-safe a:hover { text-decoration: underline; }

/* AGE OVERLAY */
.age-wall {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.age-scroll {
  background: var(--parchment);
  border: 3px solid var(--bronze);
  padding: 3rem;
  text-align: center;
  max-width: 450px;
  width: 100%;
}

.age-scroll h2 {
  font-family: 'Playfair Display', serif;
  color: var(--wine);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.age-scroll p { color: var(--text-body); margin-bottom: 2rem; font-size: 1rem; }

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

.btn-enter {
  padding: 0.8rem 2.5rem;
  background: var(--olive);
  color: #fff;
  border: none;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-enter:hover { background: #6b8e23; }

.btn-leave {
  padding: 0.8rem 2.5rem;
  background: var(--wine);
  color: #fff;
  border: none;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-leave:hover { background: #8b3a42; }

/* INNER PAGES */
.inner-page { padding-top: 90px; min-height: 80vh; }

.inner-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.inner-wrap h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--ink);
  margin-bottom: 2rem;
}

.inner-wrap h1::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: var(--bronze);
  margin-top: 0.8rem;
}

.inner-wrap h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--wine);
  margin: 2rem 0 0.8rem;
}

.inner-wrap p { margin-bottom: 1rem; opacity: 0.85; }
.inner-wrap ul, .inner-wrap ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.inner-wrap li { margin-bottom: 0.4rem; opacity: 0.85; }

/* PLAY PAGE */
.play-title { text-align: center; padding: 2rem; }

.play-title h1 {
  font-family: 'Playfair Display', serif;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.play-note {
  max-width: 800px;
  margin: 0 auto;
  padding: 1.5rem;
  background: #fff;
  border-left: 4px solid var(--bronze);
  color: var(--text-body);
  font-size: 0.95rem;
}
