:root {
  --ink: #10131a;
  --ink-soft: #303846;
  --muted: #697382;
  --paper: #fbfcfd;
  --panel: #ffffff;
  --line: #dfe5eb;
  --void: #080b12;
  --night: #0d121c;
  --steel: #151c29;
  --glass: rgba(255, 255, 255, 0.065);
  --glass-strong: rgba(255, 255, 255, 0.1);
  --line-dark: rgba(255, 255, 255, 0.14);
  --red: #ff4c35;
  --yellow: #ffd84d;
  --green: #35d978;
  --cyan: #27c9ff;
  --brand-blue: #12bff3;
  --deep: #171b24;
  --shadow: 0 24px 70px rgba(16, 19, 26, 0.16);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #f7fbff;
  background: var(--void);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-color: rgba(255, 76, 53, 0.55);
  text-underline-offset: 0.2em;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 56px);
  color: #ffffff;
  background: linear-gradient(180deg, rgba(16, 19, 26, 0.86), rgba(16, 19, 26, 0));
}

.site-header.compact,
.site-header.is-scrolled {
  color: #ffffff;
  background: rgba(8, 11, 18, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

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

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  filter: drop-shadow(4px 4px 0 var(--brand-blue));
}

.brand-name {
  font-size: 1.02rem;
  line-height: 1;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2vw, 28px);
  font-size: 0.92rem;
  font-weight: 750;
}

.studio-section {
  background:
    linear-gradient(180deg, var(--void) 0%, #0e1520 100%);
}

.studio-section .lead,
.tester-section .lead,
.contact-section .lead {
  color: rgba(232, 240, 248, 0.76);
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--brand-blue);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: rgba(255, 255, 255, 0.04);
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  content: "";
}

.nav-toggle-bars::before {
  transform: translateY(-7px);
}

.nav-toggle-bars::after {
  transform: translateY(5px);
}

.hero {
  position: relative;
  min-height: min(860px, 92svh);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #ffffff;
  background: var(--deep);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("/assets/slap-league-site-banner.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 11, 18, 0.9) 0%, rgba(8, 11, 18, 0.66) 48%, rgba(8, 11, 18, 0.22) 100%),
    linear-gradient(180deg, rgba(8, 11, 18, 0.12) 0%, rgba(8, 11, 18, 0.92) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 150px 0 132px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  width: max-content;
  max-width: 100%;
  padding: 8px 12px;
  color: #ffffff;
  background: rgba(18, 191, 243, 0.16);
  border: 1px solid rgba(18, 191, 243, 0.7);
  border-radius: 8px;
  box-shadow: 0 0 26px rgba(18, 191, 243, 0.22);
}

.hero h1,
.legal-document h1 {
  margin: 0;
  font-size: clamp(3.1rem, 7vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  width: min(690px, 100%);
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.hero-game {
  display: grid;
  gap: 4px;
  width: min(650px, 100%);
  margin: 32px 0 0;
  padding-left: 18px;
  border-left: 5px solid var(--brand-blue);
}

.hero-game span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 750;
}

.hero-game strong {
  color: #ffffff;
  font-size: clamp(1.5rem, 3vw, 2.55rem);
  line-height: 1.05;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #041019;
  background: linear-gradient(135deg, var(--brand-blue), #67f0ff 52%, var(--green));
  border-color: rgba(103, 240, 255, 0.78);
  box-shadow: 0 0 0 1px rgba(103, 240, 255, 0.18), 0 16px 34px rgba(18, 191, 243, 0.26);
}

.button-secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.button-secondary.dark {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(53, 217, 120, 0.2), rgba(18, 191, 243, 0.1));
  border-color: rgba(53, 217, 120, 0.62);
  box-shadow: 0 16px 34px rgba(53, 217, 120, 0.16);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 0 0 1px rgba(103, 240, 255, 0.28), 0 20px 42px rgba(18, 191, 243, 0.34);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(103, 240, 255, 0.55);
}

.hero-strip {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(18, 191, 243, 0.24);
  background: rgba(8, 11, 18, 0.82);
  backdrop-filter: blur(14px);
}

.hero-strip span {
  min-height: 76px;
  display: grid;
  place-items: center;
  padding: 14px;
  text-align: center;
  font-weight: 850;
}

.hero-strip span + span {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.section {
  padding: clamp(76px, 9vw, 124px) clamp(20px, 5vw, 56px);
}

.section > * {
  width: min(var(--max), 100%);
  margin-inline: auto;
}

.split-layout,
.stores-layout,
.form-layout,
.contact-layout,
.game-layout {
  display: grid;
  gap: clamp(32px, 6vw, 72px);
}

.split-layout,
.stores-layout,
.form-layout,
.contact-layout {
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: start;
}

.game-layout {
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
}

h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.1rem;
}

p {
  margin: 16px 0 0;
}

.lead {
  color: rgba(232, 240, 248, 0.78);
  font-size: clamp(1.04rem, 1.5vw, 1.24rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.panel-form {
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--glass-strong), rgba(255, 255, 255, 0.045));
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}

.feature-card {
  min-height: 210px;
  padding: 22px;
}

.feature-card:nth-child(1) {
  border-top: 3px solid var(--red);
}

.feature-card:nth-child(2) {
  border-top: 3px solid var(--brand-blue);
}

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

.feature-card p,
.legal-document p {
  color: rgba(232, 240, 248, 0.68);
}

.game-section {
  color: #ffffff;
  background:
    linear-gradient(180deg, var(--void) 0%, #101723 45%, var(--void) 100%);
}

.game-section .lead,
.game-section p {
  color: rgba(255, 255, 255, 0.76);
}

.game-visual {
  margin: 0;
}

.game-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.game-visual figcaption {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.tag-row span {
  padding: 7px 10px;
  color: #061018;
  background: linear-gradient(135deg, var(--yellow), #fff0a3);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 850;
}

.legal-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.legal-link-row a {
  padding: 8px 11px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 850;
  text-decoration: none;
}

.legal-link-row a:hover,
.legal-link-row a:focus-visible {
  color: var(--ink);
  background: var(--cyan);
  border-color: var(--cyan);
}

.stores-section {
  background:
    linear-gradient(180deg, #101723 0%, #0b1018 100%);
}

.store-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.store-link {
  display: inline-flex;
  width: min(100%, 280px);
  text-decoration: none;
  border-radius: 8px;
  transition: transform 160ms ease, filter 160ms ease;
}

.store-link:hover,
.store-link:focus-visible {
  transform: translateY(-2px);
  outline-offset: 3px;
  filter: drop-shadow(0 14px 24px rgba(16, 19, 26, 0.18));
}

.store-link:focus-visible {
  outline: 3px solid var(--cyan);
}

.store-link img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.tester-section {
  background:
    linear-gradient(180deg, #0b1018 0%, #111926 100%);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: rgba(247, 251, 255, 0.84);
  font-weight: 750;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 12px;
  height: 12px;
  background: var(--green);
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 4px;
  content: "";
  transform: translateY(-50%);
}

.panel-form {
  padding: clamp(20px, 3vw, 32px);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

label {
  display: grid;
  gap: 7px;
  color: #ffffff;
  font-weight: 850;
}

label span {
  font-size: 0.88rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: #ffffff;
  background: rgba(8, 11, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

input::placeholder,
textarea::placeholder {
  color: rgba(232, 240, 248, 0.52);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(39, 201, 255, 0.42);
  border-color: var(--brand-blue);
}

.full-width {
  grid-column: 1 / -1;
}

.consent-row {
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 12px;
  margin: 18px 0 22px;
}

.consent-row input {
  width: 20px;
  min-height: 20px;
  margin-top: 3px;
}

.form-status {
  min-height: 1.4em;
  margin-top: 14px;
  color: rgba(232, 240, 248, 0.78);
  font-weight: 750;
}

.contact-section {
  background:
    linear-gradient(180deg, #111926 0%, var(--void) 100%);
}

.detail-list {
  display: grid;
  gap: 13px;
  margin: 28px 0 0;
}

.detail-list div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding: 0 0 13px;
  border-bottom: 1px solid var(--line-dark);
}

.detail-list dt {
  color: rgba(232, 240, 248, 0.58);
  font-weight: 850;
}

.detail-list dd {
  margin: 0;
  color: #ffffff;
  font-weight: 750;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.social-links a {
  padding: 8px 11px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 850;
  text-decoration: none;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: #041019;
  background: var(--brand-blue);
  border-color: var(--brand-blue);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: start;
  padding: 34px clamp(20px, 5vw, 56px);
  color: #ffffff;
  background: #070a10;
}

.site-footer > * {
  width: min(var(--max), 100%);
}

.footer-brand {
  font-size: 1.1rem;
  font-weight: 900;
  text-decoration: none;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.site-footer nav a {
  color: #ffffff;
  font-weight: 750;
}

.copyright {
  grid-column: 1 / -1;
  width: 100%;
  margin: 0;
  font-size: 0.88rem;
}

.legal-page {
  padding: 132px clamp(20px, 5vw, 56px) 80px;
  color: var(--ink);
  background: var(--paper);
}

.legal-document {
  width: min(860px, 100%);
  margin: 0 auto;
}

.legal-document h1 {
  color: var(--ink);
  font-size: clamp(2.8rem, 7vw, 5.8rem);
}

.legal-document h2 {
  margin-top: 42px;
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.15;
}

.legal-document p {
  color: var(--muted);
}

.legal-document a {
  color: var(--red);
  font-weight: 750;
}

.error-page {
  min-height: 78svh;
  display: grid;
  place-items: center;
  padding: 132px clamp(20px, 5vw, 56px) 80px;
  background:
    linear-gradient(90deg, rgba(16, 19, 26, 0.9), rgba(16, 19, 26, 0.74)),
    url("/assets/slap-league-site-banner.png") center / cover;
}

.error-panel {
  width: min(820px, 100%);
  color: #ffffff;
}

.error-panel h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.error-panel .lead {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.82);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

@media (max-width: 980px) {
  .site-nav {
    position: fixed;
    inset: 76px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    color: #ffffff;
    background: rgba(8, 11, 18, 0.96);
    border: 1px solid var(--line-dark);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 12px;
    border-radius: 8px;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    color: var(--brand-blue);
    background: rgba(18, 191, 243, 0.12);
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .split-layout,
  .stores-layout,
  .form-layout,
  .contact-layout,
  .game-layout {
    grid-template-columns: 1fr;
  }

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

  .hero-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-content {
    padding-bottom: 230px;
  }

  .hero-strip span:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }

  .hero-strip span:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 70px;
    padding-inline: 16px;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
    filter: drop-shadow(3px 3px 0 var(--brand-blue));
  }

  .brand-name {
    font-size: 0.94rem;
  }

  .site-nav {
    inset: 70px 12px auto 12px;
  }

  .hero {
    min-height: 850px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(16, 19, 26, 0.5) 0%, rgba(16, 19, 26, 0.95) 70%),
      linear-gradient(90deg, rgba(16, 19, 26, 0.65), rgba(16, 19, 26, 0.4));
  }

  .hero-content {
    width: min(100% - 32px, var(--max));
    padding: 120px 0 210px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 13.5vw, 4.2rem);
  }

  .hero-strip span {
    min-height: 62px;
    font-size: 0.88rem;
  }

  .section {
    padding-inline: 16px;
  }

  .store-links,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .detail-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}
