:root {
  --bg: #06080e;
  --surface: rgba(17, 24, 36, 0.56);
  --surface-2: rgba(18, 27, 41, 0.44);
  --surface-3: rgba(13, 19, 30, 0.68);
  --line: rgba(225, 235, 255, 0.085);
  --line-strong: rgba(225, 235, 255, 0.16);
  --text: #f8f1e8;
  --muted: #b7afa5;
  --muted-2: #8f8990;
  --accent: #f59b4a;
  --accent-2: #ffd6a2;
  --accent-soft: rgba(245, 155, 74, 0.075);
  --accent-line: rgba(245, 155, 74, 0.20);
  --max: 1440px;
  --content: 1280px;
  --radius: 26px;
  --radius-sm: 16px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 68% -12rem, rgba(245, 155, 74, 0.06), transparent 42rem),
    radial-gradient(circle at 8% 16rem, rgba(88, 118, 170, 0.045), transparent 36rem),
    linear-gradient(180deg, #06080e 0%, #0a0e16 52%, #06080e 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.34;
  background-image:
    radial-gradient(circle, rgba(245, 155, 74, 0.18) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(255, 214, 162, 0.10) 0 1px, transparent 2px);
  background-size: 280px 280px, 430px 430px;
  background-position: 40px 90px, 190px 260px;
  mask-image: linear-gradient(180deg, transparent, #000 14%, #000 84%, transparent);
}

a { color: inherit; }

.header {
  width: min(var(--max), calc(100% - 56px));
  margin: 24px auto 0;
  min-height: 60px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 10, 16, 0.82);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  gap: 12px;
  position: sticky;
  top: 18px;
  z-index: 20;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  text-decoration: none;
  padding: 7px 10px;
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.brand-name {
  font-weight: 760;
  letter-spacing: -0.03em;
}

.stage,
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 720;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 3px;
}

.nav a,
.language-switch button,
.menu-button {
  border: 0;
  border-radius: 999px;
  padding: 9px 12px;
  background: transparent;
  color: var(--muted);
  text-decoration: none;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 660;
  cursor: pointer;
}

.nav a:hover,
.nav a.active,
.language-switch button:hover,
.language-switch button.active,
.menu-button:hover {
  background: rgba(225, 235, 255, 0.07);
  color: var(--text);
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding-left: 10px;
  border-left: 1px solid var(--line);
}

.menu-button { display: none; margin-left: auto; }

.page {
  width: min(var(--max), calc(100% - 56px));
  margin: 48px auto 0;
}

.hero {
  width: min(var(--content), 100%);
  min-height: 560px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(46px, 6vw, 86px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}

.hero-inner {
  max-width: 940px;
}

.app-icon-large {
  width: 116px;
  height: 116px;
  object-fit: cover;
  border-radius: 26px;
  margin-bottom: 28px;
  box-shadow: 0 18px 70px rgba(255, 50, 80, 0.10);
}

.kicker {
  margin: 0 0 16px;
  color: #e0b27f;
  font-size: 0.82rem;
  font-weight: 740;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.043em;
}

h1 {
  max-width: 900px;
  font-size: clamp(3rem, 4.7vw, 5.3rem);
  line-height: 0.99;
}

.hero h1:empty {
  display: none;
}

h2 {
  font-size: clamp(2rem, 2.9vw, 3rem);
  line-height: 1.04;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.22;
}

.lead {
  max-width: 800px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.3vw, 1.22rem);
  line-height: 1.65;
}

.hero .lead {
  margin-top: 0;
  font-size: clamp(1.16rem, 1.55vw, 1.42rem);
}

.actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 13px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(225, 235, 255, 0.045);
  color: var(--text);
  text-decoration: none;
  font-weight: 740;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: rgba(225, 235, 255, 0.075);
}

.btn-primary {
  min-height: 60px;
  padding: 0 28px;
  border-color: rgba(245, 155, 74, 0.42);
  background: #f59b4a;
  color: #160d07;
  font-size: 1.02rem;
  box-shadow: none;
}

.btn-primary:hover { background: #ffad62; }

.version-line {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.section {
  width: min(var(--content), 100%);
  margin: 64px auto 0;
}

.section-head {
  max-width: 840px;
  margin: 0 auto 22px;
  text-align: center;
}

.section-head p,
.card p,
.panel p,
.release-row p,
.legal-text,
.info-list li,
.note {
  color: var(--muted);
  line-height: 1.64;
}

.grid {
  display: grid;
  gap: 14px;
}

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

.card,
.panel,
.release-row,
.support-board {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.card {
  padding: 24px;
  min-height: 158px;
}

.card.compact {
  min-height: 0;
}

.card-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(225, 235, 255, 0.04);
  font-size: 1.08rem;
}

.status-panel {
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.status-items {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
}

.status-items strong { color: var(--text); }

.page-title {
  width: min(var(--content), 100%);
  max-width: 960px;
  margin: 0 auto 28px;
  text-align: left;
}

.page-title h1 {
  max-width: 940px;
  font-size: clamp(3rem, 4.6vw, 5.4rem);
}

.panel {
  width: min(var(--content), 100%);
  margin-inline: auto;
  padding: clamp(26px, 3.4vw, 42px);
}

.meta-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.meta-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.meta-list strong {
  color: var(--text);
  text-align: right;
}

.info-list {
  margin: 16px 0 0;
  padding-left: 1.2rem;
}

.release-list {
  width: min(var(--content), 100%);
  margin-inline: auto;
  display: grid;
  gap: 10px;
}

.release-row {
  padding: 20px 22px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
}

.release-version {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.release-row ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.64;
}

.support-layout {
  width: min(var(--content), 100%);
  margin-inline: auto;
  display: grid;
  gap: 18px;
}

.support-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.support-board {
  padding: clamp(26px, 3.4vw, 42px);
}

.supporters {
  margin-top: 20px;
  display: grid;
  gap: 10px;
}

.supporter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.5fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.supporter:last-child { border-bottom: 0; }

.note {
  color: var(--muted-2);
  font-size: 0.95rem;
  margin-top: 18px;
}

.legal-grid {
  width: min(var(--content), 100%);
  margin-inline: auto;
  display: grid;
  gap: 12px;
}

.legal-card {
  padding: 24px;
}

.legal-card p {
  margin-bottom: 0;
}

.footer {
  width: min(var(--max), calc(100% - 56px));
  margin: 72px auto 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted-2);
  flex-wrap: wrap;
}

@media (max-width: 1040px) {
  .header {
    border-radius: 26px;
    flex-wrap: wrap;
  }

  .menu-button { display: inline-flex; }

  .nav {
    display: none;
    order: 10;
    width: 100%;
    margin-left: 0;
    padding: 8px;
    flex-direction: column;
    align-items: stretch;
  }

  .nav.open { display: flex; }

  .nav a { border-radius: 14px; }

  .language-switch { margin-left: auto; }

  .grid-3,
  .grid-2,
  .status-panel,
  .support-card,
  .release-row {
    grid-template-columns: 1fr;
  }

  .release-row {
    gap: 12px;
  }
}

@media (max-width: 560px) {
  .header,
  .page,
  .footer {
    width: calc(100% - 20px);
  }

  .page { margin-top: 38px; }

  .brand-name { display: none; }

  .language-switch {
    border-left: 0;
    padding-left: 0;
  }

  h1 { font-size: 2.8rem; }

  .hero {
    padding: 26px;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn,
  .btn-primary {
    width: 100%;
  }

  .panel,
  .support-board {
    padding: 24px;
  }

  .supporter {
    grid-template-columns: 1fr;
  }
}


.release-date {
  display: block;
  margin-top: 6px;
  font-size: 0.82rem;
  opacity: 0.7;
}
