@font-face {
  font-family: Anton;
  src: url("assets/fonts/Anton-Regular.woff") format("woff"),
       url("assets/fonts/Anton-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  color: #eee8d8;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background-color: #0b0b0b;
}

/* Fixed plywood plate so a long page does not stretch the photo. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: #0b0b0b;
  background-image: url("assets/img/bg.jpg");
  background-image: image-set(
    url("assets/img/bg.webp") type("image/webp"),
    url("assets/img/bg.jpg") type("image/jpeg")
  );
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
  vertical-align: middle;
}

iframe {
  border: 0;
  display: block;
}

a {
  color: #ffe84b;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 80;
  padding: 8px 14px;
  background: #000;
  color: #ffe84b;
  font-family: Anton, sans-serif;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}
.skip:focus {
  top: 12px;
}

/* ---------- Mobile top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(8, 7, 6, 0.88);
  border-bottom: 1px solid rgba(240, 175, 42, 0.28);
  backdrop-filter: blur(8px);
}

.top-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
}

.top-logo {
  height: 48px;
  width: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 0 12px rgba(255, 138, 0, 0.35));
}

.top-wordmark {
  width: min(240px, 58vw);
  height: auto;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.7));
}

.menu-btn {
  appearance: none;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 10px 11px;
  border: 1px solid rgba(240, 175, 42, 0.55);
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}
.menu-btn span {
  display: block;
  height: 2px;
  background: #ffe84b;
  box-shadow: 0 0 8px rgba(255, 138, 0, 0.7);
}
.menu-btn:focus-visible {
  outline: 3px solid #ffe84b;
  outline-offset: 3px;
}

/* ---------- Side panel / slide-out ---------- */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.62);
}

.nav-panel {
  position: fixed;
  z-index: 50;
  inset: 0 auto 0 0;
  width: min(300px, 86vw);
  display: flex;
  flex-direction: column;
  padding: 16px 16px 20px;
  background: rgba(10, 8, 6, 0.97);
  border-right: 1px solid rgba(240, 175, 42, 0.35);
  box-shadow: 8px 0 28px rgba(0, 0, 0, 0.55);
  transform: translateX(-110%);
  transition: transform 0.22s ease;
  overflow-y: auto;
}

body.nav-open {
  overflow: hidden;
}
body.nav-open .nav-panel {
  transform: none;
}

.nav-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.nav-brand {
  display: flex;
  justify-content: center;
  flex: 1;
}

.nav-logo {
  height: 110px;
  width: auto;
  filter: drop-shadow(0 0 18px rgba(255, 138, 0, 0.35));
}

.nav-close {
  appearance: none;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(240, 175, 42, 0.45);
  background: transparent;
  color: #ffe84b;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.nav-close:focus-visible {
  outline: 3px solid #ffe84b;
  outline-offset: 3px;
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 18px;
}

.side-nav a {
  font-family: Anton, sans-serif;
  font-size: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #eee8d8;
  padding: 10px 8px;
  text-shadow: 0 1px 2px #000;
  border-left: 3px solid transparent;
}

.side-nav a:hover,
.side-nav a:focus-visible {
  color: #ffe84b;
  text-shadow: 0 0 8px rgba(255, 138, 0, 0.6);
  border-left-color: #f0af2a;
  outline: none;
}

.side-nav .nav-store {
  margin-top: 8px;
  color: #1a1200;
  background: linear-gradient(180deg, #ffe84b, #f0af2a);
  text-shadow: none;
  text-align: center;
  border-left: 0;
  box-shadow: 0 0 16px rgba(255, 138, 0, 0.35);
}
.side-nav .nav-store:hover,
.side-nav .nav-store:focus-visible {
  color: #1a1200;
  text-shadow: none;
  filter: brightness(1.06);
  border-left: 0;
}

.side-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  padding-top: 8px;
}

.side-socials a,
.foot-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #eee8d8;
  border: 1px solid rgba(240, 175, 42, 0.35);
  background: rgba(0, 0, 0, 0.35);
  text-decoration: none;
}
.side-socials a:hover,
.side-socials a:focus-visible,
.foot-socials a:hover,
.foot-socials a:focus-visible {
  color: #ffe84b;
  border-color: #f0af2a;
  box-shadow: 0 0 14px rgba(255, 138, 0, 0.4);
  outline: none;
}

/* ---------- Page shell ---------- */
.shell {
  width: min(1120px, calc(100% - 24px));
  margin: 0 auto;
  padding: 8px 0 18px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

main {
  flex: 1;
}

.section {
  margin-top: 22px;
}

.sec-title {
  margin: 0 0 10px;
  text-align: center;
  line-height: 0;
}

.sec-title img {
  width: auto;
  max-width: 100%;
  max-height: 118px;
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.7));
}

/* ---------- Cards / player ---------- */
.player-card,
.support-card,
.spotify-card,
.about-card {
  background: rgba(10, 8, 6, 0.72);
  border: 1px solid rgba(240, 175, 42, 0.28);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
  padding: 14px 12px 16px;
}

.player-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.tab {
  appearance: none;
  flex: 1;
  cursor: pointer;
  font-family: Anton, sans-serif;
  font-size: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 8px;
  color: #eee8d8;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(240, 175, 42, 0.35);
  text-shadow: 0 1px 2px #000;
}
.tab:hover,
.tab:focus-visible {
  color: #ffe84b;
  border-color: #f0af2a;
  outline: none;
}
.tab.is-active {
  color: #1a1200;
  background: linear-gradient(180deg, #ffe84b, #f0af2a);
  border-color: #f0af2a;
  text-shadow: none;
  box-shadow: 0 0 16px rgba(255, 138, 0, 0.35);
}

.player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.player-panel,
.player-panel iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.player-panel[hidden] {
  display: none;
}

.player-hint {
  margin: 10px 2px 0;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(238, 232, 216, 0.7);
  text-align: center;
}

/* ---------- Buttons ---------- */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.btn-row-hero {
  margin-top: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 22px;
  font-family: Anton, sans-serif;
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-primary {
  color: #1a1200;
  background: linear-gradient(180deg, #ffe84b, #f0af2a);
  border: 1px solid #f0af2a;
  box-shadow: 0 0 18px rgba(255, 138, 0, 0.35);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  filter: brightness(1.06);
  box-shadow:
    0 0 0 1px #f0af2a,
    0 0 28px rgba(255, 138, 0, 0.5);
  outline: none;
}

.btn-ghost {
  color: #ffe84b;
  background: rgba(0, 0, 0, 0.35);
  border: 2px solid #f0af2a;
  text-shadow:
    0 0 8px #ff8a00,
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000;
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(240, 175, 42, 0.12);
  box-shadow: 0 0 20px rgba(255, 138, 0, 0.35);
  outline: none;
}

.btn-supporter {
  display: flex;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  min-height: 62px;
  font-size: 26px;
  letter-spacing: 0.06em;
  box-shadow:
    0 0 22px rgba(255, 138, 0, 0.5),
    0 8px 20px rgba(0, 0, 0, 0.4);
}

.support-card {
  text-align: center;
  padding: 22px 16px 20px;
}

.support-lead {
  margin: 0 0 16px;
  font-family: Anton, sans-serif;
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffe84b;
  text-shadow:
    0 0 8px rgba(255, 138, 0, 0.55),
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000;
}

/* ---------- Watch / platforms ---------- */
.platform {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  text-decoration: none;
  color: inherit;
  background: rgba(10, 8, 6, 0.72);
  border: 1px solid rgba(240, 175, 42, 0.28);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.platform-icon {
  flex-shrink: 0;
  color: #ffe84b;
  display: flex;
}

.platform-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.platform-name {
  font-family: Anton, sans-serif;
  font-size: 22px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffe84b;
  text-shadow:
    0 0 8px rgba(255, 138, 0, 0.45),
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000;
}

.platform-desc {
  font-size: 13px;
  color: rgba(238, 232, 216, 0.78);
}

.platform--yt {
  padding: 20px 18px;
  margin-bottom: 12px;
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.55),
    0 0 18px rgba(255, 138, 0, 0.18);
}
.platform--yt .platform-name {
  font-size: 32px;
}
.platform--yt .platform-desc {
  font-size: 15px;
}

.platform:hover,
.platform:focus-visible {
  transform: scale(1.012);
  box-shadow:
    0 10px 32px rgba(0, 0, 0, 0.6),
    0 0 0 1px #f0af2a,
    0 0 28px rgba(255, 138, 0, 0.45);
  filter: brightness(1.06);
  outline: none;
}

.platform-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-family: Anton, sans-serif;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #eee8d8;
  background: rgba(10, 8, 6, 0.72);
  border: 1px solid rgba(240, 175, 42, 0.28);
  text-shadow: 0 1px 2px #000;
}
.social-link:hover,
.social-link:focus-visible {
  color: #ffe84b;
  border-color: #f0af2a;
  box-shadow: 0 0 16px rgba(255, 138, 0, 0.4);
  outline: none;
}

.spotify-card iframe {
  width: 100%;
  min-height: 352px;
  border-radius: 0;
}

/* ---------- About ---------- */
.about-body {
  max-width: 680px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.55;
  color: #eee8d8;
}
.about-body p {
  margin: 0 0 12px;
}
.about-body p:last-child {
  margin-bottom: 0;
}

/* ---------- Store banner ---------- */
.section-store .sec-title {
  display: none;
}

.banner {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: #111;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.banner .art {
  position: absolute;
  inset: 0;
  display: flex;
}

.art-left,
.art-right {
  flex: 1;
  min-width: 0;
  height: 100%;
}

.art-left img,
.art-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.art-left img {
  object-position: right center;
}
.art-right img {
  object-position: left center;
}

.banner-title {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
  padding: 8% 4%;
}

.banner-title img {
  width: min(100%, 720px);
  height: auto;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.75));
}

.shop-now {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  z-index: 3;
  text-align: center;
  font-family: Anton, sans-serif;
  font-size: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffe84b;
  text-shadow:
    0 0 8px #ff8a00,
    0 0 16px rgba(230, 80, 0, 0.7),
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000,
     0    2px 0 #000;
}

.banner:hover,
.banner:focus-visible {
  transform: scale(1.012);
  box-shadow:
    0 10px 32px rgba(0, 0, 0, 0.6),
    0 0 0 1px #f0af2a,
    0 0 28px rgba(255, 138, 0, 0.45);
  filter: brightness(1.06);
  outline: none;
}

.banner:hover .shop-now,
.banner:focus-visible .shop-now {
  letter-spacing: 0.24em;
}

.banner:focus-visible {
  outline: 3px solid #ffe84b;
  outline-offset: 3px;
}

/* ---------- Footer ---------- */
.foot {
  margin-top: 22px;
  text-align: center;
  padding-bottom: 8px;
}

.foot-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
}

.links a {
  font-family: Anton, sans-serif;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #eee8d8;
  text-shadow: 0 1px 2px #000;
}

.links a:hover,
.links a:focus-visible {
  color: #ffe84b;
  text-shadow: 0 0 8px rgba(255, 138, 0, 0.6);
}

.copy {
  margin: 12px 0 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(238, 232, 216, 0.55);
}

/* Optional links with an empty CONFIG value are hidden in JS. */
[hidden] {
  display: none !important;
}

@media (max-width: 700px) {
  .sec-title img {
    max-height: 168px;
  }
  .banner-title {
    align-items: flex-start;
    padding: 6% 5% 22%;
  }
  .foot-socials a,
  .side-socials a {
    width: 36px;
    height: 36px;
  }
  .foot-socials {
    gap: 6px;
  }
}

/* ---------- Desktop: persistent side panel ---------- */
@media (min-width: 901px) {
  .topbar,
  .nav-close {
    display: none;
  }

  .backdrop {
    display: none !important;
  }

  .nav-panel {
    transform: none;
    width: 240px;
    background: rgba(8, 7, 6, 0.62);
    box-shadow: none;
  }

  .side-socials {
    gap: 6px;
  }
  .side-socials a {
    width: 36px;
    height: 36px;
  }

  body.nav-open {
    overflow: auto;
  }

  .shell {
    width: min(1120px, calc(100% - 272px));
    margin-left: 252px;
    margin-right: auto;
    padding: 16px 0 20px;
  }

  .nav-logo {
    height: 128px;
  }

  .section {
    margin-top: 28px;
  }

  .player-card,
  .support-card,
  .spotify-card,
  .about-card {
    padding: 18px 18px 20px;
  }

  .btn-supporter {
    font-size: 30px;
    min-height: 68px;
  }

  .platform-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .platform--yt {
    padding: 24px 22px;
  }

  .banner {
    aspect-ratio: 1920 / 480;
  }

  .banner-title {
    padding: 0 8%;
  }

  .banner-title img {
    width: min(100%, 900px);
  }

  .shop-now {
    bottom: 12px;
    font-size: 18px;
  }

}

@media (min-width: 1200px) {
  .nav-panel {
    width: 240px;
  }
  .shell {
    margin-left: 260px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .nav-panel,
  .banner,
  .platform,
  .btn,
  .shop-now {
    transition: none;
  }
  .banner:hover,
  .banner:focus-visible,
  .platform:hover,
  .platform:focus-visible {
    transform: none;
  }
}
