@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg:      #09090E;
  --bg1:     #0F0F18;
  --bg2:     #16161F;
  --bg3:     #1E1E2A;
  --line:    #232332;
  --line2:   #2E2E42;
  --y:       #F5C000;
  --y2:      #FFD44D;
  --ybg:     rgba(245,192,0,0.07);
  --ybg2:    rgba(245,192,0,0.13);
  --txt:     #E2DDD0;
  --txt2:    #8A8898;
  --txt3:    #4A4A60;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--txt);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line2); border-radius: 3px; }

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}

.page-body {
  padding-top: 64px;
}

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 800;
  height: 64px;
  background: rgba(9,9,14,0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}

.nav-logo {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.nav-logo b { color: var(--y); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 0.38rem 0.82rem;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--txt2);
  border-radius: 6px;
  transition: color 0.18s, background 0.18s;
}

.nav-links a:hover { color: var(--txt); background: var(--bg2); }
.nav-links a.active { color: var(--y); background: var(--ybg); }

.nav-cta {
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  color: #000 !important;
  background: var(--y) !important;
  padding: 0.38rem 1rem !important;
  border-radius: 6px !important;
  transition: background 0.18s !important;
}

.nav-cta:hover { background: var(--y2) !important; color: #000 !important; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}

.burger span {
  display: block;
  width: 21px;
  height: 2px;
  background: var(--txt2);
  border-radius: 2px;
  transition: 0.25s;
}

footer {
  border-top: 1px solid var(--line);
  padding: 3rem 2rem 2rem;
  max-width: 1160px;
  margin: 0 auto;
}

.foot-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.foot-logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.foot-logo b { color: var(--y); }

.foot-desc {
  font-size: 0.8rem;
  color: var(--txt3);
  line-height: 1.8;
  max-width: 200px;
  margin-bottom: 1.1rem;
}

.foot-soc {
  display: flex;
  gap: 0.4rem;
}

.foot-soc a {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line2);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--txt3);
  transition: border-color 0.18s, color 0.18s;
}

.foot-soc a:hover { border-color: var(--y); color: var(--y); }

.foot-col-title {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--txt3);
  margin-bottom: 0.9rem;
}

.foot-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.foot-col ul a {
  font-size: 0.82rem;
  color: var(--txt2);
  transition: color 0.18s;
}

.foot-col ul a:hover { color: var(--y); }

.foot-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
  color: var(--txt3);
}

.tag {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--y);
  background: var(--ybg);
  border: 1px solid rgba(245,192,0,0.16);
  padding: 3px 10px;
  border-radius: 100px;
}

.sec-title {
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.sec-title em { font-style: normal; color: var(--y); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.7rem 1.35rem;
  border-radius: 7px;
  font-size: 0.87rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.18s;
  text-decoration: none;
  white-space: nowrap;
}

.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn-y { background: var(--y); color: #000; }
.btn-y:hover { background: var(--y2); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(245,192,0,0.2); }

.btn-dc { background: #5865F2; color: #fff; }
.btn-dc:hover { background: #4752c4; transform: translateY(-1px); }

.btn-tg { background: #29B6F6; color: #fff; }
.btn-tg:hover { background: #0399d4; transform: translateY(-1px); }

.btn-ghost { background: var(--bg2); color: var(--txt); border: 1px solid var(--line2); }
.btn-ghost:hover { background: var(--bg3); }

.section { padding: 5.5rem 0; }

.divider { border: none; border-top: 1px solid var(--line); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

.fade-up { animation: fadeUp 0.45s ease both; }

@media (max-width: 900px) {
  .foot-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  nav { padding: 0 1.1rem; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: var(--bg1);
    border-bottom: 1px solid var(--line);
    padding: 0.6rem;
    gap: 0.1rem;
  }
  .nav-links.open a { width: 100%; padding: 0.55rem 0.8rem; }
  .burger { display: flex; }
  .wrap { padding: 0 1.1rem; }
  footer { padding: 2.5rem 1.1rem 1.5rem; }
  .foot-inner { grid-template-columns: 1fr; gap: 2rem; }
  .foot-bottom { flex-direction: column; gap: 0.3rem; text-align: center; }
  .section { padding: 3.5rem 0; }
}
