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

:root {
  --bnb-yellow: #F3BA2F;
  --bnb-yellow-light: #FCD535;
  --bnb-yellow-dark: #D4A017;
  --bnb-black: #0B0E11;
  --bnb-dark: #14151A;
  --bnb-card: #1A1D24;
  --bnb-border: rgba(243, 186, 47, 0.15);
  --bnb-text: #EAECEF;
  --bnb-muted: #848E9C;
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-gold: 0 0 60px rgba(243, 186, 47, 0.15);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bnb-black);
  color: var(--bnb-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(243, 186, 47, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 186, 47, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.bg-glow--top {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -100px;
  background: rgba(243, 186, 47, 0.08);
}

.bg-glow--bottom {
  width: 500px;
  height: 500px;
  bottom: -150px;
  left: -100px;
  background: rgba(243, 186, 47, 0.05);
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 14, 17, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--bnb-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--bnb-text);
}

.nav__logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.nav__name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--bnb-yellow);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  color: var(--bnb-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

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

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--bnb-yellow);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn--sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn--primary {
  background: linear-gradient(135deg, var(--bnb-yellow), var(--bnb-yellow-dark));
  color: var(--bnb-black);
  box-shadow: 0 4px 20px rgba(243, 186, 47, 0.3);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--bnb-yellow-light), var(--bnb-yellow));
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(243, 186, 47, 0.4);
}

.btn--secondary {
  background: var(--bnb-card);
  color: var(--bnb-text);
  border: 1px solid var(--bnb-border);
}

.btn--secondary:hover {
  border-color: var(--bnb-yellow);
  color: var(--bnb-yellow);
}

.btn--outline {
  background: transparent;
  color: var(--bnb-yellow);
  border: 1px solid var(--bnb-yellow);
}

.btn--outline:hover {
  background: rgba(243, 186, 47, 0.1);
}

.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  padding: 140px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(243, 186, 47, 0.1);
  border: 1px solid var(--bnb-border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--bnb-yellow);
  margin-bottom: 24px;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: #0ECB81;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero__title-main {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--bnb-yellow-light), var(--bnb-yellow), var(--bnb-yellow-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 40px rgba(243, 186, 47, 0.3));
}

.hero__title-sub {
  display: block;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 500;
  color: var(--bnb-muted);
  margin-top: 12px;
}

.hero__desc {
  margin-top: 24px;
  font-size: 1.05rem;
  color: var(--bnb-muted);
  max-width: 480px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero__contract {
  margin-top: 32px;
  padding: 16px 20px;
  background: var(--bnb-card);
  border: 1px solid var(--bnb-border);
  border-radius: var(--radius-sm);
  max-width: 100%;
}

.hero__contract-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bnb-muted);
  margin-bottom: 6px;
}

.hero__contract-address {
  font-size: 0.8rem;
  color: var(--bnb-yellow);
  word-break: break-all;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__glow-ring {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 186, 47, 0.2) 0%, transparent 70%);
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.08); opacity: 1; }
}

.hero__mascot {
  position: relative;
  width: 100%;
  max-width: 360px;
  border-radius: 50%;
  animation: float 5s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

/* Banner */
.banner-section {
  position: relative;
  z-index: 1;
  padding: 0 24px 40px;
}

.banner-img {
  display: block;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  border-radius: var(--radius);
  border: 1px solid var(--bnb-border);
  box-shadow: var(--shadow-gold);
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.section--dark {
  background: var(--bnb-dark);
  border-top: 1px solid var(--bnb-border);
  border-bottom: 1px solid var(--bnb-border);
}

.section__header {
  text-align: center;
  margin-bottom: 60px;
}

.section__tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--bnb-yellow);
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--bnb-text);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about-card {
  padding: 36px 28px;
  background: var(--bnb-card);
  border: 1px solid var(--bnb-border);
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.3s;
}

.about-card:hover {
  border-color: rgba(243, 186, 47, 0.4);
  transform: translateY(-4px);
}

.about-card__icon {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--bnb-yellow);
}

.about-card__icon svg {
  width: 32px;
  height: 32px;
}

.about-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--bnb-text);
}

.about-card__text {
  font-size: 0.9rem;
  color: var(--bnb-muted);
  line-height: 1.7;
}

/* Token */
.token-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.token-stat {
  text-align: center;
  padding: 28px 16px;
  background: var(--bnb-card);
  border: 1px solid var(--bnb-border);
  border-radius: var(--radius);
}

.token-stat__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bnb-muted);
  margin-bottom: 8px;
}

.token-stat__value {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--bnb-yellow);
}

.token-contract-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  background: var(--bnb-card);
  border: 1px solid var(--bnb-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-gold);
}

.token-contract-box__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bnb-muted);
  margin-bottom: 6px;
}

.token-contract-box__address {
  font-size: 0.95rem;
  color: var(--bnb-yellow);
  word-break: break-all;
}

/* Community */
.community-card {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 60px;
  background: linear-gradient(135deg, var(--bnb-card), var(--bnb-dark));
  border: 1px solid var(--bnb-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-gold);
  text-align: left;
}

.community-card__logo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  flex-shrink: 0;
  filter: drop-shadow(0 10px 30px rgba(243, 186, 47, 0.2));
}

.community-card__title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.community-card__text {
  color: var(--bnb-muted);
  margin-bottom: 28px;
  max-width: 440px;
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  padding: 40px 0;
  border-top: 1px solid var(--bnb-border);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--bnb-yellow);
  font-weight: 800;
  font-size: 1.1rem;
}

.footer__logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.footer__disclaimer {
  font-size: 0.8rem;
  color: var(--bnb-muted);
  flex: 1;
  text-align: center;
}

.footer__social {
  color: var(--bnb-muted);
  transition: color 0.2s;
}

.footer__social:hover {
  color: var(--bnb-yellow);
}

.footer__social svg {
  width: 22px;
  height: 22px;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 12px 28px;
  background: var(--bnb-yellow);
  color: var(--bnb-black);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 100px;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 200;
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Mobile nav */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__contract {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__visual {
    order: -1;
  }

  .hero__mascot {
    max-width: 260px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .token-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .token-contract-box {
    flex-direction: column;
    text-align: center;
  }

  .community-card {
    flex-direction: column;
    text-align: center;
    padding: 40px 28px;
  }

  .community-card__text {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(11, 14, 17, 0.97);
    border-bottom: 1px solid var(--bnb-border);
    padding: 16px 24px 24px;
  }

  .nav__links.open {
    display: flex;
  }

  .nav__link {
    padding: 12px 0;
    width: 100%;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav__toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__disclaimer {
    order: 1;
  }
}
