:root {
  --bg: #07111f;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.14);
  --line: rgba(255, 255, 255, 0.16);
  --text: #f7fbff;
  --muted: #b8c7d8;
  --accent: #3ee7d1;
  --accent-2: #ffbf73;
  --ink: #142033;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(circle at top left, rgba(62, 231, 209, 0.16), transparent 34%),
    linear-gradient(135deg, #07111f 0%, #101a31 52%, #07111f 100%);
}

a {
  color: inherit;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 17, 31, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #74a8ff 48%, var(--accent-2));
  box-shadow: 0 0 28px rgba(62, 231, 209, 0.34);
}

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

.nav-links a {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--panel);
}

.section {
  padding: clamp(58px, 9vw, 108px) clamp(20px, 6vw, 84px);
}

.hero {
  min-height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(180deg, rgba(7, 17, 31, 0.42), rgba(7, 17, 31, 0.84)),
    url("img/homepage_casual_tech_hero.png");
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(0deg, var(--bg), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(20px, 2.5vw, 26px);
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--text);
  font-weight: 500;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.3;
  color: var(--text);
}

.lead {
  max-width: 690px;
  margin: 0 auto;
  color: #dbe7f4;
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.55;
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin-top: 34px;
}

.hero-metrics div,
.release-meta div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.hero-metrics strong,
.release-meta strong {
  display: block;
  margin-bottom: 5px;
  font-size: 15px;
}

.hero-metrics span,
.release-meta span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--accent), #95f4e7);
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 18px 38px rgba(62, 231, 209, 0.22);
}

.btn.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--line);
  box-shadow: none;
}

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

.section-band {
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(62, 231, 209, 0.055), rgba(255, 255, 255, 0.035));
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: end;
  margin-bottom: 34px;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.surface {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05));
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
}

.surface img {
  display: block;
  width: 100%;
  height: auto;
}

.about-visual img {
  aspect-ratio: 1.25;
  object-fit: cover;
}

.studio-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: stretch;
}

.studio-copy {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
}

.studio-copy h3 {
  max-width: 420px;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.08;
}

.principle-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.principle {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.principle span,
.process-step span {
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.principle h4 {
  margin: 0 0 5px;
  color: var(--text);
  font-size: 17px;
}

.principle p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.feature-grid {
  align-items: stretch;
}

.text-link {
  align-self: center;
  justify-self: end;
  color: var(--accent);
  font-weight: 900;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--line);
}

.process-step {
  min-height: 250px;
  padding: 28px;
  background: rgba(7, 17, 31, 0.72);
}

.process-step h3 {
  margin-top: 52px;
}

.release-band {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.7fr) auto;
  gap: 26px;
  align-items: center;
  padding: clamp(28px, 5vw, 46px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 191, 115, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(62, 231, 209, 0.08));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.24);
}

.release-meta {
  display: grid;
  gap: 10px;
}

.release-actions {
  margin-top: 0;
}

.muted {
  color: var(--muted);
  line-height: 1.7;
}

.game-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(180deg, rgba(7, 17, 31, 0.42), rgba(7, 17, 31, 0.84)),
    url("img/game_background.png");
  background-size: cover;
  background-position: center;
}

.game-logo {
  max-width: 420px;
  width: 82%;
  height: auto;
  margin-bottom: 22px;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.42));
}

.phone-shot {
  max-width: 330px;
  margin: 0 auto;
}

.symbol-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.symbol {
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--panel);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.symbol img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.contact-panel {
  max-width: 860px;
  margin: 0 auto;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.09);
  font: inherit;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 6vw, 84px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.16);
}

.footer a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 16px;
}

.legal {
  max-width: 900px;
  margin: 0 auto;
  padding: 54px 22px 80px;
  color: #263245;
  background: #ffffff;
}

.legal-body {
  background: #ffffff;
}

.legal h1 {
  font-size: clamp(34px, 6vw, 54px);
}

.legal h2 {
  margin-top: 30px;
  font-size: 24px;
}

.legal p,
.legal li {
  color: #4a5568;
  line-height: 1.75;
}

.break {
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero,
  .game-hero {
    min-height: 660px;
  }

  .grid,
  .two-col,
  .symbol-row,
  .hero-metrics,
  .section-heading,
  .studio-layout,
  .process-grid,
  .release-band {
    grid-template-columns: 1fr;
  }

  .text-link {
    justify-self: start;
  }

  .process-step {
    min-height: 0;
  }

  .process-step h3 {
    margin-top: 28px;
  }

  .release-actions {
    justify-content: flex-start;
  }

  .section {
    padding-left: 18px;
    padding-right: 18px;
  }
}
