
@font-face {
  font-family: "Comic Neue";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/comic-neue-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Comic Neue";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/comic-neue-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Silkscreen";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/silkscreen-latin-400-normal.woff2") format("woff2");
}

:root {
  --void: #070014;
  --ink: #fff6c8;
  --pink: #ff2bd6;
  --lime: #39ff14;
  --cyan: #00e5ff;
  --sun: #ffe600;
  --panel: #160022;
  --silver: #d4d0c8;
  --lcd: #04180c;
  --comic: "Comic Neue", "Comic Sans MS", "Trebuchet MS", cursive;
  --pixel: "Silkscreen", "Courier New", monospace;
  color-scheme: dark;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--comic);
  font-size: 18px;
  line-height: 1.45;
  color: var(--ink);
  background-color: var(--void);
  background-image:
    radial-gradient(1.4px 1.4px at 12% 18%, #fff 50%, transparent 52%),
    radial-gradient(1.2px 1.2px at 28% 72%, #ffc6f2 50%, transparent 52%),
    radial-gradient(1px 1px at 64% 22%, #fff 50%, transparent 52%),
    radial-gradient(1.6px 1.6px at 82% 68%, #9fffff 50%, transparent 52%),
    radial-gradient(1px 1px at 46% 48%, var(--sun) 50%, transparent 52%),
    radial-gradient(1.2px 1.2px at 8% 88%, #fff 50%, transparent 52%),
    radial-gradient(1px 1px at 90% 12%, var(--pink) 50%, transparent 52%);
  background-size: 240px 200px;
}

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

button,
a {
  font: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--sun);
  outline-offset: 2px;
}

.page {
  width: min(920px, calc(100% - 16px));
  margin: 14px auto 28px;
  padding: 12px;
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  border: 4px ridge var(--pink);
  box-shadow: 7px 7px 0 #000;
}

.top {
  text-align: center;
  padding: 6px 8px 2px;
}

.spark {
  margin: 0;
  color: var(--sun);
  letter-spacing: 0.4em;
  font-size: 14px;
}

.logo {
  margin: 2px 0 0;
  font-family: var(--comic);
  font-weight: 700;
  font-size: clamp(2.7rem, 9vw, 4.7rem);
  line-height: 0.95;
  letter-spacing: 0.05em;
  color: var(--pink);
  background-image: linear-gradient(
    90deg,
    #ff2bd6,
    #ffe600,
    #39ff14,
    #00e5ff,
    #ff2bd6
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: hue 7s linear infinite;
}

.tag {
  margin: 4px 0 0;
  color: var(--cyan);
  font-size: 15px;
}

.rule {
  height: 4px;
  margin: 10px 0;
  border: 0;
  background: linear-gradient(90deg, #ff2bd6, #ffe600, #39ff14, #00e5ff);
}

.marquee {
  overflow: hidden;
  border-top: 2px solid var(--pink);
  border-bottom: 2px solid var(--cyan);
  background: #000;
  color: var(--sun);
  font-family: var(--pixel);
  font-size: 12px;
  line-height: 1.8;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: mq 28s linear infinite;
}

.marquee-track span {
  padding-right: 3rem;
  white-space: nowrap;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 12px 0;
}

.nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  color: #000;
  text-decoration: none;
  background: var(--silver);
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #404040;
  border-bottom: 2px solid #404040;
  font-weight: 700;
}

.nav a:visited {
  color: #000;
}

.nav a:hover {
  color: #000;
  background: #fff;
}

.nav a.is-on {
  background: var(--pink);
  color: #fff;
  border-color: #7a0058;
}

.nav a:active {
  border-top-color: #404040;
  border-left-color: #404040;
  border-right-color: #fff;
  border-bottom-color: #fff;
}

.new {
  color: #c40000;
  font-family: var(--pixel);
  font-size: 10px;
  font-weight: 400;
}

.nav a.is-on .new {
  color: var(--sun);
}

.panel {
  background: #0c0014;
  border: 3px ridge var(--cyan);
  padding: 12px;
}

.home-grid {
  display: grid;
  gap: 12px;
}

.intro h2,
.section-title,
.soon h2 {
  margin: 0 0 8px;
  color: var(--sun);
  font-size: 1.55rem;
  line-height: 1.15;
}

.intro p {
  margin: 0 0 8px;
}

.hits {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px !important;
}

.counter {
  display: inline-block;
  min-width: 7.2em;
  padding: 4px 8px;
  background: #000;
  color: var(--lime);
  font-family: var(--pixel);
  font-size: 14px;
  letter-spacing: 0.18em;
  border-top: 2px solid #333;
  border-left: 2px solid #333;
  border-right: 2px solid #888;
  border-bottom: 2px solid #888;
}

.fine {
  color: #c9b8e8;
  font-size: 14px;
}

.section-title {
  margin-top: 16px;
}

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

.shot {
  margin: 0;
  background: #000;
  border: 4px ridge var(--silver);
  padding: 4px 4px 6px;
}

.shot img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background:
    linear-gradient(45deg, #1a1024 25%, transparent 25%),
    linear-gradient(-45deg, #1a1024 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #1a1024 75%),
    linear-gradient(-45deg, transparent 75%, #1a1024 75%);
  background-size: 16px 16px;
  background-color: #0a0610;
}

.shot figcaption {
  margin-top: 4px;
  text-align: center;
  color: var(--cyan);
  font-size: 14px;
}

.deck {
  background: #2a2a2a;
  color: #000;
  border-top: 2px solid #6a6a6a;
  border-left: 2px solid #6a6a6a;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  padding: 4px;
}

.deck-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 28px;
  padding: 2px 4px 2px 8px;
  background: linear-gradient(90deg, #5a0078, #ff2bd6 55%, #00e5ff);
  color: #fff;
  font-family: var(--pixel);
  font-size: 12px;
}

.deck-win {
  display: flex;
  gap: 3px;
}

.deck-win button,
.transport button {
  min-width: 44px;
  min-height: 36px;
  padding: 0 8px;
  color: #000;
  background: var(--silver);
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #404040;
  border-bottom: 2px solid #404040;
}

.deck-win button {
  min-width: 28px;
  min-height: 22px;
  font-family: var(--pixel);
  font-size: 10px;
  line-height: 1;
}

.deck-win button:active,
.transport button:active,
.playlist button:active {
  border-top-color: #404040;
  border-left-color: #404040;
  border-right-color: #fff;
  border-bottom-color: #fff;
}

.lcd {
  margin: 6px;
  padding: 8px;
  background: var(--lcd);
  color: var(--lime);
  font-family: var(--pixel);
  font-size: 12px;
  line-height: 1.4;
  border-top: 2px solid #000;
  border-left: 2px solid #000;
  border-right: 2px solid #3d6b48;
  border-bottom: 2px solid #3d6b48;
  min-height: 78px;
}

.lcd.is-hot {
  color: #ff8fab;
}

.lcd-top,
.lcd-title,
.playlist button {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.lcd-title {
  margin-top: 4px;
  color: var(--cyan);
  overflow: hidden;
}

.lcd.is-hot .lcd-title {
  color: #ffd0dc;
}

.eq {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 16px;
  margin-top: 6px;
}

.eq i {
  display: block;
  width: 5px;
  height: 3px;
  background: currentColor;
}

.eq.is-hot i {
  animation: eq 0.35s ease-in-out infinite alternate;
}

.eq i:nth-child(2) { animation-delay: 0.05s; }
.eq i:nth-child(3) { animation-delay: 0.12s; }
.eq i:nth-child(4) { animation-delay: 0.02s; }
.eq i:nth-child(5) { animation-delay: 0.18s; }
.eq i:nth-child(6) { animation-delay: 0.08s; }
.eq i:nth-child(7) { animation-delay: 0.15s; }

.transport {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 6px 6px;
}

.transport button {
  font-weight: 700;
}

.playlist {
  list-style: none;
  margin: 0 6px 6px;
  padding: 0;
  background: #050505;
  border: 2px inset #555;
}

.playlist button {
  width: 100%;
  min-height: 44px;
  padding: 6px 8px;
  text-align: left;
  color: var(--lime);
  background: transparent;
  border: 0;
  font-family: var(--pixel);
  font-size: 11px;
}

.playlist button span:nth-child(2) {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.playlist button.is-on {
  background: #1020a0;
  color: #fff;
}

.deck-note {
  margin: 0 6px 6px;
  color: #ddd;
  font-size: 13px;
  text-align: center;
}

.soon {
  text-align: center;
  padding: 22px 14px 26px;
}

.kicker {
  margin: 0 0 12px;
  color: var(--pink);
  font-family: var(--pixel);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.stripes {
  display: grid;
  place-items: center;
  width: min(100%, 420px);
  margin: 0 auto 16px;
  min-height: 92px;
  padding: 12px;
  background: repeating-linear-gradient(
    -45deg,
    #111 0 14px,
    var(--sun) 14px 28px
  );
  border: 4px solid #000;
  color: #000;
  font-family: var(--pixel);
  font-size: clamp(14px, 3.4vw, 20px);
  line-height: 1.35;
  text-align: center;
  box-shadow: 4px 4px 0 var(--pink);
}

.soon h2 {
  color: var(--ink);
  font-size: clamp(1.4rem, 4vw, 2rem);
}

.status {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  padding: 3px 8px;
  background: var(--silver);
  color: #000;
  font-size: 14px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #404040;
  border-bottom: 2px solid #404040;
}

.foot {
  margin: 8px 0 0;
  text-align: center;
  color: #e7d4ff;
  font-size: 14px;
}

.blink {
  animation: blink 1.1s steps(1, end) infinite;
}

.boom {
  min-height: 100vh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
  background: var(--void);
  color: var(--ink);
}

.boom h1 {
  margin: 0;
  color: var(--sun);
  font-family: var(--comic);
}

.boom-msg {
  max-width: 36rem;
  margin: 0;
  color: var(--cyan);
  overflow-wrap: anywhere;
}

@keyframes hue {
  to {
    background-position: -220% 0;
  }
}

@keyframes mq {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@keyframes eq {
  from {
    height: 3px;
  }
  to {
    height: 16px;
  }
}

@media (min-width: 760px) {
  .home-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .gallery {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo {
    animation: none;
    background: none;
    color: var(--pink);
    -webkit-text-fill-color: var(--pink);
  }

  .marquee-track,
  .blink,
  .eq.is-hot i {
    animation: none;
  }
}
