:root {
  --bg: #070707;
  --bg-2: #0d0d0d;
  --bg-3: #111111;
  --gold: #f3c623;
  --gold-2: #ffd54a;
  --text: #f6f6f6;
  --muted: #9b9b9b;
  --line: rgba(243, 198, 35, 0.14);
  --card: #161616;
  --radius: 18px;
  --header: 72px;
  --max: 1160px;
  --font: Outfit, "Noto Sans SC", "Noto Sans JP", "Noto Sans Arabic", "Noto Sans Devanagari", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html[dir="rtl"] .hero-grid,
html[dir="rtl"] .how-grid,
html[dir="rtl"] .community-grid,
html[dir="rtl"] .roadmap-phases,
html[dir="rtl"] .roadmap-panels,
html[dir="rtl"] .header-inner,
html[dir="rtl"] .feature,
html[dir="rtl"] .social {
  direction: rtl;
}

html[dir="rtl"] .nav-link.is-active::after {
  left: auto;
  right: 0;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
}

.skip:focus {
  left: 8px;
  z-index: 80;
  background: var(--gold);
  color: #111;
  padding: 8px 12px;
  border-radius: 8px;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: rgba(7, 7, 7, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
  justify-self: start;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.nav {
  display: flex;
  gap: 28px;
}

.nav-link {
  position: relative;
  color: #cfcfcf;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 0;
}

.nav-link:hover,
.nav-link.is-active {
  color: #fff;
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.lang {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #141414;
  color: #eee;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 600;
}

.lang-btn .caret {
  opacity: 0.7;
}

.lang.is-open .caret {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: #151515;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 6px;
  list-style: none;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  max-height: 320px;
  overflow: auto;
  z-index: 50;
}

html[dir="rtl"] .lang-menu {
  right: auto;
  left: 0;
}

.lang-menu li button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: #ddd;
  padding: 9px 10px;
  border-radius: 10px;
  font-size: 0.9rem;
}

.lang-menu li button:hover,
.lang-menu li button.is-current {
  background: rgba(243, 198, 35, 0.12);
  color: var(--gold);
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: #141414;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
}

.burger span {
  display: block;
  width: 16px;
  height: 1.6px;
  background: #fff;
  border-radius: 2px;
  flex: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger.is-open span:nth-child(1) {
  transform: translateY(6.6px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  transform: translateY(-6.6px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: sticky;
  top: var(--header);
  z-index: 35;
  background: rgba(10, 10, 10, 0.96);
  border-bottom: 1px solid var(--line);
  padding: 12px 24px 18px;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav a {
  padding: 12px 8px;
  border-radius: 10px;
  color: #eee;
  font-weight: 600;
}

.mobile-nav a:hover {
  background: rgba(243, 198, 35, 0.1);
  color: var(--gold);
}

#home,
#how-to-buy,
#roadmap,
#community {
  scroll-margin-top: calc(var(--header) + 8px);
}

.hero {
  position: relative;
  padding: 56px 0 28px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  right: 6%;
  top: 18%;
  width: 42%;
  height: 62%;
  background: radial-gradient(ellipse at center, rgba(243, 198, 35, 0.16), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 24px;
  min-height: 520px;
}

.hero-copy h1 {
  color: var(--gold);
  font-size: clamp(4.2rem, 8vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.hero-title {
  margin-top: 18px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  max-width: 16ch;
}

.hero-tagline {
  margin: 18px 0 28px;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 28ch;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: #1a1400;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 8px 30px rgba(243, 198, 35, 0.22);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn-gold:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
}

.hero-visual::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8%;
  width: 58%;
  height: 48px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(243, 198, 35, 0.38), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

.hero-visual img {
  width: min(100%, 520px);
  height: auto;
  object-fit: contain;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.features {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.feature {
  text-align: center;
  padding: 34px 16px;
  color: var(--gold);
}

.feature + .feature {
  border-left: 1px solid rgba(243, 198, 35, 0.12);
}

html[dir="rtl"] .feature + .feature {
  border-left: 0;
  border-right: 1px solid rgba(243, 198, 35, 0.12);
}

.feature h3 {
  color: #fff;
  margin-top: 12px;
  font-size: 1rem;
}

.feature p {
  color: var(--muted);
  font-size: 0.9rem;
}

.how,
.roadmap,
.community {
  padding: 88px 0;
}

.how-grid,
.community-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.kicker {
  color: #bdbdbd;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  margin-bottom: 14px;
}

.how h2,
.roadmap h2,
.community h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.15;
  font-weight: 800;
  max-width: 14ch;
}

.lede {
  margin-top: 12px;
  color: var(--muted);
  max-width: 36ch;
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 18px;
}

.step-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--gold);
}

.step-head span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: #1a1400;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 800;
}

.steps h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.steps p {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 28ch;
}

.roadmap {
  background: linear-gradient(#0a0a0a, #090909);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.roadmap-head {
  max-width: 720px;
  margin-bottom: 28px;
}

.roadmap-head h2 {
  max-width: none;
}

.roadmap-intro {
  margin-top: 16px;
  color: #cfcfcf;
  max-width: 62ch;
  font-size: 1.02rem;
}

.roadmap-visual {
  margin: 0 0 36px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(243, 198, 35, 0.22);
  background: #101010;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.roadmap-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.roadmap-phases {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.phase-card {
  background: linear-gradient(180deg, #151515, #101010);
  border: 1px solid rgba(243, 198, 35, 0.16);
  border-radius: 18px;
  padding: 18px 16px 16px;
  min-height: 100%;
}

.phase-num {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: #1a1400;
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.phase-card h3 {
  font-size: 0.98rem;
  line-height: 1.25;
  margin-bottom: 8px;
}

.phase-card > p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.phase-foot {
  margin-top: 12px !important;
  color: var(--gold) !important;
  font-weight: 600;
  font-size: 0.84rem !important;
}

.roadmap-panels {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
}

.tokenomics,
.big-goals {
  background: #121212;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 22px 20px;
}

.tokenomics h3,
.big-goals h3 {
  color: var(--gold);
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.tokenomics-supply {
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
}

.tokenomics ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.tokenomics li {
  color: var(--muted);
  font-size: 0.92rem;
  padding-left: 14px;
  position: relative;
}

.tokenomics li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.big-goals p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.roadmap-close {
  margin-top: 16px !important;
  color: var(--gold) !important;
  font-weight: 800;
  font-size: 1.15rem !important;
}

.soon-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: rgba(243, 198, 35, 0.08);
  border: 1px solid rgba(243, 198, 35, 0.28);
  box-shadow: 0 0 24px rgba(243, 198, 35, 0.12);
  margin: 0 auto 16px;
}

.socials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.social {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 14px 16px;
  min-height: 72px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.social[hidden] {
  display: none !important;
}

.social:hover {
  border-color: rgba(243, 198, 35, 0.4);
  transform: translateY(-2px);
}

.social-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #1c1c1c;
  flex: none;
}

.social strong {
  display: block;
  font-size: 0.95rem;
}

.social small {
  color: var(--muted);
  font-size: 0.78rem;
}

.chev {
  margin-left: auto;
  color: #888;
  font-size: 1.4rem;
  line-height: 1;
}

html[dir="rtl"] .chev {
  margin-left: 0;
  margin-right: auto;
}

.footer {
  padding: 28px 0 40px;
  color: #777;
  font-size: 0.82rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(0, 0, 0, 0.62);
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal-card {
  width: min(420px, 100%);
  background: #141414;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px 24px 24px;
  text-align: center;
}

.modal-card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.modal-card p {
  color: var(--muted);
  margin-bottom: 22px;
}

.modal[hidden],
.mobile-nav[hidden],
.lang-menu[hidden] {
  display: none !important;
}

@media (max-width: 980px) {
  .header-inner {
    display: flex;
    justify-content: space-between;
  }

  .nav {
    display: none;
  }

  .burger,
  .mobile-nav {
    display: flex;
  }

  .hero-grid,
  .how-grid,
  .community-grid {
    grid-template-columns: 1fr;
  }

  .roadmap-phases {
    grid-template-columns: 1fr 1fr;
  }

  .roadmap-panels {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-grid {
    min-height: 0;
    text-align: center;
  }

  .hero-title,
  .hero-tagline {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-copy h1 {
    font-size: clamp(3.6rem, 16vw, 5.4rem);
  }

  .hero-visual img {
    width: min(100%, 380px);
    margin: 0 auto;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature:nth-child(3),
  .feature:nth-child(4) {
    border-top: 1px solid rgba(243, 198, 35, 0.12);
  }

  .feature:nth-child(2),
  .feature:nth-child(4) {
    border-left: 1px solid rgba(243, 198, 35, 0.12);
  }

  .how h2,
  .roadmap h2,
  .community h2 {
    max-width: none;
  }

  .phase-card:last-child {
    grid-column: 1 / -1;
  }

  .socials {
    grid-template-columns: 1fr;
  }

  .how,
  .roadmap,
  .community {
    padding: 64px 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--max), calc(100% - 32px));
  }

  .header-actions {
    gap: 8px;
  }

  .lang-btn {
    padding: 8px 10px;
  }

  .burger {
    width: 40px;
    height: 40px;
  }

  .roadmap-phases {
    grid-template-columns: 1fr;
  }

  .phase-card:last-child {
    grid-column: auto;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature + .feature,
  .feature:nth-child(n) {
    border-left: 0 !important;
    border-right: 0 !important;
    border-top: 1px solid rgba(243, 198, 35, 0.12);
  }

  .feature:first-child {
    border-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero-visual img {
    animation: none;
  }
}
