:root {
  --text: #000;
  --body: #fff;
  --border: rgba(0, 0, 0, 0.2);
  color: var(--text);
  background: var(--body);
  font-family: 'JetBrains Mono', monospace;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

body {
  background: var(--body);
  color: var(--text);
  font-size: 16px;
}

body.menu-open {
  overflow: hidden;
}

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

button {
  color: inherit;
  font: inherit;
}

.site-shell {
  position: relative;
  min-height: 100vh;
  background: var(--body);
}

.container {
  width: 100%;
  max-width: 1601px;
  margin: 0 auto;
  padding-inline: 80px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 86;
  background: rgba(255, 255, 255, 0.01);
  box-shadow: none;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: 64px;
}

.brand {
  display: flex;
  width: 248px;
  cursor: pointer;
}

.brand img {
  display: block;
  width: 93px;
  height: auto;
}

.desktop-nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 56px;
  font-size: 16.6px;
  font-weight: 500;
  white-space: nowrap;
}

.desktop-nav > a:not(.binance-link) {
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.desktop-nav > a:hover,
.desktop-nav > a:focus-visible {
  opacity: 1;
}

.binance-link {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding-inline: 16px;
  border: 2px solid var(--border);
  border-radius: 50px;
  transition: border-color 0.3s ease;
}

.binance-link:hover,
.binance-link:focus-visible {
  border-color: #ffb917;
}

.binance-link img {
  width: 26px;
  height: 26px;
}

.menu-button,
.menu-close {
  display: none;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.mobile-menu {
  visibility: hidden;
  position: fixed;
  inset: 0;
  z-index: 100;
  overflow: hidden;
  background: #fff;
  opacity: 0;
  transform: translateY(-24px);
  transition: visibility 0s linear 0.28s, opacity 0.28s ease, transform 0.28s ease;
}

.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
}

.mobile-menu-inner {
  height: 100%;
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 48px;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-top: 40px;
  font-size: 16px;
  font-weight: 500;
}

.mobile-nav a {
  opacity: 0.6;
}

.mobile-nav a:first-child {
  opacity: 1;
}

.landing {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  padding: 80px 0 60px;
  background: #fff;
}

.landing-animation {
  width: 100%;
  height: 100%;
  transform: translateZ(0);
  will-change: transform;
}

.landing-animation svg {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.site-footer {
  width: 100%;
  min-height: 112px;
  background: #000;
  color: #fff;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: 80px auto;
  column-gap: 24px;
  align-items: center;
}

.copyright {
  font-size: 14px;
}

.made-with {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 14px;
}

.hearts {
  display: flex;
  gap: 3px;
}

.heart {
  display: inline-block;
  position: relative;
  width: 16px;
  height: 18px;
}

.heart img {
  position: absolute;
  inset: 0;
  width: 16px;
  height: 18px;
}

.heart-fill {
  opacity: 0;
  transform: scale(0);
  animation: heart-show 3.5s linear infinite;
}

.heart-fill-1 { animation-delay: 0.5s; }
.heart-fill-2 { animation-delay: 1s; }
.heart-fill-3 { animation-delay: 1.5s; }
.heart-fill-4 { animation-delay: 2s; }
.heart-fill-5 { animation-delay: 2.5s; }

@keyframes heart-show {
  0%, 14% { opacity: 0; transform: scale(0); }
  29%, 100% { opacity: 1; transform: scale(1); }
}

.social-links {
  display: flex;
  grid-column: 2;
  grid-row: 1;
  align-items: center;
  gap: 46px;
}

.social-links a,
.social-links img {
  display: block;
  width: 28px;
  height: 28px;
}

.address {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0;
  padding-bottom: 16px;
  color: #fff;
  font-size: 14px;
}

@media (max-width: 1280px) {
  .container {
    padding-inline: 40px;
  }

  .brand {
    width: 180px;
  }

  .desktop-nav {
    gap: 32px;
  }
}

@media (max-width: 960px) {
  html,
  body {
    touch-action: manipulation;
  }

  body {
    font-size: 14px;
  }

  .container {
    padding-inline: 12px;
  }

  .header-inner {
    justify-content: space-between;
    min-height: 56px;
  }

  .brand {
    width: auto;
  }

  .brand img {
    width: 80px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-button,
  .menu-close {
    display: flex;
  }

  .menu-button {
    margin-top: 8px;
  }

  .menu-button img {
    width: 24px;
    height: 24px;
  }

  .menu-close img {
    width: auto;
    height: auto;
  }

  .landing {
    min-height: 560px;
    padding: 0 0 20px;
  }

  .landing-animation {
    transform: scale(1.4) translateZ(0);
  }

  .site-footer {
    min-height: 260px;
  }

  .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 260px;
  }

  .social-links {
    order: -1;
    gap: 24px;
    margin-top: 20px;
  }

  .social-links a,
  .social-links img {
    width: 20px;
    height: 20px;
  }

  .copyright-block {
    margin-top: 16px;
  }

  .copyright,
  .made-with,
  .address {
    font-size: 12px;
  }

  .made-with {
    margin-top: 8px;
  }

  .address {
    margin-top: 16px;
    padding-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
