/* Pixel Trump web v1.9 — light pixel-pop theme: cream paper, ink borders,
   hard pixel shadows, and the trait colours themselves (red / yellow / blue / green).
   No black page background. */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Baloo+2:wght@700;800&family=Nunito:wght@400;700;800&display=swap');
:root { --ink: #22223a; --red: #e63b2e; --yellow: #ffc53d; --blue: #2d9cdb; --green: #27ae60; --orange: #ff7a1a; --cream: #fff7e0; --card: #ffffff; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background-color: var(--cream); background-image: radial-gradient(rgba(255,197,61,.35) 1.5px, transparent 1.5px), radial-gradient(rgba(45,156,219,.25) 1.5px, transparent 1.5px); background-size: 28px 28px, 28px 28px; background-position: 0 0, 14px 14px; color: var(--ink); font-family: 'Nunito', sans-serif; font-size: 16px; line-height: 1.6; animation: pageIn .35s ease both; }
body.page-leaving { opacity: 0; transition: opacity .18s ease; }
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.logo, .ticker span { font-family: 'Press Start 2P', monospace; }
h2, h3, .hero-title, button, .stat b, .step b, .road-num { font-family: 'Baloo 2', 'Nunito', sans-serif; }
h2 { font-size: 26px; line-height: 1.3; margin: 0 0 10px; }
h3 { font-size: 20px; line-height: 1.3; margin: 0 0 8px; }
a { color: #0b6fa4; }
p, li, a, .card, .feed li { overflow-wrap: anywhere; }
pre, code { white-space: pre-wrap; overflow-x: auto; word-break: break-word; max-width: 100%; background: #fff7e0; border: 2px solid var(--ink); border-radius: 12px; padding: 12px; }
header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 14px 18px; background: #ffffff; border-bottom: 4px solid var(--ink); position: sticky; top: 0; z-index: 20; }
.logo { font-size: 15px; color: var(--red); text-shadow: 2px 2px 0 var(--yellow); }
.burger { width: 44px; height: 44px; background: var(--yellow); border: 3px solid var(--ink); border-radius: 12px; color: var(--ink); font-size: 22px; line-height: 1; padding: 0; cursor: pointer; box-shadow: 3px 3px 0 var(--ink); }
.burger:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
nav#menu { display: none; background: #ffffff; border-bottom: 4px solid var(--ink); padding: 8px 18px; }
nav#menu.open { display: block; }
nav#menu a { display: block; padding: 14px 12px; text-decoration: none; color: var(--ink); font-weight: 800; border-bottom: 2px solid #f0e6c8; border-radius: 10px; }
nav#menu a:hover { background: var(--yellow); }
main { max-width: 900px; margin: 0 auto; padding: 20px; }
.card { background: var(--card); border: 3px solid var(--ink); border-radius: 18px; padding: 20px; margin-bottom: 18px; box-shadow: 6px 6px 0 var(--ink); animation: fadeUp .5s ease both; }
.card:hover { transform: translateY(-2px); box-shadow: 8px 8px 0 var(--ink); }
button, a.btn { font-weight: 800; font-size: 15px; min-height: 44px; background: var(--yellow); color: var(--ink); border: 3px solid var(--ink); border-radius: 14px; padding: 10px 20px; cursor: pointer; box-shadow: 4px 4px 0 var(--ink); text-decoration: none; display: inline-flex; align-items: center; justify-content: center; transition: transform .1s, box-shadow .1s, filter .15s; }
button:hover:not(:disabled), a.btn:hover { filter: brightness(1.05); transform: translateY(-1px); }
button:active:not(:disabled), a.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }
button:disabled { opacity: .45; cursor: not-allowed; }
.btn-secondary { background: var(--blue); color: #fff; }
.copybtn { font-size: 13px; padding: 6px 12px; min-height: 36px; box-shadow: 2px 2px 0 var(--ink); }
.cta-row { display: flex; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.live-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--green); border: 2px solid var(--ink); vertical-align: middle; }
#supplyUpdated { font-size: 13px; color: #666; }
footer { max-width: 900px; margin: 0 auto 24px; padding: 16px 20px; text-align: center; border-top: 4px solid var(--ink); font-size: 14px; color: #555; }
footer a { margin: 0 8px; font-weight: 800; }
#copyNote, #dlNote { font-size: 14px; color: #a16207; font-weight: 700; }
input, select { font-family: inherit; font-size: 16px; padding: 12px; width: 100%; margin: 8px 0; background: #fff; color: var(--ink); border: 3px solid var(--ink); border-radius: 12px; }
input:focus, select:focus, button:focus-visible, a:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.progress { height: 24px; background: #fff; border: 3px solid var(--ink); border-radius: 12px; overflow: hidden; }
.progress > div { height: 100%; background: var(--red); width: 0%; transition: width .6s; }
.hero-title { font-size: 36px; line-height: 1.2; color: var(--red); text-align: center; margin: 8px 0 16px; text-shadow: 3px 3px 0 var(--yellow); }
.hero-show { margin: 6px 0 18px; padding: 20px; background: #ffffff; border: 3px solid var(--ink); border-radius: 18px; box-shadow: 6px 6px 0 var(--ink); }
.hero-show-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero-show figure { margin: 0; text-align: center; }
.hero-show img { width: 100%; max-width: 260px; image-rendering: pixelated; border: 3px solid var(--ink); border-radius: 16px; background: #e0f2fe; }
.hero-show figcaption { margin-top: 8px; font-weight: 800; }
.hero-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.hero-card { background: #fff; border: 3px solid var(--ink); border-radius: 16px; padding: 10px; text-align: center; box-shadow: 4px 4px 0 var(--ink); transition: transform .15s; }
.hero-card:hover { transform: translateY(-4px) rotate(-1deg); }
.hero-card img { width: 100%; image-rendering: pixelated; transition: transform .2s; }
.hero-card:hover img { transform: scale(1.06); }
.tier-Legendary { color: #b45309; font-weight: 800; } .tier-Epic { color: #7c3aed; font-weight: 800; } .tier-Rare { color: #0284c7; font-weight: 800; } .tier-Uncommon { color: #15803d; font-weight: 800; } .tier-Common { color: #666; font-weight: 800; }
.ticker { overflow: hidden; background: var(--yellow); border-top: 4px solid var(--ink); border-bottom: 4px solid var(--ink); margin-bottom: 18px; padding: 12px 0; }
.ticker span { display: inline-block; white-space: nowrap; font-size: 11px; color: var(--ink); animation: ticker 26s linear infinite; }
.ticker:hover span { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.stat { background: #fff; border: 3px solid var(--ink); border-top-width: 8px; border-radius: 16px; padding: 14px; text-align: center; box-shadow: 4px 4px 0 var(--ink); }
.stat:nth-child(1) { border-top-color: var(--red); } .stat:nth-child(2) { border-top-color: var(--green); } .stat:nth-child(3) { border-top-color: var(--blue); } .stat:nth-child(4) { border-top-color: var(--yellow); }
.stat b { font-size: 24px; color: var(--ink); display: block; margin-bottom: 6px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.step { background: #fff; border: 3px solid var(--ink); border-radius: 16px; padding: 16px; box-shadow: 4px 4px 0 var(--ink); }
.step b { font-size: 28px; display: block; margin-bottom: 8px; }
.step:nth-child(1) b { color: var(--red); } .step:nth-child(2) b { color: var(--blue); } .step:nth-child(3) b { color: var(--green); }
.badge { display: inline-block; background: var(--red); color: #fff; border: 3px solid var(--ink); border-radius: 10px; padding: 6px 12px; font-size: 13px; font-weight: 800; white-space: normal; line-height: 1.5; max-width: 100%; box-shadow: 3px 3px 0 var(--ink); }
.feed { font-size: 14px; margin: 8px 0 0; padding-left: 18px; }
.feed li { margin-bottom: 8px; word-break: break-all; padding-bottom: 8px; border-bottom: 2px dashed #f0e6c8; }
.lang { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.lang button { padding: 8px 12px; min-height: 40px; }
#ptToast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; border: 3px solid var(--yellow); border-radius: 999px; padding: 12px 20px; font-weight: 800; box-shadow: 4px 4px 0 rgba(0,0,0,.3); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 50; max-width: 90vw; text-align: center; }
#ptToast.show { opacity: 1; transform: translate(-50%, 0); }
.qty-row { display: flex; gap: 8px; align-items: center; }
.qty-row input { margin: 8px 0; flex: 1; min-width: 0; width: auto; }
.qty-row button { flex-shrink: 0; }
/* Transparency: one neat row per contract, never a stacked paragraph. */
.transp-row { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 2px dashed #f0e6c8; }
.transp-row:last-of-type { border-bottom: none; }
.transp-label { font-weight: 800; font-size: 18px; }
.transp-addr { font-family: ui-monospace, Menlo, monospace; font-size: 14px; background: #fff7e0; border: 2px solid var(--ink); border-radius: 10px; padding: 8px 10px; overflow-wrap: anywhere; }
.transp-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
/* Roadmap: big timeline cards, not a small old-style list. */
.road-step { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 3px solid var(--ink); border-radius: 16px; padding: 18px; margin-bottom: 14px; box-shadow: 4px 4px 0 var(--ink); }
.road-num { flex-shrink: 0; width: 48px; height: 48px; border: 3px solid var(--ink); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; }
.road-step.done .road-num { background: var(--green); color: #fff; }
.road-step.soon .road-num { background: var(--yellow); color: var(--ink); }
.road-step h3 { font-size: 20px; margin: 2px 0 4px; }
.road-step p { margin: 0; font-size: 15px; }
.road-status { display: inline-block; font-size: 12px; font-weight: 800; padding: 2px 10px; border: 2px solid var(--ink); border-radius: 999px; margin-left: 8px; vertical-align: middle; }
.road-step.done .road-status { background: #dcfce7; }
.road-step.soon .road-status { background: #fef3c7; }
@media (min-width: 601px) {
  nav#menu { display: flex; flex-wrap: wrap; gap: 4px 8px; padding: 10px 18px; }
  nav#menu a { display: inline-block; padding: 8px 12px; border-bottom: none; }
  .burger { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .logo { font-size: 12px; }
  main { padding: 14px; }
  .hero-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .hero-title { font-size: 24px; }
  .transp-row { grid-template-columns: 1fr; }
  .ticker span { font-size: 9px; }
}
