@import url('https://fonts.googleapis.com/css2?family=Anton&family=Manrope:wght@400;600;700;800&display=swap');

:root {
  --ink: #090a0d;
  --ink-soft: #121318;
  --honey: #ffc928;
  --honey-bright: #ffe170;
  --cream: #fff8e7;
  --muted: #b8b4a9;
  --line: rgba(255, 201, 40, 0.22);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  color: var(--cream);
  background:
    radial-gradient(circle at 80% 8%, rgba(255, 185, 31, 0.08), transparent 26rem),
    var(--ink);
  font-family: "Manrope", system-ui, sans-serif;
  overflow-x: hidden;
}
button, a { font: inherit; }
a { color: inherit; }
button { color: inherit; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  padding: .75rem 1rem;
  color: var(--ink);
  background: var(--honey);
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 10, 13, 0.82);
  backdrop-filter: blur(18px) saturate(130%);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  color: var(--cream);
  font-weight: 800;
  letter-spacing: -.03em;
  text-decoration: none;
}
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 201, 40, .55);
}
.site-header nav { display: flex; align-items: center; gap: .9rem; }
.site-header nav a {
  color: var(--muted);
  font-size: .9rem;
  text-decoration: none;
}
.site-header nav a:hover { color: var(--cream); }
.wallet-button {
  min-height: 44px;
  padding: 0 1.1rem;
  border: 1px solid var(--honey);
  border-radius: 999px;
  background: var(--honey);
  color: #111;
  font-weight: 800;
  cursor: pointer;
}
.wallet-button:hover { background: var(--honey-bright); }
.wallet-button:disabled { opacity: .65; cursor: wait; }
.wallet-button.connected { background: transparent; color: var(--honey); }
.wallet-control { position: relative; }
.wallet-picker {
  position: absolute;
  z-index: 80;
  top: calc(100% + .7rem);
  right: 0;
  width: min(290px, calc(100vw - 32px));
  padding: .55rem;
  border: 1px solid rgba(255, 201, 40, .34);
  border-radius: 16px;
  background: rgba(15, 16, 20, .98);
  box-shadow: 0 18px 50px rgba(0,0,0,.48);
}
.wallet-picker button {
  display: grid;
  width: 100%;
  min-height: 58px;
  padding: .7rem .85rem;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--cream);
  text-align: left;
  cursor: pointer;
}
.wallet-picker button:hover, .wallet-picker button:focus-visible { background: rgba(255, 201, 40, .1); }
.wallet-picker strong { font-size: .86rem; }
.wallet-picker span { margin-top: .15rem; color: var(--muted); font-size: .7rem; }

main { display: block; }
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, .98fr);
  align-items: center;
  min-height: calc(100svh - 78px);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 8rem) 24px;
  gap: clamp(2rem, 7vw, 7rem);
}
.honey-glow {
  position: absolute;
  z-index: -1;
  right: 0;
  top: -16%;
  width: min(860px, 78vw);
  aspect-ratio: 1;
  opacity: .22;
  filter: blur(28px) saturate(.75);
  background:
    linear-gradient(90deg, var(--ink) 0%, transparent 40%, var(--ink) 100%),
    url('/assets/x1bees-logo.jpg') center / cover;
  border-radius: 50%;
  mask-image: radial-gradient(circle, black 12%, rgba(0,0,0,.7) 40%, transparent 73%);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 1.2rem;
  color: var(--honey);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .18em;
}
.eyebrow span { width: 24px; height: 1px; background: currentColor; }
h1, h2 {
  margin: 0;
  font-family: "Anton", Impact, sans-serif;
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: .88;
}
h1 { font-size: clamp(4.2rem, 7vw, 7.2rem); }
h2 { font-size: clamp(3.2rem, 6vw, 6rem); }
.lead {
  max-width: 660px;
  margin: 1.8rem 0 0;
  color: #d2cec3;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.primary-action, .sound-action {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.35rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}
.primary-action { color: #111; background: var(--honey); border: 1px solid var(--honey); }
.primary-action:hover { background: var(--honey-bright); }
.primary-action span { margin-left: .8rem; }
.sound-action { border: 1px solid rgba(255,255,255,.2); background: transparent; cursor: pointer; }
.sound-action:hover { border-color: var(--honey); color: var(--honey); }
.wallet-extension-link {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  max-width: 100%;
  margin-top: .8rem;
  padding: .42rem .7rem;
  border: 1px solid rgba(168,145,255,.28);
  border-radius: 999px;
  background: rgba(18,14,34,.58);
  color: #bdb7ca;
  font-size: .66rem;
  font-weight: 750;
  letter-spacing: .06em;
  line-height: 1.2;
  text-decoration: none;
}
.wallet-extension-link span { display:grid; place-items:center; width:1.5rem; height:1.1rem; border-radius:4px; background:#7654db; color:#fff; font-size:.55rem; }
.wallet-extension-link strong { color:#f1edff; }
.wallet-extension-link:hover { border-color:#b9a9ff; color:#fff; background:rgba(35,25,66,.72); }
.contract-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  max-width: 680px;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.12);
  gap: .8rem;
}
.contract-line span { color: var(--muted); font-size: .78rem; }
.contract-line code {
  overflow: hidden;
  color: #e2ded3;
  font: 600 .77rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-overflow: ellipsis;
}
.contract-line button {
  padding: .45rem .75rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: var(--cream);
  cursor: pointer;
}

.hero-media {
  position: relative;
  width: 100%;
  max-width: 570px;
  justify-self: end;
  aspect-ratio: 1;
}
.hero-media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(255,201,40,.38);
  box-shadow: 0 0 0 12px rgba(255,201,40,.025), 0 40px 120px rgba(0,0,0,.65);
}
.media-note {
  position: absolute;
  left: 50%;
  bottom: 7%;
  transform: translateX(-50%);
  margin: 0;
  padding: .55rem .9rem;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(9,10,13,.76);
  color: #ddd7c8;
  font-size: .75rem;
  white-space: nowrap;
  backdrop-filter: blur(10px);
  transition: opacity .35s ease;
}
.media-orbit span {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--honey);
  box-shadow: 0 0 14px var(--honey);
  opacity: 0;
}
.hero-media.awake .media-orbit span { animation: swarm 3.2s ease-in-out infinite; }
body.honeybound-active .hero-media *,
body.honeybound-active .live-dot { animation-play-state: paused !important; }
.hero-media.awake .media-orbit span:nth-child(1) { top: 12%; left: 8%; }
.hero-media.awake .media-orbit span:nth-child(2) { top: 25%; right: 2%; animation-delay: .7s; }
.hero-media.awake .media-orbit span:nth-child(3) { bottom: 10%; left: 20%; animation-delay: 1.3s; }
@keyframes swarm {
  0%, 100% { opacity: 0; transform: translate(0, 20px) scale(.7); }
  35%, 65% { opacity: 1; }
  50% { transform: translate(24px, -24px) scale(1); }
}

.swap-section {
  position: relative;
  padding: clamp(5rem, 9vw, 9rem) max(24px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(9,10,13,.86), rgba(9,10,13,.98)),
    url('/assets/x1bees-logo.jpg') 100% 20% / 760px auto no-repeat;
}
.swap-intro {
  display: grid;
  grid-template-columns: 1fr .7fr;
  align-items: end;
  gap: 4rem;
  margin-bottom: 2.5rem;
}
.swap-intro > p {
  margin: 0 0 .25rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}
.xdex-wallet-handoff {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.35rem 0;
  border-top: 1px solid rgba(255, 201, 40, .42);
  border-bottom: 1px solid rgba(255, 201, 40, .42);
}
.xdex-wallet-handoff strong { color: var(--cream); font-size: 1rem; }
.xdex-wallet-handoff p { margin: .35rem 0 0; color: var(--muted); font-size: .8rem; line-height: 1.55; }
.xdex-wallet-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.1rem;
  border: 1px solid var(--honey);
  border-radius: 999px;
  background: var(--honey);
  color: #111;
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.xdex-wallet-action:hover, .xdex-wallet-action:focus-visible { background: var(--honey-bright); }
.swap-note { margin: 1rem 0 0; color: #817e76; font-size: .74rem; line-height: 1.5; }

.honeybound-section {
  position: relative;
  padding: clamp(5rem, 9vw, 9rem) max(24px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(9,10,13,.91), rgba(9,10,13,.99)),
    url('/assets/x1-bees-mascot.png') 8% 24% / min(580px, 52vw) auto no-repeat;
}
.honeybound-intro {
  display: grid;
  grid-template-columns: 1fr .7fr;
  align-items: end;
  gap: 4rem;
  margin-bottom: 2.5rem;
}
.honeybound-intro > p {
  margin: 0 0 .25rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}
.honeybound-intro strong { color: var(--cream); }
.burn-total {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(230px, .55fr);
  align-items: center;
  gap: clamp(1.1rem, 2.5vw, 2.4rem);
  margin: 0 0 2.25rem;
  padding: clamp(1.25rem, 2.5vw, 2rem) 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 146, 44, .68);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  background: radial-gradient(circle at 12% 50%, rgba(255, 108, 27, .12), transparent 28%);
}
.burn-total::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 201, 40, .54), transparent);
}
.burn-total-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(48px, 5.6vw, 68px);
  min-width: 48px;
}
.burn-total-flame {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 0 7px rgba(255, 81, 20, .82)) drop-shadow(0 0 18px rgba(255, 137, 31, .35));
}
.burn-total-flame .flame-outer {
  transform-origin: 50% 88%;
  animation: burnFlameBreathe 2.8s ease-in-out infinite;
}
.burn-total-flame .flame-ember {
  filter: drop-shadow(0 0 4px rgba(255, 236, 123, .75));
}
.burn-total-copy > span {
  display: block;
  margin-bottom: .25rem;
  color: #ff9c4a;
  font-size: .67rem;
  font-weight: 900;
  letter-spacing: .18em;
}
.burn-total-value {
  display: block;
  color: var(--cream);
  font-family: "Anton", sans-serif;
  font-size: clamp(3.5rem, 7.4vw, 7.4rem);
  font-variant-numeric: tabular-nums;
  font-weight: 400;
  line-height: .96;
  letter-spacing: .01em;
  text-shadow: 0 0 32px rgba(255, 153, 52, .15);
}
.burn-total-proof {
  display: grid;
  gap: .42rem;
  padding-left: clamp(1rem, 2vw, 2rem);
  border-left: 1px solid rgba(255, 201, 40, .28);
}
.burn-total-proof strong { color: var(--honey); font-size: .82rem; letter-spacing: .14em; }
.burn-total-proof span { color: var(--cream); font-size: .76rem; line-height: 1.45; }
.burn-total-proof small { color: #817e76; font-size: .68rem; line-height: 1.55; }
.honeybound-stage {
  position: relative;
  min-height: clamp(520px, 66vw, 820px);
  overflow: hidden;
  border-top: 1px solid rgba(255,201,40,.45);
  border-bottom: 1px solid rgba(255,255,255,.13);
  background: #0c0d11;
}
.honeybound-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 42%, rgba(255,201,40,.18), transparent 28%),
    linear-gradient(120deg, rgba(255,201,40,.045), transparent 52%);
}
.honeybound-launch {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(150px, 240px) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(2rem, 5vw, 5rem);
}
.honeybound-launch img {
  width: 100%;
  max-height: 330px;
  object-fit: contain;
  filter: drop-shadow(0 24px 50px rgba(0,0,0,.55)) drop-shadow(0 0 28px rgba(255,201,40,.15));
}
.honeybound-launch span {
  display: block;
  margin-bottom: .7rem;
  color: var(--honey);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .2em;
}
.honeybound-launch strong {
  display: block;
  max-width: 650px;
  font-family: "Anton", sans-serif;
  font-size: clamp(2.7rem, 5vw, 5.3rem);
  font-weight: 400;
  line-height: .96;
  letter-spacing: .01em;
}
.honeybound-launch p { max-width: 620px; color: var(--muted); line-height: 1.65; }
#playHoneybound {
  min-height: 50px;
  padding: 0 1.35rem;
  border: 1px solid var(--honey);
  border-radius: 999px;
  background: var(--honey);
  color: #111;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}
#playHoneybound:hover, #playHoneybound:focus-visible { background: var(--honey-bright); }
#honeyboundFrame {
  display: none;
  width: 100%;
  height: clamp(720px, 70vw, 900px);
  border: 0;
  background: #100d0a;
}
#honeyboundFrame.active { display: block; }
.honeybound-notes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem 1.4rem;
  padding-top: 1rem;
  color: #817e76;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
}
.honeybound-notes a { margin-left: auto; color: var(--honey); text-decoration: none; }

.activity-section {
  position: relative;
  display: grid;
  grid-template-columns: 150px minmax(220px,.8fr) minmax(360px,1.35fr);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(5rem,9vw,9rem) 24px;
  gap: clamp(2rem,4vw,4rem);
}
.activity-bee { width:100%; height:auto; filter:drop-shadow(0 22px 42px rgba(0,0,0,.5)) drop-shadow(0 0 22px rgba(255,201,40,.12)); }
.activity-copy p:not(.eyebrow) { max-width:540px; color:var(--muted); line-height:1.7; }
.motion-word {
  position: relative;
  display: inline-block;
  color: var(--honey);
  transform-origin: center;
  animation: hiveMotionWord 1.7s cubic-bezier(.45,0,.2,1) infinite;
}
.motion-word::after {
  content: "";
  position: absolute;
  top: 51%;
  right: calc(100% + .08em);
  width: .52em;
  height: .055em;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255,201,40,.82));
  box-shadow: 0 -.14em 0 rgba(255,201,40,.34), 0 .14em 0 rgba(255,201,40,.2);
  animation: hiveMotionTrail 1.7s cubic-bezier(.45,0,.2,1) infinite;
}
.activity-panel { min-width:0; border-top:1px solid rgba(255,201,40,.38); border-bottom:1px solid rgba(255,255,255,.14); }
.activity-panel-head { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:.7rem; padding:.85rem .15rem; color:var(--cream); }
.activity-panel-head strong { font-size:.72rem; letter-spacing:.12em; }
.activity-panel-head > span:last-child { color:#89857b; font-size:.68rem; text-align:right; }
.live-dot { width:8px; height:8px; border-radius:50%; background:var(--honey); box-shadow:0 0 0 4px rgba(255,201,40,.08),0 0 16px rgba(255,201,40,.72); animation:livePulse 2s ease-in-out infinite; }
.activity-feed { display:grid; }
.activity-loading,.activity-empty { padding:1.25rem .15rem; color:var(--muted); font-size:.82rem; }
.activity-item { display:grid; grid-template-columns:auto 1fr auto; gap:.85rem; align-items:center; min-width:0; padding:1rem .15rem; border-top:1px solid rgba(255,255,255,.09); color:var(--cream); text-decoration:none; transition:background .18s ease,color .18s ease,padding .18s ease; }
.activity-item:hover,.activity-item:focus-visible { padding-left:.6rem; padding-right:.6rem; background:rgba(255,201,40,.07); color:var(--honey-bright); outline:none; }
.activity-icon { display:grid; place-items:center; width:34px; height:34px; border:1px solid rgba(255,201,40,.28); border-radius:50%; color:var(--honey); font-size:.92rem; font-weight:900; }
.activity-item.burn .activity-icon {
  width: 42px;
  height: 42px;
  border-color: rgba(255,126,42,.72);
  background: radial-gradient(circle, rgba(255,126,42,.22), rgba(255,72,22,.07));
  box-shadow: 0 0 18px rgba(255,102,32,.2);
  color: #ff9c4a;
  font-size: 1.45rem;
}
.activity-item.burn .activity-main strong::before {
  content: "BURN";
  display: inline-block;
  margin-right: .5rem;
  padding: .18rem .38rem;
  border: 1px solid rgba(255,126,42,.56);
  border-radius: 999px;
  background: rgba(255,92,28,.12);
  color: #ff9c4a;
  font-size: .55rem;
  letter-spacing: .12em;
  vertical-align: .12rem;
}
.activity-main { min-width:0; }
.activity-main strong,.activity-main span { display:block; }
.activity-main strong { font-size:.88rem; }
.activity-main span { margin-top:.2rem; overflow:hidden; color:var(--muted); font-size:.72rem; text-overflow:ellipsis; white-space:nowrap; }
.activity-amount { color:var(--honey); font-size:.82rem; font-weight:900; text-align:right; white-space:nowrap; }
.activity-amount small { display:block; margin-top:.18rem; color:#77736b; font-size:.62rem; font-weight:600; }
.beederboard-panel { grid-column:1 / -1; min-width:0; margin-top:clamp(1rem,2vw,2rem); padding:clamp(1.25rem,2.5vw,2rem); border:1px solid rgba(255,201,40,.25); background:linear-gradient(145deg,rgba(255,201,40,.055),rgba(255,255,255,.018)); box-shadow:0 24px 70px rgba(0,0,0,.22); }
.beederboard-head { display:flex; align-items:end; justify-content:space-between; gap:1.5rem; padding-bottom:1.2rem; border-bottom:1px solid rgba(255,255,255,.11); }
.beederboard-head .eyebrow { margin-bottom:.55rem; }
.beederboard-head h3 { margin:0; color:var(--cream); font-family:"Anton",sans-serif; font-size:clamp(2.2rem,5vw,4.5rem); font-weight:400; letter-spacing:.035em; line-height:1; }
.beederboard-head h3::first-letter { color:var(--honey); }
.beederboard-head p:not(.eyebrow) { max-width:650px; margin:.6rem 0 0; color:var(--muted); font-size:.8rem; line-height:1.55; }
#beederboardFreshness { flex:0 0 auto; color:#89857b; font-size:.68rem; text-align:right; }
.beederboard-table-wrap { overflow-x:auto; }
.beederboard-table { width:100%; border-collapse:collapse; font-variant-numeric:tabular-nums; }
.beederboard-table th,.beederboard-table td { padding:1rem .75rem; border-bottom:1px solid rgba(255,255,255,.085); text-align:right; white-space:nowrap; }
.beederboard-table th { color:#89857b; font-size:.61rem; font-weight:900; letter-spacing:.13em; text-transform:uppercase; }
.beederboard-table th:nth-child(2),.beederboard-table td:nth-child(2) { text-align:left; }
.beederboard-table td { color:var(--cream); font-size:.82rem; }
.beederboard-table td:first-child { width:52px; color:#77736b; font-weight:900; }
.beederboard-table tbody tr:first-child td { color:var(--honey-bright); }
.beederboard-table tbody tr:last-child td { border-bottom:0; }
.beederboard-address { color:var(--cream); font-family:ui-monospace,SFMono-Regular,Menlo,monospace; text-decoration:none; }
.beederboard-address:hover,.beederboard-address:focus-visible { color:var(--honey); outline:none; }
.beederboard-wave { color:var(--honey); font-weight:900; }
.beederboard-burn { color:#ff9c4a; font-weight:900; }
.activity-toast { position:fixed; z-index:110; right:22px; bottom:22px; display:grid; grid-template-columns:54px minmax(0,1fr) auto; align-items:center; gap:.85rem; width:min(430px,calc(100vw - 32px)); padding:.85rem 1rem; border:1px solid rgba(255,255,255,.56); border-radius:18px; background:linear-gradient(135deg,#ffe15c 0%,#ffc928 62%,#f1b900 100%); box-shadow:0 22px 70px rgba(0,0,0,.52),0 0 38px rgba(255,201,40,.26); color:#17130a; text-decoration:none; transform:translateX(calc(100% + 46px)); opacity:0; pointer-events:none; transition:transform .5s cubic-bezier(.2,.9,.2,1),opacity .3s ease; }
.activity-toast[hidden] { display:none; }
.activity-toast.show { transform:translateX(0); opacity:1; pointer-events:auto; }
.activity-toast img { width:54px; height:54px; object-fit:contain; filter:drop-shadow(0 5px 7px rgba(0,0,0,.22)); }
.activity-toast-copy { min-width:0; }
.activity-toast-copy small,.activity-toast-copy strong,.activity-toast-copy > span { display:block; }
.activity-toast-copy small { font-size:.58rem; font-weight:900; letter-spacing:.15em; }
.activity-toast-copy strong { margin:.08rem 0; font-size:1rem; }
.activity-toast-copy > span { overflow:hidden; font-size:.72rem; text-overflow:ellipsis; white-space:nowrap; }
.activity-toast-open { font-size:.63rem; font-weight:900; letter-spacing:.08em; white-space:nowrap; }
@keyframes burnPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.08); color: #ffdd00; }
  100% { transform: scale(1); }
}
@keyframes livePulse { 50% { opacity:.48; transform:scale(.78); } }
@keyframes hiveMotionWord {
  0%, 100% { transform: translateX(0) skewX(-5deg); text-shadow: -.055em 0 rgba(255,201,40,.18); }
  50% { transform: translateX(.13em) skewX(-10deg); text-shadow: -.13em 0 rgba(255,201,40,.38); }
}
@keyframes hiveMotionTrail {
  0%, 100% { opacity:.25; transform:scaleX(.62); transform-origin:right; }
  50% { opacity:1; transform:scaleX(1); transform-origin:right; }
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 150px;
  padding: 2rem max(24px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  color: var(--muted);
  gap: 2rem;
}
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-telegram {
  color: var(--cream);
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
}
.footer-telegram:hover, .footer-telegram:focus-visible { color: var(--honey); }
.footer-links { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 0; }
.footer-links a {
  padding: .35rem .9rem;
  border-left: 1px solid rgba(255,255,255,.14);
  color: var(--cream);
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
}
.footer-links a:first-child { border-left: 0; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--honey); }
.toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  padding: .75rem 1rem;
  border: 1px solid rgba(255,201,40,.32);
  border-radius: 999px;
  background: rgba(13,14,18,.94);
  color: var(--cream);
  font-size: .8rem;
  opacity: 0;
  pointer-events: none;
  transition: .25s ease;
  backdrop-filter: blur(12px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 4rem; }
  .hero-media { max-width: 580px; justify-self: center; }
  .swap-intro { grid-template-columns: 1fr; gap: 1.5rem; }
  .honeybound-intro { grid-template-columns: 1fr; gap: 1.5rem; }
  .burn-total { grid-template-columns: auto minmax(0, 1fr); }
  .burn-total-proof { grid-column: 2; padding-left: 0; border-left: 0; }
  .honeybound-launch { grid-template-columns: 140px minmax(0, 1fr); }
  #playHoneybound { grid-column: 2; justify-self: start; }
  .activity-section { grid-template-columns:110px 1fr; }
  .activity-panel { grid-column:1 / -1; }
}
@media (max-width: 620px) {
  .site-header { min-height: 68px; padding: 0 16px; }
  .brand img { width: 38px; height: 38px; }
  .site-header nav > a:first-child { display:none; }
  .site-header nav > a:nth-child(n+3) { display:none; }
  .hero { min-height: auto; padding: 3.5rem 18px 5rem; gap: 3rem; overflow: hidden; }
  .hero > * { min-width: 0; max-width: 100%; }
  h1 { font-size: clamp(4rem, 20vw, 6.2rem); }
  h2 { font-size: clamp(3.2rem, 16vw, 5rem); }
  .lead { font-size: 1rem; }
  .hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .hero-actions .primary-action { box-sizing: border-box; width: 100%; min-width: 0; padding-inline: .9rem; }
  .hero-actions .sound-action { box-sizing: border-box; grid-column: 1 / -1; width: 100%; min-width: 0; }
  .contract-line { grid-template-columns: auto 1fr; }
  .contract-line code { grid-column: 1 / -1; grid-row: 2; }
  .contract-line button { grid-column: 2; grid-row: 1; justify-self: end; }
  .swap-section { padding: 5rem 14px; background-size: 520px auto; }
  .xdex-wallet-handoff { grid-template-columns: 1fr; gap: 1rem; padding: 1.25rem 0; }
  .xdex-wallet-action { width: 100%; }
  .honeybound-section { padding: 5rem 14px; background-size: 420px auto; }
  .burn-total { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .burn-total-mark { width: 54px; }
  .burn-total-proof { grid-column: 1; justify-items: center; max-width: 300px; }
  .burn-total-value { font-size: clamp(3.5rem, 18vw, 5.3rem); }
  .honeybound-stage { min-height: 650px; }
  .honeybound-launch { grid-template-columns: 1fr; align-content: center; text-align: center; }
  .honeybound-launch img { width: 130px; justify-self: center; }
  .honeybound-launch p { margin-inline: auto; }
  #playHoneybound { grid-column: 1; justify-self: stretch; width: 100%; }
  .honeybound-notes { align-items: flex-start; flex-direction: column; }
  .honeybound-notes a { margin-left: 0; }
  .activity-section { grid-template-columns:68px 1fr; padding:5rem 18px; gap:1.2rem; }
  .activity-copy .eyebrow { margin-bottom:.8rem; }
  .activity-copy h2 { font-size:clamp(2.7rem,12vw,4rem); }
  .activity-copy p:not(.eyebrow) { grid-column:1 / -1; }
  .activity-panel-head { grid-template-columns:auto 1fr; }
  .activity-panel-head > span:last-child { grid-column:2; text-align:left; }
  .activity-item { grid-template-columns:auto minmax(0,1fr); }
  .activity-amount { grid-column:2; text-align:left; }
  .beederboard-panel { padding:1rem .75rem; }
  .beederboard-head { align-items:flex-start; flex-direction:column; gap:.75rem; }
  #beederboardFreshness { text-align:left; }
  .beederboard-table th,.beederboard-table td { padding:.85rem .55rem; }
  .beederboard-table th:first-child,.beederboard-table td:first-child { width:34px; padding-left:.2rem; }
  .activity-toast { left:16px; right:16px; bottom:max(16px,env(safe-area-inset-bottom)); width:auto; grid-template-columns:46px minmax(0,1fr); }
  .activity-toast img { width:46px; height:46px; }
  .activity-toast-open { display:none; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 1.25rem; padding: 2rem 18px; }
  .footer-links { justify-content: flex-start; width: 100%; }
  .footer-links a { padding: .5rem .75rem; }
  .footer-links a:first-child { padding-left: 0; }
}
@keyframes burnFlameBreathe {
  0%, 100% { transform: scaleX(1) scaleY(1); }
  48% { transform: scaleX(.965) scaleY(1.035); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
