* {
  box-sizing: border-box;
}

:root {
  --bg: #07090d;
  --panel: rgba(8, 12, 18, .88);
  --panel-strong: rgba(8, 12, 18, .96);
  --gold: #e0b558;
  --gold-soft: #f3d694;
  --line: rgba(224, 181, 88, .38);
  --text: #f4f1e7;
}

html {
  background: var(--bg);
  color-scheme: dark;
}

body {
  margin: 0;
  min-width: 320px;
  background: #05070b;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  overflow-x: hidden;
}

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

.hero-page {
  width: 100%;
  min-height: 0;
  background: #05070b;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  min-height: 82px;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: linear-gradient(180deg, rgba(8, 11, 16, .95), rgba(8, 11, 16, .86));
  border-bottom: 1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 24px rgba(35, 119, 255, .22);
}

.brand span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 1.9vw, 42px);
  letter-spacing: .02em;
  color: var(--gold-soft);
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-link {
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 700;
  color: #ede7d5;
  border-bottom: 2px solid transparent;
}

.nav-link.active,
.nav-link:hover {
  color: var(--gold-soft);
  border-bottom-color: var(--gold);
}

.mint-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 8px 16px 8px 10px;
  border: 1px solid rgba(224, 181, 88, .72);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(37, 50, 68, .98), rgba(21, 30, 43, .98));
  color: var(--gold-soft);
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.mint-link img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
  flex: 0 0 auto;
}

.hero {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: hidden;
  background: #05070b;
}

.hero picture,
.hero-art {
  display: block;
  width: 100%;
}

.hero picture {
  line-height: 0;
}

.hero-art {
  height: auto;
}

.hero-shade {
  position: absolute;
  inset: auto 0 0;
  height: 14%;
  background: linear-gradient(180deg, rgba(5,7,11,0), rgba(5,7,11,.26));
  pointer-events: none;
}

.hero-message {
  position: absolute;
  left: 47.8%;
  top: 69%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: min(82%, 760px);
  padding: 0;
  text-align: center;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.hero-message h1 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.2vw, 40px);
  line-height: 1.0;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #f0dcaa;
  text-shadow: 0 2px 14px rgba(0,0,0,.65), 0 0 22px rgba(0,0,0,.35);
}

.hero-message p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: #f3efe2;
  font-size: clamp(13px, 1.05vw, 19px);
  line-height: 1.34;
  font-weight: 600;
  letter-spacing: .03em;
  text-shadow: 0 2px 12px rgba(0,0,0,.68), 0 0 18px rgba(0,0,0,.32);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(224,181,88,.44);
  border-radius: 12px;
  background: rgba(10, 14, 20, .92);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 4px auto;
  background: var(--gold-soft);
  border-radius: 999px;
}

.mobile-menu {
  display: none;
}

@media (max-width: 960px) {
  .topbar {
    min-height: 74px;
    padding: 12px 16px;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand span {
    font-size: 30px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .mobile-menu {
    display: grid;
    gap: 10px;
    padding: 12px 14px 16px;
    background: var(--panel-strong);
    border-bottom: 1px solid rgba(255,255,255,.06);
  }

  .mobile-menu[hidden] {
    display: none;
  }

  .mobile-item {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border: 1px solid rgba(224,181,88,.22);
    border-radius: 12px;
    background: rgba(255,255,255,.02);
    color: #efe7d0;
    font-weight: 750;
  }

  .mint-mobile {
    justify-content: center;
    gap: 10px;
    border-color: rgba(224,181,88,.68);
    background: linear-gradient(180deg, rgba(37, 50, 68, .98), rgba(21, 30, 43, .98));
    color: var(--gold-soft);
  }

  .mint-mobile img {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    object-fit: cover;
  }
}

@media (max-width: 760px) {
  .topbar {
    min-height: 64px;
    padding: 8px 12px;
  }

  .brand {
    gap: 10px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .brand span {
    font-size: clamp(22px, 5.6vw, 30px);
  }

  .hero {
    width: 100%;
    aspect-ratio: 686 / 858;
    overflow: hidden;
    background: #05070b;
  }

  .hero picture,
  .hero-art {
    width: 100%;
    height: 100%;
  }

  .hero-art {
    display: block;
    object-fit: contain;
  }

  .hero-message {
    width: min(74%, 292px);
    top: 67.3%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0;
    text-align: center;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
  }

  .hero-message h1 {
    margin: 0 auto 4px;
    max-width: 100%;
    font-size: clamp(14px, 4.2vw, 18px);
    line-height: 1.03;
    letter-spacing: .04em;
    text-align: center;
  }

  .hero-message p {
    margin: 0 auto;
    max-width: 100%;
    font-size: clamp(9px, 2.55vw, 11px);
    line-height: 1.17;
    letter-spacing: .015em;
    text-align: center;
  }
}
