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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* Variables */
:root {
  --bnb-yellow: #f3ba2f;
  --bnb-gold: #e8a317;
  --warm-gold: #ffd56a;
  --amber: #c98a1a;
  --deep-black: #0a0a0a;
  --charcoal: #141414;
  --charcoal-2: #1c1c1c;
  --soft-cream: #fff6e0;
  --cream-muted: #e8d9b0;
  --text: #f5edd8;
  --text-muted: #b8a878;
  --border: rgba(243, 186, 47, 0.22);
  --glow: rgba(243, 186, 47, 0.45);
  --radius: 16px;
  --radius-sm: 10px;
  --nav-h: 72px;
  --container: 1120px;
  --font: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-bg: rgba(10, 10, 10, 0.72);
}

/* Global */
body {
  font-family: var(--font);
  background: var(--deep-black);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
  position: relative;
}

.section-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bnb-yellow);
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: clamp(1.85rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--soft-cream);
}

.section-sub {
  color: var(--text-muted);
  max-width: 36rem;
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s;
  white-space: nowrap;
  border: 1.5px solid transparent;
  z-index: 0;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.55s var(--ease);
  z-index: -1;
}

.btn:hover::before {
  transform: translateX(120%);
}

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

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-sm {
  padding: 0.55rem 1.05rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.95rem 1.65rem;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--warm-gold), var(--bnb-yellow) 45%, var(--bnb-gold));
  color: var(--deep-black);
  box-shadow: 0 0 0 1px rgba(243, 186, 47, 0.35), 0 8px 28px rgba(243, 186, 47, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 0 0 1px rgba(243, 186, 47, 0.55), 0 12px 36px rgba(243, 186, 47, 0.4);
}

.btn-secondary {
  background: rgba(243, 186, 47, 0.08);
  border-color: var(--border);
  color: var(--soft-cream);
}

.btn-secondary:hover {
  border-color: var(--bnb-yellow);
  background: rgba(243, 186, 47, 0.14);
  box-shadow: 0 0 20px rgba(243, 186, 47, 0.15);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--soft-cream);
}

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

.btn-dark {
  background: var(--deep-black);
  color: var(--bnb-yellow);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.btn-dark:hover {
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
}

.btn-cream {
  background: var(--soft-cream);
  color: var(--deep-black);
}

.btn-cream:hover {
  background: #fff;
}

.btn-arrow {
  transition: transform 0.25s var(--ease);
  display: inline-block;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* Copy button */
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  background: rgba(243, 186, 47, 0.12);
  border: 1px solid var(--border);
  color: var(--bnb-yellow);
  font-size: 0.8rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}

.copy-btn:hover {
  background: rgba(243, 186, 47, 0.22);
  border-color: var(--bnb-yellow);
}

.copy-btn.is-copied {
  background: rgba(80, 200, 120, 0.2);
  border-color: #50c878;
  color: #7dffb0;
  animation: copyPulse 0.45s var(--ease);
}

@keyframes copyPulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* Page Loader */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background: var(--deep-black);
  transition: opacity 0.55s var(--ease), visibility 0.55s;
}

.page-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-glow {
  position: absolute;
  width: min(70vw, 420px);
  height: min(70vw, 420px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 186, 47, 0.45), transparent 70%);
  animation: loaderGlow 1.2s var(--ease) forwards;
}

.loader-logo {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50%;
  position: relative;
  z-index: 1;
  animation: loaderLogo 1s var(--ease) forwards;
  box-shadow: 0 0 40px rgba(243, 186, 47, 0.5);
}

@keyframes loaderGlow {
  from { opacity: 0; transform: scale(0.6); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes loaderLogo {
  from { opacity: 0; transform: scale(0.7); }
  to { opacity: 1; transform: scale(1); }
}

/* Cursor */
.cursor-halo {
  position: fixed;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(243, 186, 47, 0.55);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, border-color 0.2s, background 0.2s, opacity 0.2s;
  opacity: 0;
  mix-blend-mode: screen;
}

.cursor-halo.is-active {
  opacity: 1;
}

.cursor-halo.is-hover {
  width: 56px;
  height: 56px;
  background: rgba(243, 186, 47, 0.1);
  border-color: var(--bnb-yellow);
}

/* Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}

.site-header.is-scrolled {
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.nav {
  width: min(100% - 2rem, 1240px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--soft-cream);
  z-index: 1002;
}

.nav-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(243, 186, 47, 0.35);
}

.nav-brand-text {
  letter-spacing: -0.02em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-link {
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  position: relative;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--bnb-yellow);
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.2rem;
  height: 2px;
  background: var(--bnb-yellow);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  flex-direction: column;
  gap: 6px;
  z-index: 1002;
  border-radius: 10px;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--soft-cream);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
  transform-origin: center;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 2rem) 0 4rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: -20%;
  background-image:
    linear-gradient(rgba(243, 186, 47, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 186, 47, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  transform: perspective(600px) rotateX(55deg) translateY(-10%);
  transform-origin: center top;
  animation: gridDrift 28s linear infinite;
  opacity: 0.55;
  mask-image: linear-gradient(to bottom, black 30%, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 85%);
}

@keyframes gridDrift {
  from { background-position: 0 0; }
  to { background-position: 0 56px; }
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  will-change: transform;
}

.hero-glow-1 {
  width: 520px;
  height: 520px;
  top: 5%;
  right: 8%;
  background: radial-gradient(circle, rgba(243, 186, 47, 0.4), transparent 70%);
  animation: glowMove 12s ease-in-out infinite alternate;
}

.hero-glow-2 {
  width: 380px;
  height: 380px;
  bottom: 10%;
  left: 5%;
  background: radial-gradient(circle, rgba(232, 163, 23, 0.28), transparent 70%);
  animation: glowMove 16s ease-in-out infinite alternate-reverse;
}

.hero-glow-3 {
  width: 260px;
  height: 260px;
  top: 40%;
  left: 40%;
  background: radial-gradient(circle, rgba(255, 213, 106, 0.18), transparent 70%);
  animation: glowMove 10s ease-in-out infinite alternate;
}

@keyframes glowMove {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(30px, -24px) scale(1.08); }
}

.bnb-shape {
  position: absolute;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--warm-gold), var(--bnb-gold));
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  opacity: 0.35;
  filter: drop-shadow(0 0 12px rgba(243, 186, 47, 0.4));
  animation: shapeFloat 14s ease-in-out infinite;
  will-change: transform;
}

.bnb-shape::after {
  content: "";
  position: absolute;
  inset: 22%;
  background: var(--deep-black);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  opacity: 0.55;
}

.bnb-shape-1 { top: 18%; left: 8%; animation-delay: 0s; }
.bnb-shape-2 { top: 28%; right: 12%; width: 36px; height: 36px; animation-delay: -3s; opacity: 0.25; }
.bnb-shape-3 { bottom: 22%; left: 18%; width: 28px; height: 28px; animation-delay: -6s; opacity: 0.3; }
.bnb-shape-4 { bottom: 30%; right: 22%; width: 42px; height: 42px; animation-delay: -9s; opacity: 0.22; }

@keyframes shapeFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-22px) rotate(18deg); }
}

.particles span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--warm-gold);
  opacity: 0.5;
  animation: particleDrift linear infinite;
}

@keyframes particleDrift {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  15% { opacity: 0.55; }
  85% { opacity: 0.3; }
  100% { transform: translateY(-100vh) scale(0.5); opacity: 0; }
}

.hero-inner {
  width: min(100% - 2rem, 1240px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bnb-yellow);
  margin-bottom: 1rem;
}

.hero-eyebrow::before {
  content: "";
  width: 18px;
  height: 18px;
  background: var(--bnb-yellow);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.15rem;
}

.hero-name {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(180deg, #fff8e8 10%, var(--bnb-yellow) 55%, var(--bnb-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.35));
}

.hero-ticker {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  color: var(--warm-gold);
  letter-spacing: 0.02em;
}

.hero-headline {
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--soft-cream);
  max-width: 28ch;
  margin-bottom: 0.85rem;
}

.hero-support {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 36ch;
  margin-bottom: 1.75rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.ca-box {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.85rem;
  background: rgba(20, 20, 20, 0.75);
  border: 1px solid var(--border);
  border-radius: 12px;
  backdrop-filter: blur(8px);
}

.ca-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
}

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

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  will-change: transform;
}

.hero-mascot-glow {
  position: absolute;
  width: 78%;
  height: 78%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 186, 47, 0.55), rgba(243, 186, 47, 0.08) 55%, transparent 70%);
  animation: mascotGlow 5s ease-in-out infinite alternate;
  filter: blur(8px);
}

@keyframes mascotGlow {
  from { transform: scale(0.95); opacity: 0.75; }
  to { transform: scale(1.08); opacity: 1; }
}

.hero-mascot {
  width: min(100%, 540px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 28px;
  position: relative;
  z-index: 1;
  box-shadow:
    0 0 0 1px rgba(243, 186, 47, 0.25),
    0 24px 80px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(243, 186, 47, 0.2);
}

.float-mascot {
  animation: floatY 5.5s ease-in-out infinite;
}

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

.scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 44px;
  border: 2px solid rgba(243, 186, 47, 0.4);
  border-radius: 16px;
  display: grid;
  place-items: start center;
  padding-top: 8px;
  z-index: 2;
}

.scroll-hint span {
  width: 4px;
  height: 8px;
  border-radius: 4px;
  background: var(--bnb-yellow);
  animation: scrollDot 1.6s ease-in-out infinite;
}

@keyframes scrollDot {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(14px); }
}

/* About / Identity */
.about {
  background:
    radial-gradient(ellipse 60% 50% at 10% 40%, rgba(243, 186, 47, 0.08), transparent),
    var(--deep-black);
  border-top: 1px solid rgba(243, 186, 47, 0.08);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
}

.about-zh {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 0.85;
  user-select: none;
}

.about-zh-char {
  font-size: clamp(6rem, 18vw, 11rem);
  font-weight: 900;
  background: linear-gradient(160deg, var(--warm-gold), var(--bnb-yellow) 40%, var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 8px 24px rgba(243, 186, 47, 0.2));
}

.about-lead {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--soft-cream);
  margin-bottom: 1.25rem;
}

.about-eq {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 800;
  padding: 0.7rem 1.2rem;
  border-radius: 12px;
  background: rgba(243, 186, 47, 0.1);
  border: 1px solid var(--border);
  color: var(--bnb-yellow);
  margin-bottom: 1.35rem;
}

.about-eq span:last-child {
  color: var(--soft-cream);
}

.about-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 42ch;
  line-height: 1.75;
}

.about-text strong {
  color: var(--soft-cream);
  font-weight: 700;
}

/* Story */
.story {
  background: linear-gradient(180deg, var(--deep-black), var(--charcoal) 40%, var(--deep-black));
}

.story-flow {
  max-width: 820px;
  margin-top: 2.5rem;
}

.story-line {
  font-size: clamp(1.15rem, 2.6vw, 1.55rem);
  font-weight: 600;
  line-height: 1.55;
  color: var(--cream-muted);
  margin-bottom: 2rem;
}

.story-line-lg {
  font-size: clamp(1.4rem, 3.2vw, 2.1rem);
  font-weight: 800;
  color: var(--soft-cream);
  letter-spacing: -0.02em;
}

.hl {
  color: var(--bnb-yellow);
  position: relative;
  display: inline;
  background: linear-gradient(transparent 60%, rgba(243, 186, 47, 0.25) 60%);
}

.story-mascot-break {
  display: flex;
  justify-content: center;
  margin: 2.5rem 0;
}

.story-mascot {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px rgba(243, 186, 47, 0.35), 0 0 40px rgba(243, 186, 47, 0.3);
  animation: floatY 6s ease-in-out infinite;
}

.story-traits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 0 2.75rem;
}

.story-traits li span {
  display: inline-block;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  background: rgba(243, 186, 47, 0.08);
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--soft-cream);
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}

.story-traits li span:hover {
  border-color: var(--bnb-yellow);
  background: rgba(243, 186, 47, 0.16);
  transform: translateY(-2px);
}

.story-finale {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, var(--warm-gold), var(--bnb-yellow), var(--warm-gold));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 4s linear infinite;
  margin-top: 1rem;
}

@keyframes shimmer {
  to { background-position: 200% center; }
}

/* Featured Post */
.post {
  background:
    radial-gradient(ellipse 50% 60% at 50% 0%, rgba(243, 186, 47, 0.1), transparent),
    var(--deep-black);
}

.post .section-title {
  margin-bottom: 2.5rem;
}

.post-card {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  padding: 1.25rem;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(28, 28, 28, 0.95), rgba(14, 14, 14, 0.98));
  border: 1px solid var(--border);
  overflow: hidden;
}

.post-glow {
  position: absolute;
  inset: -2px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(243, 186, 47, 0.45), transparent 40%, rgba(243, 186, 47, 0.25));
  z-index: -1;
  animation: postGlow 4s ease-in-out infinite alternate;
  filter: blur(10px);
  opacity: 0.7;
}

@keyframes postGlow {
  from { opacity: 0.45; }
  to { opacity: 0.85; }
}

.post-card .twitter-tweet,
.post-card iframe,
.post-card twitter-widget {
  margin: 0 auto !important;
  max-width: 100% !important;
}

.post-card > .twitter-tweet {
  min-width: 0 !important;
  width: 100% !important;
}

.post-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

/* Gallery */
.gallery {
  background: var(--charcoal);
  border-top: 1px solid rgba(243, 186, 47, 0.08);
  border-bottom: 1px solid rgba(243, 186, 47, 0.08);
}

.gallery-stage {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  margin-top: 0.5rem;
}

.gallery-viewport {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--deep-black);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(243, 186, 47, 0.08);
  outline: none;
  perspective: 1000px;
  touch-action: pan-y;
}

.gallery-track {
  display: flex;
  transition: transform 0.55s var(--ease);
  will-change: transform;
  width: 100%;
}

.gallery-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  margin: 0;
  position: relative;
  transform: scale(0.96);
  opacity: 0.65;
  transition: transform 0.55s var(--ease), opacity 0.55s;
}

.gallery-slide.is-active {
  transform: scale(1);
  opacity: 1;
}

.gallery-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.gallery-slide.is-active:hover img {
  transform: scale(1.03);
}

.gallery-slide figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--soft-cream);
}

.gallery-nav {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(243, 186, 47, 0.1);
  border: 1px solid var(--border);
  color: var(--bnb-yellow);
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
  flex-shrink: 0;
}

.gallery-nav:hover {
  background: rgba(243, 186, 47, 0.22);
  border-color: var(--bnb-yellow);
  transform: scale(1.06);
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.35rem;
}

.gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(243, 186, 47, 0.25);
  border: none;
  transition: transform 0.2s, background 0.2s;
}

.gallery-dot.is-active {
  background: var(--bnb-yellow);
  transform: scale(1.25);
  box-shadow: 0 0 12px rgba(243, 186, 47, 0.5);
}

/* Token */
.token-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2.25rem 0 2rem;
}

.token-card {
  padding: 1.4rem 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(28, 28, 28, 0.9), rgba(14, 14, 14, 0.95));
  border: 1px solid var(--border);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.token-card:hover {
  border-color: rgba(243, 186, 47, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3), 0 0 24px rgba(243, 186, 47, 0.08);
}

.token-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.token-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--soft-cream);
}

.token-ca {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.05rem;
  color: var(--bnb-yellow);
  word-break: break-all;
}

.token-ca-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.token-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* How to Buy */
.howtobuy {
  background:
    radial-gradient(ellipse 70% 40% at 50% 100%, rgba(243, 186, 47, 0.07), transparent),
    var(--deep-black);
}

.buy-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
  counter-reset: none;
}

.buy-step {
  position: relative;
  padding: 1.6rem 1.35rem;
  border-radius: var(--radius);
  background: rgba(20, 20, 20, 0.8);
  border: 1px solid var(--border);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.buy-step:hover {
  border-color: rgba(243, 186, 47, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.buy-num {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: rgba(243, 186, 47, 0.28);
  margin-bottom: 0.75rem;
  line-height: 1;
}

.buy-icon {
  color: var(--bnb-yellow);
  margin-bottom: 1rem;
}

.buy-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--soft-cream);
  margin-bottom: 0.5rem;
}

.buy-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.buy-text a {
  color: var(--bnb-yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.buy-text code {
  color: var(--bnb-yellow);
  font-size: 0.85em;
}

/* CTA */
.cta {
  padding: clamp(5rem, 12vw, 8rem) 0;
  overflow: hidden;
  background: linear-gradient(135deg, #c98a1a, var(--bnb-yellow) 40%, var(--warm-gold) 70%, #e8a317);
  position: relative;
}

.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.cta-pattern {
  position: absolute;
  inset: -20%;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: gridDrift 20s linear infinite;
  opacity: 0.7;
}

.bnb-shape-cta-1,
.bnb-shape-cta-2,
.bnb-shape-cta-3 {
  opacity: 0.2;
  background: linear-gradient(135deg, #fff6e0, #fff);
  filter: none;
}

.bnb-shape-cta-1 { top: 15%; left: 8%; width: 64px; height: 64px; }
.bnb-shape-cta-2 { top: 55%; right: 10%; width: 44px; height: 44px; animation-delay: -4s; }
.bnb-shape-cta-3 { bottom: 20%; left: 30%; width: 32px; height: 32px; animation-delay: -8s; }

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-title {
  font-size: clamp(1.7rem, 4.5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--deep-black);
  margin-bottom: 1rem;
}

.cta-tagline {
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 800;
  color: rgba(10, 10, 10, 0.72);
  margin-bottom: 2rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0;
  background: var(--deep-black);
  border-top: 1px solid rgba(243, 186, 47, 0.12);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-brand {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--soft-cream);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--bnb-yellow);
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--bnb-yellow);
  font-weight: 700;
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--warm-gold), var(--bnb-gold));
  color: var(--deep-black);
  box-shadow: 0 8px 28px rgba(243, 186, 47, 0.35);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
}

/* Animations / Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal[data-reveal="slide-left"] {
  transform: translateX(-40px);
}

.reveal[data-reveal="slide-right"] {
  transform: translateX(40px);
}

.reveal[data-reveal="scale-in"] {
  transform: scale(0.92);
}

.reveal[data-reveal="slide-left"].is-visible,
.reveal[data-reveal="slide-right"].is-visible,
.reveal[data-reveal="scale-in"].is-visible {
  transform: none;
}

/* Stagger helpers via JS delay inline styles */

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-headline,
  .hero-support {
    margin-inline: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .ca-box {
    justify-content: center;
    margin-inline: auto;
  }

  .hero-visual {
    order: -1;
  }

  .hero-mascot {
    width: min(100%, 420px);
  }

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

  .about-zh {
    flex-direction: row;
    justify-content: center;
    gap: 0.25rem;
  }

  .about-zh-char {
    font-size: clamp(4.5rem, 22vw, 7rem);
  }

  .about-text {
    margin-inline: auto;
  }

  .about-eq {
    margin-inline: auto;
  }

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

  .story-flow {
    text-align: center;
  }

  .story-traits {
    justify-content: center;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: grid;
  }

  .nav-menu {
    position: fixed;
    inset: 0;
    padding: calc(var(--nav-h) + 1.5rem) 1.5rem 2rem;
    flex-direction: column;
    align-items: stretch;
    gap: 2rem;
    background: rgba(10, 10, 10, 0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.35s var(--ease), visibility 0.35s, transform 0.35s var(--ease);
    z-index: 1001;
  }

  .nav-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .nav-link {
    font-size: 1.25rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
  }

  .nav-link.is-active::after {
    display: none;
  }

  .nav-link.is-active {
    background: rgba(243, 186, 47, 0.1);
  }

  .nav-actions {
    flex-direction: column;
  }

  .nav-actions .btn {
    width: 100%;
  }

  .cursor-halo {
    display: none !important;
  }
}

@media (max-width: 640px) {
  :root {
    --nav-h: 64px;
  }

  .hero {
    padding-top: calc(var(--nav-h) + 1.25rem);
    padding-bottom: 3.5rem;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .hero-mascot {
    border-radius: 20px;
  }

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

  .buy-steps {
    grid-template-columns: 1fr;
  }

  .gallery-stage {
    position: relative;
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 40px;
    height: 40px;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(8px);
  }

  .gallery-prev {
    left: 0.65rem;
  }

  .gallery-next {
    right: 0.65rem;
  }

  .gallery-nav:hover {
    transform: translateY(-50%) scale(1.06);
  }

  .token-actions {
    flex-direction: column;
  }

  .token-actions .btn {
    width: 100%;
  }

  .cta-actions {
    flex-direction: column;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .scroll-hint {
    display: none;
  }

  .post-card {
    padding: 0.75rem;
  }

  .ca-box {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .hero-name {
    font-size: 2.2rem;
  }

  .nav-brand-text {
    font-size: 0.95rem;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .float-mascot,
  .story-mascot {
    animation: none;
  }

  .page-loader {
    display: none;
  }
}

/* Touch devices: simplify hero motion via body class */
body.is-touch .hero-grid {
  animation: none;
}

body.is-touch .float-mascot {
  animation-duration: 8s;
}

body.is-touch .cursor-halo {
  display: none !important;
}
