/* ============================================================
   GOLD — the first official Gold coin on the Robinhood Chain
   ============================================================ */

:root {
  /* Robinhood palette: black canvas, signature green for actions,
     gold as the brand metal */
  --green: #00c805;
  --green-bright: #2ee63a;
  --green-dim: rgba(0, 200, 5, 0.14);
  --gold: #f5c542;
  --gold-bright: #ffdf7e;
  --gold-deep: #b8860b;
  --ink: #0b0d0b;
  --ink-soft: rgba(11, 13, 11, 0.72);
  --cream: #fdfbf5;
  --cream-dim: rgba(244, 231, 200, 0.95);
  --panel: rgba(10, 13, 10, 0.82);
  --panel-line: rgba(245, 197, 66, 0.2);
  /* Apple's system font stack — renders as SF Pro on Apple devices
     (exactly like apple.com), and the native UI font everywhere else */
  --serif: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--cream);
  background: #050605;
  overflow-x: hidden;
}

/* ---------- Mine background (looping video) ---------- */
.mine-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: #060402 url("../assets/mine-bg.png") center / cover no-repeat;
  overflow: hidden;
}

.mine-bg__video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.mine-vignette {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(5, 6, 5, 0) 0%, rgba(5, 6, 5, 0.6) 70%, rgba(5, 6, 5, 0.9) 100%),
    linear-gradient(rgba(5, 6, 5, 0.4), rgba(5, 6, 5, 0.6));
}

/* Floating gold dust (particles created by JS) */
.gold-dust {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.gold-dust span {
  position: absolute;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 8px 2px rgba(245, 197, 66, 0.45);
}

/* ============================================================
   GOLD BAR INTRO
   ============================================================ */
.coin-intro {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: transparent;
  transition: opacity 0.9s ease;
}

/* once the gold is struck, the overlay lifts to reveal the site */
.coin-intro.is-gone {
  opacity: 0;
  pointer-events: none;
}

.coin-stage {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.coin-glow {
  position: absolute;
  width: 60vmin;
  height: 60vmin;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 197, 66, 0.35) 0%, rgba(245, 197, 66, 0.12) 40%, transparent 70%);
  filter: blur(10px);
}

.coin-wrap {
  position: relative;
  perspective: 1400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* a heaped pile of gold bars you smash through to enter */
.bar-pile {
  position: relative;
  width: min(70vw, 460px);
  height: min(50vh, 440px);
  /* pickaxe cursor over the whole pile */
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34'%3E%3Cg fill='none' stroke-linecap='round'%3E%3Cpath d='M12 30 L26 12' stroke='%238a6a3a' stroke-width='4'/%3E%3Cpath d='M8 16 Q18 2 32 8' stroke='%23e8e8e8' stroke-width='4'/%3E%3C/g%3E%3C/svg%3E") 8 16, pointer;
}

.pile-bar {
  position: absolute;
  left: 50%;
  top: 50%;
  height: min(26vh, 230px);
  width: auto;
  will-change: transform;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 22px rgba(245, 197, 66, 0.25));
  transition: filter 0.25s ease;
}

.bar-pile:hover .pile-bar {
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 34px rgba(245, 197, 66, 0.5));
}

/* while the mine is sealed, the page cannot scroll */
html.is-locked,
html.is-locked body {
  overflow: hidden;
}

/* mining sparks */
.spark {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 10px 3px rgba(245, 197, 66, 0.6);
  pointer-events: none;
  z-index: 5;
}

/* falling rock debris */
.debris {
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, #6a5232, #3a2c18);
  pointer-events: none;
  z-index: 5;
}

/* expanding shockwave ring on impact */
.shock-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid rgba(245, 197, 66, 0.8);
  box-shadow: 0 0 24px rgba(245, 197, 66, 0.35);
  pointer-events: none;
  z-index: 4;
}

/* full-screen gold flash when the pile blows out */
.mine-flash {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: radial-gradient(circle at 50% 45%, rgba(255, 232, 160, 0.95), rgba(245, 197, 66, 0.5) 40%, rgba(10, 6, 2, 0) 75%);
  opacity: 0;
  pointer-events: none;
}

.scroll-hint {
  position: absolute;
  bottom: 6vh;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--gold-bright);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.scroll-hint__arrow {
  font-size: 22px;
  margin-top: 8px;
  animation: bob 1.6s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  opacity: 0;
  transform: translateY(-16px);
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
  background: rgba(13, 10, 5, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--panel-line);
}

.nav.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--gold-bright);
  font-family: var(--serif);
  font-size: 24px;
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.022em;
}

.nav__logo img {
  height: 34px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.nav__links {
  display: flex;
  gap: 26px;
}

.nav__links a {
  color: var(--cream-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav__links a:hover { color: var(--green-bright); }

.nav__cta {
  display: flex;
  gap: 10px;
}

/* ============================================================
   BUTTONS — flat sharp-edged rectangles, dark text,
   no gradients or glows, subtle hover dim
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 14px 26px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}

/* Primary action — Robinhood green, black text */
.btn--gold {
  position: relative;
  overflow: hidden;
  background: var(--green);
  color: #000;
}

.btn--gold:hover {
  background: var(--green-bright);
}

/* shine sweep across primary buttons on hover */
.btn--gold::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 55%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}

.btn--gold:hover::after {
  left: 130%;
  transition: left 0.55s ease;
}

.btn--outline {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(247, 250, 247, 0.4);
}

.btn--outline:hover {
  border-color: var(--green);
  color: var(--green-bright);
  background: var(--green-dim);
}

.btn--ghost {
  background: transparent;
  color: var(--cream);
  font-weight: 500;
}

.btn--ghost:hover { opacity: 0.7; }

.btn--lg { padding: 18px 32px; font-size: 16px; }
.btn--sm { padding: 10px 18px; font-size: 13px; }

/* ============================================================
   SITE & SECTIONS
   ============================================================ */
.site {
  position: relative;
}

.eyebrow {
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.022em;
  color: var(--cream);
}

h1 em, h2 em {
  font-style: italic;
  color: var(--gold-bright);
}

h1 {
  font-size: clamp(44px, 7vw, 88px);
  line-height: 1.04;
  margin-bottom: 26px;
}

h2 {
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.08;
  margin-bottom: 22px;
}

h2.mega { font-size: clamp(38px, 5.6vw, 72px); }

h3 { font-size: 28px; margin-bottom: 12px; }

.body-lg {
  font-size: 18px;
  line-height: 1.65;
  color: var(--cream-dim);
  margin-bottom: 20px;
  max-width: 560px;
}

.body-center { margin-left: auto; margin-right: auto; text-align: center; }

/* Hero */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 140px 24px 60px;
}

.hero__content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero__sub {
  font-size: 20px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  max-width: 620px;
  margin-bottom: 34px;
}

.hero__sub strong { color: var(--green-bright); }

.hero__buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero__buttons--center { justify-content: center; }

.ticker-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--cream-dim);
}

.ticker-pill strong { color: var(--gold-bright); }

.ticker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 200, 5, 0.6); }
  50% { box-shadow: 0 0 0 8px rgba(0, 200, 5, 0); }
}

/* Sections */
.section {
  padding: 110px 24px;
}

.section--dark {
  background: rgba(4, 6, 4, 0.75);
  border-top: 1px solid var(--panel-line);
  border-bottom: 1px solid var(--panel-line);
}

.section--cta { padding: 140px 24px; }

.section__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section__inner--split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.section__inner--center { text-align: center; }

.section__head { margin-bottom: 60px; text-align: center; }
.section__head h2 { margin-left: auto; margin-right: auto; }
.section__head .body-lg { margin-left: auto; margin-right: auto; max-width: 640px; }

/* ============================================================
   LORE CHAPTERS — the real history of Robinhood Gold,
   laid out along a vertical mine-cart track
   ============================================================ */
.lore-timeline {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
}

.lore-timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 150px 72px 1fr;
  gap: 0 28px;
  align-items: start;
  padding: 44px 0;
}

/* --- the mine track: two rails over wooden sleepers, running
       continuously through every chapter --- */
.lore-timeline__track {
  position: relative;
  align-self: stretch;
  margin: -44px 0; /* bleed through the item padding so rails join up */
  /* sleepers (wooden ties) */
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 20px,
    #3d2f1c 20px,
    #4a3a22 26px
  );
}

/* the two steel rails */
.lore-timeline__track::before,
.lore-timeline__track::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(to right, #8a7448, #c9a960 45%, #6e5a35);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.55);
}

.lore-timeline__track::before { left: 12px; }
.lore-timeline__track::after { right: 12px; }


/* --- the one gold cart that rides the track as you scroll ---
       left = year column (150px) + gap (28px) + half track (36px) */
.lore-timeline__cart {
  position: absolute;
  top: 44px;
  left: calc(150px + 28px + 36px);
  margin-left: -26px; /* half the cart width, keeps GSAP free to own transform */
  width: 52px;
  height: 34px;
  z-index: 2;
}

/* cart body: a trapezoid full of gold */
.lore-timeline__cart::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 26px;
  clip-path: polygon(0 0, 100% 0, 84% 100%, 16% 100%);
  background:
    radial-gradient(ellipse 60% 34% at 50% 6%, var(--gold-bright) 0%, var(--gold) 55%, transparent 56%),
    linear-gradient(to bottom, #2e2e2e, #171717);
  border: 1px solid #454545;
}

/* cart wheels */
.lore-timeline__cart::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 11px;
  background:
    radial-gradient(circle at 16px 5.5px, #111 0 2.5px, #6a6a6a 2.5px 5px, transparent 5.5px),
    radial-gradient(circle at 36px 5.5px, #111 0 2.5px, #6a6a6a 2.5px 5px, transparent 5.5px);
}

.lore-timeline__year {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--gold-bright);
  padding-top: 4px;
  text-align: right;
}

/* --- chapter cards with imagery --- */
.lore-timeline__card--media {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 28px;
  align-items: center;
}

.lore-timeline__media {
  margin: 0;
  border: 1px solid var(--panel-line);
  background: #000;
  overflow: hidden;
}

.lore-timeline__media img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.lore-timeline__card--media:hover .lore-timeline__media img {
  transform: scale(1.05);
}

.lore-timeline__card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.lore-timeline__card p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--cream-dim);
  margin: 0 0 10px;
  max-width: 560px;
}

.lore-timeline__card p:last-child { margin-bottom: 0; }

.lore-timeline__card em {
  font-style: normal;
  font-weight: 700;
  color: var(--gold-bright);
}

.lore-timeline__card--gold h3 { color: var(--gold-bright); }

.lore-timeline__stat {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-bright) !important;
  border-left: 3px solid var(--gold);
  padding: 2px 0 2px 12px;
  margin-top: 6px;
}

/* ============================================================
   FAQ — accordion
   ============================================================ */
.section__inner--narrow {
  max-width: 780px;
}

.section__head--left {
  text-align: left;
  margin-bottom: 40px;
}

.section__head--left .body-lg { margin-left: 0; }

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq__item {
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: 0;
  padding: 0 24px;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.faq__item[open] {
  border-color: var(--green);
  background: rgba(8, 12, 8, 0.92);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 18px;
  color: var(--cream);
}

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

.faq__item summary:hover { color: var(--green-bright); }

/* plus / minus icon */
.faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: var(--green);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.faq__icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.faq__icon::after {
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.faq__item[open] .faq__icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq__answer {
  padding: 0 0 24px;
}

.faq__answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--cream-dim);
}

.faq__answer a {
  color: var(--green-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================================
   ROADMAP — vertical timeline
   ============================================================ */
.roadmap {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.roadmap::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(var(--green), rgba(0, 200, 5, 0.12));
}

.roadmap__step {
  position: relative;
  display: flex;
  gap: 26px;
  align-items: flex-start;
}

.roadmap__marker {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--green-bright);
}

.roadmap__card {
  flex: 1;
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: 0;
  padding: 24px 28px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.roadmap__card:hover {
  transform: translateX(6px);
  border-color: var(--green);
}

.roadmap__phase {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}

.roadmap__card h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.roadmap__card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--cream-dim);
  margin: 0;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cards--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: 0;
  padding: 36px 30px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 10px 40px rgba(245, 197, 66, 0.15);
}

.card__num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
  color: var(--ink);
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card p {
  color: var(--cream-dim);
  line-height: 1.6;
  font-size: 15px;
}

/* Contract */
.contract {
  margin-top: 46px;
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: 0;
  padding: 28px 32px;
}

.contract__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.contract__row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.contract__row code {
  font-size: 14px;
  color: var(--cream);
  background: rgba(245, 197, 66, 0.08);
  border: 1px dashed var(--panel-line);
  border-radius: 0;
  padding: 12px 18px;
  flex: 1;
  min-width: 240px;
  overflow-wrap: anywhere;
}

/* Footer */
.footer {
  border-top: 1px solid var(--panel-line);
  background: rgba(4, 6, 4, 0.92);
  padding: 60px 24px 40px;
}

.footer__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 24px;
  color: var(--gold-bright);
  letter-spacing: 0.06em;
  margin-bottom: 22px;
}

.footer__brand img {
  height: 38px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.footer__disclaimer {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 248, 231, 0.45);
  margin-bottom: 18px;
}

.footer__copy {
  font-size: 13px;
  color: rgba(255, 248, 231, 0.35);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(36px);
}

/* ============================================================
   BACKGROUND MUSIC
   ============================================================ */
/* hidden YouTube player — kept 1px (not display:none) so audio runs */
.yt-audio {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}

.yt-audio iframe {
  width: 1px;
  height: 1px;
  border: 0;
}

.music-toggle {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 200;
  width: 40px;
  height: 40px;
  background: var(--ink);
  border: 1px solid var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.music-toggle:hover {
  border-color: var(--gold-bright);
  background: rgba(245, 197, 66, 0.1);
}

.music-toggle__icon {
  width: 18px;
  height: 18px;
  color: var(--gold);
  transition: opacity 0.2s ease;
}

/* muted: dim the note and strike it through */
.music-toggle:not(.is-playing) .music-toggle__icon {
  opacity: 0.45;
}

.music-toggle__slash {
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--gold);
  transform: rotate(-45deg);
  transition: opacity 0.2s ease;
}

.music-toggle.is-playing .music-toggle__slash {
  opacity: 0;
}

/* playing: the note gently pulses */
.music-toggle.is-playing .music-toggle__icon {
  animation: notePulse 1.6s ease-in-out infinite;
}

@keyframes notePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .section__inner--split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .cards, .cards--4 { grid-template-columns: 1fr 1fr; }
  .lore-timeline__item { grid-template-columns: 1fr; gap: 10px; padding: 32px 0; }
  .lore-timeline__track { display: none; }
  .lore-timeline__cart { display: none; }
  .lore-timeline__year { text-align: left; padding-top: 0; }
  .lore-timeline__item { border-top: 1px solid var(--panel-line); }
  .lore-timeline__card--media { grid-template-columns: 1fr; gap: 18px; }
  .lore-timeline__media { max-width: 280px; }
}

@media (max-width: 600px) {
  .cards, .cards--4 { grid-template-columns: 1fr; }
  .nav__cta .btn--ghost { display: none; }
  .hero { padding-top: 110px; }
}
