/* =============================================================
   /anthem — dedicated music-video page · custom HD player + vinyl
   ============================================================= */

.anthem-body {
  min-height: 100vh; min-height: 100svh;
  background: radial-gradient(120% 100% at 50% 0%, #1A0938 0%, #06030F 70%);
  color: var(--cream); overflow-x: hidden;
}
.anthem-body * { box-sizing: border-box; }

/* Hide custom cursor leftovers on this page (we already use it via style.css) */
.anthem-body::after { content: none; }

/* ----- Background atmosphere ----- */
.anthem-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.anthem-bg__grid {
  position: absolute; left: 50%; bottom: -10%;
  transform: translateX(-50%) rotateX(58deg);
  width: 220vw; height: 70vh;
  background:
    linear-gradient(rgba(91,141,239,.16) 1px, transparent 1px) 0 0 / 70px 70px,
    linear-gradient(90deg, rgba(199,125,255,.16) 1px, transparent 1px) 0 0 / 70px 70px;
  -webkit-mask-image: linear-gradient(to top, #000 0%, #000 30%, transparent 80%);
          mask-image: linear-gradient(to top, #000 0%, #000 30%, transparent 80%);
  filter: drop-shadow(0 0 12px rgba(157,78,223,.4));
  animation: anthemGridGlide 9s linear infinite;
}
@keyframes anthemGridGlide { to { background-position: 0 70px, 70px 0; } }
.anthem-bg__scan {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay; opacity: .55;
}
.anthem-bg__halo {
  position: absolute; width: 80vmax; height: 80vmax; border-radius: 50%;
  filter: blur(80px); opacity: .35; mix-blend-mode: screen;
  animation: anthemHaloDrift 22s ease-in-out infinite alternate;
}
.anthem-bg__halo--violet  { background: radial-gradient(circle, #9D4EDF, transparent 60%); top: -30%; left: -20%; }
.anthem-bg__halo--blue    { background: radial-gradient(circle, #5B8DEF, transparent 60%); top: 10%; right: -25%; animation-delay: -8s; }
.anthem-bg__halo--magenta { background: radial-gradient(circle, #E831A0, transparent 60%); bottom: -25%; left: 35%; animation-delay: -14s; }
@keyframes anthemHaloDrift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(2vw,-2vh,0) scale(1.08); }
}

/* ----- Header ----- */
.anthem-header {
  position: relative; z-index: 4;
  display: flex; justify-content: space-between; align-items: center;
  padding: clamp(18px, 3vw, 32px) clamp(20px, 5vw, 48px);
}
.anthem-header__brand {
  display: inline-flex; align-items: center; gap: .55em;
  color: var(--cream); text-decoration: none;
  font: 600 1.05rem/1 'Fraunces', serif; letter-spacing: -0.01em;
}
.anthem-header__brand em {
  font-style: italic; background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.anthem-header__brand svg {
  width: 14px; height: 14px; color: var(--neon-2);
  transition: transform .25s var(--ease);
}
.anthem-header__brand:hover svg { transform: translateX(-3px); }
.anthem-header__mark {
  display: inline-flex; align-items: center; gap: .5em;
  font: 700 .68rem/1 'JetBrains Mono', ui-monospace, monospace;
  letter-spacing: .28em; text-transform: uppercase; color: rgba(242,237,228,.65);
  padding: .55em .9em; border-radius: 100px;
  border: 1px solid rgba(199,125,255,.3);
  background: rgba(20,12,30,.55); backdrop-filter: blur(10px);
}
.anthem-header__dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--neon-2);
  box-shadow: 0 0 10px rgba(199,125,255,.9); animation: pulse 1.6s infinite;
}

/* ----- Main layout ----- */
.anthem-main {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: minmax(260px, 340px) 1fr;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(16px, 3vh, 32px) clamp(20px, 5vw, 56px) clamp(40px, 6vh, 80px);
  min-height: calc(100vh - 100px);
  align-items: center;
}

/* ----- Side (vinyl + meta) ----- */
.anthem-side {
  display: flex; flex-direction: column; gap: clamp(20px, 3vw, 36px);
  align-items: flex-start;
}
.anthem-vinyl {
  position: relative; width: clamp(180px, 22vw, 280px); aspect-ratio: 1;
  animation: vinylSpin 7s linear infinite paused;
}
.anthem-body.is-playing .anthem-vinyl { animation-play-state: running; }
.anthem-vinyl__halo {
  position: absolute; inset: -14%; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,49,160,.45), rgba(157,78,223,.3) 35%, transparent 70%);
  filter: blur(8px); opacity: .8;
  animation: vinylGlowPulse 3.6s ease-in-out infinite;
}
.anthem-vinyl__disc {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #1a0b22 0%, #06030F 70%);
  box-shadow:
    0 30px 80px -30px rgba(0,0,0,.95),
    0 0 0 1px rgba(199,125,255,.35),
    inset 0 0 0 2px rgba(255,255,255,.03);
  overflow: hidden; display: grid; place-items: center;
}
.anthem-vinyl__grooves {
  position: absolute; inset: 6%; border-radius: 50%;
  background:
    repeating-radial-gradient(circle at 50% 50%, rgba(255,255,255,.025) 0px .5px, transparent .5px 2.4px),
    repeating-radial-gradient(circle at 50% 50%, rgba(0,0,0,.25) 0px 1px, transparent 1px 5px);
}
/* Glossy light reflection sweeping across the disc — two soft arcs like a
   real record catching overhead light. */
.anthem-vinyl__sheen {
  position: absolute; inset: 0; border-radius: 50%; pointer-events: none; z-index: 2;
  background: conic-gradient(from 200deg,
    transparent 0deg, rgba(255,255,255,.12) 16deg, transparent 44deg,
    transparent 180deg, rgba(255,255,255,.07) 200deg, transparent 232deg);
  mix-blend-mode: screen;
}
.anthem-vinyl__label {
  width: 46%; aspect-ratio: 1; border-radius: 50%; z-index: 3;
  background:
    radial-gradient(circle at 50% 32%, rgba(255,255,255,.22), transparent 55%),
    linear-gradient(135deg, #5B8DEF 0%, #9D4EDF 55%, #E831A0 100%);
  display: grid; place-items: center; text-align: center;
  box-shadow:
    0 0 18px rgba(157,78,223,.7),
    inset 0 0 0 1px rgba(255,255,255,.18),
    inset 0 -6px 14px -6px rgba(0,0,0,.4);
  position: relative; overflow: hidden;
}
/* Real-record printed label — curved text + ink */
.anthem-vinyl__svg { width: 100%; height: 100%; display: block; }
.vinyl-edge  { fill: none; stroke: rgba(20,8,30,.35); stroke-width: .6; }
.vinyl-edge2 { fill: none; stroke: rgba(255,255,255,.22); stroke-width: .4; }
.vinyl-arc   { fill: #2A0E3E; font: 700 6px 'Space Grotesk', sans-serif; letter-spacing: .4px; }
.vinyl-title { fill: #fff; font: 800 9px 'Space Grotesk', sans-serif; text-anchor: middle; letter-spacing: .3px; }
.vinyl-sub   { fill: #2A0E3E; font: 700 4.2px 'JetBrains Mono', ui-monospace, monospace; text-anchor: middle; letter-spacing: .5px; }
.vinyl-hole-ring { fill: none; stroke: rgba(20,8,30,.55); stroke-width: .9; }
.vinyl-hole  { fill: #0A0414; }
.anthem-vinyl__label span {
  font: 800 .82rem/1 'Fraunces', serif; color: #fff;
  letter-spacing: .05em; text-shadow: 0 1px 2px rgba(0,0,0,.6);
  margin-top: -.5em;
}
.anthem-vinyl__label i {
  font: 700 .42rem/1 'JetBrains Mono', ui-monospace, monospace;
  letter-spacing: .24em; color: rgba(255,255,255,.75); font-style: normal;
  margin-top: .55em;
}

.anthem-meta__eyebrow {
  font: 600 .68rem/1 'JetBrains Mono', ui-monospace, monospace;
  letter-spacing: .3em; text-transform: uppercase; color: var(--neon-2);
  text-shadow: 0 0 10px rgba(199,125,255,.6);
  margin-bottom: .6em;
}
.anthem-meta__title {
  font-family: 'Space Grotesk', 'Inter', sans-serif; font-weight: 700;
  font-size: clamp(2.4rem, 5.5vw, 4rem); line-height: 1;
  margin: 0 0 .25em;
  color: #F4EEFF; letter-spacing: -.02em;
  text-shadow:
    0 0 3px rgba(255,255,255,.5),
    0 0 16px rgba(199,125,255,.55),
    0 0 38px rgba(157,78,223,.4),
    0 0 80px rgba(91,141,239,.26);
}
.anthem-meta__sub {
  font: 700 .72rem/1.2 'JetBrains Mono', ui-monospace, monospace;
  letter-spacing: .22em; color: rgba(242,237,228,.55);
  margin: 0 0 1.4em;
}
.anthem-meta__list {
  list-style: none; padding: 0; margin: 0 0 1.6em;
  display: flex; flex-direction: column; gap: .55em;
}
.anthem-meta__list li {
  font: 500 .92rem/1.3 'Inter', sans-serif; color: rgba(242,237,228,.75);
  display: flex; align-items: center; gap: .55em;
}
.anthem-meta__list i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--neon-2);
  box-shadow: 0 0 8px rgba(199,125,255,.6); font-style: normal;
}
.anthem-meta__cta {
  display: inline-flex; align-items: center; gap: .55em;
  font: 600 .82rem/1 'Inter', sans-serif; letter-spacing: .04em;
  color: #fff; text-decoration: none;
  padding: .8em 1.3em; border-radius: 100px;
  background: linear-gradient(135deg, #5B8DEF 0%, #9D4EDF 55%, #E831A0 100%);
  border: 1px solid rgba(199,125,255,.45);
  box-shadow: 0 14px 32px -10px rgba(0,0,0,.7), 0 0 22px -4px rgba(157,78,223,.65);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.anthem-meta__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -10px rgba(0,0,0,.85), 0 0 30px -2px rgba(157,78,223,.85);
}

/* ----- Stage ----- */
.anthem-stage { display: flex; flex-direction: column; align-items: stretch; gap: clamp(14px, 2vw, 22px); width: 100%; }

.anthem-player {
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  border-radius: 24px; overflow: hidden;
  background: #000;
  border: 1px solid rgba(199,125,255,.3);
  box-shadow:
    0 60px 160px -40px rgba(0,0,0,.95),
    0 0 80px -10px rgba(157,78,223,.45),
    0 0 140px -20px rgba(91,141,239,.4);
  transition: box-shadow .5s ease;
}
.anthem-player.is-playing {
  box-shadow:
    0 70px 180px -40px rgba(0,0,0,1),
    0 0 100px -4px rgba(157,78,223,.75),
    0 0 160px -8px rgba(232,49,160,.55),
    0 0 200px -10px rgba(91,141,239,.5);
}
/* Neon ring around the bezel that gently spins */
.anthem-player__glow {
  position: absolute; inset: -2px; border-radius: inherit; pointer-events: none; z-index: 0;
  background: conic-gradient(from var(--ring-spin, 0deg) at 50% 50%,
    #5B8DEF 0%, #9D4EDF 25%, #E831A0 50%, #9D4EDF 75%, #5B8DEF 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  padding: 2px; opacity: .55;
  animation: anthemRingSpin 14s linear infinite;
  filter: blur(.5px);
}
.anthem-player.is-playing .anthem-player__glow { opacity: .95; filter: blur(0); }
@keyframes anthemRingSpin { to { --ring-spin: 360deg; } }
@property --ring-spin { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.anthem-player__bezel { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.anthem-player__corner {
  position: absolute; width: 26px; height: 26px;
  border-color: rgba(199,125,255,.85);
  filter: drop-shadow(0 0 6px rgba(157,78,223,.75));
}
.anthem-player__corner--tl { top: 12px; left: 12px; border-top: 1px solid; border-left: 1px solid; }
.anthem-player__corner--tr { top: 12px; right: 12px; border-top: 1px solid; border-right: 1px solid; }
.anthem-player__corner--bl { bottom: 76px; left: 12px; border-bottom: 1px solid; border-left: 1px solid; }
.anthem-player__corner--br { bottom: 76px; right: 12px; border-bottom: 1px solid; border-right: 1px solid; }
.anthem-player__video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 1; background: #000; }
.anthem-player__scan {
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay; opacity: .35;
}

/* Big center play (hidden once the video has played at least once) */
.anthem-player__big {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: clamp(80px, 9vw, 110px); height: clamp(80px, 9vw, 110px); border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; z-index: 3;
  background: linear-gradient(135deg, #5B8DEF, #9D4EDF 55%, #E831A0); color: #fff;
  border: 1px solid rgba(199,125,255,.45);
  box-shadow:
    0 24px 60px -8px rgba(0,0,0,.85),
    0 0 40px rgba(157,78,223,.7),
    inset 0 1px 0 rgba(255,255,255,.3);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.anthem-player.is-started .anthem-player__big { opacity: 0; transform: translate(-50%, -50%) scale(.85); pointer-events: none; }
.anthem-player__big-ring {
  position: absolute; inset: -10px; border-radius: 50%;
  border: 1px solid rgba(199,125,255,.45);
  animation: anthemPing 2.4s ease-out infinite;
}

/* Top HUD over the video */
.anthem-player__hud {
  position: absolute; top: clamp(14px, 2vw, 22px); left: clamp(14px, 2vw, 22px); right: clamp(14px, 2vw, 22px);
  z-index: 3;
  display: flex; justify-content: space-between; align-items: center;
  font: 600 .68rem/1 'JetBrains Mono', ui-monospace, monospace;
  letter-spacing: .26em; text-transform: uppercase;
  color: rgba(255,255,255,.85);
  pointer-events: none;
}
.anthem-player__hud-pill {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .55em .9em; border-radius: 100px;
  background: rgba(20,12,30,.7); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,77,184,.45);
  color: #fff;
}
.anthem-player__hud-pill i {
  width: 6px; height: 6px; border-radius: 50%; background: #FF4DB8;
  box-shadow: 0 0 8px rgba(255,77,184,.9); animation: pulse 1.6s infinite;
}
.anthem-player__hud-clock {
  padding: .55em .9em; border-radius: 100px;
  background: rgba(20,12,30,.6); backdrop-filter: blur(10px);
  border: 1px solid rgba(143,182,255,.45);
}

/* Controls dock */
.anthem-controls {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
  display: flex; align-items: center; gap: clamp(10px, 1.4vw, 16px);
  padding: clamp(14px, 2vw, 22px);
  background: linear-gradient(to top, rgba(10,4,18,.95) 0%, rgba(10,4,18,.78) 60%, transparent 100%);
}
.anthem-controls__btn {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%; cursor: pointer;
  color: #fff; border: 1px solid rgba(199,125,255,.35);
  background: rgba(20,12,30,.7); backdrop-filter: blur(10px);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.anthem-controls__btn:hover {
  background: rgba(157,78,223,.25); border-color: rgba(199,125,255,.8);
  transform: translateY(-1px);
}
.anthem-controls__btn--primary {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, #5B8DEF, #9D4EDF 55%, #E831A0);
  border-color: rgba(255,255,255,.25);
  box-shadow: 0 0 22px rgba(157,78,223,.6);
}
.anthem-controls__btn .ico-pause,
.anthem-controls__btn .ico-mute { display: none; }
.is-playing .anthem-controls__btn--primary .ico-play  { display: none; }
.is-playing .anthem-controls__btn--primary .ico-pause { display: block; }
.is-muted   .anthem-controls__btn .ico-vol  { display: none; }
.is-muted   .anthem-controls__btn .ico-mute { display: block; }

.anthem-controls__time {
  font: 700 .72rem/1 'JetBrains Mono', ui-monospace, monospace;
  letter-spacing: .12em; color: rgba(255,255,255,.85); white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.anthem-scrub {
  flex: 1 1 auto; min-width: 0; cursor: pointer; padding: 14px 0;
}
.anthem-scrub__track {
  position: relative; height: 4px; border-radius: 100px;
  background: rgba(199,125,255,.18); overflow: visible;
}
.anthem-scrub__buf {
  position: absolute; left: 0; top: 0; height: 100%; width: 0;
  border-radius: 100px; background: rgba(199,125,255,.32);
}
.anthem-scrub__fill {
  position: absolute; left: 0; top: 0; height: 100%; width: 0;
  border-radius: 100px;
  background: linear-gradient(90deg, #5B8DEF 0%, #C77DFF 50%, #E831A0 100%);
  box-shadow: 0 0 10px rgba(232,49,160,.6);
}
.anthem-scrub__thumb {
  position: absolute; left: 0; top: 50%; transform: translate(-50%, -50%);
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(199,125,255,.6), 0 0 14px rgba(232,49,160,.85);
  opacity: 0; transition: opacity .2s ease;
}
.anthem-scrub:hover .anthem-scrub__thumb,
.anthem-player.is-playing .anthem-scrub__thumb { opacity: 1; }

/* Equalizer (CSS-only) */
.anthem-eq {
  display: inline-flex; align-items: flex-end; gap: 2px;
  height: 22px; padding: 0 4px;
}
.anthem-eq i {
  display: block; width: 3px; height: 30%; border-radius: 1px;
  background: linear-gradient(180deg, #C77DFF 0%, #E831A0 100%);
  box-shadow: 0 0 6px rgba(232,49,160,.7);
  animation-play-state: paused;
}
.anthem-eq i:nth-child(1) { animation: eqBar 0.6s ease-in-out -0.1s infinite alternate; }
.anthem-eq i:nth-child(2) { animation: eqBar 0.5s ease-in-out -0.3s infinite alternate; }
.anthem-eq i:nth-child(3) { animation: eqBar 0.7s ease-in-out -0.2s infinite alternate; }
.anthem-eq i:nth-child(4) { animation: eqBar 0.55s ease-in-out -0.4s infinite alternate; }
.anthem-eq i:nth-child(5) { animation: eqBar 0.65s ease-in-out -0.15s infinite alternate; }
.is-playing .anthem-eq i { animation-play-state: running; }
@keyframes eqBar { from { height: 18%; } to { height: 95%; } }

/* Volume bar */
.anthem-controls__vol { display: inline-flex; align-items: center; gap: 6px; }
.anthem-vol { width: 80px; cursor: pointer; padding: 14px 0; }
.anthem-vol__track {
  position: relative; height: 3px; border-radius: 100px;
  background: rgba(199,125,255,.2);
}
.anthem-vol__fill {
  position: absolute; left: 0; top: 0; height: 100%; width: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, #5B8DEF, #C77DFF);
  box-shadow: 0 0 6px rgba(157,78,223,.6);
}

.anthem-stage__hint {
  margin: 0; text-align: center;
  font: 500 .68rem/1.6 'JetBrains Mono', ui-monospace, monospace;
  letter-spacing: .22em; text-transform: uppercase; color: rgba(242,237,228,.4);
}
.anthem-stage__hint kbd {
  font-family: inherit; padding: .25em .55em; border-radius: 6px;
  background: rgba(199,125,255,.1); border: 1px solid rgba(199,125,255,.28); color: var(--neon-2);
}

/* ---- Mobile ---- */
@media (max-width: 900px) {
  .anthem-main { grid-template-columns: 1fr; gap: 24px; }
  .anthem-side { flex-direction: row; align-items: center; gap: 18px; }
  .anthem-vinyl { width: 120px; flex: 0 0 auto; }
  .anthem-meta__title { font-size: clamp(2rem, 7vw, 2.6rem); }
  .anthem-meta__list { display: none; }
}
@media (max-width: 540px) {
  .anthem-main { padding: 12px 14px 28px; }
  .anthem-header { padding: 14px 16px; }
  .anthem-side { flex-direction: column; align-items: flex-start; gap: 14px; }
  .anthem-vinyl { width: 88px; }
  .anthem-vinyl__label span { font-size: .56rem; }
  .anthem-vinyl__label i { font-size: .3rem; }
  .anthem-player__corner--bl,
  .anthem-player__corner--br { display: none; }
  .anthem-controls { gap: 8px; padding: 10px; }
  .anthem-controls__btn { width: 34px; height: 34px; }
  .anthem-controls__btn--primary { width: 42px; height: 42px; }
  .anthem-controls__time { font-size: .62rem; }
  .anthem-eq, .anthem-controls__vol, #pipBtn { display: none; }
  .anthem-stage__hint { display: none; }
  .anthem-meta__cta { width: 100%; justify-content: center; }
  .anthem-meta__sub { font-size: .62rem; }
  .anthem-meta__eyebrow { font-size: .6rem; letter-spacing: .26em; }
}
@media (prefers-reduced-motion: reduce) {
  .anthem-vinyl, .anthem-bg__grid, .anthem-bg__halo,
  .anthem-player__glow, .anthem-player__big-ring,
  .anthem-eq i { animation: none; }
}
