:root {
  --line: rgba(123, 236, 153, 0.17);
  --text-main: #eaf9ec;
  --text-soft: #a8c4ac;
  --gold: #f5cb2e;
  --danger: #f04d4a;
  --radius: 22px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Barlow", sans-serif;
  background: linear-gradient(90deg, #021005 0%, #0c3217 50%, #021005 100%);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
}

.field-overlay {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(75, 164, 97, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75, 164, 97, 0.05) 1px, transparent 1px);
  background-size: 120px 120px;
  pointer-events: none;
  z-index: -1;
}

.container { width: min(1120px, 92vw); margin: 0 auto; }
.section { padding: 84px 0; }

h1, h2, h3, .brand-text, .navbar-title {
  font-family: "Teko", sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.02;
}

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

.navbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(2, 22, 10, 0.76);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.navbar .container {
  min-height: 74px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  position: relative;
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.brand, .navbar-brand { display: inline-flex; align-items: center; gap: 10px; }

.brand-mark, .navbar-logo {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: radial-gradient(circle at 30% 20%, #6cff99 0%, #23b451 70%);
  color: #03210d;
}

.brand-logo {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: contain;
}

.brand-text, .navbar-title { font-size: 2rem; }

.nav-links, .navbar-links {
  display: flex;
  gap: 20px;
  list-style: none;
  align-items: center;
}

.nav-links a, .navbar-links a { color: var(--text-soft); font-weight: 600; }
.nav-links a:hover, .navbar-links a:hover { color: var(--text-main); }
.navbar-links .lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
}
.navbar-links .lang-switch span { color: var(--text-soft); }

.nav-cta, .navbar-cta {
  border: 1px solid rgba(245, 203, 46, 0.4);
  color: var(--gold) !important;
  padding: 8px 14px;
  border-radius: 999px;
}

.navbar-toggle { display: none; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: center;
}

.eyebrow {
  color: #7bf089;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-size: 0.82rem;
  margin-bottom: 12px;
}

.hero-copy h1 { font-size: clamp(2.8rem, 8vw, 5.6rem); max-width: 12ch; }
.hero-copy h1 span { color: var(--gold); }

.hero-text {
  margin-top: 14px;
  color: var(--text-soft);
  font-size: 1.15rem;
  max-width: 44ch;
}

.web-coming {
  margin-top: 12px;
  display: inline-block;
  border: 1px solid rgba(123, 240, 137, 0.45);
  color: #7bf089;
  background: rgba(10, 61, 24, 0.65);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
}

.hero-actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }

.launch-toast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  padding: 14px 16px 14px 18px;
  border: 1px solid rgba(123, 240, 137, 0.28);
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(11, 60, 26, 0.92), rgba(4, 28, 11, 0.95));
  box-shadow: 0 18px 40px rgba(1, 14, 5, 0.35);
}

.launch-toast.hidden { display: none; }

.launch-toast-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}

.launch-toast-label {
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(38, 195, 88, 0.18);
  color: #8ef3a8;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.launch-toast-text {
  color: var(--text-main);
  font-weight: 600;
}

.launch-toast-close {
  border: 0;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  font-size: 1.2rem;
  cursor: pointer;
}

.launch-toast-close:hover { background: rgba(255, 255, 255, 0.14); }

.btn {
  border: 0;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(120deg, #22c357, #109a41); color: #e8ffef; }
.btn-ghost { background: rgba(11, 44, 18, 0.7); border: 1px solid var(--line); color: var(--text-main); }
.btn-light { background: #eef2ee; color: #0f2716; }
.btn.disabled {
  pointer-events: none;
  opacity: 0.42;
  cursor: default;
  filter: saturate(0.7);
  border-color: rgba(123, 236, 153, 0.08);
}

.status-row { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.status-pill {
  border: 1px solid rgba(66, 218, 116, 0.35);
  background: rgba(5, 48, 19, 0.75);
  color: #8ef3a8;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
}
.status-pill.coin { border-color: rgba(245, 203, 46, 0.4); color: var(--gold); }

.phone-mock {
  border: 1px solid rgba(130, 236, 161, 0.24);
  background: linear-gradient(100deg, rgba(8, 40, 17, 0.95) 0%, rgba(3, 24, 9, 0.95) 100%);
  border-radius: 30px;
  padding: 20px;
  box-shadow: 0 24px 80px rgba(1, 14, 5, 0.75);
}

.phone-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #d8e7d9;
  margin-bottom: 18px;
  font-weight: 700;
}

.island { width: 112px; height: 28px; border-radius: 999px; background: #000; display: inline-block; }

.challenge-card {
  border: 1px solid rgba(143, 234, 155, 0.2);
  background: rgba(6, 47, 18, 0.9);
  border-radius: 22px;
  padding: 18px;
}

.challenge-label { color: #ff5b59; font-family: "Teko", sans-serif; font-size: 1.95rem; }
.challenge-card h3 { font-size: 1.58rem; line-height: 1.08; }
.challenge-tags { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.challenge-tags span { font-weight: 700; color: #8ef3a8; }

.challenge-card button {
  margin-top: 14px;
  background: var(--danger);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 10px 18px;
  font-family: "Teko", sans-serif;
  font-size: 1.9rem;
  cursor: pointer;
}

.mode-cards { margin-top: 14px; display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
.mode-cards article {
  border-radius: 16px;
  border: 1px solid rgba(139, 206, 153, 0.35);
  background: rgba(231, 241, 235, 0.9);
  color: #24486e;
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.mode-cards article:nth-child(2) { color: #77242a; background: rgba(241, 232, 234, 0.92); }
.mode-cards strong { font-family: "Teko", sans-serif; font-size: 2rem; }

.bottom-tabs {
  margin-top: 15px;
  border-top: 1px solid rgba(146, 207, 154, 0.2);
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  font-size: 0.83rem;
  color: #93a493;
}
.bottom-tabs .active { color: #edfcef; }
.bottom-tabs span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tab-mini-logo {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  object-fit: cover;
}

.section-head { max-width: 760px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(2rem, 5.2vw, 3.8rem); }

.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.feature-grid > .feature-panel:last-child {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(560px, 100%);
}
.feature-panel {
  border: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(16, 74, 35, 0.7), rgba(4, 35, 14, 0.9));
  border-radius: var(--radius);
  padding: 22px;
}
.feature-panel h3 { font-size: 2.3rem; }
.feature-panel p { color: var(--text-soft); margin-top: 6px; font-size: 1.02rem; }
.feature-panel ul, .feature-panel ol { margin-top: 14px; list-style: none; display: grid; gap: 10px; }
.feature-panel li {
  border-radius: 12px;
  background: rgba(12, 67, 30, 0.7);
  border: 1px solid rgba(139, 227, 153, 0.16);
  padding: 11px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
}
.feature-panel b { color: var(--gold); }

.mini-tabs { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.mini-tabs span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--text-soft); }
.mini-tabs .active { background: rgba(91, 175, 96, 0.3); color: #e8faeb; }

.xp-wrap { margin-top: 18px; }
.xp-track { height: 14px; border-radius: 999px; background: rgba(146, 179, 149, 0.22); overflow: hidden; }
.xp-track span { width: 71%; height: 100%; display: block; background: linear-gradient(90deg, #2cc45f, #7af696); }
.xp-wrap small { display: block; margin-top: 8px; color: var(--text-soft); }

.split { padding-top: 22px; }
.split-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.panel { border: 1px solid var(--line); border-radius: 24px; padding: 24px; min-height: 250px; }
.panel h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.panel p { color: var(--text-soft); margin-top: 9px; }
.premium {
  background: linear-gradient(140deg, rgba(9, 53, 25, 0.95) 0%, rgba(3, 35, 13, 0.95) 48%, rgba(8, 52, 23, 0.95) 100%);
  box-shadow: inset 0 0 0 2px rgba(245, 203, 46, 0.6);
}
.chip {
  display: inline-block;
  border-radius: 9px;
  background: #18bf59;
  color: #eaffee;
  font-size: 0.89rem;
  letter-spacing: 0.08em;
  padding: 6px 10px;
  font-weight: 700;
  margin-bottom: 12px;
}
.social { background: linear-gradient(140deg, rgba(12, 67, 30, 0.78), rgba(3, 23, 9, 0.88)); }
.social-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.social-stats span {
  border: 1px solid rgba(144, 225, 159, 0.2);
  background: rgba(7, 48, 18, 0.7);
  border-radius: 999px;
  padding: 8px 13px;
  font-weight: 600;
}

.leaderboard {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(140deg, rgba(9, 49, 22, 0.82), rgba(2, 21, 8, 0.92));
  padding: 24px;
}
.section-head.compact { margin-bottom: 18px; }
.leaderboard-head, .leader-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.leaderboard-head { color: var(--text-soft); font-size: 0.95rem; padding-bottom: 10px; border-bottom: 1px solid rgba(140, 228, 159, 0.19); }
.leader-row {
  padding: 13px 0;
  border-bottom: 1px solid rgba(140, 228, 159, 0.12);
  font-size: 1.2rem;
  font-weight: 700;
}
.leader-row:last-child { border-bottom: 0; }
.leader-row b { color: var(--gold); }

.cta {
  border: 1px solid rgba(142, 228, 159, 0.25);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(6, 45, 18, 0.88), rgba(3, 20, 9, 0.95));
  padding: 32px;
  text-align: center;
}
.cta h2 { font-size: clamp(2.4rem, 7vw, 4rem); }
.cta p { color: var(--text-soft); margin: 8px auto 0; max-width: 45ch; }
.cta .hero-actions { justify-content: center; }

.footer {
  border-top: 1px solid var(--line);
  background: rgba(2, 16, 8, 0.84);
  padding: 30px 0 36px;
}
.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 30px 56px;
  width: min(1040px, 100%);
  margin: 0 auto;
  padding-inline: 24px;
  text-align: center;
}
.footer-col { margin: 0 auto; }
.footer-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-col:first-child { max-width: 440px; }
.footer-col:not(:first-child) { max-width: 240px; }
.footer-col .brand { justify-content: center; }
.footer .brand {
  justify-content: center;
  align-items: center;
  margin-bottom: 8px;
}
.footer .brand-logo {
  width: 42px;
  height: 42px;
}
.footer .brand-text {
  font-size: 1.7rem;
  line-height: 1;
}
.footer-col h4 {
  font-family: "Teko", sans-serif;
  font-size: 1.7rem;
  margin-bottom: 8px;
}
.footer-col p { color: var(--text-soft); margin-top: 8px; line-height: 1.55; }
.footer-col:first-child p { max-width: 34ch; }
.footer-col p a { color: var(--text-soft); }
.footer-col p a:hover { color: var(--text-main); }
.footer-col .footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-links a, .footer-bottom-links a { color: var(--text-soft); }
.footer-links a:hover, .footer-bottom-links a:hover { color: var(--text-main); }
.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  text-align: center;
  width: min(1040px, 100%);
  margin-left: auto;
  margin-right: auto;
  padding-inline: 24px;
}
.footer-bottom p { color: var(--text-soft); }

.policy-page { padding-top: 48px; padding-bottom: 64px; }
.policy-content {
  max-width: 820px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  background: rgba(4, 29, 12, 0.87);
}
.policy-content--plain {
  max-width: 1080px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0 36px;
}
.policy-content h1 { font-size: 3rem; margin-bottom: 8px; }
.policy-meta { color: var(--text-soft); border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 18px; }
.policy-content h2 { color: #7df09b; margin-top: 22px; margin-bottom: 9px; font-size: 2rem; }
.policy-content h3 { margin-top: 14px; margin-bottom: 8px; font-size: 1.5rem; }
.policy-content p, .policy-content li, .policy-content td { color: var(--text-soft); line-height: 1.65; }
.policy-content ul, .policy-content ol { margin-left: 20px; margin-bottom: 10px; }
.policy-content table { width: 100%; border-collapse: collapse; margin: 14px 0; }
.policy-content th, .policy-content td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.policy-content th { color: var(--text-main); background: rgba(11, 58, 25, 0.8); }

.reveal { animation: rise 0.7s ease both; }
@keyframes rise {
  from { transform: translateY(14px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 980px) {
  .hero-grid, .split-grid, .feature-grid { grid-template-columns: 1fr; }
  .phone-mock { order: -1; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .section { padding: 62px 0; }
  .brand-logo { width: 52px; height: 52px; }
  .navbar .container { min-height: 74px; }
  .nav-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
  .navbar-links { display: none; }
  .navbar-toggle {
    display: block;
    background: transparent;
    color: var(--text-main);
    border: 0;
    font-size: 24px;
  }
  .navbar-links.active {
    display: flex;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    padding: 14px;
    background: rgba(2, 21, 8, 0.95);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-copy h1 { max-width: 100%; }
  .launch-toast {
    align-items: flex-start;
    gap: 12px;
  }
  .launch-toast-copy {
    align-items: flex-start;
    flex-direction: column;
  }
  .panel, .leaderboard, .cta, .policy-content { padding: 18px; }
  .challenge-label { font-size: 1.6rem; }
  .challenge-card h3 { font-size: 1.35rem; }
  .mode-cards strong { font-size: 1.55rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
