:root {
  --bg: #f5f8fc;
  --paper: rgba(255, 255, 255, 0.78);
  --paper-strong: #ffffff;
  --ink: #121827;
  --muted: rgba(18, 24, 39, 0.64);
  --line: rgba(18, 24, 39, 0.12);
  --blue: #2457ff;
  --cyan: #12b8b3;
  --coral: #ff7058;
  --lime: #b9ec3c;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(36, 87, 255, 0.16), transparent 32%),
    radial-gradient(circle at 86% 12%, rgba(18, 184, 179, 0.15), transparent 28%),
    radial-gradient(circle at 74% 84%, rgba(255, 112, 88, 0.13), transparent 30%),
    linear-gradient(180deg, #fbfcff, var(--bg));
  min-height: 100vh;
  overflow-x: hidden;
}

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

button {
  cursor: pointer;
}

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

.hero,
.focus,
.contact {
  padding: clamp(1.25rem, 3vw, 2.7rem);
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: clamp(1.8rem, 4vw, 4rem);
}

.brand-line,
.hero-grid,
.section-copy,
.focus-list,
.contact-panel {
  width: min(1200px, 100%);
  margin: 0 auto;
}

.brand-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}

.brand-line strong {
  font-family: "Outfit", sans-serif;
  font-size: 1.08rem;
  letter-spacing: 0;
}

.brand-line span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.82fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: center;
}

.hero-copy,
.play-showcase {
  min-width: 0;
  max-width: 100%;
}

.eyebrow {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  line-height: 1.55;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Outfit", sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 10.8ch;
  margin-top: 0.85rem;
  font-size: clamp(3.45rem, 8.5vw, 7.4rem);
  line-height: 0.9;
}

h2 {
  max-width: 11ch;
  margin-top: 0.72rem;
  font-size: clamp(2.2rem, 5.4vw, 4.9rem);
  line-height: 0.95;
}

h3 {
  font-size: clamp(1.35rem, 2.4vw, 2.25rem);
  line-height: 1.05;
}

.lead {
  max-width: 38rem;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.75;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.hero-actions {
  margin-top: 1.7rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  gap: 0.62rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.84rem 1.05rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 14px 34px rgba(18, 24, 39, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  will-change: transform;
}

.button.primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.button.ghost {
  box-shadow: none;
}

.button:hover,
.button:focus-visible {
  transform: translate3d(0, -3px, 0);
  box-shadow: 0 18px 38px rgba(18, 24, 39, 0.12);
}

.button svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.play-showcase {
  position: relative;
  min-height: 35rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  padding: clamp(1rem, 2vw, 1.35rem);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.52)),
    linear-gradient(90deg, rgba(18, 24, 39, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(18, 24, 39, 0.045) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
  box-shadow: 0 28px 80px rgba(18, 24, 39, 0.14);
  overflow: hidden;
}

.play-showcase::before {
  content: "";
  position: absolute;
  inset: auto -10% -16% 18%;
  height: 42%;
  background: radial-gradient(circle, rgba(185, 236, 60, 0.36), transparent 66%);
  pointer-events: none;
}

.showcase-top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.phone-frame {
  position: relative;
  z-index: 1;
  width: min(18.5rem, 72vw);
  margin: clamp(2rem, 5vw, 3.5rem) auto 0;
  border: 1px solid var(--line);
  border-radius: 2rem;
  padding: 1.1rem;
  background: #111827;
  box-shadow: 0 24px 60px rgba(18, 24, 39, 0.25);
}

.phone-header {
  width: 5rem;
  height: 0.5rem;
  margin: 0 auto 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.game-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.game-tiles i {
  display: block;
  aspect-ratio: 1;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(36, 87, 255, 0.9), rgba(18, 184, 179, 0.88));
}

.game-tiles i:nth-child(2n) {
  background: linear-gradient(135deg, rgba(255, 112, 88, 0.92), rgba(255, 189, 74, 0.9));
}

.game-tiles i:nth-child(3n) {
  background: linear-gradient(135deg, rgba(185, 236, 60, 0.92), rgba(18, 184, 179, 0.9));
}

.level-row {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: 0.55rem;
  margin-top: 1rem;
}

.level-row span {
  height: 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.level-row span:first-child {
  background: var(--lime);
}

.floating-note {
  position: absolute;
  z-index: 2;
  min-width: 10.5rem;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 42px rgba(18, 24, 39, 0.13);
}

.floating-note span,
.focus-item span {
  display: block;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.floating-note strong {
  display: block;
  margin-top: 0.35rem;
  font-family: "Outfit", sans-serif;
  font-size: 1.2rem;
}

.note-one {
  left: 1.35rem;
  bottom: 4rem;
}

.note-two {
  right: 1.35rem;
  top: 6rem;
}

.focus {
  background: rgba(255, 255, 255, 0.54);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.focus-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(1.25rem, 3vw, 2rem);
}

.focus-item {
  min-height: 17rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(1rem, 2vw, 1.4rem);
  background: var(--paper);
  box-shadow: 0 18px 42px rgba(18, 24, 39, 0.06);
}

.focus-item h3 {
  margin-top: 1.1rem;
}

.focus-item p,
.contact-copy p,
label,
.form-note {
  color: var(--muted);
  line-height: 1.7;
}

.focus-item p {
  margin-top: 0.9rem;
}

.focus-item:nth-child(2) span {
  color: var(--blue);
}

.focus-item:nth-child(3) span {
  color: var(--coral);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 1rem;
  align-items: start;
}

.contact-copy,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: 0 18px 44px rgba(18, 24, 39, 0.07);
}

.contact-copy {
  padding: clamp(1rem, 2vw, 1.4rem);
}

.contact-copy p:last-child {
  margin-top: 1rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.4rem);
}

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

label {
  display: grid;
  gap: 0.5rem;
}

label span {
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.95rem;
  color: var(--ink);
  background: #fbfcff;
  outline: none;
}

textarea {
  min-height: 9.5rem;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: rgba(18, 24, 39, 0.42);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(36, 87, 255, 0.44);
  box-shadow: 0 0 0 4px rgba(36, 87, 255, 0.1);
}

.form-note {
  min-height: 1.5rem;
  margin: 0;
}

.site-footer {
  display: grid;
  place-items: center;
  padding: 1.3rem;
  color: #fff;
  background: var(--ink);
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 680ms ease, transform 680ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (max-width: 960px) {
  .hero {
    min-height: auto;
  }

  .hero-grid,
  .focus-list,
  .contact-panel,
  .form-row {
    grid-template-columns: 1fr;
  }

  .play-showcase {
    min-height: 31rem;
  }

  .focus-item {
    min-height: 12rem;
  }
}

@media (max-width: 560px) {
  .brand-line {
    display: grid;
  }

  h1 {
    font-size: 3.15rem;
  }

  .eyebrow {
    font-size: 0.68rem;
    overflow-wrap: anywhere;
  }

  .lead {
    font-size: 0.98rem;
  }

  .play-showcase {
    min-height: 28rem;
    width: 100%;
  }

  .phone-frame {
    width: min(17rem, 78vw);
  }

  .floating-note {
    min-width: 9.5rem;
    max-width: calc(100% - 1.6rem);
    padding: 0.75rem 0.85rem;
  }

  .note-one {
    left: 0.8rem;
    bottom: 2.2rem;
  }

  .note-two {
    right: auto;
    left: 0.8rem;
    top: 4.2rem;
  }
}
