:root {
  --bg: #07111b;
  --bg-2: #13202a;
  --panel: rgba(16, 36, 48, 0.78);
  --panel-strong: rgba(16, 36, 48, 0.94);
  --gold: #f8df9a;
  --gold-2: #f6c75b;
  --mint: #8cf3df;
  --teal: #0f6f78;
  --red: #f05a38;
  --white: #f7eee0;
  --muted: #b6c8c5;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: ui-rounded, "Avenir Next", Nunito, "Segoe UI", system-ui, sans-serif;
  color: var(--white);
  background:
    radial-gradient(circle at 8% 6%, rgba(15, 111, 120, 0.9) 0 8rem, transparent 8.2rem),
    radial-gradient(circle at 92% 14%, rgba(240, 90, 56, 0.88) 0 4.5rem, transparent 4.7rem),
    radial-gradient(circle at 10% 94%, rgba(246, 199, 91, 0.88) 0 6.5rem, transparent 6.7rem),
    linear-gradient(180deg, var(--bg), var(--bg-2) 54%, #29170f);
  overflow-x: hidden;
}

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

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, black, transparent 85%);
}

.site-header,
.section-shell,
.site-footer {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 2px solid rgba(248, 223, 154, 0.86);
  border-radius: 14px;
  background: rgba(16, 36, 48, 0.96);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25);
}

.language-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.language-nav a {
  border: 1px solid rgba(140, 243, 223, 0.28);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  padding: 9px 12px;
  background: rgba(16, 36, 48, 0.56);
}

.language-nav a.active,
.language-nav a:hover {
  color: #061017;
  background: var(--mint);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.82fr);
  align-items: center;
  gap: 42px;
  padding: 58px 0 44px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--mint);
  font-size: 14px;
  font-weight: 1000;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 740px;
  margin-bottom: 22px;
  color: var(--gold);
  font-size: clamp(48px, 8vw, 92px);
  font-weight: 1000;
  line-height: 0.92;
  letter-spacing: -0.07em;
  text-wrap: balance;
}

.hero-subtitle {
  max-width: 650px;
  color: #d8e4df;
  font-size: clamp(18px, 2.3vw, 25px);
  font-weight: 800;
  line-height: 1.45;
}

.cta-row,
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  border-radius: 999px;
  font-weight: 1000;
  padding: 15px 20px;
}

.btn-primary {
  color: #07111b;
  background: var(--gold-2);
  box-shadow: 0 16px 40px rgba(246, 199, 91, 0.24);
}

.btn-secondary {
  border: 1px solid rgba(140, 243, 223, 0.42);
  color: var(--mint);
  background: rgba(16, 36, 48, 0.62);
}

.badges span {
  border: 1px solid rgba(248, 223, 154, 0.24);
  border-radius: 999px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
  padding: 10px 14px;
  background: rgba(16, 36, 48, 0.72);
}

.hero-art {
  position: relative;
  min-height: 680px;
  display: grid;
  place-items: center;
}

.phone {
  position: relative;
  width: min(360px, 86vw);
  aspect-ratio: 0.462;
  border: 8px solid #2c3142;
  border-radius: 44px;
  background: #05070c;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.island {
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 2;
  width: 112px;
  height: 30px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #000;
}

.game-ui {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 74px 24px 30px;
  background:
    radial-gradient(circle at 50% 40%, rgba(246, 199, 91, 0.18), transparent 28%),
    linear-gradient(rgba(2, 8, 15, 0.18), rgba(2, 8, 15, 0.72)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 34px),
    linear-gradient(180deg, #061421, #102430 55%, #29170f);
}

.score {
  color: #fff;
  font-size: 42px;
  font-weight: 1000;
  letter-spacing: -0.04em;
}

.meter {
  width: 76%;
  height: 18px;
  margin-top: 28px;
  border: 3px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
}

.meter span {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: var(--gold-2);
}

.danger {
  margin-top: 72px;
  color: var(--red);
  font-size: 36px;
  font-weight: 1000;
  letter-spacing: -0.05em;
  text-align: center;
}

.hint {
  color: var(--gold);
  font-weight: 900;
}

.scene {
  position: relative;
  width: 100%;
  height: 210px;
  margin-top: 22px;
}

.boss,
.player {
  position: absolute;
  bottom: 40px;
  font-size: 68px;
  filter: drop-shadow(0 10px 0 rgba(0, 0, 0, 0.25));
}

.boss {
  left: 16px;
}

.player {
  right: 40px;
}

.desk {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 18px;
  height: 38px;
  border: 3px solid #b77a3b;
  border-radius: 10px;
  background: #6d4225;
}

.monitor {
  position: absolute;
  right: 18px;
  bottom: 96px;
  display: grid;
  width: 86px;
  height: 58px;
  place-items: center;
  border: 4px solid var(--mint);
  border-radius: 12px;
  color: var(--mint);
  background: #102430;
  transform: rotate(6deg);
}

.hold-button {
  display: grid;
  width: 178px;
  height: 178px;
  margin-top: auto;
  place-items: center;
  border: 6px solid rgba(140, 243, 223, 0.88);
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  font-weight: 1000;
  background: rgba(15, 111, 120, 0.84);
}

.float-card {
  position: absolute;
  border: 3px solid var(--mint);
  border-radius: 18px;
  color: var(--white);
  font-weight: 1000;
  padding: 18px 20px;
  background: rgba(16, 36, 48, 0.92);
  box-shadow: var(--shadow);
}

.float-one {
  top: 150px;
  right: 8px;
  color: var(--gold);
  transform: rotate(7deg);
}

.float-two {
  left: -12px;
  bottom: 160px;
  color: var(--mint);
  transform: rotate(-6deg);
}

.section-shell {
  padding: 72px 0;
}

.how h2,
.features h2,
.screens h2,
.faq h2,
.download h2 {
  color: var(--gold);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 1000;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.steps,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card,
details,
.themes,
.features,
.download {
  border: 1px solid rgba(140, 243, 223, 0.24);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.card {
  padding: 26px;
}

.card h3 {
  color: var(--mint);
  font-size: 28px;
  font-weight: 1000;
}

.card p,
details p {
  color: var(--muted);
  font-weight: 750;
  line-height: 1.6;
}

.themes {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  padding: 34px;
}

.themes h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.theme-grid {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  gap: 10px;
}

.theme-grid span {
  border-radius: 999px;
  color: #07111b;
  font-weight: 1000;
  padding: 12px 14px;
  background: var(--mint);
}

.features {
  padding: 34px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.feature-list li {
  border: 1px solid rgba(248, 223, 154, 0.22);
  border-radius: 18px;
  color: var(--white);
  font-weight: 900;
  padding: 16px;
  background: rgba(7, 17, 27, 0.48);
}

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

.shot {
  min-height: 380px;
  border: 6px solid #2c3142;
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 36%, rgba(246, 199, 91, 0.18), transparent 24%),
    linear-gradient(rgba(3, 8, 14, 0.1), rgba(3, 8, 14, 0.75)),
    linear-gradient(180deg, #102430, #29170f);
  box-shadow: var(--shadow);
}

.shot-kitchen {
  background:
    radial-gradient(circle at 50% 20%, rgba(246, 199, 91, 0.28), transparent 28%),
    linear-gradient(rgba(3, 8, 14, 0.1), rgba(3, 8, 14, 0.75)),
    linear-gradient(180deg, #3b261a, #6b3a20);
}

.shot-dad {
  background:
    radial-gradient(circle at 45% 24%, rgba(140, 243, 223, 0.16), transparent 28%),
    linear-gradient(rgba(3, 8, 14, 0.1), rgba(3, 8, 14, 0.75)),
    linear-gradient(180deg, #172333, #4a2d20);
}

details {
  padding: 20px;
}

summary {
  cursor: pointer;
  color: var(--gold);
  font-weight: 1000;
}

.download {
  text-align: center;
  padding: 44px 24px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  border-radius: 18px;
  color: #07111b;
  font-size: 22px;
  font-weight: 1000;
  padding: 17px 22px;
  background: var(--gold-2);
}

.small-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 36px 0 48px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.legal-page h1 {
  max-width: 900px;
}

.legal-card {
  display: grid;
  gap: 18px;
  margin-top: 34px;
  border: 1px solid rgba(140, 243, 223, 0.24);
  border-radius: 28px;
  padding: 30px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.legal-card article {
  border-bottom: 1px solid rgba(140, 243, 223, 0.16);
  padding-bottom: 18px;
}

.legal-card article:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.legal-card h2 {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 1000;
  letter-spacing: -0.04em;
}

.legal-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 760;
  line-height: 1.7;
}

[dir="rtl"] .brand,
[dir="rtl"] .cta-row,
[dir="rtl"] .badges {
  flex-direction: row-reverse;
}

[dir="rtl"] .language-nav {
  justify-content: flex-start;
}

@media (max-width: 900px) {
  .site-header,
  .hero,
  .themes,
  .site-footer {
    grid-template-columns: 1fr;
  }

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

  .hero {
    padding-top: 30px;
  }

  .hero-art {
    min-height: 620px;
  }

  .steps,
  .feature-list,
  .screenshot-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .phone {
    width: min(330px, 88vw);
  }

  .float-one {
    right: 0;
  }

  .float-two {
    left: 0;
  }
}

@media (max-width: 520px) {
  .section-shell {
    padding: 48px 0;
  }

  h1 {
    font-size: 46px;
  }

  .hero-art {
    min-height: 570px;
  }

  .phone {
    width: min(292px, 88vw);
  }

  .language-nav a {
    font-size: 12px;
    padding: 8px 10px;
  }

  .float-card {
    display: none;
  }
}
