@font-face { font-family: "Anton"; src: url("../assets/fonts/Anton-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../assets/fonts/BarlowCondensed-SemiBold.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../assets/fonts/BarlowCondensed-ExtraBold.ttf") format("truetype"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../assets/fonts/BarlowCondensed-Black.ttf") format("truetype"); font-weight: 900; font-style: normal; font-display: swap; }

:root {
  --cream: #f3eee4;
  --cream-dim: #c8c2b6;
  --red: #e41e26;
  --gold: #ffc440;
  --ink: #07090f;
  --navy: #0a0e18;
  --player-h: 118px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--ink);
  color: var(--cream);
  font-family: "Barlow Condensed", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
}
body {
  background-color: #07090f;
  background-image:
    radial-gradient(ellipse at 50% 8%, rgba(16,24,44,0.7) 0%, rgba(5,7,14,0.92) 55%, rgba(4,5,10,0.96) 100%),
    url("../assets/navy_grain.jpg");
  background-size: auto, 1080px 1920px;
  background-attachment: fixed;
  padding-bottom: calc(var(--player-h) + env(safe-area-inset-bottom, 0px));
}
.page {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.glass {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(14,18,30,0.62) 42%, rgba(8,10,18,0.72) 100%);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.20);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.38),
    inset 0 -1px 0 rgba(255,255,255,0.05),
    0 18px 40px rgba(0,0,0,0.40);
  overflow: hidden;
}
.glass-sheen {
  position: absolute; left: 0; right: 0; top: 0; height: 42%;
  background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0));
  pointer-events: none; z-index: 1;
}

.hero { text-align: center; margin: 0 0 28px; }
.badge-stage {
  position: relative;
  width: min(58vw, 280px);
  height: min(58vw, 280px);
  margin: 8px auto 10px;
  display: flex; align-items: center; justify-content: center;
  animation: badge-in 0.9s cubic-bezier(0.22, 1.2, 0.36, 1) both;
}
.badge-glass-disc {
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, rgba(255,255,255,0.16), rgba(255,255,255,0.04) 45%, rgba(255,255,255,0) 70%);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), 0 0 40px rgba(180,210,255,0.08);
}
.badge-hero { position: relative; width: 100%; height: 100%; filter: drop-shadow(0 18px 28px rgba(0,0,0,0.50)); }
.badge-img { width: 100%; height: 100%; object-fit: contain; display: block; position: relative; z-index: 2; }
.badge-shine {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(108deg, transparent 36%, rgba(255,255,255,0) 42%, rgba(255,255,255,0.55) 47%, rgba(255,255,255,0.85) 50%, rgba(255,255,255,0.55) 53%, rgba(255,255,255,0) 58%, transparent 64%);
  background-size: 260% 100%;
  background-position: 0% 50%;
  mix-blend-mode: screen;
  -webkit-mask-image: url("../assets/badge-web.webp");
  mask-image: url("../assets/badge-web.webp");
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  animation: shine-sweep 2.4s ease-in-out 0.6s 1 both, shine-loop 6.4s ease-in-out 4s infinite;
}
@keyframes badge-in {
  from { opacity: 0; transform: scale(0.72) rotateX(8deg); }
  to { opacity: 1; transform: scale(1) rotateX(0); }
}
@keyframes shine-sweep {
  0% { opacity: 0; background-position: 100% 50%; }
  18% { opacity: 1; }
  100% { opacity: 0; background-position: 0% 50%; }
}
@keyframes shine-loop {
  0%, 70% { opacity: 0; background-position: 100% 50%; }
  78% { opacity: 1; }
  100% { opacity: 0; background-position: 0% 50%; }
}
.hero h1 {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: clamp(40px, 10vw, 64px);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: #fff;
  margin: 4px 0 8px;
}
.sub {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-bottom: 18px;
}
.apple-pill {
  display: inline-block;
  padding: 12px 26px 11px;
  border-radius: 999px;
  color: var(--gold);
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.38), 0 0 0 2px var(--gold), 0 12px 28px rgba(0,0,0,0.4);
}
.apple-pill:focus-visible, .slot:focus-visible, .more-btn:focus-visible, .pp:focus-visible, .sound-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.hero-reel {
  position: relative;
  margin: 0 0 28px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.16);
  background: #000;
  aspect-ratio: 9 / 16;
  max-height: 70vh;
  margin-left: auto; margin-right: auto;
  max-width: 360px;
}
.hero-reel video { width: 100%; height: 100%; object-fit: cover; display: block; }
.sound-btn {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
  background: rgba(8,10,18,0.72);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  padding: 8px 16px;
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.list { display: flex; flex-direction: column; gap: 8px; }
.slot {
  display: grid;
  grid-template-columns: 72px 1fr auto 52px;
  grid-template-areas:
    "date title dur play"
    "more more more more";
  column-gap: 8px;
  row-gap: 0;
  align-items: center;
  width: 100%;
  text-align: left;
  border-radius: 22px;
  padding: 12px 12px 10px 16px;
  color: inherit;
  border: 0;
  cursor: default;
}
.slot .date {
  grid-area: date;
  font-family: "Anton", sans-serif;
  font-size: 22px;
  color: var(--gold);
  line-height: 1;
}
.slot .date .year {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.14em;
  opacity: 0.85;
  margin-top: 2px;
}
.slot .title {
  grid-area: title;
  font-family: "Anton", sans-serif;
  font-size: 18px;
  letter-spacing: 0.01em;
  color: #fff;
  line-height: 1.15;
}
.slot .dur {
  grid-area: dur;
  font-weight: 800;
  font-size: 16px;
  color: rgba(255,255,255,0.62);
  white-space: nowrap;
  padding-right: 4px;
}
.play {
  grid-area: play;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--red); color: #fff;
  display: grid; place-items: center;
  border: 0; cursor: pointer;
  box-shadow: 0 2px 8px rgba(228,30,38,0.35);
}
.play svg { width: 18px; height: 18px; display: block; }
.slot.is-playing {
  outline: 2px solid #f0d78a;
  outline-offset: -2px;
  background: linear-gradient(180deg, rgba(255,196,64,0.14) 0%, rgba(14,18,30,0.7) 55%, rgba(8,10,18,0.78) 100%);
}
.more-wrap { grid-area: more; padding: 6px 4px 2px 0; }
.more-btn, .apple-ep {
  background: none; border: 0; color: var(--cream-dim);
  font: inherit; font-weight: 800; font-size: 14px;
  letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer; padding: 4px 0; margin-right: 14px;
  text-decoration: none;
}
.more-text {
  display: none;
  margin-top: 4px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.35;
  color: var(--cream);
  letter-spacing: 0.01em;
}
.slot.is-open .more-text { display: block; }
.slot.is-open .more-btn { color: var(--gold); }

.player {
  position: fixed; left: 0; right: 0; bottom: 0;
  padding: 8px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(14,18,30,0.82), rgba(7,9,15,0.96));
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border-top: 1px solid rgba(255,255,255,0.16);
  z-index: 20;
}
.seek { width: 100%; accent-color: var(--gold); cursor: pointer; }
.player .row { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.pp {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--red); color: #fff; border: 0; cursor: pointer;
  display: grid; place-items: center; flex: 0 0 auto;
}
.pp svg { width: 22px; height: 22px; }
.pp .ico-pause { display: none; }
.player.is-playing .ico-play { display: none; }
.player.is-playing .ico-pause { display: block; }
.meta { flex: 1 1 auto; min-width: 0; }
.ptitle {
  font-family: "Anton", sans-serif;
  font-size: 18px;
  line-height: 1.1;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ptime { font-weight: 800; font-size: 13px; letter-spacing: 0.08em; color: var(--cream-dim); text-transform: uppercase; }
.clock { font-weight: 800; font-size: 16px; color: var(--gold); white-space: nowrap; }

@media (min-width: 800px) {
  .page { width: min(880px, calc(100% - 64px)); padding-top: 40px; }
  .badge-stage { width: 320px; height: 320px; }
  .slot { grid-template-columns: 88px 1fr auto 56px; padding: 14px 16px 12px 20px; }
  .slot .title { font-size: 22px; }
  .slot .date { font-size: 26px; }
}
