/* ============================================================
   Shibetoshi Inu clone stylesheet
   Colors you may want to change:
     --amber     gold / primary buttons
     --amber-dim button shadow
     --green     "online" + gas / zero-fee accents
   ============================================================ */

:root {
  --bg: #000;
  --panel: #171717;
  --panel-2: #0a0a0a;
  --line: #262626;
  --line-2: #404040;
  --text: #fff;
  --muted: #737373;
  --muted-2: #a3a3a3;
  --amber: #fbbf24;
  --amber-2: #f59e0b;
  --amber-dim: #b45309;
  --amber-shadow: #78350f;
  --green: #34d399;
  --orange: #fb923c;
  --purple: #c084fc;
  --font-pixel: "Titan One", "Arial Black", sans-serif;
  --font-silk: "Titan One", "Arial Black", sans-serif;
  --font-mono: "Outfit", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-mono);
  font-weight: 400;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  z-index: 0;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-silk); font-weight: 400; letter-spacing: 0.02em; }

.amber { color: var(--amber); }
.green { color: var(--green); }
.orange { color: var(--orange); }
.purple { color: var(--purple); }
.muted { color: var(--muted); }
.block { display: block; }

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* --- header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0,0,0,0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header-inner {
  width: min(1120px, calc(100% - 24px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo {
  width: 40px; height: 40px;
  border: 2px solid var(--amber-2);
  box-shadow: 2px 2px 0 #000;
  object-fit: cover;
  background: #1a1200;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--font-silk);
  font-size: 15px;
  letter-spacing: 0.04em;
  font-weight: 400;
  color: #ffc107;
  -webkit-text-stroke: 1px #111;
  paint-order: stroke fill;
  text-shadow: 2px 2px 0 #6d28d9;
}
.brand-chain { font-size: 10px; color: var(--amber); letter-spacing: 0.08em; }
.desktop-nav { display: none; gap: 28px; }
.desktop-nav a {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d4d4d4;
}
.desktop-nav a:hover { color: var(--amber); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-buy { display: inline-flex; }

.icon-btn {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--line-2);
  background: #111;
  color: #fff;
  box-shadow: 3px 3px 0 #0a0a0a;
}
.icon-btn:hover { border-color: var(--amber-2); color: var(--amber); }
a.icon-btn.social {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  box-shadow: none;
}
a.icon-btn.social:hover {
  border: none;
  background: transparent;
  color: var(--amber);
}
.os-mark {
  width: 16px;
  height: 16px;
  display: block;
  background: currentColor;
  -webkit-mask: url("assets/opensea.svg") center / contain no-repeat;
  mask: url("assets/opensea.svg") center / contain no-repeat;
}
.menu-toggle { font-size: 16px; }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 8px 16px 16px;
  border-top: 1px solid var(--line);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 12px;
  letter-spacing: 0.12em;
  padding: 8px 0;
  color: #e5e5e5;
}

/* --- buttons --- */
.btn-primary, .btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-silk);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 10px 18px;
  white-space: nowrap;
}
.btn-primary {
  color: #000;
  background: var(--amber);
  border: 2px solid #fef08a;
  box-shadow: 4px 4px 0 var(--amber-dim);
}
.btn-primary:hover { background: #fde047; transform: translate(-1px,-1px); }
.btn-secondary {
  color: #fff;
  background: #171717;
  border: 2px solid #404040;
  box-shadow: 4px 4px 0 #0a0a0a;
}
.btn-secondary:hover { color: var(--amber); border-color: var(--amber-2); }

.pixel-box {
  background: #111;
  border: 2px solid #262626;
  box-shadow: 4px 4px 0 #0a0a0a;
}
.pixel-card {
  background: #111;
  border: 2px solid #262626;
  box-shadow: 4px 4px 0 #171717;
  transition: 0.15s ease;
}
.pixel-card:hover {
  border-color: var(--amber-2);
  transform: translate(-2px,-2px);
  box-shadow: 6px 6px 0 var(--amber-2);
}

/* --- sections --- */
.section { padding: 56px 0 72px; position: relative; }
.section-alt { border-top: 1px solid #1f1f1f; border-bottom: 1px solid #1f1f1f; }
.section-kicker {
  font-size: 11px;
  color: var(--amber);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4.5vw, 48px);
  line-height: 1.15;
  font-weight: 400;
  margin-bottom: 16px;
  padding-bottom: 6px;
  color: #ffc107;
  -webkit-text-stroke: 2px #111;
  paint-order: stroke fill;
  text-shadow: 4px 4px 0 #6d28d9;
}
.section-lead {
  max-width: 720px;
  color: #a3a3a3;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 36px;
}

/* --- banner --- */
.banner-frame { margin-bottom: 36px; overflow: hidden; }
.banner-bar {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 8px 12px;
  font-size: 11px;
  background: #0d0d0d;
  border-bottom: 1px solid #262626;
}
.banner-bar .dot { color: var(--muted); margin: 0 4px; }
.online { color: var(--green); }
.banner-img { width: 100%; height: auto; object-fit: cover; display: block; }

/* --- hero --- */
.hero-grid {
  display: grid;
  gap: 28px;
}
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; }
.hero-logo {
  width: 40px; height: 40px;
  border: 2px solid var(--amber-2);
  object-fit: cover;
}
.chip {
  font-size: 10px;
  letter-spacing: 0.08em;
  border: 1px solid #333;
  background: #0d0d0d;
  padding: 5px 8px;
}
.hero-title {
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 18px;
  padding-bottom: 8px;
  color: #ffc107;
  -webkit-text-stroke: 2px #111;
  paint-order: stroke fill;
  text-shadow: 4px 4px 0 #6d28d9;
}
.hero-title .amber,
.section-title .amber {
  color: #ffc107;
  text-shadow: 4px 4px 0 #6d28d9;
}
.lore-box { padding: 16px 18px 18px; }
.lore-head {
  display: flex; justify-content: space-between; gap: 10px;
  font-size: 11px;
  margin-bottom: 12px;
}
.lore-box p { color: #d4d4d4; font-size: 14px; line-height: 1.7; margin-bottom: 12px; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }

.ca-panel { padding: 16px; }
.ca-head { display: flex; justify-content: space-between; align-items: center; font-size: 11px; margin-bottom: 14px; }
.verified { color: var(--green); letter-spacing: 0.1em; font-size: 10px; }
.ca-label { font-size: 11px; color: #a3a3a3; margin: 10px 0 8px; }
.ca-row {
  display: flex; align-items: center; gap: 8px;
  background: #000;
  border: 1px solid #262626;
  padding: 8px;
}
.ca-value {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--amber);
  font-size: 12px;
}
.copy-btn {
  flex-shrink: 0;
  font-size: 10px;
  letter-spacing: 0.06em;
  border: 1px solid #404040;
  background: #1a1a1a;
  padding: 6px 8px;
}
.copy-btn:hover { border-color: var(--amber-2); color: var(--amber); }

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}
.stat {
  border: 1px solid #262626;
  background: #0d0d0d;
  padding: 10px;
}
.stat-k { display: block; font-size: 10px; color: #737373; letter-spacing: 0.08em; margin-bottom: 6px; }
.stat-v { font-family: var(--font-silk); font-size: 16px; font-weight: 400; line-height: 1.2; }

.meme-box {
  margin-top: 12px;
  border: 1px solid #333;
  background: #16130a;
  padding: 12px;
}
.meme-title { font-family: var(--font-silk); font-size: 16px; font-weight: 400; color: var(--amber); margin-bottom: 6px; }
.meme-box p { font-size: 12px; color: #a3a3a3; line-height: 1.55; }

/* --- tokenomics --- */
.tok-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.tok-card { padding: 18px 16px; }
.tok-label { font-size: 10px; color: #737373; letter-spacing: 0.1em; margin-bottom: 8px; }
.tok-card h3 { font-size: 28px; margin-bottom: 6px; font-weight: 400; letter-spacing: 0.02em; }
.tok-ticker { font-size: 12px; color: var(--amber); letter-spacing: 0.06em; }
.tok-card hr { border: 0; border-top: 1px solid #2a2a2a; margin: 14px 0; }
.tok-tag { font-size: 11px; color: var(--amber); margin-bottom: 8px; }
.tok-desc { font-size: 13px; color: #a3a3a3; line-height: 1.55; }

/* --- how to buy --- */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.step-card { padding: 18px 16px 16px; }
.step-top { display: flex; justify-content: space-between; font-size: 11px; margin-bottom: 12px; }
.step-card h3 { font-size: 16px; margin-bottom: 10px; }
.step-card p { font-size: 13px; color: #c4c4c4; line-height: 1.6; }
.step-note { margin-top: 16px; padding-top: 12px; border-top: 1px solid #2a2a2a; font-size: 11px; color: #888; }
.amber-dot { color: #d4d4d4; }
.inline-link { color: var(--amber); text-decoration: underline; }

.ape-bar {
  margin-top: 18px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ape-bar h3 { font-size: 16px; margin-bottom: 6px; }
.ape-bar p { font-size: 13px; color: #a3a3a3; }
.ape-btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* --- footer --- */
.site-footer {
  border-top: 1px solid #1f1f1f;
  padding: 48px 0 28px;
  position: relative;
}
.footer-grid {
  display: grid;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid #262626;
}
.footer-blurb { margin-top: 14px; font-size: 13px; color: #a3a3a3; line-height: 1.6; max-width: 360px; }
.footer-socials { display: flex; gap: 8px; margin-top: 16px; }
.footer-head { font-size: 12px; letter-spacing: 0.08em; margin-bottom: 12px; }
.footer-grid a { display: block; font-size: 12px; color: #c4c4c4; margin: 6px 0; }
.footer-grid a:hover { color: var(--amber); }
.footer-note { margin-top: 10px; font-size: 12px; color: #737373; line-height: 1.5; }
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  font-size: 12px;
  color: #737373;
  line-height: 1.6;
}
.footer-bottom .copy { white-space: nowrap; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(20px);
  background: var(--amber);
  color: #000;
  font-family: var(--font-silk);
  font-size: 11px;
  padding: 10px 14px;
  border: 2px solid #fef08a;
  box-shadow: 4px 4px 0 var(--amber-dim);
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
  z-index: 80;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.connect-short { display: none; }
.mint-card {
  padding: 32px;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.mint-card img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  background: #000;
  border: 2px solid #fbbf24;
  margin: 0 auto 20px;
  border-radius: 8px;
}

@media (max-width: 720px) {
  .wrap { width: min(1120px, calc(100% - 20px)); }
  .section { padding: 36px 0 48px; }
  .header-inner {
    width: min(1120px, calc(100% - 16px));
    gap: 8px;
    min-height: 56px;
  }
  .hide-sm { display: none !important; }
  .brand { gap: 6px; min-width: 0; }
  .brand-logo { width: 30px; height: 30px; flex-shrink: 0; }
  .brand-text { min-width: 0; }
  .brand-name {
    font-size: 12px;
    letter-spacing: 0.01em;
    text-shadow: 1px 1px 0 #6d28d9;
    -webkit-text-stroke: 0.6px #111;
  }
  .site-header .brand-chain { display: none; }
  .header-actions { gap: 2px; flex-shrink: 0; }
  .header-actions .social { width: 26px; height: 26px; }
  .header-buy {
    font-size: 11px;
    padding: 7px 8px;
    box-shadow: 2px 2px 0 var(--amber-dim);
  }
  .connect-full { display: none; }
  .connect-short { display: inline; }
  .menu-toggle { width: 34px; height: 34px; box-shadow: 2px 2px 0 #0a0a0a; }
  .hero-ctas .social { display: none; }
  .mobile-nav a { font-size: 14px; padding: 12px 0; }
  .banner-frame { margin-bottom: 22px; }
  .banner-bar span:last-child { display: none; }
  .hero-title,
  .section-title {
    font-size: clamp(22px, 8vw, 34px);
    -webkit-text-stroke: 1px #111;
    text-shadow: 2px 2px 0 #6d28d9;
    overflow-wrap: anywhere;
  }
  .hero-title .amber,
  .section-title .amber { text-shadow: 2px 2px 0 #6d28d9; }
  .lore-head,
  .ca-head,
  .step-top { flex-wrap: wrap; }
  .section-lead { margin-bottom: 22px; font-size: 15px; }
  .tok-card h3 { font-size: 22px; overflow-wrap: anywhere; }
  .mint-card { padding: 20px 14px; }
  .mint-card .btn-primary { width: 100%; margin-left: 0; margin-right: 0; }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-secondary { flex: 1 1 140px; }
  .ape-btns .btn-primary,
  .ape-btns .btn-secondary { flex: 1 1 140px; }
  .site-footer .brand { align-items: flex-start; }
  .site-footer .brand-chain {
    display: block;
    white-space: normal;
    line-height: 1.4;
  }
  .footer-blurb { max-width: none; }
}

@media (min-width: 640px) {
  .tok-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .ape-bar { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (min-width: 900px) {
  .desktop-nav { display: flex; }
  .menu-toggle { display: none; }
  .mobile-nav, .mobile-nav.open { display: none !important; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; align-items: start; }
  .tok-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 0.7fr 1.1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: flex-end; }
}
