@font-face {
  font-family: "Bangers";
  src: url("/fonts/Bangers-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #101010;
  --panel: #1f1f1f;
  --panel-2: #292929;
  --text: #fff8e7;
  --muted: #c9c0b1;
  --blue: #3b82f6;
  --red: #ef4444;
  --green: #22c55e;
  --yellow: #facc15;
  --purple: #a855f7;
  --line: rgba(255, 248, 231, 0.16);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(59, 130, 246, 0.22), transparent 28rem),
    radial-gradient(circle at 86% 14%, rgba(250, 204, 21, 0.17), transparent 22rem),
    linear-gradient(180deg, #151515 0%, #101010 42%, #161616 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(16, 16, 16, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 900;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.32);
}

.brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: clamp(14px, 3vw, 30px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
}

.nav-links a:hover {
  color: var(--yellow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(320px, 1.07fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
  min-height: calc(100svh - 72px);
  padding: clamp(34px, 6vw, 72px) clamp(18px, 5vw, 72px) clamp(30px, 5vw, 58px);
}

.hero-copy {
  max-width: 660px;
}

.eyebrow,
.mode-kicker {
  margin: 0 0 12px;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 16px;
  font-size: clamp(4rem, 9vw, 8.25rem);
  font-weight: 950;
  line-height: 0.88;
  letter-spacing: 0;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.34);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.08;
}

.hero-text {
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  font-weight: 700;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  min-width: 138px;
  border: 2px solid var(--line);
  border-radius: 8px;
  padding: 12px 20px;
  font-weight: 950;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}

.button.primary {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #151515;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 520px;
  margin: 0;
}

.hero-stats div,
.mode-card,
.feature-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(31, 31, 31, 0.72);
  box-shadow: var(--shadow);
}

.hero-stats div {
  padding: 14px;
}

.hero-stats dt {
  color: var(--yellow);
  font-size: 2.25rem;
  font-weight: 950;
  line-height: 1;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.hero-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-band {
  padding: 0 clamp(18px, 5vw, 72px) 56px;
}

.intro-band div {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

.intro-band img {
  width: 64px;
  height: 64px;
}

.intro-band p {
  max-width: 820px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  font-weight: 800;
}

.section,
.feature-band,
.privacy-section,
.comic-clash {
  padding: clamp(56px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.comic-clash {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
  gap: clamp(22px, 4vw, 46px);
  align-items: center;
  margin: 0 clamp(18px, 5vw, 72px);
  padding: clamp(26px, 4vw, 44px);
  border: 2px solid rgba(255, 248, 231, 0.22);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(16, 16, 16, 0.9), rgba(16, 16, 16, 0.58)),
    url("/assets/superhero-theme.png") right center / cover;
  box-shadow: var(--shadow);
}

.comic-clash::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(250, 204, 21, 0.16), transparent 38%),
    linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(239, 68, 68, 0.16));
  pointer-events: none;
}

.comic-clash-copy,
.comic-reward {
  position: relative;
  z-index: 1;
}

.comic-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  border: 2px solid rgba(250, 204, 21, 0.72);
  border-radius: 8px;
  padding: 6px 10px;
  background: rgba(16, 16, 16, 0.62);
  color: var(--yellow);
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.comic-clash h2 {
  margin-bottom: 14px;
  font-family: "Bangers", Impact, fantasy;
  font-size: clamp(4rem, 10vw, 7.25rem);
  font-weight: 400;
  line-height: 0.82;
  text-shadow: 6px 7px 0 rgba(0, 0, 0, 0.54);
}

.comic-clash p {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 248, 231, 0.86);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  font-weight: 850;
}

.comic-clash a {
  color: var(--yellow);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.comic-reward {
  justify-self: end;
  display: grid;
  justify-items: center;
  gap: 12px;
  width: min(100%, 300px);
  border: 1px solid rgba(255, 248, 231, 0.22);
  border-radius: 8px;
  padding: 18px;
  background: rgba(16, 16, 16, 0.68);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.42);
}

.comic-reward img {
  width: min(180px, 68vw);
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.42));
}

.comic-reward div {
  text-align: center;
}

.comic-reward span,
.comic-reward strong {
  display: block;
}

.comic-reward span {
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.comic-reward strong {
  color: var(--text);
  font-size: 1.3rem;
  line-height: 1.05;
}

.section-heading,
.feature-copy {
  max-width: 780px;
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.mode-card {
  min-height: 250px;
  padding: 22px;
}

.mode-card:nth-child(1) {
  border-top: 5px solid var(--blue);
}

.mode-card:nth-child(2) {
  border-top: 5px solid var(--red);
}

.mode-card:nth-child(3) {
  border-top: 5px solid var(--green);
}

.mode-card:nth-child(4) {
  border-top: 5px solid var(--purple);
}

.mode-card p,
.feature-copy p,
.feature-list p,
.privacy-card p {
  color: var(--muted);
  font-weight: 700;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(22px, 5vw, 64px);
  align-items: start;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.16), rgba(239, 68, 68, 0.12));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list article {
  padding: 20px;
}

.privacy-card {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(22px, 5vw, 54px);
  align-items: center;
  max-width: 1040px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(20px, 4vw, 42px);
  background: rgba(31, 31, 31, 0.76);
  box-shadow: var(--shadow);
}

.privacy-mark {
  display: grid;
  place-items: center;
  width: min(100%, 220px);
  aspect-ratio: 1;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(59, 130, 246, 0.28), rgba(250, 204, 21, 0.14)),
    rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 248, 231, 0.14);
}

.privacy-mark span {
  color: var(--yellow);
  font-size: clamp(3rem, 8vw, 5.2rem);
  font-weight: 950;
  line-height: 1;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin-bottom: 0;
  color: var(--text);
  font-weight: 950;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 850;
}

@media (max-width: 980px) {
  .hero,
  .feature-band,
  .comic-clash {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-stage {
    aspect-ratio: 16 / 9;
  }

  .mode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .comic-reward {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-stats,
  .mode-grid,
  .privacy-card,
  .comic-clash {
    grid-template-columns: 1fr;
  }

  .comic-clash {
    margin-right: 18px;
    margin-left: 18px;
    background:
      linear-gradient(180deg, rgba(16, 16, 16, 0.88), rgba(16, 16, 16, 0.64)),
      url("/assets/superhero-theme.png") center / cover;
  }

  .hero-stage {
    aspect-ratio: 16 / 10;
  }

  .intro-band div,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
