:root {
  --honey: #f5b400;
  --honey-dark: #b8860b;
  --honey-light: #ffd85e;
  --brown: #2a1b0a;
  --brown-deep: #180f06;
  --cream: #fff8e7;
  --frog: #6ba13a;
  --text-muted: #cbb489;
  --radius: 16px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--brown-deep);
  color: var(--cream);
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Baloo 2', 'Inter', sans-serif;
  margin: 0;
}

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

img {
  max-width: 100%;
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(24, 15, 6, 0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(245, 180, 0, 0.2);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav__brand {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--honey-light);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.nav__brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  gap: 28px;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav__links a {
  opacity: 0.85;
  transition: opacity 0.15s;
}

.nav__links a:hover {
  opacity: 1;
  color: var(--honey-light);
}

@media (max-width: 760px) {
  .nav__links {
    display: none;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--honey-light), var(--honey));
  color: var(--brown-deep);
  box-shadow: 0 8px 24px rgba(245, 180, 0, 0.35);
}

.btn--primary:hover {
  box-shadow: 0 12px 32px rgba(245, 180, 0, 0.5);
}

.btn--ghost {
  border-color: rgba(255, 216, 94, 0.5);
  color: var(--honey-light);
  background: transparent;
}

.btn--ghost:hover {
  background: rgba(255, 216, 94, 0.1);
}

.btn--small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
  background-image:
    linear-gradient(180deg, rgba(24,15,6,0.55) 0%, rgba(24,15,6,0.75) 55%, rgba(24,15,6,1) 100%),
    url('assets/honey-mussy.jpg');
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center 30%, rgba(245, 180, 0, 0.12), transparent 60%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.hero__eyebrow {
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--honey-light);
  margin-bottom: 8px;
}

.hero__title {
  font-size: clamp(2.8rem, 9vw, 5.5rem);
  font-weight: 800;
  color: var(--cream);
  text-shadow: 0 4px 30px rgba(0,0,0,0.6);
  letter-spacing: 0.01em;
  line-height: 1;
}

.hero__ticker {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--honey-light);
  margin: 6px 0 4px;
}

.hero__tagline {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  font-weight: 500;
}

.hero__ca {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(24, 15, 6, 0.6);
  border: 1px solid rgba(245, 180, 0, 0.35);
  border-radius: 999px;
  padding: 10px 10px 10px 18px;
  margin-bottom: 32px;
  max-width: 100%;
}

.hero__ca-label {
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--honey);
  background: rgba(245, 180, 0, 0.15);
  padding: 4px 10px;
  border-radius: 999px;
}

.hero__ca-address {
  font-family: 'SFMono-Regular', Consolas, monospace;
  font-size: 0.85rem;
  color: var(--cream);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 240px;
}

@media (max-width: 500px) {
  .hero__ca-address {
    max-width: 130px;
  }
}

.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------- Copy button ---------- */

.copy-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--honey);
  color: var(--brown-deep);
  border: none;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
  flex-shrink: 0;
}

.copy-btn:hover {
  background: var(--honey-light);
  transform: translateY(-1px);
}

.copy-btn__icon {
  width: 16px;
  height: 16px;
}

.copy-btn--large {
  padding: 12px 22px;
  font-size: 0.95rem;
}

.copy-btn--large .copy-btn__icon {
  width: 18px;
  height: 18px;
}

/* ---------- Marquee ---------- */

.marquee {
  background: var(--honey);
  color: var(--brown-deep);
  overflow: hidden;
  padding: 28px 0;
  border-top: 3px solid var(--brown-deep);
  border-bottom: 3px solid var(--brown-deep);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 24s linear infinite;
  will-change: transform;
}

.marquee__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 24px;
  padding-right: 24px;
  font-weight: 800;
  font-size: 3rem;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }
}

/* ---------- Sections ---------- */

.section {
  padding: 96px 24px;
}

.section--alt {
  background: linear-gradient(180deg, rgba(245,180,0,0.05), transparent);
}

.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.section__inner--narrow {
  max-width: 640px;
}

.section__eyebrow {
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--honey);
  margin-bottom: 10px;
}

.section__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--cream);
  margin-bottom: 18px;
}

.section__lead {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

/* ---------- Cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

.card {
  background: rgba(255, 216, 94, 0.06);
  border: 1px solid rgba(245, 180, 0, 0.18);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: left;
  transition: transform 0.15s, border-color 0.15s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 180, 0, 0.45);
}

.card__icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 1.15rem;
  color: var(--honey-light);
  margin-bottom: 10px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}

/* ---------- Greentext (lore) ---------- */

.greentext {
  background: rgba(255, 216, 94, 0.06);
  border: 1px solid rgba(245, 180, 0, 0.25);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.greentext__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: rgba(245, 180, 0, 0.12);
  border-bottom: 1px solid rgba(245, 180, 0, 0.2);
  font-family: 'SFMono-Regular', Consolas, monospace;
  font-size: 0.8rem;
}

.greentext__board {
  color: var(--brown-deep);
  background: var(--honey);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}

.greentext__name {
  color: var(--honey-light);
  font-weight: 700;
}

.greentext__id {
  color: var(--text-muted);
  margin-left: auto;
}

.greentext__body {
  padding: 28px 32px;
  background: rgba(14, 12, 6, 0.55);
  font-family: 'SFMono-Regular', Consolas, monospace;
}

.greentext__body p {
  color: #9bc93e;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 14px;
  text-shadow: 0 0 18px rgba(155, 201, 62, 0.15);
}

.greentext__body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 560px) {
  .greentext__header {
    flex-wrap: wrap;
  }
  .greentext__id {
    margin-left: 0;
  }
  .greentext__body {
    padding: 22px 20px;
  }
}

/* ---------- Stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-bottom: 56px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 28px 12px;
  background: rgba(24, 15, 6, 0.4);
  border: 1px solid rgba(245, 180, 0, 0.18);
  border-radius: var(--radius);
}

.stat__value {
  font-family: 'Baloo 2', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--honey-light);
}

.stat__label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.token-info {
  max-width: 560px;
  margin: 0 auto;
  border: 1px solid rgba(245, 180, 0, 0.18);
  border-radius: var(--radius);
  overflow: hidden;
}

.token-info__row {
  display: flex;
  justify-content: space-between;
  padding: 16px 24px;
  font-size: 0.95rem;
}

.token-info__row:nth-child(odd) {
  background: rgba(255, 216, 94, 0.05);
}

.token-info__row span:first-child {
  color: var(--text-muted);
  font-weight: 600;
}

.token-info__row span:last-child {
  color: var(--cream);
  font-weight: 700;
}

.token-info__link {
  color: var(--honey-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.token-info__link:hover {
  color: var(--honey);
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

@media (max-width: 800px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.step {
  text-align: left;
  background: rgba(255, 216, 94, 0.06);
  border: 1px solid rgba(245, 180, 0, 0.18);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--honey);
  color: var(--brown-deep);
  font-weight: 800;
  margin-bottom: 14px;
}

.step h3 {
  color: var(--honey-light);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.step p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}

.warning {
  max-width: 640px;
  margin: 0 auto;
  background: rgba(255, 76, 76, 0.1);
  border: 1px solid rgba(255, 76, 76, 0.35);
  color: #ffb3b3;
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ---------- Relic image ---------- */

.section--relic {
  display: flex;
  justify-content: center;
  padding-top: 0;
}

.relic-image {
  display: block;
  margin: 0 auto;
  max-width: 480px;
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid rgba(245, 180, 0, 0.25);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

@media (min-width: 900px) {
  .relic-image {
    max-width: 780px;
  }
}

/* ---------- Gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

@media (max-width: 900px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gallery__item {
  position: relative;
  padding: 0;
  border: 1px solid rgba(245, 180, 0, 0.18);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  background: none;
  aspect-ratio: 1 / 1;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.gallery__item:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 180, 0, 0.5);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery__item:hover img {
  transform: scale(1.06);
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(12, 8, 3, 0.92);
  backdrop-filter: blur(6px);
  padding: 40px;
}

.lightbox.lightbox--visible {
  display: flex;
}

.lightbox__image {
  max-width: min(90vw, 1000px);
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  animation: lightbox-in 0.2s ease;
}

@keyframes lightbox-in {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.15s;
}

.lightbox__close:hover {
  opacity: 1;
  color: var(--honey-light);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(245, 180, 0, 0.15);
  border: 1px solid rgba(245, 180, 0, 0.35);
  color: var(--honey-light);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.15s;
}

.lightbox__nav:hover {
  background: rgba(245, 180, 0, 0.3);
}

.lightbox__nav--prev {
  left: 20px;
}

.lightbox__nav--next {
  right: 20px;
}

@media (max-width: 600px) {
  .lightbox {
    padding: 16px;
  }
  .lightbox__nav {
    width: 40px;
    height: 40px;
  }
  .lightbox__close {
    top: 10px;
    right: 14px;
  }
}

/* ---------- Contract section ---------- */

.ca-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(24, 15, 6, 0.5);
  border: 1px solid rgba(245, 180, 0, 0.35);
  border-radius: var(--radius);
  padding: 18px 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.ca-box code {
  font-family: 'SFMono-Regular', Consolas, monospace;
  font-size: 0.95rem;
  color: var(--honey-light);
  word-break: break-all;
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid rgba(245, 180, 0, 0.15);
  padding: 48px 24px;
  background: var(--brown-deep);
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.footer__brand {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  color: var(--honey-light);
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.footer__disclaimer {
  color: var(--text-muted);
  font-size: 0.8rem;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--honey);
  color: var(--brown-deep);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 24px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 999;
}

.toast.toast--visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
