/* =========================
   THE MONSTERS WE ARE
   Layout matches AWWNK (main + right sidebar)
   Palette matches Monsters (black/white/red)
   ========================= */

:root{
  --mon-bg: #070707;
  --mon-panel: rgba(15,15,15,0.92);
  --mon-text: #f2f2f2;
  --mon-muted: #c8c8c8;
  --mon-red: #b40000;
  --mon-red2: #ff2a2a;
  --mon-border: rgba(255,255,255,0.10);
}

/* Page base */
body.monsters{
  min-height: 100vh;
  background: radial-gradient(circle at top, #111 0, #070707 45%, #000 100%) !important;
  color: var(--mon-text);
  padding: 2rem 1rem !important; /* override style.css left-banner padding */
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Prevent overflow */
html, body{
  max-width: 100%;
  overflow-x: hidden;
}

/* Top banner aligned to content width */
body.monsters .top-banner{
  max-width: 1100px;
  margin: 0 auto 1rem;
}
body.monsters .top-banner img{
  width: 100%;
  height: auto;
  display: block;
}

/* AWWNK layout: main + sidebar */
body.monsters .page-wrapper{
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

/* Main column */
body.monsters .main-content{
  flex: 1 1 auto;
  min-width: 0; /* prevents sidebar drop */
  background: var(--mon-panel);
  border: 1px solid var(--mon-border);
  border-radius: 1rem;
  padding: 1.5rem 1.6rem;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.35);
}

/* Typography */
body.monsters .page-title{
  color: var(--mon-text);
  letter-spacing: 0.5px;
  margin: 0 0 0.35rem;
}
body.monsters .series-tagline{
  color: var(--mon-muted);
  margin: 0 0 1.2rem;
}

/* Book section (cover + blurb) */
body.monsters .book-feature{
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  border-top: 1px solid var(--mon-border);
  border-bottom: 1px solid var(--mon-border);
  padding: 1.25rem 0;
  margin-top: 1.25rem;
}

/* ✅ FORCE cover to AWWNK size */
body.monsters .book-feature > img.book-cover{
  width: 210px !important;
  max-width: 210px !important;
  flex: 0 0 210px !important;
  height: auto !important;
  border: 1px solid var(--mon-border);
  border-radius: 0.75rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.55);
}

body.monsters .book-info{
  flex: 1 1 auto;
  min-width: 0;
}

body.monsters .book-title{
  color: var(--mon-text);
  margin: 0.1rem 0 0.5rem;
}

body.monsters .book-blurb{
  color: var(--mon-muted);
  line-height: 1.55;
}

/* CTA */
body.monsters .preorder-cta{
  text-align: center;
  margin: 1.5rem 0 0.75rem;
}
body.monsters .preorder-button{
  display: inline-block;
  background: var(--mon-red);
  color: #fff;
  padding: 0.9rem 1.2rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.2px;
  border: 1px solid rgba(255,255,255,0.18);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
body.monsters .preorder-button:hover{
  background: var(--mon-red2);
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(180,0,0,0.25);
}

/* Divider */
body.monsters .spiral-divider img{
  opacity: 0.9;
}

/* Sidebar */
body.monsters .sidebar{
  width: 260px;
  flex: 0 0 260px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

body.monsters .sidebar-card{
  background: var(--mon-panel);
  border: 1px solid var(--mon-border);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  color: var(--mon-text);
}

body.monsters .sidebar-card h3{
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
  color: var(--mon-red2);
}

body.monsters .sidebar-card ul{
  list-style: none;
  padding-left: 0;
}

body.monsters .sidebar-card li + li{
  margin-top: 0.4rem;
}

body.monsters .sidebar a{
  color: var(--mon-text);
  text-decoration: none;
}

body.monsters .sidebar a:hover{
  color: var(--mon-red2);
  text-decoration: underline;
}

body.monsters .sidebar-home{
  display: block;
  text-align: center;
  font-weight: 800;
  padding: 0.75rem 0.9rem;
  border-radius: 0.85rem;
  background: rgba(180,0,0,0.20);
  border: 1px solid rgba(255,255,255,0.12);
}

/* Media */
@media (max-width: 900px){
  body.monsters{
    padding: 1.5rem !important;
  }

  body.monsters .page-wrapper{
    display: block;
  }

  body.monsters .sidebar{
    width: 100%;
    margin-top: 1rem;
  }

  body.monsters .book-feature{
    flex-direction: column;
  }

  body.monsters .book-feature > img.book-cover{
    width: min(240px, 100%) !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
  }
} /* <-- closes the @media block */

/* Center the Release Date heading */
body.monsters .page-title{
  text-align: center;
  width: 100%;
}
