/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Inter", Arial, sans-serif;
  background-color: #5b0707;
  background-image:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.08), transparent 18%),
    radial-gradient(circle at 78% 58%, rgba(0, 0, 0, 0.22), transparent 28%),
    repeating-linear-gradient(35deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 9px),
    linear-gradient(135deg, #7d0c0c, #320404);
  color: #181818;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}


h1,
h2,
h3,
.logo,
.kicker,
.genre-vs,
.vs-panel h3 {
  font-family: "Oswald", Arial, sans-serif;
}

/* NAV BAR */
nav {
  position: relative;
  z-index: 1000;
  background: #f5f1e9;
  border-bottom: 3px solid #d60000;
}

.nav-container {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 15px 20px;
}

.logo {
  flex: 0 0 auto;
  font-size: 1.5rem;
  font-weight: bold;
  color: #d60000;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 22px;
  list-style: none;
  align-items: center;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  display: block;
  text-decoration: none;
  color: #111;
  font-weight: bold;
  padding: 8px;
}

.nav-links a:hover {
  color: #d60000;
}

.nav-links a.active {
  color: #d60000;
  border-bottom: 2px solid #d60000;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 2px solid #d60000;
  min-width: 205px;
  list-style: none;
  z-index: 2000;
}

.nav-links li:hover > .dropdown {
  display: block;
}

.dropdown a:hover {
  background: #d60000;
  color: white;
}

/* MAIN LAYOUT */
.page-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 18px 34px;
  position: relative;
  background-color: #f5f1e9;
  background-image:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.018) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(90deg, rgba(214, 0, 0, 0.018) 0 1px, transparent 1px 11px);
  box-shadow: 0 0 34px rgba(0, 0, 0, 0.24);
}

.page-wrap::before,
.page-wrap::after {
  display: none;
}

.artist-paper {
  background-color: #ebe7dc;
  background-image: linear-gradient(rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.48)), url("images/collage-paper-texture.jpg");
  background-size: 720px auto;
  background-repeat: repeat;
  overflow: hidden;
}

.artist-paper::before,
.artist-paper::after {
  display: none;
}

.section-block {
  margin: 42px 0;
}

.intro-panel {
  max-width: 850px;
  margin: 34px auto 14px;
  padding: 30px;
  text-align: center;
  background: #111;
  color: white;
  border-left: 6px solid #d60000;
  border-bottom: 2px solid #d60000;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.intro-panel .kicker,
.genre-hero .kicker {
  color: #d60000;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.intro-panel h1,
.intro-panel h2 {
  margin: 8px 0 12px;
  color: #f5f1e9;
  font-size: 2rem;
  line-height: 1.15;
}

.intro-panel p {
  line-height: 1.6;
}

.dark-intro {
  margin-top: 24px;
  background: rgba(8, 8, 8, 0.96);
}

.site-button {
  display: inline-block;
  margin-top: 18px;
  padding: 12px 18px;
  color: #111;
  background: #f5f1e9;
  border: 2px solid #d60000;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.site-button:hover {
  color: white;
  background: #d60000;
}

.section-divider {
  height: 8px;
  width: calc(100% + 36px);
  margin: 38px 0 38px -18px;
  position: relative;
  overflow: hidden;
  background: #111;
  border-top: 1px solid rgba(214, 0, 0, 0.55);
  border-bottom: 1px solid rgba(214, 0, 0, 0.55);
}

.section-divider::before {
  content: "";
  position: absolute;
  inset: 2px 0;
  background:
    linear-gradient(90deg, transparent 0 42%, rgba(83, 186, 255, 0.75) 50%, transparent 58%),
    #d60000;
  background-size: 520px 100%, 100% 100%;
  animation: redBarMove 8s linear infinite;
}

.section-divider::after {
  display: none;
}

@keyframes redBarMove {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 360px 0;
  }
}

.section-block > h2,
.map-copy h2 {
  margin-bottom: 18px;
  text-align: center;
  font-size: 2rem;
  color: #111;
}

/* HERO */
.hero {
  min-height: 460px;
  position: relative;
  display: flex;
  align-items: flex-end;
  margin-top: 24px;
  overflow: hidden;
  background-image: linear-gradient(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.4)), url("images/collage0.jpg");
  background-size: cover;
  background-position: center;
  border-bottom: 3px solid #d60000;
}

.hero-text {
  padding: 0 0 40px 40px;
  position: relative;
  z-index: 2;
}

.hero-text h1 {
  color: #d60000;
  font-size: 3rem;
  letter-spacing: 2px;
  background: rgba(245, 241, 233, 0.9);
  padding: 10px 20px;
  border-left: 5px solid #d60000;
}

/* TIMELINE */
.timeline-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 4px 18px;
  scroll-snap-type: x proximity;
  scrollbar-color: #d60000 #111;
  scrollbar-width: thin;
}

.timeline-track::-webkit-scrollbar {
  height: 10px;
}

.timeline-track::-webkit-scrollbar-track {
  background: #111;
  border: 1px solid rgba(214, 0, 0, 0.4);
}

.timeline-track::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #d60000, #ff4545);
  border: 2px solid #111;
}

.timeline-track::-webkit-scrollbar-thumb:hover {
  background: #ff4545;
}

.timeline-card {
  flex: 0 0 230px;
  min-height: 335px;
  position: relative;
  scroll-snap-align: start;
  text-align: center;
  text-decoration: none;
  color: #111;
  background: white;
  border: 2px solid #d60000;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
  overflow: hidden;
  padding: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.timeline-card h3 {
  background: #111;
  color: white;
  padding: 12px 10px;
  font-size: 1.25rem;
}

.timeline-card img {
  width: 100%;
  height: 165px;
  margin: 0;
  object-fit: cover;
  border-bottom: 4px solid #d60000;
  transition: transform 0.25s ease;
}

.timeline-card p {
  margin-bottom: 10px;
  padding: 0 14px;
  line-height: 1.35;
}

.timeline-card p:first-of-type {
  margin-top: 16px;
}

.timeline-card p:last-child {
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.timeline-card:hover {
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.2);
  transform: translateY(-4px);
}

.timeline-card:hover img {
  transform: scale(1.03);
}

/* FEATURED BATTLES */
.battle-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  margin: 24px 0;
}

.artist-card,
.vs-panel,
.map-list {
  background: white;
}

.home-page .artist-card,
.home-page .vs-panel {
  background: #111;
  color: white;
  border-color: #d60000;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
}

.artist-card {
  min-height: 330px;
  text-align: center;
  border: 2px solid #d60000;
  padding: 28px 22px;
}

.artist-card h3 {
  margin-bottom: 16px;
  font-size: 2rem;
}

.home-page .artist-card h3 {
  color: #d60000;
  text-transform: uppercase;
}

.artist-card img {
  width: 220px;
  height: 150px;
  object-fit: cover;
  margin: 0 auto 16px;
}

.artist-card img.image-top {
  object-position: top center;
}

.home-page .artist-card img {
  border: 3px solid white;
  filter: grayscale(100%);
}

.artist-card p,
.vs-panel p,
.map-copy p,
.map-list li {
  line-height: 1.55;
}

.vs-panel {
  text-align: center;
  padding: 20px 10px;
}

.home-page .vs-panel {
  background: #d60000;
  color: #111;
  border-color: #111;
  border-top: 4px solid #111;
  border-bottom: 4px solid #111;
}

.vs-panel h3 {
  margin-bottom: 16px;
  font-size: 2.4rem;
}

.home-page .vs-panel h3 {
  color: #111;
}

.home-page .vs-panel strong {
  color: white;
}

.vs-panel p {
  margin-bottom: 10px;
}

/* GOOGLE MAP */
.map-section {
  padding-bottom: 22px;
}

.map-copy {
  max-width: 760px;
  margin: 0 auto 18px;
  text-align: center;
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 18px;
  align-items: stretch;
}

.map-layout iframe {
  width: 100%;
  min-height: 360px;
  border: 2px solid #d60000;
  background: white;
}

.map-list {
  border: 2px solid #d60000;
  padding: 24px;
}

.map-list h3 {
  margin-bottom: 12px;
  color: #d60000;
}

.map-place {
  width: 100%;
  display: block;
  margin-bottom: 10px;
  padding: 13px 14px;
  text-align: left;
  font: inherit;
  color: #111;
  background: #f5f1e9;
  border: 2px solid #ddd0c0;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.map-place strong,
.map-place span {
  display: block;
}

.map-place strong {
  margin-bottom: 4px;
}

.map-place span {
  font-size: 0.92rem;
  line-height: 1.35;
}

.map-place:hover,
.map-place.active {
  background: white;
  border-color: #d60000;
  transform: translateX(3px);
}

.home-video-section {
  padding-top: 14px;
}

.home-video-card {
  max-width: 880px;
  margin: 0 auto;
  padding: 18px;
  background: #111;
  border: 2px solid #d60000;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
}

/* GENRE PAGE */
.genre-page {
  background-color: #f5f1e9;
  background-image:
    linear-gradient(rgba(245, 241, 233, 0.86), rgba(245, 241, 233, 0.86)),
    url("images/collage-paper-texture.jpg");
  background-size: auto, 720px auto;
}

.genre-hero {
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  margin-top: 24px;
  padding: 38px;
  color: white;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.72)),
    url("images/collage2.JPEG");
  background-size: cover;
  background-position: center;
  border-bottom: 4px solid #d60000;
}

.genre-hero div {
  max-width: 720px;
}

.genre-hero .kicker {
  color: #d60000;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.genre-hero h1 {
  margin: 8px 0 12px;
  font-size: 3.2rem;
  line-height: 1;
}

.genre-hero p:last-child {
  font-size: 1.1rem;
  line-height: 1.55;
}

.genre-matchup {
  margin: 42px 0;
}

.genre-title {
  max-width: 760px;
  margin: 0 auto 18px;
  text-align: center;
}

.genre-title h2,
.trivia-section h2 {
  color: #111;
  font-size: 2.2rem;
  text-transform: uppercase;
}

.genre-title p,
.trivia-section p {
  margin-top: 8px;
  line-height: 1.55;
}

.genre-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.genre-card,
.trivia-section {
  background: #111;
  color: white;
  border: 2px solid #d60000;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
}

.genre-card {
  padding: 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.genre-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.32);
}

.genre-card h3 {
  color: #d60000;
  font-size: 2rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.genre-card p {
  line-height: 1.55;
}

.genre-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  background: #d60000;
  border: 3px solid #111;
  font-size: 2rem;
  font-weight: bold;
}

.stat {
  margin-top: 16px;
}

.stat span {
  display: block;
  margin-bottom: 6px;
  color: #f5f1e9;
  font-weight: bold;
}

.stat b {
  display: block;
  height: 12px;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.stat b::before {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--score);
  background: linear-gradient(90deg, #d60000, #ff3b3b);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.85s ease;
}

.genre-card:hover .stat b::before,
.genre-card:focus-within .stat b::before {
  transform: scaleX(1);
}

.artist-tie {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.artist-tie strong {
  color: #d60000;
}

.trivia-section {
  margin: 42px 0 8px;
  padding: 30px;
  text-align: center;
}

.trivia-section h2 {
  color: #d60000;
}

.trivia-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
  text-align: left;
}

.trivia-card {
  min-height: 150px;
  padding: 18px;
  background: #f5f1e9;
  color: #111;
  border: 2px solid #d60000;
}

.trivia-card summary {
  cursor: pointer;
  color: #111;
  font-weight: bold;
  line-height: 1.35;
}

.trivia-card summary::marker {
  color: #d60000;
}

.trivia-card p {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(214, 0, 0, 0.35);
}

/* ERA AND ABOUT PAGES */
.era-grid,
.about-grid {
  display: grid;
  gap: 18px;
  margin: 42px 0;
}

.era-grid {
  grid-template-columns: minmax(0, 1fr);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.era-page {
  padding-top: 34px;
}

.era-hero {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 42px;
  color: white;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.9)),
    url("images/collage3.JPEG");
  background-size: cover;
  background-position: center;
  border: 2px solid #d60000;
  border-bottom-width: 6px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.era-hero div:first-child {
  max-width: 760px;
}

.era-hero .kicker {
  color: #d60000;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.era-hero h1 {
  margin: 8px 0 16px;
  color: #f5f1e9;
  font-size: 3rem;
  line-height: 1.02;
}

.era-hero p {
  line-height: 1.65;
}

.era-decade-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.era-decade-strip a {
  padding: 14px 10px;
  text-align: center;
  color: #111;
  background: #f5f1e9;
  border: 2px solid #d60000;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.era-decade-strip a:hover {
  color: white;
  background: #d60000;
  transform: translateY(-2px);
}

.about-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-page {
  padding-top: 34px;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 22px;
}

.about-copy,
.about-snapshot,
.about-statement,
.subscribe-panel {
  background: #111;
  color: white;
  border: 2px solid #d60000;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.about-copy {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 42px;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.58)),
    url("images/collage0.jpg");
  background-size: cover;
  background-position: center;
}

.about-copy .kicker,
.about-statement .kicker,
.subscribe-panel .kicker {
  color: #d60000;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.about-copy h1 {
  max-width: 720px;
  margin: 8px 0 16px;
  color: #f5f1e9;
  font-size: 3rem;
  line-height: 1.02;
}

.about-copy p,
.about-statement p,
.subscribe-panel p {
  max-width: 760px;
  line-height: 1.65;
}

.about-copy p + p {
  margin-top: 12px;
}

.about-snapshot {
  padding: 30px;
}

.about-snapshot h2,
.about-statement h2,
.subscribe-panel h2 {
  margin-bottom: 14px;
  color: #f5f1e9;
  text-transform: uppercase;
}

.about-snapshot ul {
  padding-left: 20px;
}

.about-snapshot li {
  margin-bottom: 14px;
  line-height: 1.5;
}

.about-snapshot li::marker {
  color: #d60000;
}

.about-statement {
  padding: 30px;
  border-left-width: 6px;
}

.subscribe-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 24px;
  align-items: center;
  margin-top: 22px;
  padding: 30px;
  border-left-width: 6px;
}

.subscribe-panel label {
  display: block;
  margin-bottom: 8px;
  color: #f5f1e9;
  font-weight: bold;
}

.subscribe-row {
  display: flex;
  gap: 10px;
}

.subscribe-row input {
  min-width: 0;
  flex: 1;
  padding: 13px 14px;
  color: #111;
  background: #f5f1e9;
  border: 2px solid #d60000;
  font: inherit;
}

.subscribe-row button {
  padding: 13px 18px;
  color: white;
  background: #d60000;
  border: 2px solid #f5f1e9;
  font: inherit;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.subscribe-row button:hover {
  color: #d60000;
  background: #f5f1e9;
  transform: translateY(-2px);
}

.era-card {
  position: relative;
  background: #111;
  color: white;
  border-left: 6px solid #d60000;
  border-bottom: 2px solid #d60000;
  padding: 28px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
}

.era-card::before {
  content: "";
  position: absolute;
  top: 30px;
  left: -15px;
  width: 18px;
  height: 18px;
  background: #d60000;
  border: 3px solid #f5f1e9;
}

.era-card span {
  color: #d60000;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.era-card h2,
.about-grid h2 {
  margin: 8px 0 12px;
  color: #f5f1e9;
}

.era-card p,
.era-card li,
.about-grid p,
.about-grid li {
  line-height: 1.6;
}

.era-card ul,
.about-grid ul {
  margin-top: 14px;
  padding-left: 20px;
}

.era-card li::marker,
.about-grid li::marker {
  color: #d60000;
}

/* ARTIST PAGE */
.rivalry-block {
  padding: 24px 0 34px;
}

.rivalry-block + .rivalry-block {
  border-top: 3px solid rgba(214, 0, 0, 0.75);
}

.rivalry-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px minmax(0, 1fr);
  align-items: center;
  min-height: 340px;
  margin: 0 0 26px;
  position: relative;
  overflow: hidden;
  text-align: center;
  background: #111;
  border-bottom: 4px solid #d60000;
}

.rivalry-side {
  height: 100%;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  padding: 30px;
  position: relative;
  background-image: var(--artist-cover);
  background-size: cover;
  background-position: var(--artist-position, center);
  filter: grayscale(100%);
}

.rivalry-side::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.22));
}

.rivalry-side-tupac {
  background-position: var(--artist-position, left center);
  justify-content: flex-start;
}

.rivalry-side-biggie {
  background-position: var(--artist-position, right center);
  justify-content: flex-end;
}

.rivalry-side span {
  position: relative;
  z-index: 1;
  color: white;
  font-size: 2.1rem;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.rivalry-vs {
  height: 100%;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  position: relative;
  z-index: 2;
  color: white;
  background: #111;
  border-left: 4px solid #d60000;
  border-right: 4px solid #d60000;
}

.rivalry-vs h1 {
  font-size: 2.05rem;
  color: #d60000;
  line-height: 1.05;
}

.rivalry-vs p {
  margin-top: 12px;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.rivalry-details {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 4px 18px;
  scroll-snap-type: x proximity;
  scrollbar-color: #d60000 #111;
  scrollbar-width: thin;
}

.rivalry-details::-webkit-scrollbar {
  height: 10px;
}

.rivalry-details::-webkit-scrollbar-track {
  background: #111;
  border: 1px solid rgba(214, 0, 0, 0.4);
}

.rivalry-details::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #d60000, #ff4545);
  border: 2px solid #111;
}

.rivalry-details::-webkit-scrollbar-thumb:hover {
  background: #ff4545;
}

.rivalry-details-toggle {
  margin-top: 18px;
}

.rivalry-details-toggle::after {
  content: "";
  display: block;
  width: min(520px, 100%);
  height: 8px;
  margin: 16px auto 0;
  background:
    linear-gradient(90deg, transparent 0 44%, rgba(83, 186, 255, 0.45) 50%, transparent 56%),
    #d60000;
  border-top: 1px solid rgba(245, 241, 233, 0.45);
  border-bottom: 1px solid rgba(17, 17, 17, 0.55);
}

.rivalry-details-toggle summary {
  width: fit-content;
  margin: 0 auto;
  padding: 12px 18px;
  color: #111;
  background: #f5f1e9;
  border: 2px solid #d60000;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.rivalry-details-toggle summary::-webkit-details-marker {
  display: none;
}

.rivalry-details-toggle summary::after {
  content: " +";
  color: #d60000;
}

.rivalry-details-toggle[open] summary {
  margin-bottom: 18px;
  color: #111;
  background: #f5f1e9;
  border-color: #111;
  box-shadow: 0 0 0 3px #d60000, 0 8px 18px rgba(0, 0, 0, 0.28);
}

.rivalry-details-toggle[open] summary::after {
  content: " -";
  color: #d60000;
}

.content {
  flex: 0 0 360px;
  max-width: 360px;
  min-height: 250px;
  margin: 0;
  padding: 28px 30px;
  scroll-snap-align: start;
  background: #111;
  color: white;
  border-left: 6px solid #d60000;
  border-bottom: 2px solid #d60000;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.artist-paper .content {
  width: 100%;
  background: rgba(8, 8, 8, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
}

.content h2 {
  display: inline-block;
  margin-bottom: 14px;
  padding-bottom: 6px;
  color: #d60000;
  border-bottom: 2px solid white;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.content p,
.content li {
  line-height: 1.6;
}

.content ul {
  padding-left: 22px;
}

.content li {
  margin-bottom: 8px;
}

.content li::marker {
  color: #d60000;
}

.video-card {
  flex-basis: 420px;
  max-width: 420px;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 2px solid #d60000;
  background: #000;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 42px auto 0;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 10px 24px;
  align-items: center;
  background: #111;
  color: white;
  border-top: 4px solid #d60000;
}

.site-footer h2 {
  color: #d60000;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.site-footer p {
  margin-top: 6px;
  line-height: 1.45;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  justify-content: flex-end;
}

.footer-links a {
  color: #f5f1e9;
  text-decoration: none;
  font-weight: bold;
}

.footer-links a:hover {
  color: #d60000;
}


.footer-extra,
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  justify-content: flex-end;
}

.footer-extra {
  grid-column: 2;
  padding-top: 2px;
}

.footer-social {
  grid-column: 2;
}

.footer-extra a,
.footer-social a {
  color: #f5f1e9;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  border-bottom: 2px solid rgba(214, 0, 0, 0.65);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-extra a {
  color: #cfc8bd;
  font-size: 0.84rem;
}

.footer-extra a:hover,
.footer-social a:hover {
  color: #d60000;
  border-color: #f5f1e9;
}

.footer-social .social-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f5f1e9;
  background: #d60000;
  border: 2px solid #f5f1e9;
  border-radius: 50%;
  border-bottom-width: 2px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.footer-social .social-icon:hover {
  color: #d60000;
  background: #f5f1e9;
  transform: translateY(-3px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-social a[aria-label="YouTube"] svg path {
  fill: currentColor;
  stroke: none;
}

.footer-credit {
  grid-column: 1 / -1;
  color: #cfc8bd;
  font-size: 0.9rem;
  border-top: 1px solid rgba(245, 241, 233, 0.18);
  padding-top: 10px;
}

.home-body .site-footer {
  margin-top: 18px;
  padding: 18px 22px;
}

.home-body .footer-extra {
  display: none;
}

.home-body .footer-credit {
  margin-top: 0;
}

@media (max-width: 800px) {
  .nav-container,
  .battle-row,
  .map-layout,
  .genre-grid,
  .trivia-grid,
  .era-grid,
  .about-grid,
  .about-hero,
  .era-decade-strip,
  .subscribe-panel,
  .site-footer,
  .rivalry-hero {
    grid-template-columns: 1fr;
  }

  .nav-container {
    display: block;
  }

  .logo {
    margin-bottom: 12px;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .dropdown {
    position: static;
  }

  .hero {
    min-height: 360px;
  }

  .hero-text {
    padding: 0 18px 28px;
  }

  .hero-text h1 {
    font-size: 2.25rem;
  }

  .battle-row {
    display: grid;
    gap: 12px;
  }

  .vs-panel {
    order: -1;
  }

  .rivalry-hero,
  .rivalry-side,
  .rivalry-vs {
    min-height: 250px;
  }

  .rivalry-vs {
    order: -1;
    border-left: 0;
    border-right: 0;
    border-bottom: 4px solid #d60000;
  }

  .genre-vs {
    min-height: 78px;
  }

  .site-footer,
  .footer-links,
  .footer-extra,
  .footer-social {
    text-align: center;
    justify-content: center;
  }

  .site-footer {
    padding: 20px;
    gap: 12px;
  }

  .subscribe-row {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .page-wrap {
    width: min(100% - 20px, 1180px);
  }

  .timeline-card {
    flex-basis: 205px;
    min-height: 320px;
  }

  .timeline-card img {
    width: 100%;
    height: 150px;
    margin: 0;
  }

  .artist-card h3,
  .section-block > h2,
  .map-copy h2 {
    font-size: 1.6rem;
  }

  .content {
    flex-basis: 285px;
    max-width: 285px;
  }

  .video-card {
    flex-basis: 320px;
    max-width: 320px;
  }

  .genre-hero {
    min-height: 340px;
    padding: 28px 18px;
  }

  .genre-hero h1 {
    font-size: 2.35rem;
  }

  .intro-panel {
    padding: 24px 18px;
  }

  .intro-panel h1,
  .intro-panel h2 {
    font-size: 1.55rem;
  }

  .footer-links,
  .footer-extra,
  .footer-social {
    gap: 8px;
  }

  .footer-extra a {
    font-size: 0.82rem;
  }

  .footer-social .social-icon {
    width: 32px;
    height: 32px;
  }
}
