/* Family template adapted for $RDOGE / $AUTSZN. Visual language from
   bitgoin.org / retardedzcash.com / solamiblockchain.com / retardedpad.com.
   Accent colors are overridden per page in :root. */
:root {
  --ink: #111;
  --accent: #f7931a;
  --accent-dark: #c96f00;
  --paper: #fff;
  --muted: #555;
  --soft: #fff6ea;
  --green: #1d9a3a;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: Arial, Helvetica, sans-serif; font-size: 18px; line-height: 1.5; color: var(--ink); background: var(--paper); overflow-x: hidden; }
a { color: var(--ink); }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }
.paint { border: 4px solid var(--ink); border-radius: 255px 18px 225px 18px / 18px 225px 18px 255px; background: var(--paper); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 18px Arial, sans-serif; text-decoration: none; color: var(--ink); background: var(--accent); border: 3px solid var(--ink); border-radius: 12px 4px 14px 3px / 3px 14px 4px 12px; padding: 10px 20px; cursor: pointer; box-shadow: 4px 4px 0 var(--ink); transition: transform .1s ease, box-shadow .1s ease; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn.white { background: var(--paper); }
.btn.disabled, .btn[aria-disabled="true"] { cursor: default; opacity: .7; }
h1, h2 { font-family: 'Arial Black', Arial, sans-serif; font-weight: 900; letter-spacing: -.02em; line-height: 1.05; }
h2 { font-size: 34px; margin-bottom: 18px; }
section { padding: 44px 0; }

header { padding: 16px 0; border-bottom: 4px solid var(--ink); background: var(--paper); }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.top-btns { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 900 22px 'Arial Black', Arial, sans-serif; }
.logo img { width: 46px; height: 46px; border: 3px solid var(--ink); border-radius: 50%; object-fit: cover; object-position: 50% 30%; background: var(--paper); }

.hero { padding-top: 28px; }
.banner { padding: 8px; }
.banner img { width: 100%; height: auto; display: block; border-radius: 8px; }
.hero h1 { font-size: 52px; margin-top: 30px; text-align: center; }
.hero h1 span { color: var(--accent); -webkit-text-stroke: 2px var(--ink); }
.hero p { font-size: 21px; margin: 12px auto 22px; max-width: 720px; text-align: center; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.ca-row { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; }
.pfp { padding: 6px; transform: rotate(-3deg); }
.pfp img { width: 100%; height: auto; display: block; }

.board { padding: 30px 28px; text-align: center; background: var(--soft); }
.board .label { font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-size: 15px; }
.big { font: 900 clamp(30px, 9vw, 64px) 'Arial Black', Arial, sans-serif; line-height: 1.05; margin: 6px 0 2px; }
.big .unit { color: var(--accent); -webkit-text-stroke: 1.5px var(--ink); }
.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 24px; }
.chip { border: 3px solid var(--ink); border-radius: 10px 3px 12px 4px / 4px 12px 3px 10px; background: var(--paper); padding: 10px 8px; }
.chip b { display: block; font: 900 20px 'Arial Black', Arial, sans-serif; word-break: break-word; }
.chip span { font-size: 14px; color: var(--muted); }
.note { margin-top: 16px; font-size: 14px; color: var(--muted); }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.live i { width: 10px; height: 10px; border-radius: 50%; background: #c0392b; display: inline-block; }
.live.up i { background: var(--green); }

.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { padding: 20px 18px; counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border: 3px solid var(--ink); border-radius: 50%; background: var(--accent); font: 900 22px 'Arial Black', Arial, sans-serif; margin-bottom: 10px; }
.steps b { display: block; font-size: 20px; margin-bottom: 4px; }
.steps p { font-size: 16px; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fact { padding: 22px 18px; text-align: center; }
.fact b { display: block; font: 900 36px 'Arial Black', Arial, sans-serif; color: var(--accent); -webkit-text-stroke: 1.5px var(--ink); }

.ca { display: flex; border: 4px solid var(--ink); border-radius: 12px; overflow: hidden; }
.ca code { flex: 1; min-width: 0; padding: 14px 16px; font: 700 16px ui-monospace, Menlo, Consolas, monospace; overflow-wrap: anywhere; background: var(--soft); }
.ca .btn { border: 0; border-left: 4px solid var(--ink); border-radius: 0; box-shadow: none; }
.links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }

.gallery { columns: 4 220px; column-gap: 16px; }
.gallery button { display: block; width: 100%; margin: 0 0 16px; padding: 6px; break-inside: avoid; cursor: zoom-in; background: var(--paper); border: 3px solid var(--ink); border-radius: 10px 3px 12px 4px / 4px 12px 3px 10px; box-shadow: 4px 4px 0 var(--ink); transition: transform .1s ease, box-shadow .1s ease; }
.gallery button:hover { transform: translate(-2px, -2px) rotate(-.6deg); box-shadow: 6px 6px 0 var(--ink); }
.gallery img { width: 100%; height: auto; display: block; border-radius: 4px; }
.lb { position: fixed; inset: 0; z-index: 100; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 16px; background: rgba(255,255,255,.96); }
.lb.open { display: flex; }
.lb figure { position: relative; max-width: min(1100px, 100%); max-height: calc(100vh - 140px); display: flex; }
.lb figure img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border: 4px solid var(--ink); border-radius: 8px; background: #fff; }
.lb .bar { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.lb .count { font-weight: 700; color: var(--muted); }
.lb .nav { position: fixed; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; padding: 0; font-size: 26px; border-radius: 50%; }
.lb .nav:hover { transform: translateY(-50%) scale(1.06); }
.lb .prev { left: 14px; } .lb .next { right: 14px; }
.lb .close { position: fixed; top: 14px; right: 14px; width: 46px; height: 46px; padding: 0; font-size: 22px; border-radius: 50%; }
@media (max-width: 600px) { .lb .nav { top: auto; bottom: 16px; transform: none; } .lb .nav:hover { transform: none; } .lb figure, .lb figure img { max-height: calc(100vh - 210px); } }

footer { border-top: 4px solid var(--ink); padding: 22px 0 40px; font-size: 15px; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(30px); opacity: 0; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 8px; font-weight: 700; transition: .2s; pointer-events: none; z-index: 200; }
.toast.show { opacity: 1; transform: translateX(-50%); }

.price { max-width: 520px; margin: 4px auto 22px; padding: 16px 20px; text-align: center; background: var(--soft); }
.price-label { font-size: 15px; color: var(--muted); font-weight: 700; }
.price-big { font: 900 42px 'Arial Black', Arial, sans-serif; line-height: 1.1; margin: 4px 0; }
.price-src { font-size: 13px; color: var(--muted); margin-top: 6px; }

@media (max-width: 800px) {
  .hero h1 { font-size: 38px; }
  .hero p { font-size: 18px; }
  .ca-row { grid-template-columns: 1fr; }
  .pfp { max-width: 220px; margin: 0 auto; }
  .chips { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr; }
  h2 { font-size: 28px; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .ca { flex-direction: column; } .ca .btn { border-left: 0; border-top: 4px solid var(--ink); }
  header .btn { padding: 8px 10px; font-size: 14px; }
  .top-btns { flex-direction: column; align-items: stretch; gap: 8px; }
  .logo { font-size: 18px; } .logo img { width: 36px; height: 36px; }
  .price-big { font-size: 32px; }
}
