@font-face {
  font-family: "A For A";
  src: url("assets/fonts/A%20FOR%20A.ttf") format("truetype");
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #020202;
  --ink: #eee9df;
  --muted: #aaa39a;
  --red: #c00000;
  --red-deep: #5d0000;
  --line: rgba(238, 233, 223, 0.18);
  --panel: rgba(0, 0, 0, 0.7);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  overflow: hidden;
}

button,
a {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.app-shell {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.app-shell::after {
  position: fixed;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  content: "";
  opacity: 0.22;
  background-image:
    repeating-radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 5px);
  mix-blend-mode: overlay;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  z-index: -2;
  background: url("assets/lmlt-hero.jpg") center / cover no-repeat;
  filter: contrast(1.08) brightness(0.68) saturate(0.92);
  transform: scale(1.015);
}

.hero-shade {
  z-index: -1;
  background:
    radial-gradient(circle at 50% 42%, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.56) 68%, rgba(0, 0, 0, 0.86)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.08) 42%, rgba(0, 0, 0, 0.82));
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  padding: 22px clamp(16px, 4vw, 46px);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0));
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(18px, 4vw, 44px);
}

.top-nav button,
.release-cta,
.panel-close,
.mini-links a,
.platform-link {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  padding: 7px 14px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.top-nav button:hover,
.release-cta:hover,
.panel-close:hover,
.mini-links a:hover,
.platform-link:hover {
  border-color: rgba(192, 0, 0, 0.82);
  background: rgba(192, 0, 0, 0.16);
  color: #fff4ec;
  transform: translateY(-1px);
}

.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 110px 18px 50px;
}

.hero-content {
  position: relative;
  z-index: 10;
  display: grid;
  justify-items: center;
  gap: clamp(18px, 4vw, 34px);
  width: min(1120px, 100%);
  text-align: center;
}

.hero h1 {
  position: relative;
  max-width: 100%;
  margin: 0;
  color: var(--red);
  font-family: "Arial Black", Arial, Helvetica, sans-serif;
  font-size: clamp(3.6rem, 14vw, 12.5rem);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow:
    0 3px 0 #210000,
    0 0 8px rgba(255, 0, 0, 0.34),
    0 0 20px rgba(192, 0, 0, 0.24),
    0 14px 48px rgba(0, 0, 0, 0.92);
}

.hero h1::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "CLAW CARTEL";
  color: transparent;
  background-image:
    repeating-radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.78) 0 1px, transparent 1px 3px),
    repeating-radial-gradient(circle at 72% 58%, rgba(0, 0, 0, 0.82) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(45, 0, 0, 0.7) 0 1px, transparent 1px 4px);
  background-clip: text;
  -webkit-background-clip: text;
  opacity: 0.48;
  mix-blend-mode: screen;
}

.hero h1:hover,
.hero h1:focus-visible {
  animation: title-lcd-wobble 520ms steps(1, end) both;
}

.hero h1:hover::after,
.hero h1:focus-visible::after {
  animation: title-grain-slip 520ms steps(1, end) both;
}

.release-cta {
  border-color: rgba(255, 255, 255, 0.88);
  background: transparent;
}

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

.app-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 22px;
  z-index: 20;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.app-footer .social-links {
  pointer-events: auto;
}

.social-link {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.social-link:hover {
  border-color: rgba(192, 0, 0, 0.82);
  background: rgba(192, 0, 0, 0.16);
  transform: translateY(-1px);
}

.social-link svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 25;
  width: min(520px, 100%);
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 22px clamp(18px, 4vw, 34px) 28px;
  border-left: 1px solid var(--line);
  background: var(--panel);
  box-shadow: -32px 0 110px rgba(0, 0, 0, 0.56);
  backdrop-filter: blur(14px);
  transform: translateX(102%);
  opacity: 0;
  pointer-events: none;
  transition: transform 220ms ease, opacity 220ms ease;
}

.info-panel.is-open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.panel-close {
  justify-self: end;
}

.panel-content {
  align-self: center;
  max-height: calc(100svh - 126px);
  overflow-y: auto;
  padding: 18px 2px 4px;
}

.section-label,
.release-meta {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 24px;
  color: var(--ink);
  font-family: "Arial Black", Arial, Helvetica, sans-serif;
  font-size: clamp(2rem, 7vw, 4.8rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 10px;
  font-family: "Arial Black", Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.1;
}

.panel-copy,
.release-body p,
.visual-body p,
.release-note {
  color: var(--muted);
}

.release-list,
.visual-list {
  display: grid;
  gap: 12px;
}

.release-card,
.visual-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.48);
}

.release-card {
  display: grid;
  grid-template-columns: 112px 1fr;
  min-height: 112px;
}

.release-art {
  position: relative;
  overflow: hidden;
  background: url("assets/lmlt-hero.jpg") center / cover no-repeat;
}

.release-art::after,
.visual-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 6px);
  mix-blend-mode: overlay;
}

.release-art span {
  position: absolute;
  left: 10px;
  bottom: 9px;
  z-index: 1;
  padding: 5px 7px;
  background: rgba(0, 0, 0, 0.66);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.release-body,
.visual-body {
  padding: 16px;
}

.mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.mini-links a {
  min-height: 32px;
  padding: 6px 10px;
  font-size: 0.68rem;
}

.visual-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: url("assets/lmlt-hero.jpg") center / cover no-repeat;
}

.visual-frame iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
}

.visual-frame span {
  position: relative;
  z-index: 1;
  padding: 8px 10px;
  background: rgba(0, 0, 0, 0.64);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.platform-grid {
  display: grid;
  gap: 10px;
}

.platform-link {
  min-height: 46px;
  justify-content: space-between;
  padding: 11px 14px;
}

.platform-link::after {
  content: ">";
  color: var(--red);
}

@media (max-width: 700px) {
  .site-header {
    padding-top: 16px;
  }

  .top-nav {
    width: 100%;
  }

  .top-nav button {
    flex: 1 1 86px;
    padding-inline: 10px;
  }

  .hero {
    align-items: end;
    padding-bottom: 74px;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 22vw, 7.2rem);
  }

  .info-panel {
    width: 100%;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .panel-content {
    align-self: end;
  }

  .release-card {
    grid-template-columns: 92px 1fr;
  }
}

@keyframes title-lcd-wobble {
  0%,
  100% {
    transform: translate(0, 0) skewX(0deg);
    filter: none;
  }

  14% {
    transform: translate(-2px, 1px) skewX(-1.2deg);
    filter: contrast(1.18);
    text-shadow:
      2px 0 0 rgba(255, 0, 0, 0.38),
      -2px 0 0 rgba(60, 130, 150, 0.22),
      0 0 8px rgba(255, 0, 0, 0.34),
      0 14px 48px rgba(0, 0, 0, 0.92);
  }

  28% {
    transform: translate(2px, -1px) skewX(1deg);
  }

  43% {
    transform: translate(-1px, 0) skewX(-0.5deg);
    filter: brightness(1.08) saturate(1.14);
  }

  58% {
    transform: translate(1px, 1px) skewX(0.8deg);
  }

  72% {
    transform: translate(-1px, -1px) skewX(-0.6deg);
  }
}

@keyframes title-grain-slip {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.48;
  }

  20% {
    transform: translate(3px, -1px);
    opacity: 0.68;
  }

  45% {
    transform: translate(-2px, 1px);
  }

  70% {
    transform: translate(2px, 0);
    opacity: 0.58;
  }
}
