@font-face {
  font-family: "TakeoverOnly";
  src: url("assets/fonts/Takeover.ttf") format("truetype");
  font-display: swap;
}

:root {
  --bg: #080907;
  --bg-deep: #020302;
  --surface: #11140d;
  --surface-strong: #1b2012;
  --ink: #fff7d0;
  --muted: #d5c995;
  --gold: #ffd338;
  --gold-deep: #b87706;
  --green: #b8ff18;
  --green-deep: #1f7d18;
  --red: #d94943;
  --wood: #8a5431;
  --black-line: #050604;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
  --radius: 8px;
  --font-display: "TakeoverOnly", fantasy;
  --font-body: "TakeoverOnly", fantasy;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 211, 56, 0.12), transparent 28rem),
    linear-gradient(180deg, var(--bg), var(--bg-deep) 55%, #0b0d08);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
}

.coin-rain {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.falling-coin {
  position: absolute;
  top: -130px;
  left: var(--coin-x, 50%);
  width: var(--coin-size, 58px);
  opacity: var(--coin-opacity, 0.52);
  filter: drop-shadow(4px 5px 0 rgba(0, 0, 0, 0.32));
  transform: translate3d(0, -150px, 0) rotate(var(--coin-start, -18deg));
  animation: coin-fall var(--coin-duration, 13s) linear var(--coin-delay, 0s) infinite;
  will-change: transform;
}

.falling-coin:nth-child(2n) {
  animation-name: coin-fall-drift;
}

.falling-coin:nth-child(3n) {
  opacity: calc(var(--coin-opacity, 0.52) + 0.08);
}

button,
input,
textarea,
select {
  font-family: var(--font-body);
}

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

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

.site-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 50%;
  width: min(1180px, calc(100% - 28px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
  padding: 10px 12px;
  border: 3px solid var(--black-line);
  border-radius: var(--radius);
  background: rgba(8, 9, 7, 0.78);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(12px);
}

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

.brand-token {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 3px solid var(--black-line);
  border-radius: 50%;
  color: #071006;
  background: linear-gradient(135deg, var(--gold), #fff096 48%, var(--gold-deep));
  font-family: var(--font-display);
  font-size: 20px;
  box-shadow: inset -3px -4px 0 rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.brand-token img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  object-position: center 42%;
  transform: scale(1.35);
}

.brand-mark strong,
.ticker,
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-mark strong {
  display: block;
  font-size: 16px;
  line-height: 1;
}

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

.nav-links a,
.mobile-nav a {
  padding: 10px 12px;
  border: 2px solid rgba(255, 211, 56, 0.28);
  border-radius: 6px;
  color: var(--muted);
  background: rgba(8, 16, 7, 0.42);
  font-weight: 800;
}

.nav-links a:hover,
.mobile-nav a:hover {
  color: var(--ink);
  background: rgba(255, 211, 56, 0.13);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 3px solid var(--black-line);
  border-radius: 6px;
  background: var(--gold);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 3px;
  margin: 4px auto;
  border-radius: 999px;
  background: #111107;
}

.mobile-nav {
  position: fixed;
  z-index: 19;
  top: 78px;
  left: 14px;
  right: 14px;
  display: none;
  padding: 8px;
  border: 3px solid var(--black-line);
  border-radius: var(--radius);
  background: rgba(10, 13, 8, 0.96);
  box-shadow: 7px 7px 0 rgba(0, 0, 0, 0.38);
}

.mobile-nav.is-open {
  display: grid;
  gap: 2px;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  grid-template-areas:
    "content emblem"
    "content panel";
  align-items: end;
  gap: 28px;
  padding: 132px max(24px, calc((100vw - 1180px) / 2)) 64px;
  isolation: isolate;
}

.hero-bg,
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg {
  background-image: url("assets/images/goblin-gold-cavern.png");
  background-size: cover;
  background-position: center;
  filter: saturate(1.1) contrast(1.08);
}

.hero-scrim {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 3, 2, 0.92), rgba(2, 3, 2, 0.5) 45%, rgba(2, 3, 2, 0.16)),
    linear-gradient(180deg, rgba(2, 3, 2, 0.72), transparent 38%, rgba(8, 9, 7, 0.98));
}

.hero-content {
  grid-area: content;
  max-width: 730px;
  padding: 0 0 24px;
}

.hero-emblem {
  grid-area: emblem;
  align-self: start;
  justify-self: end;
  width: min(30vw, 350px);
  margin-top: 32px;
  margin-right: 26px;
  padding: 0;
}

.hero-emblem img {
  width: 100%;
  filter: drop-shadow(7px 8px 0 rgba(0, 0, 0, 0.42));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  margin: 0;
  color: var(--gold);
  font-size: clamp(66px, 11vw, 158px);
  line-height: 0.98;
  text-shadow:
    5px 5px 0 var(--black-line),
    10px 10px 0 rgba(184, 255, 24, 0.28);
  overflow-wrap: anywhere;
}

.ticker {
  width: fit-content;
  margin: 20px 0 20px;
  padding: 8px 14px 7px;
  border: 3px solid var(--black-line);
  border-radius: 6px;
  color: #071006;
  background: var(--green);
  font-size: 24px;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.42);
}

.hero-copy {
  max-width: 650px;
  margin: 0;
  color: #fff8dd;
  font-size: 21px;
  font-weight: 800;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.hero-actions,
.community-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  padding: 10px;
  border: 3px solid var(--black-line);
  border-radius: var(--radius);
  background: rgba(4, 9, 5, 0.54);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.32);
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 3px solid var(--black-line);
  border-radius: var(--radius);
  font-weight: 950;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.45);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 rgba(0, 0, 0, 0.45);
}

.button-gold {
  color: #141006;
  background: linear-gradient(135deg, var(--gold), #fff0a4);
}

.button-dark {
  color: var(--ink);
  background: linear-gradient(135deg, var(--green-deep), #061208);
}

.button-ghost {
  color: var(--ink);
  background: rgba(255, 247, 208, 0.08);
  backdrop-filter: blur(8px);
}

.is-pending {
  cursor: not-allowed;
}

.loot-panel {
  grid-area: panel;
  align-self: end;
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 3px solid var(--black-line);
  border-radius: var(--radius);
  background: rgba(17, 20, 13, 0.82);
  box-shadow: var(--shadow), 7px 7px 0 rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
}

.stat {
  display: grid;
  gap: 3px;
  min-height: 72px;
  padding: 12px;
  border: 2px solid rgba(255, 211, 56, 0.42);
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(184, 255, 24, 0.13), rgba(255, 211, 56, 0.08));
}

.stat span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.stat strong {
  color: var(--ink);
  font-size: 20px;
  overflow-wrap: anywhere;
}

.intro-band,
.split-section,
.chart-section,
.community-band,
.reward-pool,
.faq-section,
.site-footer {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  padding: 34px;
  margin-top: 38px;
  margin-bottom: 34px;
  border: 3px solid var(--black-line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(17, 20, 13, 0.84), rgba(2, 3, 2, 0.72));
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.34);
}

.intro-band h2,
.treasure-copy h2,
.community-band h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.04;
  color: #fff3b3;
  text-shadow: 3px 3px 0 var(--black-line);
}

.intro-band p,
.treasure-copy p,
.community-band p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
}

.intro-band strong {
  color: var(--gold);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 44px;
  padding: 34px;
  margin-bottom: 70px;
  border: 3px solid var(--black-line);
  border-radius: var(--radius);
  background: rgba(4, 9, 5, 0.54);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.34);
}

.character-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 480px;
  border: 3px solid var(--black-line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(17, 20, 13, 0.74), rgba(184, 255, 24, 0.08));
  box-shadow: inset 0 0 0 2px rgba(255, 211, 56, 0.12), 6px 6px 0 rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.character-stage::before {
  content: "";
  position: absolute;
  inset: 12% 6% 6%;
  border: 3px solid var(--black-line);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 211, 56, 0.35), transparent 58%),
    linear-gradient(135deg, rgba(184, 255, 24, 0.22), rgba(139, 84, 49, 0.2));
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.42), 0 20px 60px rgba(255, 160, 0, 0.12);
}

.character-stage img {
  position: relative;
  width: min(100%, 470px);
  filter: drop-shadow(10px 16px 0 rgba(0, 0, 0, 0.42));
  animation: bob 4.8s ease-in-out infinite;
}

.treasure-copy {
  display: grid;
  gap: 22px;
  padding: 24px;
  border: 3px solid var(--black-line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(17, 20, 13, 0.86), rgba(4, 9, 5, 0.72));
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.32);
}

.quest-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px;
  border: 3px solid var(--black-line);
  border-radius: var(--radius);
  background: rgba(2, 3, 2, 0.48);
}

.tab {
  min-width: 96px;
  min-height: 44px;
  padding: 10px 14px;
  border: 3px solid var(--black-line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--surface-strong);
  font: 950 15px var(--font-body);
  cursor: pointer;
}

.tab.is-active {
  color: #081006;
  background: var(--gold);
}

.tab-panels {
  min-height: 148px;
}

.tab-panel {
  padding: 18px;
  border: 3px solid var(--black-line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 211, 56, 0.16), rgba(184, 255, 24, 0.09)),
    var(--surface);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.35);
}

.tab-panel h3 {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 28px;
}

.tab-panel p {
  font-size: 16px;
}

.chart-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: 34px;
  align-items: stretch;
  padding: 34px;
  margin-bottom: 70px;
  border: 3px solid var(--black-line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 16% 14%, rgba(184, 255, 24, 0.18), transparent 17rem),
    linear-gradient(135deg, rgba(5, 16, 7, 0.95), rgba(17, 20, 13, 0.9));
  box-shadow: var(--shadow), 8px 8px 0 rgba(0, 0, 0, 0.42);
}

.chart-copy,
.dex-panel {
  min-width: 0;
  border: 3px solid var(--black-line);
  border-radius: var(--radius);
  background: rgba(2, 3, 2, 0.46);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.32);
}

.chart-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  gap: 18px;
  min-width: 0;
  padding: 24px;
  overflow: hidden;
}

.chart-copy > * {
  min-width: 0;
  max-width: 100%;
}

.chart-copy h2 {
  margin: 0;
  color: var(--gold);
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1;
  overflow-wrap: anywhere;
  text-shadow:
    4px 4px 0 var(--black-line),
    8px 8px 0 rgba(184, 255, 24, 0.23);
}

.chart-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contract-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 14px;
  border: 3px solid var(--black-line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(184, 255, 24, 0.15), rgba(255, 211, 56, 0.09));
}

.contract-card span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.contract-address {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 12px;
  border: 3px solid var(--black-line);
  border-radius: 6px;
  color: #071006;
  background: var(--green);
  font: 950 17px var(--font-body);
  text-align: left;
  overflow-wrap: anywhere;
  word-break: break-all;
  white-space: normal;
  cursor: pointer;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.34);
}

.contract-address:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 rgba(0, 0, 0, 0.42);
}

.dex-panel {
  padding: 14px;
}

.dexscreener-embed {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 520px;
  padding-bottom: 82%;
  border: 3px solid var(--black-line);
  border-radius: var(--radius);
  background: #020302;
  overflow: hidden;
}

.dexscreener-embed iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  border: 0;
}

.faq-section {
  display: grid;
  gap: 22px;
  margin-bottom: 70px;
  padding: 34px;
  border: 3px solid var(--black-line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 211, 56, 0.18), transparent 18rem),
    linear-gradient(135deg, rgba(4, 9, 5, 0.82), rgba(17, 20, 13, 0.86));
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.34);
}

.faq-heading {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 3px solid var(--black-line);
  border-radius: var(--radius);
  background: rgba(2, 3, 2, 0.5);
}

.faq-heading h2 {
  margin: 0;
  color: var(--gold);
  font-size: clamp(44px, 7vw, 82px);
  line-height: 1;
  text-shadow:
    4px 4px 0 var(--black-line),
    8px 8px 0 rgba(184, 255, 24, 0.23);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.faq-card {
  min-height: 170px;
  padding: 18px;
  border: 3px solid var(--black-line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(17, 20, 13, 0.92), rgba(8, 16, 7, 0.88));
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.32);
}

.faq-card-wide {
  grid-column: 1 / -1;
  min-height: 130px;
}

.faq-card h3 {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 25px;
  line-height: 1.08;
}

.faq-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 800;
}

.reward-pool {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  margin-bottom: 70px;
  padding: 42px;
  border: 3px solid var(--black-line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 211, 56, 0.3), transparent 17rem),
    linear-gradient(135deg, rgba(20, 26, 12, 0.96), rgba(4, 9, 5, 0.98));
  box-shadow: var(--shadow), 8px 8px 0 rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.reward-pool::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 10px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold) 0 18px,
    var(--green) 18px 34px,
    var(--wood) 34px 50px
  );
  opacity: 0.9;
}

.reward-pool-left,
.reward-pool-copy,
.pool-vault {
  position: relative;
}

.reward-pool-left {
  display: grid;
  gap: 18px;
  align-content: start;
}

.reward-pool-copy {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 3px solid var(--black-line);
  border-radius: var(--radius);
  background: rgba(4, 9, 5, 0.5);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.28);
}

.reward-pool h2 {
  margin: 0;
  color: var(--gold);
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1;
  text-shadow:
    4px 4px 0 var(--black-line),
    8px 8px 0 rgba(184, 255, 24, 0.23);
}

.reward-pool p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 800;
}

.reward-pool-copy .button {
  width: fit-content;
}

.pool-vault {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 14px;
  border: 3px solid var(--black-line);
  border-radius: var(--radius);
  background: rgba(2, 3, 2, 0.44);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.28);
}

.pool-cauldron {
  position: relative;
  min-height: 300px;
  display: grid;
  place-items: center;
  border: 3px solid var(--black-line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 211, 56, 0.28), transparent 42%),
    linear-gradient(135deg, rgba(2, 3, 2, 0.98), rgba(17, 20, 13, 0.94));
  box-shadow: inset 0 0 0 2px rgba(255, 211, 56, 0.12), 7px 7px 0 rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.pool-cauldron::before {
  content: none;
}

.pool-art {
  width: min(100%, 420px);
  max-height: 292px;
  object-fit: contain;
  filter: drop-shadow(9px 10px 0 rgba(0, 0, 0, 0.45));
}

.coin {
  position: absolute;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 3px solid var(--black-line);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff4a8, var(--gold) 55%, var(--gold-deep));
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.38);
  animation: coin-hop 2.8s ease-in-out infinite;
}

.coin-one {
  left: 18%;
  bottom: 104px;
}

.coin-two {
  left: 38%;
  bottom: 130px;
  animation-delay: 0.45s;
}

.coin-three {
  left: 58%;
  bottom: 108px;
  animation-delay: 0.9s;
}

.pool-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.pool-stats-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pool-stats-rewards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pool-stat {
  display: grid;
  gap: 5px;
  min-height: 92px;
  padding: 14px;
  border: 3px solid rgba(255, 211, 56, 0.76);
  border-radius: var(--radius);
  background: rgba(8, 16, 7, 0.84);
  box-shadow:
    inset 0 0 0 2px rgba(184, 255, 24, 0.18),
    5px 5px 0 rgba(0, 0, 0, 0.34);
}

.pool-stat-highlight {
  border-color: var(--black-line);
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 166, 0.38), transparent 7rem),
    linear-gradient(135deg, var(--green), #fff08a);
  box-shadow:
    0 0 0 3px rgba(255, 211, 56, 0.3),
    7px 7px 0 rgba(0, 0, 0, 0.45);
}

.pool-stat span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.pool-stat strong {
  color: var(--ink);
  font-size: 24px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.pool-stat-featured {
  border-color: var(--gold);
  background:
    radial-gradient(circle at 24% 18%, rgba(184, 255, 24, 0.18), transparent 7rem),
    rgba(8, 16, 7, 0.9);
}

.pool-stat-featured strong {
  color: var(--gold);
  font-size: 30px;
  text-shadow:
    2px 2px 0 var(--black-line),
    4px 4px 0 rgba(184, 255, 24, 0.24);
}

.pool-stat small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.pool-stat-highlight span,
.pool-stat-highlight strong,
.pool-stat-highlight small {
  color: #020902;
  text-shadow: none;
}

.pool-status {
  min-height: 54px;
  padding: 14px;
  border: 2px dashed rgba(255, 211, 56, 0.55);
  border-radius: var(--radius);
  background: rgba(255, 211, 56, 0.08);
}

.airdrop-ledger,
.wallet-checker {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border: 3px solid var(--black-line);
  border-radius: var(--radius);
  background: rgba(8, 16, 7, 0.86);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.34);
}

.ledger-head span,
.ledger-stats span,
.wallet-checker label {
  display: block;
  color: var(--gold);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.ledger-head strong,
.ledger-stats strong {
  display: block;
  color: var(--ink);
  font-size: 20px;
  overflow-wrap: anywhere;
}

.ledger-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.ledger-stats article {
  min-width: 0;
  padding: 12px;
  border: 2px solid rgba(255, 211, 56, 0.36);
  border-radius: 6px;
  background: rgba(2, 3, 2, 0.36);
}

.ledger-table-wrap {
  max-height: 310px;
  overflow: auto;
  border: 2px solid rgba(255, 211, 56, 0.32);
  border-radius: 6px;
  scrollbar-color: var(--gold) rgba(2, 3, 2, 0.72);
  scrollbar-width: thin;
}

.ledger-table-wrap::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.ledger-table-wrap::-webkit-scrollbar-track {
  background: rgba(2, 3, 2, 0.72);
}

.ledger-table-wrap::-webkit-scrollbar-thumb {
  border: 2px solid rgba(2, 3, 2, 0.72);
  border-radius: 999px;
  background: var(--gold);
}

.ledger-table {
  width: 100%;
  min-width: 360px;
  border-collapse: collapse;
}

.ledger-table th,
.ledger-table td {
  padding: 10px;
  border-bottom: 2px solid rgba(255, 211, 56, 0.18);
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-align: left;
}

.ledger-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: var(--gold);
  background: #061007;
  text-transform: uppercase;
}

.ledger-table tr:last-child td {
  border-bottom: 0;
}

.wallet-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.wallet-input-row input {
  min-width: 0;
  min-height: 48px;
  padding: 12px;
  border: 3px solid var(--black-line);
  border-radius: 6px;
  color: var(--ink);
  background: rgba(2, 3, 2, 0.8);
  font: 900 15px var(--font-body);
  outline: none;
}

.wallet-input-row input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(184, 255, 24, 0.24);
}

.wallet-checker-result {
  min-height: 44px;
  padding: 12px;
  border: 2px dashed rgba(184, 255, 24, 0.45);
  border-radius: 6px;
  background: rgba(184, 255, 24, 0.08);
  overflow-wrap: anywhere;
}

.community-band {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 30px;
  align-items: center;
  margin-bottom: 28px;
  padding: 42px;
  border: 3px solid var(--black-line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(6, 18, 8, 0.88), rgba(27, 32, 18, 0.92)),
    url("assets/images/goblin-gold-cavern.png") center / cover;
  background-blend-mode: multiply;
  box-shadow: var(--shadow), 8px 8px 0 rgba(0, 0, 0, 0.4);
}

.community-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  margin-bottom: 28px;
  border: 3px solid var(--black-line);
  border-radius: var(--radius);
  background: rgba(4, 9, 5, 0.64);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.28);
  color: var(--muted);
  font-weight: 800;
}

.site-footer p {
  margin: 0;
}

.site-footer span {
  color: var(--gold);
}

.toast {
  position: fixed;
  z-index: 40;
  right: 18px;
  bottom: 18px;
  max-width: min(360px, calc(100vw - 36px));
  padding: 12px 14px;
  border: 3px solid var(--black-line);
  border-radius: var(--radius);
  color: #111107;
  background: var(--gold);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.45);
  font-weight: 950;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-12px) rotate(1deg);
  }
}

@keyframes coin-hop {
  0%,
  100% {
    transform: translateY(0) rotate(-8deg);
  }
  50% {
    transform: translateY(-18px) rotate(12deg);
  }
}

@keyframes coin-fall {
  0% {
    transform: translate3d(0, -160px, 0) rotate(var(--coin-start, -18deg));
  }
  100% {
    transform: translate3d(var(--coin-drift, 26px), calc(100vh + 180px), 0) rotate(var(--coin-end, 340deg));
  }
}

@keyframes coin-fall-drift {
  0% {
    transform: translate3d(0, -160px, 0) rotate(var(--coin-start, 18deg));
  }
  50% {
    transform: translate3d(calc(var(--coin-drift, 26px) * -0.8), 50vh, 0) rotate(160deg);
  }
  100% {
    transform: translate3d(var(--coin-drift, 26px), calc(100vh + 180px), 0) rotate(var(--coin-end, 380deg));
  }
}

@media (max-width: 900px) {
  .falling-coin {
    width: calc(var(--coin-size, 58px) * 0.76);
    opacity: calc(var(--coin-opacity, 0.52) * 0.72);
  }

  .nav-links {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-areas:
      "emblem"
      "content"
      "panel";
    padding-top: 128px;
  }

  .hero-bg {
    background-repeat: no-repeat;
    background-size: 1120px auto;
    background-position: 63% 82px;
    filter: saturate(1.04) contrast(1.08) brightness(0.78);
  }

  .hero-emblem {
    align-self: center;
    justify-self: center;
    width: min(72vw, 300px);
    margin: 0 auto 4px;
    transform: none;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(2, 3, 2, 0.86) 0%, rgba(2, 3, 2, 0.5) 30%, rgba(8, 9, 7, 0.98) 74%, #080907 100%),
      linear-gradient(90deg, rgba(2, 3, 2, 0.84), rgba(2, 3, 2, 0.34));
  }

  .loot-panel,
  .intro-band,
  .split-section,
  .chart-section,
  .reward-pool,
  .faq-section,
  .community-band {
    grid-template-columns: 1fr;
  }

  .intro-band {
    gap: 18px;
  }

  .character-stage {
    min-height: 380px;
  }

  .chart-section {
    gap: 18px;
  }

  .dexscreener-embed {
    min-height: 620px;
    padding-bottom: 125%;
  }

  .community-actions {
    justify-content: flex-start;
  }

  .community-band {
    background-position: 72% center;
    background-size: auto 100%;
  }
}

@media (max-width: 560px) {
  .topbar {
    width: calc(100% - 20px);
    margin-top: 10px;
  }

  .brand-token {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .brand-token img {
    width: 33px;
    height: 33px;
  }

  .brand-mark strong {
    font-size: 14px;
  }

  .hero {
    padding: 154px 14px 46px;
  }

  .hero-bg {
    background-size: 940px auto;
    background-position: 62% 112px;
    filter: saturate(1.02) contrast(1.05) brightness(0.68);
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(2, 3, 2, 0.9) 0%, rgba(2, 3, 2, 0.52) 25%, rgba(3, 11, 5, 0.78) 48%, rgba(8, 9, 7, 0.99) 78%, #080907 100%),
      linear-gradient(90deg, rgba(2, 3, 2, 0.88), rgba(2, 3, 2, 0.42));
  }

  .hero-emblem {
    width: min(78vw, 300px);
  }

  h1 {
    font-size: 54px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .hero-actions,
  .community-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .intro-band,
  .split-section,
  .chart-section,
  .reward-pool,
  .faq-section,
  .community-band,
  .site-footer {
    width: calc(100% - 28px);
  }

  .intro-band {
    padding-top: 52px;
  }

  .chart-section {
    padding: 22px;
    margin-bottom: 42px;
  }

  .chart-copy h2 {
    font-size: 38px;
  }

  .contract-address {
    font-size: 14px;
  }

  .split-section {
    gap: 22px;
    padding: 48px 0;
  }

  .character-stage {
    min-height: 300px;
  }

  .intro-band h2,
  .treasure-copy h2,
  .community-band h2 {
    font-size: 40px;
  }

  .reward-pool {
    padding: 22px;
    margin-bottom: 42px;
  }

  .faq-section {
    padding: 22px;
    margin-bottom: 42px;
  }

  .faq-heading {
    padding: 16px;
  }

  .faq-heading h2 {
    font-size: 42px;
  }

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

  .faq-card,
  .faq-card-wide {
    min-height: 0;
  }

  .reward-pool h2 {
    font-size: 46px;
  }

  .reward-pool-copy .button {
    width: 100%;
  }

  .pool-cauldron {
    min-height: 260px;
  }

  .pool-art {
    width: min(100%, 330px);
    max-height: 250px;
  }

  .pool-stats {
    grid-template-columns: 1fr;
  }

  .pool-stats-two {
    grid-template-columns: 1fr;
  }

  .ledger-stats,
  .wallet-input-row {
    grid-template-columns: 1fr;
  }

  .ledger-table {
    min-width: 320px;
  }

  .community-band {
    padding: 22px;
    background-position: 78% center;
    background-size: auto 100%;
  }

  .site-footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .coin-rain {
    display: none;
  }
}
