:root {
  --bg: #050914;
  --bg-deep: #020612;
  --panel: #10182a;
  --panel-soft: #182238;
  --text: #f7fbff;
  --muted: #aeb8c8;
  --cyan: #35f5ff;
  --cyan-soft: rgba(53, 245, 255, 0.18);
  --blue: #1555ff;
  --orange: #ff6a13;
  --red: #f00016;
  --green: #94ff9e;
  --line: rgba(53, 245, 255, 0.42);
  --shadow: 0 26px 90px rgba(0, 0, 0, 0.42);
  --glow: 0 0 22px rgba(53, 245, 255, 0.74);
  --radius: 28px;
  --radius-sm: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 9%, rgba(21, 85, 255, 0.42), transparent 28rem),
    radial-gradient(circle at 82% 16%, rgba(53, 245, 255, 0.18), transparent 24rem),
    linear-gradient(180deg, var(--bg), var(--bg-deep) 58%, #041a1d);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

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

.site-header,
.hero,
.section {
  width: min(100% - clamp(28px, 6vw, 96px), 1180px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  backdrop-filter: blur(18px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid var(--cyan);
  border-radius: 14px;
  color: var(--cyan);
  background: rgba(16, 24, 42, 0.86);
  box-shadow: var(--glow);
  overflow: hidden;
}

.logo-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(53, 245, 255, 0.16);
  border-radius: 999px;
  background: rgba(16, 24, 42, 0.62);
}

.site-nav a {
  min-height: 42px;
  padding: 11px 15px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 800;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  background: var(--cyan-soft);
  box-shadow: inset 0 0 0 1px var(--line);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 2px solid var(--cyan);
  border-radius: 16px;
  color: var(--cyan);
  background: rgba(16, 24, 42, 0.9);
  box-shadow: 0 0 18px rgba(53, 245, 255, 0.34);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: currentColor;
}

.hero {
  display: flex;
  align-items: center;
  min-height: clamp(560px, 78svh, 760px);
  padding: clamp(44px, 7vw, 92px) 0 clamp(54px, 8vw, 104px);
}

.hero-copy {
  min-width: 0;
  width: min(100%, 980px);
}

.eyebrow {
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(53, 245, 255, 0.09);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(53, 245, 255, 0.72);
}

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

h1,
h2 {
  line-height: 0.96;
  letter-spacing: -0.07em;
}

h1 {
  max-width: 960px;
  margin-bottom: 22px;
  font-size: clamp(3.25rem, 7.1vw, 7.4rem);
  line-height: 1.02;
  text-wrap: balance;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 4.8vw, 4.7rem);
}

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

.hero-text,
.section p {
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
}

.hero-text {
  max-width: 680px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 20px;
  border: 2px solid var(--cyan);
  border-radius: 18px;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  color: #07101d;
  background: var(--cyan);
}

.button-ghost {
  color: var(--cyan);
  background: rgba(16, 24, 42, 0.66);
}

.hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(210px, 0.58fr);
  gap: 18px;
  align-items: stretch;
}

.poster-panel,
.phone-mockup,
.pressure-card,
.danger-board,
.gameplay-grid article,
.feature-list article,
.cta {
  border: 2px solid var(--line);
  background: rgba(16, 24, 42, 0.76);
  box-shadow: var(--shadow), inset 0 0 28px rgba(53, 245, 255, 0.08);
}

.poster-panel {
  position: relative;
  min-height: clamp(330px, 34vw, 430px);
  overflow: hidden;
  border-radius: 30px;
  background:
    linear-gradient(90deg, #061f26 0 47%, var(--blue) 47% 100%);
}

.poster-title {
  position: absolute;
  right: clamp(20px, 4vw, 54px);
  top: 50%;
  z-index: 2;
  width: min(52%, 360px);
  color: #ffffff;
  font-size: clamp(2rem, 3.8vw, 4rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0.02em;
  text-align: center;
  transform: translateY(-50%);
}

.poster-orb {
  position: absolute;
  left: clamp(20px, 4vw, 50px);
  top: 50%;
  width: min(38%, 220px);
  aspect-ratio: 1;
  border: 28px solid #125cff;
  border-radius: 50%;
  background: linear-gradient(#ff755b 0 46%, #26dff0 47% 100%);
  box-shadow: 0 0 0 18px rgba(3, 9, 22, 0.72);
  transform: translateY(-50%);
}

.poster-orb::before {
  content: "";
  position: absolute;
  left: 44%;
  bottom: -82px;
  width: 44px;
  height: 116px;
  border-radius: 12px;
  background: linear-gradient(#125cff 0 52%, #ff2010 53% 100%);
}

.poster-orb::after {
  content: "";
  position: absolute;
  right: -112px;
  top: 50%;
  width: 120px;
  height: 8px;
  border-radius: 999px;
  background: #030923;
  box-shadow:
    42px -70px 0 -1px #030923,
    42px 70px 0 -1px #030923;
  transform: translateY(-50%);
}

.poster-orb span {
  position: absolute;
  right: -160px;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 2.45rem;
  font-weight: 900;
  text-shadow: 3px 3px 0 var(--cyan);
}

.poster-orb span:nth-child(1) {
  top: -64px;
  background: var(--orange);
}

.poster-orb span:nth-child(2) {
  top: 50%;
  background: var(--red);
  transform: translateY(-50%);
}

.poster-orb span:nth-child(3) {
  bottom: -64px;
  background: #0500a5;
}

.phone-mockup {
  position: relative;
  min-width: 0;
  min-height: clamp(330px, 34vw, 430px);
  padding: 18px 14px 24px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 8%, rgba(53, 245, 255, 0.18), transparent 8rem),
    linear-gradient(180deg, #22052d, #001f24 48%, #0e1525 49%);
}

.phone-header {
  margin: 82px 0 10px;
  color: var(--cyan);
  font-weight: 900;
  text-align: center;
  text-shadow: var(--glow);
}

.stats-stack {
  position: absolute;
  top: 14px;
  left: 12px;
  right: 12px;
  display: grid;
  gap: 6px;
}

.stats-stack span {
  min-height: 20px;
  padding: 4px 8px;
  border: 1px solid var(--cyan);
  border-radius: 999px;
  background: #151b2c;
  color: #ffffff;
  font-size: 0.66rem;
  font-weight: 900;
}

.target {
  margin: 8px auto;
  color: #ffffff;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 900;
  text-align: center;
  text-shadow: 0 0 12px var(--cyan);
}

.timer,
.result {
  color: #dce8f7;
  text-align: center;
  font-weight: 800;
}

.result {
  margin-top: 12px;
  color: var(--green);
  font-size: 1.15rem;
  text-shadow: 0 0 14px rgba(148, 255, 158, 0.7);
}

.letter-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.letter-row span {
  display: grid;
  place-items: center;
  min-height: clamp(56px, 5.2vw, 68px);
  border: 2px solid var(--cyan);
  border-radius: 20px;
  background: #162238;
  color: #ffffff;
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  font-weight: 900;
  box-shadow: 0 0 16px rgba(53, 245, 255, 0.28);
}

.letter-row .is-target {
  border-color: #ffffff;
  background: rgba(53, 245, 255, 0.22);
  box-shadow: var(--glow);
}

.phone-floor {
  position: absolute;
  right: 20%;
  bottom: 12px;
  left: 20%;
  height: 4px;
  border-radius: 999px;
  background: #ffffff;
  opacity: 0.9;
}

.section {
  margin-block: clamp(50px, 9vw, 120px);
  scroll-margin-top: 96px;
}

.about {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(24px, 6vw, 72px);
  align-items: end;
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid rgba(53, 245, 255, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(53, 245, 255, 0.1), rgba(21, 85, 255, 0.08));
}

.section-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

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

.gameplay-grid article,
.feature-list article {
  min-height: 200px;
  padding: clamp(20px, 4vw, 34px);
  border-radius: var(--radius);
}

.gameplay-grid span {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border-radius: 16px;
  color: #07101d;
  background: var(--cyan);
  font-weight: 900;
  box-shadow: var(--glow);
}

.pressure {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 18px;
  align-items: stretch;
}

.pressure-card {
  padding: clamp(28px, 6vw, 64px);
  border-radius: 38px 12px 38px 12px;
  background:
    radial-gradient(circle at 88% 22%, rgba(240, 0, 22, 0.28), transparent 15rem),
    rgba(16, 24, 42, 0.84);
}

.pressure-label {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--orange);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.danger-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  min-height: 360px;
  padding: 18px;
  border-radius: var(--radius);
}

.danger-board span {
  border: 2px solid var(--cyan);
  border-radius: 20px;
  background: #121b2e;
  box-shadow: inset 0 0 22px rgba(53, 245, 255, 0.12);
}

.danger-board .broken {
  border-color: rgba(240, 0, 22, 0.72);
  background:
    linear-gradient(135deg, transparent 0 45%, var(--red) 46% 53%, transparent 54%),
    #171022;
}

.danger-board .hot {
  border-color: var(--orange);
  background: linear-gradient(135deg, var(--orange), var(--red));
}

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

.feature-list strong {
  display: block;
  margin-bottom: 18px;
  color: var(--cyan);
  font-size: clamp(1.7rem, 3.6vw, 3rem);
  line-height: 1;
  letter-spacing: -0.06em;
  text-shadow: var(--glow);
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(28px, 6vw, 66px);
  border-radius: 44px;
  background:
    linear-gradient(90deg, rgba(21, 85, 255, 0.54), rgba(53, 245, 255, 0.09)),
    #10182a;
}

.cta p {
  max-width: 680px;
}

.cta .button {
  flex: 0 0 auto;
  min-width: 128px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 560ms ease, transform 560ms ease;
}

[data-reveal].is-visible,
html:not(.js-ready) [data-reveal] {
  opacity: 1;
  transform: none;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

@media (max-width: 1180px) {
  .hero {
    min-height: auto;
    padding-top: clamp(28px, 6vw, 56px);
  }

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

  .hero-stage {
    grid-template-columns: minmax(0, 1fr) minmax(230px, 0.55fr);
    max-width: 900px;
  }

  h1 {
    max-width: 920px;
    font-size: clamp(3rem, 8.2vw, 6.2rem);
  }
}

@media (max-width: 980px) {
  .hero,
  .about,
  .pressure {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    grid-template-columns: minmax(0, 1fr);
  }

  .poster-panel {
    min-height: clamp(320px, 56vw, 420px);
  }

  .phone-mockup {
    width: min(100%, 390px);
    margin-inline: auto;
  }

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

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

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: 22px;
    background: rgba(16, 24, 42, 0.96);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    width: 100%;
  }

  .poster-title {
    right: 18px;
    width: 50%;
    font-size: clamp(2rem, 8.8vw, 3.5rem);
  }

  .poster-orb {
    left: 20px;
    width: min(36%, 176px);
    border-width: 22px;
  }

  .poster-orb span {
    right: -126px;
    width: 58px;
    height: 58px;
    font-size: 2rem;
  }

  .cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta .button {
    width: auto;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero,
  .section {
    width: min(100% - 28px, 1180px);
  }

  .logo span:last-child {
    max-width: 150px;
  }

  .hero {
    min-height: auto;
    padding-top: 30px;
  }

  h1 {
    font-size: clamp(2.7rem, 14.6vw, 4.6rem);
  }

  h2 {
    font-size: clamp(2rem, 12vw, 3.5rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .poster-panel {
    min-height: 280px;
    border-radius: 24px;
  }

  .poster-title {
    width: 50%;
    right: 14px;
    line-height: 1.1;
    font-size: clamp(1.7rem, 9.4vw, 3rem);
  }

  .poster-orb {
    width: clamp(108px, 32vw, 132px);
    border-width: 18px;
    box-shadow: 0 0 0 12px rgba(3, 9, 22, 0.72);
  }

  .poster-orb::before {
    width: 30px;
    height: 78px;
    bottom: -58px;
  }

  .poster-orb::after {
    right: -72px;
    width: 80px;
    box-shadow:
      24px -48px 0 -1px #030923,
      24px 48px 0 -1px #030923;
  }

  .poster-orb span {
    right: -90px;
    width: 44px;
    height: 44px;
    font-size: 1.45rem;
  }

  .poster-orb span:nth-child(1) {
    top: -44px;
  }

  .poster-orb span:nth-child(3) {
    bottom: -44px;
  }

  .gameplay-grid,
  .feature-list,
  .danger-board {
    grid-template-columns: 1fr;
  }

  .gameplay-grid article,
  .feature-list article {
    min-height: auto;
  }
}

@media (max-width: 390px) {
  .site-header,
  .hero,
  .section {
    width: min(100% - 24px, 1180px);
  }

  .logo {
    gap: 8px;
    font-size: 0.9rem;
  }

  .logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .eyebrow {
    font-size: 0.68rem;
  }

  .poster-panel {
    min-height: 245px;
  }

  .poster-orb {
    left: 14px;
    width: 104px;
    border-width: 14px;
  }

  .poster-orb::before {
    width: 24px;
    height: 64px;
    bottom: -48px;
  }

  .poster-orb::after {
    right: -58px;
    width: 66px;
    box-shadow:
      18px -39px 0 -1px #030923,
      18px 39px 0 -1px #030923;
  }

  .poster-orb span {
    right: -72px;
    width: 36px;
    height: 36px;
    font-size: 1.15rem;
  }

  .poster-orb span:nth-child(1) {
    top: -34px;
  }

  .poster-orb span:nth-child(3) {
    bottom: -34px;
  }

  .poster-title {
    right: 10px;
    font-size: clamp(1.42rem, 9vw, 2.05rem);
  }

  .phone-mockup {
    min-height: 350px;
    padding-inline: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
