:root {
  --gold: #e6b422;
  --gold-bright: #ffd56a;
  --gold-deep: #9a6b12;
  --cream: #fff6e6;
  --fur: #f3d7a0;
  --fur-dark: #c4924a;
  --ink: #2a1c0a;
  --ink-soft: #5c431c;
  --card: rgba(255, 248, 232, 0.78);
  --shadow: 0 18px 50px rgba(90, 50, 8, 0.22);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Outfit", system-ui, sans-serif;
  color: var(--ink);
}

.site-frame {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  overflow: hidden;
  background-color: #c9951a;
  background-image:
    radial-gradient(900px 420px at 18% 8%, rgba(255, 250, 230, 0.72) 0%, transparent 58%),
    radial-gradient(700px 380px at 88% 18%, rgba(255, 236, 170, 0.38) 0%, transparent 55%),
    radial-gradient(1100px 520px at 50% 100%, rgba(90, 50, 8, 0.28) 0%, transparent 60%),
    linear-gradient(
      118deg,
      transparent 0%,
      transparent 36%,
      rgba(255, 255, 245, 0.08) 42%,
      rgba(255, 252, 220, 0.55) 48%,
      rgba(255, 236, 170, 0.18) 52%,
      transparent 60%
    ),
    linear-gradient(
      102deg,
      transparent 58%,
      rgba(255, 248, 210, 0.22) 66%,
      rgba(255, 255, 255, 0.12) 70%,
      transparent 78%
    ),
    repeating-linear-gradient(
      90deg,
      #8a5a10 0px,
      #c99412 3px,
      #e8c547 6px,
      #d4a017 9px,
      #f6e08a 11px,
      #b8860b 15px,
      #e0b84a 18px,
      #9a6b12 22px
    ),
    linear-gradient(180deg, #f0d56a 0%, #d4a017 42%, #a87512 78%, #7a520c 100%);
}

.metal-grain {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.22;
  mix-blend-mode: overlay;
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 240, 180, 0.18) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(0deg, rgba(80, 45, 0, 0.12) 0 1px, transparent 1px 4px);
}

.metal-shine {
  pointer-events: none;
  position: absolute;
  top: -30%;
  bottom: -30%;
  left: -40%;
  width: 42%;
  z-index: 0;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255, 255, 255, 0.04) 38%,
    rgba(255, 252, 235, 0.42) 50%,
    rgba(255, 230, 140, 0.12) 58%,
    transparent 72%
  );
  filter: blur(8px);
  animation: metal-gleam 9s ease-in-out infinite;
}

@keyframes metal-gleam {
  0% { transform: translateX(-10%) skewX(-16deg); opacity: 0.15; }
  35% { opacity: 0.85; }
  70% { opacity: 0.35; }
  100% { transform: translateX(280%) skewX(-16deg); opacity: 0.1; }
}

@media (prefers-reduced-motion: reduce) {
  .metal-shine { animation: none; opacity: 0.45; transform: translateX(40%) skewX(-16deg); }
}

.topbar, main, .closing, .bottom-shot, footer {
  position: relative;
  z-index: 1;
}

.topbar {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 22px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.brand span {
  display: flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}

.brand strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
  -webkit-text-stroke: 2px #fff;
  paint-order: stroke fill;
}

.brand em {
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--gold-deep);
  font-weight: 700;
  white-space: nowrap;
  -webkit-text-stroke: 2px #fff;
  paint-order: stroke fill;
}

.coin-logo {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow:
    0 10px 22px rgba(90, 50, 8, 0.28),
    inset 0 0 12px rgba(255, 220, 120, 0.4);
  background: #d4a017;
}

.social-nav {
  display: flex;
  gap: 10px;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 999px;
  border: 2px solid #fff;
  background: rgba(42, 28, 10, 0.9);
  color: var(--gold-bright);
  text-decoration: none;
  line-height: 0;
  transition: transform 0.15s ease, background 0.15s ease;
}

.icon-link svg {
  display: block;
}

.icon-tg svg {
  transform: translate(1px, 0);
}

.icon-link:hover { transform: translateY(-2px); background: #1a1206; }

.hero {
  max-width: 920px;
  margin: 0 auto;
  padding: 28px 22px 12px;
  text-align: center;
}

h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(0.78rem, 2.9vw, 2.05rem);
  line-height: 1.22;
  font-weight: 700;
  margin: 0 auto 12px;
  color: #3a2508;
  white-space: nowrap;
  -webkit-text-stroke: 2px #fff;
  paint-order: stroke fill;
}

.lede {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-bottom: 26px;
  -webkit-text-stroke: 2px #fff;
  paint-order: stroke fill;
}

.hero-shot {
  margin: 0 auto 28px;
  max-width: 720px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 2px solid #fff;
  background: #c9a227;
}

.hero-shot img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.trade-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.btn {
  min-width: 180px;
  padding: 14px 22px;
  border-radius: 14px;
  border: 2px solid #fff;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.92rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.btn-gold {
  color: #2a1c0a;
  background: linear-gradient(180deg, #ffe08a, #d4a017);
  box-shadow: 0 8px 18px rgba(154, 107, 18, 0.35);
}

.btn-outline {
  color: #2a1c0a;
  background: rgba(255, 248, 232, 0.7);
}

.stats {
  max-width: 920px;
  margin: 0 auto 48px;
  padding: 0 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.card {
  background: var(--card);
  border: 2px solid #fff;
  border-radius: 18px;
  padding: 16px 18px;
  text-align: left;
  backdrop-filter: blur(8px);
}

.card .label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 700;
  margin-bottom: 6px;
}

.card strong {
  font-size: 1.25rem;
  font-family: "Fraunces", Georgia, serif;
}

.ca-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 6px 12px;
  align-items: center;
}

.ca-card .label { grid-column: 1 / -1; }

.ca-card code {
  font-size: clamp(0.7rem, 2.4vw, 0.92rem);
  word-break: break-all;
  color: #3a2508;
}

.copy-btn {
  border: 2px solid #fff;
  border-radius: 10px;
  padding: 8px 12px;
  background: #2a1c0a;
  color: var(--gold-bright);
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.copy-btn:hover { background: #1a1206; }

.closing {
  max-width: 920px;
  margin: 0 auto 40px;
  padding: 0 22px;
}

.closing-panel {
  background: #1d1408;
  border: 2px solid #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.bottom-shot {
  width: 100%;
  margin: 0;
}

.bottom-shot img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  object-position: center 40%;
}

footer {
  background: transparent;
  color: #f3d7a0;
  padding: 24px 22px 28px;
}

.disclaimer {
  margin: 0 auto 16px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #e8d0a0;
}

.disclaimer strong { color: var(--gold-bright); }

.foot-note {
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c4924a;
}

@media (max-width: 720px) {
  .stats { grid-template-columns: 1fr; }
  .topbar { flex-wrap: wrap; }
  .coin-logo { width: 72px; height: 72px; }
  .btn { min-width: 46%; }
}
