:root {
  color-scheme: dark;
  --bg: #0d1117;
  --surface: #161b22;
  --surface-high: #21262d;
  --text: #e6eaf0;
  --muted: #8b949e;
  --green: #00d1b2;
  --blue: #3d8bff;
  --pink: #ea1876;
  --gold: #ffd166;
  --line: rgba(255, 255, 255, 0.08);
  --radius: 18px;
  font-family: ui-rounded, "SF Pro Rounded", "Nunito Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

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

.site-header {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(61, 139, 255, 0.25);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.language-switch {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
}

.language-switch button {
  width: 38px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
}

.language-switch button.active {
  background: var(--surface-high);
  color: var(--text);
}

.hero {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 64px;
  padding: 18px 0 34px;
}

.hero-copy h1,
.support-hero h1 {
  margin: 0;
  font-size: clamp(48px, 9vw, 96px);
  line-height: 0.92;
  letter-spacing: 0;
  background: linear-gradient(90deg, #18a1cc, #c359ea);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-text,
.support-hero p {
  color: var(--muted);
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.25;
  max-width: 640px;
}

.hero-actions,
.button-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 900;
  font-size: 15px;
}

.button.primary {
  background: var(--green);
  color: white;
}

.button.secondary {
  background: var(--surface-high);
  color: var(--text);
}

.inline-button {
  margin-top: 6px;
}

.phone {
  justify-self: center;
  width: min(380px, 100%);
  border: 1px solid var(--line);
  border-radius: 42px;
  padding: 14px;
  background: #05070a;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 80px rgba(195, 89, 234, 0.18);
}

.phone-screen {
  min-height: 455px;
  border-radius: 32px;
  background: linear-gradient(#0d1117, #161b22);
  padding: 34px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}

.screen-title {
  text-align: center;
  font-weight: 800;
  font-size: 18px;
  background: linear-gradient(90deg, #18a1cc, #c359ea);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}

.quest-card,
.feature-card,
.support-card,
.download,
.split-section,
.premium-section,
.faq {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.quest-card {
  padding: 22px;
}

.quest-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}

.difficulty,
.level {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  padding: 5px 10px;
  white-space: nowrap;
}

.difficulty {
  color: var(--blue);
  background: rgba(61, 139, 255, 0.12);
}

.quest-card h2 {
  margin: 20px 0 10px;
  font-size: 22px;
  line-height: 1.15;
}

.quest-card p,
.feature-card p,
.split-section p,
.support-card p,
.faq p,
.download p {
  color: var(--muted);
  line-height: 1.55;
}

.accept {
  color: var(--muted);
  text-align: center;
  margin: 0;
}

.mini-button {
  flex: 1;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 900;
  font-size: 14px;
}

.mini-button.yes {
  background: var(--green);
}

.mini-button.no {
  background: var(--pink);
}

.section,
.split-section,
.download,
.support-main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 42px 0 70px;
}

.section-heading {
  max-width: 640px;
  margin-bottom: 24px;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.05;
  letter-spacing: 0;
}

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

.feature-card,
.support-card {
  padding: 24px;
}

.feature-icon {
  font-size: 34px;
}

.feature-card h3,
.support-card h2 {
  margin: 16px 0 8px;
  font-size: 20px;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 32px;
  padding: 34px;
  margin-bottom: 70px;
}

.premium-section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 70px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 32px;
  padding: 34px;
}

.premium-list {
  display: grid;
  gap: 12px;
}

.premium-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--surface-high);
  color: var(--text);
  font-weight: 800;
  box-shadow: 0 0 34px rgba(234, 24, 118, 0.12);
}

.level-list {
  display: grid;
  gap: 12px;
}

.level {
  min-height: 48px;
  padding: 12px 16px;
  font-weight: 800;
  background: var(--surface-high);
}

.safe {
  color: var(--green);
}

.mild {
  color: var(--blue);
}

.probably {
  color: #ff9f43;
}

.bsc {
  color: var(--pink);
  box-shadow: 0 0 34px rgba(234, 24, 118, 0.18);
}

.download {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 26px;
  margin-bottom: 70px;
}

.download-icon {
  width: 88px;
  height: 88px;
  border-radius: 24px;
}

.footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0 48px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
}

.support-main {
  padding: 40px 0 70px;
}

.support-hero {
  max-width: 760px;
  margin-bottom: 28px;
}

.support-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 22px;
}

.note {
  font-size: 13px;
}

.faq {
  padding: 24px;
}

details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

details:first-of-type {
  border-top: 0;
}

summary {
  cursor: pointer;
  font-weight: 850;
}

@media (max-width: 820px) {
  .site-header,
  .nav,
  .download {
    align-items: flex-start;
  }

  .site-header,
  .download {
    flex-direction: column;
  }

  .nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .hero,
  .split-section,
  .premium-section,
  .feature-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 28px;
    padding-top: 34px;
  }

  .phone-screen {
    min-height: 340px;
    padding: 28px 22px;
  }
}

@media (max-width: 480px) {
  .hero-actions,
  .button {
    width: 100%;
  }

  .phone {
    border-radius: 32px;
  }

  .phone-screen {
    min-height: 300px;
    border-radius: 24px;
    gap: 14px;
  }

  .quest-card {
    padding: 18px;
  }

  .quest-card h2 {
    margin: 14px 0 8px;
    font-size: 20px;
  }

  .button-row {
    gap: 10px;
  }

  .mini-button {
    height: 44px;
  }

  .quest-meta {
    align-items: flex-start;
    flex-direction: column;
  }
}
