/* =========================================================
   DENVER NUGGETS | 2026-27 BOOK NIGHTS
   A scoped, standalone redesign. Does not style NBA nav/footer.
   Palette: Midnight #0e2240 / Sunshine #fec524 /
   Flatirons #8b2131 / Skyline #1d428a
========================================================= */

.book-nights-page {
  --bn-navy: #0e2240;
  --bn-yellow: #fec524;
  --bn-red: #8b2131;
  --bn-skyline: #1d428a;
  --bn-paper: #f8f5ee;
  --bn-ink: #18263b;
  --bn-muted: #586476;
  --bn-rule: #e0ded8;
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  color: var(--bn-ink);
  background: #fff;
  overflow: hidden;
}

.book-nights-page *,
.book-nights-page *::before,
.book-nights-page *::after { box-sizing: border-box; }

.book-nights-page a { text-decoration: none; }
.book-nights-page a:focus-visible { outline: 3px solid var(--bn-yellow); outline-offset: 4px; }
.book-nights-page img { display: block; max-width: 100%; }
.book-nights-page h1,
.book-nights-page h2,
.book-nights-page h3,
.book-nights-page p { margin-top: 0; }
.book-nights-page .bn-display { font-family: "Oswald", Impact, "Arial Narrow", sans-serif; text-transform: uppercase; }

/* ------- EDITORIAL HERO ------- */
.book-nights-page .bn-hero {
  position: relative;
  isolation: isolate;
  min-height: 565px;
  padding: 84px 0 85px;
  background:
    radial-gradient(ellipse at 12% 16%, rgba(139, 33, 49, .8), transparent 42%),
    radial-gradient(ellipse at 96% 70%, rgba(29, 66, 138, .65), transparent 55%),
    linear-gradient(117deg, #0b172c 0%, #0e2240 58%, #172c4b 100%);
  color: #fff;
}
.book-nights-page .bn-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .19;
  pointer-events: none;
  background-image: repeating-linear-gradient(0deg, transparent 0, transparent 3px, rgba(255,255,255,.07) 4px, transparent 5px);
  z-index: -1;
}
.book-nights-page .bn-hero::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 7px;
  background: linear-gradient(90deg, var(--bn-red) 0% 33%, var(--bn-yellow) 33% 71%, var(--bn-skyline) 71%);
}
.book-nights-page .bn-hero-content { position: relative; z-index: 2; }
.book-nights-page .bn-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--bn-yellow);
  letter-spacing: .20em;
  text-transform: uppercase;
  font-size: .75rem;
  font-weight: 800;
}
.book-nights-page .bn-eyebrow::before {
  content: "";
  width: 29px;
  height: 2px;
  background: currentColor;
  flex: none;
}
.book-nights-page .bn-hero h1 {
  margin: 28px 0 20px;
  font-family: "Oswald", Impact, "Arial Narrow", sans-serif;
  font-weight: 700;
  font-size: clamp(5.1rem, 10vw, 9.5rem);
  line-height: .91;
  letter-spacing: -.035em;
  text-transform: uppercase;
  color: #fff;
}
.book-nights-page .bn-hero h1 span { color: var(--bn-yellow); display: block; }
.book-nights-page .bn-hero-deck {
  max-width: 520px;
  color: #d6e0ed;
  font-size: clamp(1rem, 1.55vw, 1.2rem);
  font-weight: 500;
  line-height: 1.7;
}
.book-nights-page .bn-hero-bottom {
  margin-top: 35px;
  display: flex;
  gap: 25px;
  align-items: center;
  flex-wrap: wrap;
}
.book-nights-page .bn-season-mark {
  display: inline-flex;
  border: 1px solid rgba(255,255,255,.27);
  border-radius: 100px;
  padding: 9px 17px;
  color: #fff;
  font-size: .72rem;
  letter-spacing: .16em;
  font-weight: 800;
  text-transform: uppercase;
}
.book-nights-page .bn-hero-caption {
  color: #aebcd0;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

/* Book-cover visual built from provided event imagery, not additional assets */
.book-nights-page .bn-book-scene {
  position: relative;
  min-height: 420px;
  margin: 12px 8px 0 34px;
  perspective: 1300px;
}
.book-nights-page .bn-book-scene::before {
  content: "";
  position: absolute;
  width: 410px; height: 410px;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(254, 197, 36, .21);
  border-radius: 50%;
  box-shadow: 0 0 0 56px rgba(255,255,255,.025), 0 0 0 122px rgba(255,255,255,.018);
}
.book-nights-page .bn-book-scene::after {
  content: "";
  position: absolute;
  left: 3%; right: 0; bottom: 20px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .48);
  filter: blur(17px);
}
.book-nights-page .bn-book {
  position: absolute;
  width: 74%;
  max-width: 435px;
  padding: 10px 10px 19px 19px;
  background: #eee9de;
  border-left: 10px solid #c1b9aa;
  box-shadow: 16px 22px 40px rgba(0,0,0,.38), 3px 3px 0 rgba(255,255,255,.65);
  border-radius: 4px 2px 2px 4px;
  transform-origin: center;
}
.book-nights-page .bn-book::after {
  content: "";
  position: absolute;
  bottom: 6px; left: 18px; right: 5px;
  height: 8px;
  background: repeating-linear-gradient(0deg, #fff 0 1px, #c9c0ae 1px 2px);
  opacity: .72;
}
.book-nights-page .bn-book img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.book-nights-page .bn-book-back {
  right: -4%; top: 38px;
  transform: rotate(14deg) translateZ(-50px);
  border-left-color: var(--bn-red);
  z-index: 1;
}
.book-nights-page .bn-book-middle {
  left: 3%; top: 105px;
  transform: rotate(-17deg) translateZ(0);
  border-left-color: var(--bn-skyline);
  z-index: 2;
}
.book-nights-page .bn-book-front {
  right: 10%; top: 172px;
  transform: rotate(3deg) translateZ(50px);
  border-left-color: var(--bn-yellow);
  z-index: 3;
}
.book-nights-page .bn-book-stamp {
  position: absolute;
  z-index: 4;
  top: 0; right: 0;
  width: 94px; height: 94px;
  display: flex; align-items: center; justify-content: center;
  color: var(--bn-navy);
  background: var(--bn-yellow);
  border-radius: 50%;
  transform: rotate(13deg);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 1.05rem;
  line-height: 1.12;
  text-align: center;
  box-shadow: 0 10px 26px rgba(0,0,0,.25);
  text-transform: uppercase;
}

/* ------- INTRO & SIGNUP ------- */
.book-nights-page .bn-intro {
  position: relative;
  padding: 75px 0;
  background: var(--bn-paper);
  border-bottom: 1px solid #ebe5db;
}
.book-nights-page .bn-intro::before {
  content: "";
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 31%;
  opacity: .38;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0px, transparent 35px, #d9d6ce 36px, transparent 37px);
}
.book-nights-page .bn-small-label {
  color: var(--bn-red);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.book-nights-page .bn-intro h2 {
  color: var(--bn-navy);
  font-family: "Oswald", Impact, sans-serif;
  font-size: clamp(2.25rem, 4.2vw, 4.1rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -.014em;
  line-height: 1.1;
  max-width: 690px;
}
.book-nights-page .bn-intro-description {
  max-width: 680px;
  color: #343f50;
  font-size: 1.05rem;
  line-height: 1.85;
  font-weight: 500;
}
.book-nights-page .bn-signup {
  padding: 30px;
  height: 100%;
  color: #fff;
  background: var(--bn-navy);
  border-top: 5px solid var(--bn-yellow);
  box-shadow: 12px 12px 0 rgba(139,33,49,.13);
}
.book-nights-page .bn-signup-icon { width: 38px; height: 38px; color: var(--bn-yellow); }
.book-nights-page .bn-signup h3 {
  color: #fff;
  font-family: "Oswald", Impact, sans-serif;
  text-transform: uppercase;
  font-size: 1.8rem;
  font-weight: 600;
  margin: 19px 0 10px;
}
.book-nights-page .bn-signup p { color: #d9e3ef; font-size: .94rem; line-height: 1.7; }
.book-nights-page .bn-primary-link,
.book-nights-page .bn-ticket-link,
.book-nights-page .bn-notify-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 19px;
  border: 2px solid transparent;
  border-radius: 0;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .07em;
  line-height: 1.35;
  text-transform: uppercase;
  transition: background-color .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}
.book-nights-page .bn-primary-link,
.book-nights-page .bn-ticket-link {
  background: var(--bn-yellow);
  color: var(--bn-navy);
  border-color: var(--bn-yellow);
}
.book-nights-page .bn-primary-link:hover,
.book-nights-page .bn-ticket-link:hover {
  color: #fff;
  background: var(--bn-red);
  border-color: var(--bn-red);
  transform: translateY(-2px);
}
.book-nights-page .bn-arrow { font-size: 1.3em; line-height: 1; flex: none; }
.book-nights-page .bn-signup .bn-primary-link { width: 100%; margin-top: 7px; }
.book-nights-page .bn-signup-fine { font-size: .74rem !important; margin: 15px 0 0; letter-spacing: .02em; opacity: .85; }

/* ------- CHAPTER / EVENT LIST ------- */
.book-nights-page .games-wrapper {
  background: #ffffff;
  padding: 84px 0 98px;
}
.book-nights-page .bn-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--bn-rule);
  padding-bottom: 25px;
}
.book-nights-page .bn-section-head h2 {
  margin: 11px 0 0;
  color: var(--bn-navy);
  font-family: "Oswald", Impact, sans-serif;
  font-size: clamp(3rem, 6vw, 5.4rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: .98;
  text-transform: uppercase;
}
.book-nights-page .bn-section-head h2 span { color: var(--bn-red); }
.book-nights-page .bn-section-note {
  color: var(--bn-muted);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: right;
  white-space: nowrap;
}
.book-nights-page .bn-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--bn-paper);
  border: 1px solid #e9e5dc;
  border-left: 7px solid var(--bn-yellow);
  box-shadow: 0 18px 38px rgba(14,34,64,.09), 0 3px 8px rgba(14,34,64,.04);
  transition: transform .24s ease, box-shadow .24s ease;
}
.book-nights-page .bn-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 52px rgba(14,34,64,.16);
}
.book-nights-page .bn-card--mystery { border-left-color: var(--bn-skyline); }
.book-nights-page .bn-card--cardinal { border-left-color: var(--bn-red); }
.book-nights-page .bn-card--housemaid { border-left-color: var(--bn-navy); }
.book-nights-page .bn-card-media { position: relative; overflow: hidden; background: var(--bn-navy); }
.book-nights-page .bn-card-media img {
  width: 100%; height: auto; aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform .5s ease;
}
.book-nights-page .bn-card:hover .bn-card-media img { transform: scale(1.025); }
.book-nights-page .bn-chapter-tab {
  position: absolute;
  top: 0; left: 0;
  padding: 12px 17px 11px;
  background: var(--bn-yellow);
  color: var(--bn-navy);
  font-size: .69rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.book-nights-page .bn-card--mystery .bn-chapter-tab { background: var(--bn-skyline); color: #fff; }
.book-nights-page .bn-card--cardinal .bn-chapter-tab { background: var(--bn-red); color: #fff; }
.book-nights-page .bn-card--housemaid .bn-chapter-tab { background: var(--bn-navy); color: #fff; }
.book-nights-page .bn-image-foot {
  height: 7px;
  background: repeating-linear-gradient(0deg, #f8f4eb 0 1px, #bbb5aa 1px 2px);
  opacity: .78;
}
.book-nights-page .bn-card-body { display: flex; flex: 1; flex-direction: column; padding: 28px 32px 31px; }
.book-nights-page .bn-index {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  color: var(--bn-red);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.book-nights-page .bn-index::after { content: ""; height: 1px; flex: 1; background: #d4cdc0; }
.book-nights-page .bn-card h3 {
  margin: 0 0 21px;
  color: var(--bn-navy);
  font-family: "Oswald", Impact, sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.55rem);
  font-weight: 600;
  line-height: 1.06;
  text-transform: uppercase;
}
.book-nights-page .bn-card--mystery h3 { color: var(--bn-skyline); }
.book-nights-page .bn-event-details {
  display: flex;
  gap: 10px 22px;
  flex-wrap: wrap;
  padding-top: 18px;
  padding-bottom: 22px;
  margin-bottom: 25px;
  border-top: 1px solid #ddd7c9;
  border-bottom: 1px solid #ddd7c9;
}
.book-nights-page .bn-detail { min-width: 0; }
.book-nights-page .bn-detail-label {
  display: block;
  color: #626c78;
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.book-nights-page .bn-detail strong {
  display: block;
  color: var(--bn-ink);
  font-size: .95rem;
  font-weight: 800;
  line-height: 1.45;
}
.book-nights-page .bn-card-action { margin-top: auto; }
.book-nights-page .bn-ticket-link, .book-nights-page .bn-notify-link { width: 100%; }
.book-nights-page .bn-notify-link { color: var(--bn-navy); background: transparent; border-color: var(--bn-navy); }
.book-nights-page .bn-notify-link:hover { color: #fff; background: var(--bn-navy); transform: translateY(-2px); }
.book-nights-page .bn-empty-state {
  margin: 28px auto 0;
  padding: 45px 25px;
  max-width: 800px;
  text-align: center;
  background: var(--bn-paper);
  border-top: 4px solid var(--bn-yellow);
}
.book-nights-page .bn-empty-state[hidden] { display: none !important; }
.book-nights-page .bn-empty-state h3 { font-family: Oswald, Impact, sans-serif; color: var(--bn-navy); text-transform: uppercase; }
.book-nights-page .bn-empty-state p { color: #425066; }

/* ------- FINAL READER'S CLUB CTA ------- */
.book-nights-page .bn-outro {
  position: relative;
  padding: 66px 0;
  color: #fff;
  background: var(--bn-red);
}
.book-nights-page .bn-outro::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .09;
  background: repeating-linear-gradient(90deg, #fff 0 1px, transparent 1px 50px);
}
.book-nights-page .bn-outro-inner { position: relative; z-index: 1; }
.book-nights-page .bn-outro h2 {
  color: #fff;
  font-family: "Oswald", Impact, sans-serif;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.06;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.book-nights-page .bn-outro p { color: #fbe7e7; line-height: 1.75; margin-bottom: 0; }
.book-nights-page .bn-outro .bn-primary-link { min-width: 230px; }
.book-nights-page .bn-outro .bn-primary-link:hover { background: var(--bn-navy); border-color: var(--bn-navy); }

@media (max-width: 1199.98px) {
  .book-nights-page .bn-book-scene { margin-left: 0; min-height: 390px; }
  .book-nights-page .bn-book { width: 80%; }
  .book-nights-page .bn-book-front { top: 170px; right: 3%; }
}
@media (max-width: 991.98px) {
  .book-nights-page .bn-hero { padding: 70px 0 65px; }
  .book-nights-page .bn-hero h1 { font-size: clamp(4.8rem, 13vw, 7.8rem); }
  .book-nights-page .bn-book-scene { max-width: 580px; margin: 40px auto 0; min-height: 365px; }
  .book-nights-page .bn-book { max-width: 395px; }
  .book-nights-page .bn-book-back { top: 5px; right: 0; }
  .book-nights-page .bn-book-middle { top: 65px; left: 3%; }
  .book-nights-page .bn-book-front { top: 125px; right: 9%; }
  .book-nights-page .bn-intro { padding: 65px 0; }
  .book-nights-page .games-wrapper { padding: 65px 0 75px; }
}
@media (max-width: 575.98px) {
  .book-nights-page .bn-hero { padding: 56px 0 50px; }
  .book-nights-page .bn-hero h1 { font-size: clamp(4.3rem, 21vw, 6.3rem); margin-top: 23px; }
  .book-nights-page .bn-hero-deck { font-size: 1rem; }
  .book-nights-page .bn-hero-bottom { margin-top: 24px; gap: 14px; }
  .book-nights-page .bn-book-scene { min-height: 260px; max-width: 390px; margin-top: 35px; }
  .book-nights-page .bn-book-scene::before { width: 260px; height: 260px; }
  .book-nights-page .bn-book { padding: 6px 6px 13px 11px; width: 77%; border-left-width: 6px; }
  .book-nights-page .bn-book::after { left: 11px; bottom: 4px; height: 5px; }
  .book-nights-page .bn-book-back { top: 0; right: 2%; }
  .book-nights-page .bn-book-middle { top: 40px; left: 2%; }
  .book-nights-page .bn-book-front { top: 95px; right: 8%; }
  .book-nights-page .bn-book-stamp { width: 66px; height: 66px; font-size: .77rem; top: -3px; right: 3px; }
  .book-nights-page .bn-intro { padding: 47px 0 52px; }
  .book-nights-page .bn-intro h2 { font-size: 2.4rem; }
  .book-nights-page .bn-signup { padding: 23px; }
  .book-nights-page .games-wrapper { padding: 56px 0 66px; }
  .book-nights-page .bn-section-head { display: block; margin-bottom: 28px; }
  .book-nights-page .bn-section-note { text-align: left; margin-top: 14px; white-space: normal; }
  .book-nights-page .bn-card-body { padding: 22px 22px 25px; }
  .book-nights-page .bn-card h3 { font-size: 2rem; }
  .book-nights-page .bn-event-details { gap: 15px 18px; }
  .book-nights-page .bn-detail { flex-basis: calc(50% - 9px); }
  .book-nights-page .bn-detail:first-child { flex-basis: 100%; }
  .book-nights-page .bn-outro { padding: 50px 0; }
  .book-nights-page .bn-outro .bn-primary-link { width: 100%; margin-top: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  .book-nights-page .bn-card,
  .book-nights-page .bn-card img,
  .book-nights-page a { transition: none !important; }
  .book-nights-page .bn-card:hover,
  .book-nights-page .bn-card:hover img,
  .book-nights-page a:hover { transform: none !important; }
}
