/* ===========================================================
   KheloGames — Design System
   =========================================================== */
:root {
  --bg: #0A0A0F;
  --surface: #141319;
  --surface-2: #1B1A22;
  --border: rgba(255, 255, 255, 0.09);
  --border-soft: rgba(255, 255, 255, 0.05);

  --indigo: #5B4FFF;
  --indigo-dark: #3226C2;
  --coral: #FF5A3C;
  --violet: #8B5CF6;
  --amber: #F5A623;
  --teal: #14B8A6;
  --rose: #EF4770;
  --green: #22C55E;

  --text: #F3F2F7;
  --dim: #8D8B9B;
  --dim-2: #5C5A69;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --radius: 14px;
  --max: 1240px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

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

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

a {
  color: inherit;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}

section {
  position: relative;
}

.section-pad {
  padding: 120px 0;
}

.divider {
  height: 1px;
  background: var(--border-soft);
}

::selection {
  background: var(--indigo);
  color: #fff;
}

/* ---------- ambient mesh backdrop ---------- */
.mesh {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(600px circle at 15% 20%, rgba(91, 79, 255, 0.16), transparent 60%),
    radial-gradient(500px circle at 85% 10%, rgba(255, 90, 60, 0.10), transparent 55%),
    radial-gradient(700px circle at 50% 100%, rgba(139, 92, 246, 0.10), transparent 60%);
  animation: meshShift 22s ease-in-out infinite alternate;
}

@keyframes meshShift {
  0% {
    background-position: 0% 0%, 0% 0%, 0% 0%;
  }

  100% {
    background-position: 4% 6%, -4% 4%, 3% -4%;
  }
}

/* ---------- eyebrow / labels ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--coral);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

/* ===========================================================
   NAV
   =========================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}

header.scrolled {
  background: rgba(10, 10, 15, 0.82);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  max-width: var(--max);
  margin: 0 auto;
}

.logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 9px;
}

.logo .dot {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--indigo), var(--coral));
  display: inline-block;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 38px;
}

.navlinks a {
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--dim);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}

.navlinks a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 1px;
  width: 0;
  background: var(--text);
  transition: width 0.25s;
}

.navlinks a:hover,
.navlinks a.active {
  color: var(--text);
}

.navlinks a:hover::after,
.navlinks a.active::after {
  width: 100%;
}

.nav-cta {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  background: var(--text);
  color: var(--bg);
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  background: #fff;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}

.burger span {
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: 0.25s;
}

/* ===========================================================
   BUTTONS
   =========================================================== */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 9px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--text);
  color: var(--bg);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--text);
  transform: translateY(-2px);
}

.btn-arrow {
  transition: transform 0.2s;
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* ===========================================================
   HERO
   =========================================================== */
.hero {
  padding: 172px 0 100px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.06;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--indigo), var(--coral));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  margin-top: 24px;
  max-width: 480px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--dim);
}

.cta-row {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}

/* phone mockup */
.phone-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.phone {
  position: relative;
  width: 270px;
  height: 552px;
  border-radius: 38px;
  background: linear-gradient(160deg, #232230, #131218);
  border: 1px solid var(--border);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  padding: 12px;
  transform: rotate(3deg);
  transition: transform 0.4s ease;
}

.phone-stage:hover .phone {
  transform: rotate(0deg);
}

.phone-notch {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 18px;
  border-radius: 10px;
  background: #0a0a0f;
  z-index: 3;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: var(--surface);
}

.phone-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  opacity: 0;
  transition: opacity 0.6s ease;
  padding: 30px;
  text-align: center;
}

.phone-slide.active {
  opacity: 1;
}

.phone-slide .icon-badge {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.5);
}

.phone-slide .icon-badge img {
  width: 100%;
  height: 100%;
  border-radius: 15px;
  object-fit: cover;
}

.phone-slide h4 {
  font-size: 17px;
  color: #fff;
}

.phone-slide span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--dim);
  text-transform: uppercase;
}

.phone-dots {
  position: absolute;
  bottom: 26px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 3;
}

.phone-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: background 0.3s, width 0.3s;
}

.phone-dots i.active {
  background: #fff;
  width: 16px;
  border-radius: 3px;
}

.float-chip {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.6);
  animation: driftChip 5s ease-in-out infinite;
}

.float-chip.c1 {
  top: 12%;
  right: -6%;
  animation-delay: 0s;
}

.float-chip.c2 {
  bottom: 16%;
  left: -8%;
  animation-delay: 1.4s;
}

.float-chip .chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

@keyframes driftChip {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* ===========================================================
   STATS STRIP
   =========================================================== */
.stats {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 38px 0;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat h3 {
  font-size: 32px;
  background: linear-gradient(100deg, var(--text), var(--dim));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat span {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ===========================================================
   SECTION HEAD
   =========================================================== */
.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-head h2 {
  font-size: clamp(30px, 3.4vw, 42px);
}

.section-head p {
  color: var(--dim);
  font-size: 16.5px;
  line-height: 1.7;
  margin-top: 16px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ===========================================================
   GAMES GRID
   =========================================================== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.game-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(.2, .8, .2, 1), border-color 0.3s, box-shadow 0.35s;
  opacity: 0;
  transform: translateY(18px);
}

.game-card.in {
  opacity: 1;
  transform: translateY(0);
}

.game-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.6);
}

.game-visual {
  aspect-ratio: 16/10;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--c1), var(--c2));
}

.game-visual img {
  width: 100px;
  height: 100px;
  border-radius: 18px;
  box-shadow: 0 16px 32px -12px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.game-tag-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

.game-info {
  padding: 22px 22px 24px;
}

.game-info h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.game-info p {
  font-size: 14px;
  color: var(--dim);
  line-height: 1.6;
  min-height: 44px;
}

.game-link {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: border-color 0.2s, gap 0.2s, color 0.2s;
}

.game-link svg {
  width: 13px;
  height: 13px;
  transition: transform 0.2s;
}

.game-link:hover {
  border-color: var(--text);
}

.game-link:hover svg {
  transform: translate(2px, -2px);
}

/* ===========================================================
   PROCESS
   =========================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.process-card {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.process-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--coral);
  margin-bottom: 18px;
  display: block;
}

.process-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.process-card p {
  color: var(--dim);
  font-size: 14.5px;
  line-height: 1.7;
}

/* ===========================================================
   CTA BANNER
   =========================================================== */
.cta-banner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 64px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at 85% 20%, rgba(91, 79, 255, 0.22), transparent 65%);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: clamp(26px, 3vw, 36px);
  max-width: 520px;
  position: relative;
}

.cta-banner .btn {
  position: relative;
}

/* ===========================================================
   CONTACT
   =========================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.contact-info h3 {
  font-size: 24px;
  margin-bottom: 14px;
}

.contact-info p {
  color: var(--dim);
  font-size: 15.5px;
  line-height: 1.75;
  max-width: 400px;
}

.email-line {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 4px;
}

.email-line:hover {
  border-color: var(--text);
}

.contact-meta {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-meta span {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--dim-2);
  letter-spacing: 0.04em;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--dim);
  margin-bottom: 8px;
}

.field input,
.field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14.5px;
  outline: none;
  transition: border-color 0.2s;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--indigo);
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.submit-btn {
  font-family: var(--font-body);
  font-weight: 600;
  background: var(--text);
  color: var(--bg);
  border: none;
  border-radius: 8px;
  padding: 13px 26px;
  font-size: 15px;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s, transform 0.2s;
}

.submit-btn:hover {
  background: #fff;
  transform: translateY(-1px);
}

.form-note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--dim-2);
  text-align: center;
}

/* ===========================================================
   LEGAL PAGES
   =========================================================== */
.legal-hero {
  padding: 172px 0 60px;
}

.legal-hero h1 {
  font-size: clamp(32px, 4vw, 48px);
}

.legal-hero p {
  color: var(--dim);
  margin-top: 16px;
  font-size: 15.5px;
}

.updated-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dim);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 22px;
}

.legal-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
  padding-bottom: 120px;
}

.legal-toc {
  position: sticky;
  top: 120px;
  align-self: start;
}

.legal-toc span {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim-2);
  margin-bottom: 14px;
}

.legal-toc a {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  color: var(--dim);
  text-decoration: none;
  border-left: 2px solid var(--border-soft);
  padding-left: 14px;
  transition: color 0.2s, border-color 0.2s;
}

.legal-toc a:hover,
.legal-toc a.active {
  color: var(--text);
  border-color: var(--coral);
}

.legal-content {
  max-width: 720px;
}

.legal-content h2 {
  font-size: 21px;
  color: var(--text);
  margin: 38px 0 12px;
  scroll-margin-top: 120px;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--dim);
}

.legal-content ul {
  padding-left: 22px;
  margin-top: 8px;
  margin-bottom: 8px;
}

.legal-content strong {
  color: var(--text);
}

/* ===========================================================
   FOOTER
   =========================================================== */
footer {
  border-top: 1px solid var(--border-soft);
  padding: 70px 0 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr 0.7fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-brand .logo {
  margin-bottom: 14px;
}

.footer-brand p {
  color: var(--dim);
  font-size: 14.5px;
  max-width: 280px;
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim-2);
  margin-bottom: 16px;
  font-weight: 500;
}

.footer-col a {
  display: block;
  color: var(--dim);
  text-decoration: none;
  font-size: 14.5px;
  margin-bottom: 12px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 30px;
  border-top: 1px solid var(--border-soft);
}

.footer-bottom span {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--dim-2);
}

/* ===========================================================
   REVEAL
   =========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================================================
   RESPONSIVE
   =========================================================== */

/* ---------- large tablet / small desktop (1024px) ---------- */
@media (max-width:1080px) {
  .wrap {
    padding: 0 32px;
  }

  .nav {
    padding: 20px 32px;
  }

  .hero {
    gap: 40px;
  }

  .games-grid {
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: 1.1fr 0.7fr 0.7fr 0.7fr;
    gap: 28px;
  }
}

/* ---------- tablet (900px) ---------- */
@media (max-width:900px) {
  .navlinks {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(10, 10, 15, 0.98);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 32px;
  }

  .navlinks.open {
    max-height: 380px;
    padding: 10px 32px 20px;
  }

  .navlinks a {
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid var(--border-soft);
  }

  .nav-cta {
    display: none;
  }

  .burger {
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 56px;
    padding: 142px 0 76px;
    text-align: left;
  }

  .hero>div:first-child {
    max-width: 680px;
  }

  .hero p {
    max-width: 620px;
  }

  .phone-stage {
    order: initial;
    min-height: 520px;
    margin: 0;
  }

  .phone {
    width: 250px;
    height: 512px;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 28px;
  }

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

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 36px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 34px;
    gap: 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .legal-body {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .legal-toc {
    position: static;
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-bottom: 34px;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
  }

  .legal-toc span {
    display: none;
  }

  .legal-toc a {
    border-left: none;
    border-bottom: 2px solid var(--border-soft);
    padding-left: 0;
    padding: 8px 14px;
    white-space: nowrap;
    flex-shrink: 0;
    background: var(--surface);
    border-radius: 8px;
    border: 1px solid var(--border);
  }

  .legal-toc a.active {
    border-color: var(--coral);
    background: rgba(255, 90, 60, 0.08);
  }
}

/* ---------- mobile (640px) ---------- */
@media (max-width:640px) {
  .wrap {
    padding: 0 22px;
  }

  .nav {
    padding: 16px 22px;
  }

  .logo {
    font-size: 18px;
  }

  .section-pad {
    padding: 80px 0;
  }

  .hero {
    gap: 42px;
    padding: 112px 0 58px;
    text-align: center;
  }

  .hero>div:first-child {
    max-width: none;
  }

  .hero .eyebrow {
    margin-bottom: 14px;
  }

  .hero h1 {
    font-size: clamp(36px, 11vw, 48px);
    line-height: 1.02;
    letter-spacing: -0.035em;
  }

  .hero h1 br {
    display: none;
  }

  .hero p {
    max-width: 520px;
    margin: 20px auto 0;
    font-size: 15px;
    line-height: 1.65;
  }

  .cta-row {
    width: 100%;
    max-width: 420px;
    margin: 28px auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 11px;
  }

  .cta-row .btn {
    min-height: 50px;
    justify-content: center;
  }

  .phone-stage {
    width: 100%;
    min-height: 440px;
    margin: 0;
    padding: 6px 0 0;
    overflow: visible;
  }

  .phone {
    width: 214px;
    height: 438px;
    padding: 9px;
    border-radius: 31px;
    transform: rotate(2deg);
  }

  .phone-screen {
    border-radius: 23px;
  }

  .phone-notch {
    top: 18px;
    width: 58px;
    height: 15px;
  }

  .phone-slide {
    padding: 24px 18px;
  }

  .phone-slide .icon-badge {
    width: 66px;
    height: 66px;
    border-radius: 17px;
  }

  .phone-slide h4 {
    font-size: 15px;
  }

  .phone-dots {
    bottom: 20px;
  }

  .float-chip {
    padding: 9px 11px;
    border-radius: 9px;
    font-size: 11px;
    animation: driftChip 5s ease-in-out infinite;
    white-space: nowrap;
    z-index: 4;
  }

  .float-chip.c1 {
    top: 12%;
    right: max(0px, calc(50% - 166px));
  }

  .float-chip.c2 {
    bottom: 13%;
    left: max(0px, calc(50% - 168px));
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 16px;
  }

  .stat h3 {
    font-size: 26px;
  }

  .games-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .game-info {
    padding: 18px 18px 20px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cta-banner {
    padding: 38px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .cta-banner .btn {
    width: 100%;
    justify-content: center;
  }

  .contact-form {
    padding: 26px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    row-gap: 30px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .legal-hero {
    padding: 130px 0 44px;
  }

  .legal-content h2 {
    font-size: 19px;
  }
}

/* ---------- small phones (380px) ---------- */
@media (max-width:380px) {
  .wrap {
    padding: 0 18px;
  }

  .nav {
    padding: 14px 18px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero p {
    font-size: 14.5px;
  }

  .phone-stage {
    min-height: 405px;
  }

  .phone {
    width: 196px;
    height: 402px;
  }

  .float-chip {
    font-size: 10px;
    padding: 8px 9px;
  }

  .float-chip.c1 {
    right: 0;
  }

  .float-chip.c2 {
    left: 0;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 18px 12px;
  }
}