

:root {
  --bg: #0b0b0f;
  --text: #ffffff;

  --muted: rgba(255,255,255,.74);
  --muted2: rgba(255,255,255,.58);

  --stroke: rgba(255,255,255,.10);
  --stroke2: rgba(255,255,255,.08);
  --border: rgba(255,255,255,.10);
  --surface: rgba(18,18,25,.82);
  --surface-raised: rgba(27,27,36,.90);

  --accent: #e3ad5a;
  --accentSoft: rgba(227,173,90,.16);

  --discord: #5865F2;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 12px 32px rgba(0,0,0,.22);
  --shadow-lg: 0 24px 70px rgba(0,0,0,.34);

  --header-h: 74px;
  --safe-pad: clamp(14px, 2.2vw, 28px);

  --drawer-w: min(360px, 92vw);

  --hero-btn-w: clamp(170px, 18vw, 220px);
  --hero-btn-h: 48px;
}

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

html,
body {
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

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

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(900px 620px at 5% 8%, rgba(227,173,90,.085), transparent 68%),
    radial-gradient(850px 580px at 96% 28%, rgba(88,101,242,.055), transparent 70%),
    radial-gradient(760px 540px at 72% 86%, rgba(156,54,36,.035), transparent 72%),
    linear-gradient(180deg, #0b0b10 0%, #08080c 58%, #09090d 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

[aria-disabled="true"] {
  cursor: not-allowed;
}

.container {
  width: min(1180px, 100% - (var(--safe-pad) * 2));
  margin: 0 auto;
}

.main {
  width: 100%;
  flex: 1 0 auto;
  padding-top: var(--header-h);
}


html {
  scrollbar-width: thin;
  scrollbar-color: rgba(115,115,125,.42) rgba(8,8,12,.88);
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: rgba(8,8,12,.88);
}

::-webkit-scrollbar-thumb {
  background: rgba(115,115,125,.42);
  border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(140,140,150,.55);
}

::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}


/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}



.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: var(--header-h);
  backdrop-filter: blur(18px);
  background: rgba(9,9,14,.82);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  width: min(1280px, 100% - (var(--safe-pad) * 2));
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.header__right {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  justify-self: start;
}

.brand__logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.brand__name {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .4px;
}

.nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-weight: 600;
  font-size: 15px;
  color: rgba(255,255,255,.82);
  position: relative;
  padding: 10px 2px;
  transition: color .2s ease;
}

.nav__link:hover {
  color: var(--accent);
}

.nav__link.is-disabled,
.drawerLink.is-disabled {
  cursor: default;
  opacity: .48;
}

.nav__link.is-disabled:hover,
.drawerLink.is-disabled:hover {
  color: rgba(255,255,255,.82);
  transform: none;
  border-color: rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}

.nav__link.is-active {
  color: var(--accent);
}

.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}


.btn {
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.06);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  user-select: none;
}

.btn--primary {
  background: linear-gradient(180deg, rgba(227,173,90,1), rgba(201,144,66,1));
  color: #121218;
  border-color: rgba(0,0,0,.25);
  box-shadow: 0 12px 28px rgba(227,173,90,.22);
}

.btn--dark {
  background: rgba(18,18,24,.55);
  border-color: rgba(255,255,255,.12);
}

.discord-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 10px;
  border: none;
  background: var(--discord);
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 10px 25px rgba(88,101,242,.25);
}

.discord-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(88,101,242,.35);
}

.discord-btn:active {
  transform: translateY(-1px);
}

.discord-btn:disabled,
.drawerDiscord:disabled {
  cursor: not-allowed;
  opacity: .88;
}

.discord-btn:disabled:hover,
.discord-btn:disabled:active,
.drawerDiscord:disabled:hover,
.drawerDiscord:disabled:active {
  transform: none;
}

.discord-icon {
  width: 18px;
  height: 18px;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  cursor: pointer;
}

.burger__bar {
  width: 18px;
  height: 2px;
  background: rgba(255,255,255,.92);
  border-radius: 2px;
}


.drawerOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
  z-index: 70;
}

.drawerOverlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: var(--drawer-w);
  transform: translateX(110%);
  transition: transform .24s ease;
  z-index: 80;

  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)),
    rgba(10,10,14,.86);

  border-left: 1px solid rgba(255,255,255,.12);
  box-shadow: -24px 0 70px rgba(0,0,0,.55);
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer__top {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
}

.drawerBrand {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.drawerBrand__logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.drawerBrand__name {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: .3px;
}

.drawerClose {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.9);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 18px;
  transition: transform .18s ease, background .18s ease;
}

.drawerClose:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,.07);
}

.drawerClose:active {
  transform: translateY(0);
}

.drawer__divider {
  height: 1px;
  background: rgba(255,255,255,.10);
  margin: 0 18px;
}

.drawerNav {
  padding: 14px 18px;
  display: grid;
  gap: 10px;
}

.drawerLink {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.90);
  font-weight: 650;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.drawerIco {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
}

.drawerLink:hover {
  transform: translateY(-1px);
  border-color: rgba(227,173,90,.25);
  background: rgba(227,173,90,.08);
  color: var(--accent);
}

.drawerLink.is-active {
  border-color: rgba(227,173,90,.35);
  background: var(--accentSoft);
  color: var(--accent);
}

.drawerLink.is-active .drawerIco {
  border-color: rgba(227,173,90,.28);
  background: rgba(227,173,90,.12);
}

.drawerDiscord {
  margin: 14px 18px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--discord);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(88,101,242,.25);
  transition: transform .22s ease, box-shadow .22s ease;
  border: 0;
  font: inherit;
}

.drawerDiscord__icon {
  width: 18px;
  height: 18px;
}

.drawerDiscord:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(88,101,242,.35);
}

.drawerDiscord:active {
  transform: translateY(-1px);
}


@media (max-width: 1100px) and (min-width: 921px) {
  .nav { gap: 22px; }
  .nav__link { font-size: 14px; }
}

/* Mobile */
@media (max-width: 920px) {
  .header__inner {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .discord-btn {
    display: none;
  }

  .burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    width: 42px;
    height: 42px;
    gap: 3px;

    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.04);
    cursor: pointer;
  }
}


/* Shared components */

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity .75s ease,
    transform .75s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}


.siteFooter {
  position: relative;
  margin-top: auto;
  padding: clamp(58px, 5vw, 68px) 0 0;
  flex: 0 0 auto;
  background:
    radial-gradient(720px 38px at 50% 0%, rgba(240,190,105,.075), transparent 72%),
    linear-gradient(180deg, rgba(240,174,79,.025), rgba(6,6,10,.98) 20%, #07070b 100%);
  border-top: 1px solid transparent;
}

.siteFooter::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, transparent 2%, #7c481d 18%, #c67b2c 36%, #f0be69 50%, #c67b2c 64%, #7c481d 82%, transparent 98%);
  box-shadow: 0 5px 28px rgba(227,173,90,.17);
}

.siteFooter__content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 90px;
}

.siteFooter__links {
  display: grid;
  grid-template-columns: 180px 210px 270px;
  align-items: start;
  column-gap: 110px;
}

.siteFooter__column { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.siteFooter__column h2 { margin-bottom: 9px; color: #f0be69; font-family: "Poppins", sans-serif; font-size: 21px; line-height: 1.2; font-weight: 900; letter-spacing: .055em; text-transform: uppercase; }
.siteFooter__column a { color: rgba(255,255,255,.82); font-size: 16px; font-weight: 600; transition: color .2s ease, transform .2s ease; }
.siteFooter__column a:hover { color: #f0be69; transform: translateX(3px); }
.siteFooter__future { display: inline-flex; align-items: center; gap: 10px; color: rgba(255,255,255,.62); font-size: 15px; font-weight: 500; cursor: default; }
.siteFooter__future small { padding: 3px 7px; border: 1px solid rgba(240,190,105,.22); border-radius: 999px; color: rgba(240,190,105,.78); background: rgba(198,123,44,.075); font-size: 9px; line-height: 1.2; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }

.siteFooter__logo { width: clamp(220px, 18vw, 250px); display: block; justify-self: center; }
.siteFooter__logo img { width: 100%; object-fit: contain; }
.siteFooter__bottom { margin-top: clamp(46px, 4vw, 54px); padding-block: 22px; border-top: 1px solid rgba(255,255,255,.075); color: rgba(255,255,255,.55); font-size: 13px; text-align: center; }

@media (max-width: 1260px) {

  .siteFooter__content { gap: 56px; }

  .siteFooter__links { grid-template-columns: 160px 190px 250px; gap: 44px; }

  .siteFooter__logo { width: 200px; }

}

@media (max-width: 900px) {
  .siteFooter__content { flex-direction: column; gap: 56px; }
  .siteFooter__links { order: 1; }
  .siteFooter__logo { width: 170px; order: 2; }
}

@media (max-width: 620px) {
  .siteFooter { padding-top: 56px; }
  .siteFooter__content { gap: 48px; }
  .siteFooter__links { width: 100%; grid-template-columns: minmax(0, 1fr); gap: 65px; }
  .siteFooter__column { width: min(100%, 320px); margin-inline: auto; align-items: center; text-align: center; }
  .siteFooter__logo { width: 145px; }
  .siteFooter__future { align-items: center; justify-content: center; flex-wrap: wrap; text-align: center; }
  .siteFooter__bottom { margin-top: 46px; }
}

@media (max-width: 380px) {
  .siteFooter__links { gap: 50px; }
  .siteFooter__logo { width: 135px; }
}
