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

:root {
  --crimson: #9b2335;
  --dark-red: #6b1825;
  --cream: #fdf5e6;
  --warm-white: #fff9f0;
  --parchment: #f0e4d0;
  --charcoal: #2c2420;
  --brown-text: #5a4838;
  --muted: #8c7a68;
  --border: #d4c4b0;
}

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

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

/* ===== HEADER ===== */
.masthead {
  background: var(--charcoal);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.masthead-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 68px;
}

.site-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--cream);
  letter-spacing: 2px;
}

.site-logo .accent { color: var(--crimson); }

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

.main-nav a {
  color: var(--parchment);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s;
}

.main-nav a:hover { color: var(--crimson); }

.ham-btn {
  display: none;
  background: none;
  border: 2px solid var(--crimson);
  color: var(--crimson);
  font-size: 1.3rem;
  padding: 4px 10px;
  cursor: pointer;
  border-radius: 4px;
}

/* ===== HERO BANNER ===== */
.grand-hero {
  background: linear-gradient(135deg, var(--dark-red) 0%, var(--crimson) 50%, var(--charcoal) 100%);
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
}

.grand-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--crimson), var(--cream), var(--crimson));
}

.grand-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 1.2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.grand-hero .tagline {
  color: var(--parchment);
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

.hero-cta {
  display: inline-block;
  background: var(--cream);
  color: var(--crimson);
  padding: 0.9rem 2.5rem;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 3px;
  transition: background 0.3s, color 0.3s;
}

.hero-cta:hover {
  background: var(--charcoal);
  color: var(--cream);
}

.notice-pills {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.npill {
  background: rgba(253,245,230,0.15);
  border: 1px solid rgba(253,245,230,0.35);
  color: var(--cream);
  padding: 0.4rem 1.2rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 3px;
}

/* ===== SECTIONS ===== */
.page-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  color: var(--charcoal);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  margin-bottom: 3rem;
}

/* ===== GAME EMBED ===== */
.game-wrapper {
  max-width: 840px;
  margin: 0 auto 3rem;
  border: 3px solid var(--crimson);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(155, 35, 53, 0.15);
}

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

/* ===== MAGAZINE GRID ===== */
.mag-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.mag-main {
  background: var(--warm-white);
  border: 1px solid var(--border);
  padding: 2.5rem;
  border-radius: 6px;
}

.mag-main h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.mag-main p {
  margin-bottom: 1rem;
}

.mag-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-box {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--crimson);
  padding: 1.5rem;
  border-radius: 0 6px 6px 0;
}

.sidebar-box h4 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--crimson);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.sidebar-box p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ===== RED BAR ===== */
.red-bar {
  background: var(--crimson);
  padding: 1.5rem 2rem;
  text-align: center;
}

.red-bar p {
  color: var(--cream);
  font-weight: 600;
  font-size: 0.95rem;
}

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

.trio-item {
  background: var(--warm-white);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 6px;
  text-align: center;
  transition: box-shadow 0.3s;
}

.trio-item:hover {
  box-shadow: 0 6px 20px rgba(155, 35, 53, 0.1);
}

.trio-emoji { font-size: 2.2rem; margin-bottom: 0.8rem; }

.trio-item h3 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.trio-item p { font-size: 0.9rem; color: var(--muted); }

/* ===== TEXT PAGES ===== */
.prose {
  max-width: 880px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.prose h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem;
  color: var(--charcoal);
  margin-bottom: 2rem;
}

.prose h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--crimson);
  margin: 2rem 0 0.8rem;
}

.prose p { margin-bottom: 1rem; }

.prose ul {
  list-style: disc;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.prose ul li { margin-bottom: 0.4rem; }

/* ===== PLAY PAGE ===== */
.play-banner {
  text-align: center;
  padding: 3rem 2rem 1rem;
}

.play-banner h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  color: var(--charcoal);
}

.play-info {
  text-align: center;
  color: var(--muted);
  max-width: 600px;
  margin: 0.8rem auto 2rem;
  font-size: 0.93rem;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--charcoal);
  padding: 3rem 2rem;
  text-align: center;
}

.footer-wrap {
  max-width: 1400px;
  margin: 0 auto;
}

.flinks {
  display: flex;
  justify-content: center;
  gap: 1.8rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.flinks a {
  color: var(--parchment);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.3s;
}

.flinks a:hover { color: var(--crimson); }

.fcopy {
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 1rem;
  line-height: 1.6;
}

/* ===== AGE GATE ===== */
.age-screen {
  position: fixed;
  inset: 0;
  background: rgba(44, 36, 32, 0.96);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-card {
  background: var(--cream);
  border-radius: 8px;
  padding: 3rem;
  text-align: center;
  max-width: 440px;
  width: 90%;
  border: 3px solid var(--crimson);
}

.age-card h2 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--charcoal);
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.age-card p {
  color: var(--brown-text);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

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

.btn-enter {
  background: var(--crimson);
  color: var(--cream);
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Source Sans 3', sans-serif;
  transition: background 0.3s;
}

.btn-enter:hover { background: var(--dark-red); }

.btn-leave {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--muted);
  padding: 0.75rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Source Sans 3', sans-serif;
}

.denied-text {
  display: none;
  color: var(--crimson);
  font-weight: 700;
  margin-top: 1rem;
}

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

@media (max-width: 768px) {
  .ham-btn { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    background: var(--charcoal);
    flex-direction: column;
    padding: 1rem 2rem;
    border-top: 1px solid rgba(253,245,230,0.1);
  }
  .main-nav.visible { display: flex; }
  .main-nav a { padding: 0.6rem 0; display: block; }
  .grand-hero h1 { font-size: 2.4rem; }
  .trio { grid-template-columns: 1fr; }
  .game-wrapper iframe { height: 380px; }
}

@media (max-width: 480px) {
  .grand-hero h1 { font-size: 1.9rem; }
  .site-logo { font-size: 1.5rem; }
  .game-wrapper iframe { height: 280px; }
}
