/* ============================================================
   JIMOTHY WOJAK — $JIMOJAK
   Old money. New chain.
   ============================================================ */

:root {
  --bg: #0a0d0c;
  --bg-2: #0f1413;
  --bg-3: #141a18;
  --ink: #e8e4d9;
  --ink-dim: #9a978c;
  --gold: #d4af5f;
  --gold-bright: #f0cd7e;
  --gold-deep: #8f6f2e;
  --green: #35d07f;
  --line: rgba(212, 175, 95, 0.18);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --mono: "Space Grotesk", monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold); color: #0a0d0c; }

img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }

.gold { color: var(--gold); }
.center { text-align: center; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---------- ambient layers ---------- */
#particles {
  position: fixed; inset: 0;
  z-index: 0; pointer-events: none;
}

.noise {
  position: fixed; inset: -50%;
  z-index: 1; pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -2%); }
  80% { transform: translate(3%, 3%); }
}

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.18s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.42s; }
.d5 { transition-delay: 0.54s; }
.d6 { transition-delay: 0.68s; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.4s, padding 0.4s, box-shadow 0.4s;
}
.nav.scrolled {
  padding: 10px 0;
  background: rgba(10, 13, 12, 0.85);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 28px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-logo {
  width: 42px; height: 42px; border-radius: 50%;
  border: 2px solid var(--gold);
  box-shadow: 0 0 18px rgba(212, 175, 95, 0.35);
  transition: transform 0.4s var(--ease);
}
.nav-brand:hover .nav-logo { transform: rotate(-8deg) scale(1.08); }
.nav-name {
  font-family: var(--serif); font-weight: 800; font-size: 1.15rem;
  color: var(--ink); letter-spacing: 0.02em;
}
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a {
  color: var(--ink-dim); font-size: 0.92rem; font-weight: 500;
  position: relative; transition: color 0.3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -5px;
  width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; align-items: center; gap: 12px; }

.icon-btn {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--ink-dim);
  transition: all 0.3s var(--ease);
}
.icon-btn svg { width: 17px; height: 17px; }
.icon-btn:hover {
  color: var(--gold); border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(212, 175, 95, 0.25);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 700;
  border-radius: 999px; cursor: pointer;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
}
.btn-sm { padding: 9px 20px; font-size: 0.88rem; }
.btn-lg { padding: 16px 34px; font-size: 1.02rem; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  color: #14100a;
  box-shadow: 0 6px 24px rgba(212, 175, 95, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-gold:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 36px rgba(212, 175, 95, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-gold:active { transform: translateY(-1px); }
.btn-ghost {
  border: 1px solid var(--line); color: var(--ink);
  background: rgba(212, 175, 95, 0.04);
}
.btn-ghost:hover {
  border-color: var(--gold); color: var(--gold);
  transform: translateY(-3px);
  background: rgba(212, 175, 95, 0.1);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; z-index: 2;
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 120px 24px 80px;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-banner {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 30%;
  opacity: 0.38;
  transform: scale(1.08);
  animation: heroDrift 24s ease-in-out infinite alternate;
  filter: saturate(0.9);
}
@keyframes heroDrift {
  from { transform: scale(1.08) translateX(-1.5%); }
  to { transform: scale(1.14) translateX(1.5%); }
}
.hero-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 42%, transparent 20%, rgba(10, 13, 12, 0.72) 75%),
    linear-gradient(to bottom, rgba(10, 13, 12, 0.55), rgba(10, 13, 12, 0.25) 40%, var(--bg) 96%);
}

.hero-content { position: relative; max-width: 880px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 20px; border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(10, 13, 12, 0.6); backdrop-filter: blur(8px);
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 28px;
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(53, 208, 127, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(53, 208, 127, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(53, 208, 127, 0); }
  100% { box-shadow: 0 0 0 0 rgba(53, 208, 127, 0); }
}

.hero-title {
  font-family: var(--serif); font-weight: 800;
  font-size: clamp(3.4rem, 11vw, 7.6rem);
  line-height: 0.98; letter-spacing: 0.01em;
  margin-bottom: 22px;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
}
.hero-title .line { display: block; }

.gold-shine {
  background: linear-gradient(100deg, var(--gold-deep) 0%, var(--gold-bright) 25%, #fff6dc 50%, var(--gold-bright) 75%, var(--gold-deep) 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 5s linear infinite;
}
@keyframes shine {
  to { background-position: 250% center; }
}

.hero-tag {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.2rem, 2.6vw, 1.65rem);
  color: var(--gold-bright); margin-bottom: 16px;
}
.hero-sub {
  max-width: 620px; margin: 0 auto 34px;
  color: var(--ink-dim); font-size: 1.06rem;
}
.hero-sub strong { color: var(--ink); }

/* contract address */
.ca-box {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 13px 22px; margin-bottom: 36px;
  border-radius: 14px; cursor: pointer;
  border: 1px solid var(--line);
  background: rgba(15, 20, 19, 0.8); backdrop-filter: blur(10px);
  font-family: var(--mono); font-size: 0.92rem;
  transition: all 0.3s var(--ease);
  max-width: 92vw;
}
.ca-box:hover { border-color: var(--gold); box-shadow: 0 0 24px rgba(212, 175, 95, 0.2); }
.ca-label {
  font-weight: 700; color: #14100a; background: var(--gold);
  padding: 2px 10px; border-radius: 6px; font-size: 0.78rem;
}
.ca-value { color: var(--ink-dim); overflow: hidden; text-overflow: ellipsis; }
.ca-copy { width: 17px; height: 17px; color: var(--gold); flex-shrink: 0; }

.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.scroll-hint {
  position: absolute; bottom: 26px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px; border-radius: 14px;
  border: 2px solid rgba(212, 175, 95, 0.4);
}
.scroll-hint span {
  position: absolute; top: 7px; left: 50%;
  width: 4px; height: 8px; border-radius: 4px;
  background: var(--gold); transform: translateX(-50%);
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint {
  0% { opacity: 1; top: 7px; }
  70% { opacity: 0; top: 22px; }
  100% { opacity: 0; top: 7px; }
}

/* ============================================================
   TICKER
   ============================================================ */
.ticker {
  position: relative; z-index: 2;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #10130f, #0c0f0c);
  padding: 16px 0;
}
.ticker-track {
  display: flex; align-items: center; gap: 34px;
  width: max-content;
  animation: tick 26s linear infinite;
  font-family: var(--mono); font-weight: 700;
  font-size: 1.02rem; letter-spacing: 0.22em;
  color: var(--gold);
}
.ticker-track i { color: rgba(212, 175, 95, 0.35); font-style: normal; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tick {
  to { transform: translateX(-33.333%); }
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { position: relative; z-index: 2; padding: 110px 0; }

.eyebrow {
  font-family: var(--mono); font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
h2 {
  font-family: var(--serif); font-weight: 800;
  font-size: clamp(2.1rem, 4.6vw, 3.3rem);
  line-height: 1.12; margin-bottom: 20px;
}
.section-sub { color: var(--ink-dim); max-width: 560px; margin: 0 auto 54px; }
.center.section-sub { margin-left: auto; margin-right: auto; }

/* ---------- about ---------- */
.about { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.split {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: 70px; align-items: center;
}
.about-media { text-align: center; }
.portrait-frame {
  position: relative; overflow: hidden;
  border-radius: 18px;
  border: 3px solid var(--gold-deep);
  outline: 1px solid rgba(212, 175, 95, 0.3);
  outline-offset: 8px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 50px rgba(212, 175, 95, 0.12);
}
.portrait-frame img { transition: transform 0.7s var(--ease); }
.portrait-frame:hover img { transform: scale(1.04); }
.frame-shine {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 246, 220, 0.16) 50%, transparent 60%);
  background-size: 250% 100%;
  background-position: 120% 0;
  transition: background-position 0.9s var(--ease);
  pointer-events: none;
}
.portrait-frame:hover .frame-shine { background-position: -120% 0; }
.portrait-plaque {
  display: inline-block; margin-top: 22px;
  padding: 8px 22px; border-radius: 8px;
  background: linear-gradient(135deg, #2a2416, #1a160d);
  border: 1px solid var(--line);
  font-family: var(--serif); font-style: italic;
  font-size: 0.92rem; color: var(--gold-bright);
}
.about-copy p { color: var(--ink-dim); margin-bottom: 18px; }
.about-copy p strong, .about-copy p em { color: var(--ink); }
.about-facts { list-style: none; margin-top: 28px; display: grid; gap: 13px; }
.about-facts li {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 18px; border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(212, 175, 95, 0.04);
  font-weight: 500; transition: all 0.3s var(--ease);
}
.about-facts li:hover {
  transform: translateX(8px);
  border-color: rgba(212, 175, 95, 0.45);
  background: rgba(212, 175, 95, 0.08);
}
.fact-icon { font-size: 1.25rem; }

/* ---------- memes ---------- */
.memes { background: var(--bg-2); }
.meme-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 34px; margin-top: 10px;
}
.meme-card {
  position: relative; overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--bg-3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s;
  will-change: transform;
}
.meme-card:hover {
  border-color: rgba(212, 175, 95, 0.5);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.55), 0 0 40px rgba(212, 175, 95, 0.14);
}
.meme-card img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.meme-card:hover img { transform: scale(1.05); }
.meme-card figcaption {
  padding: 18px 24px;
  font-family: var(--serif); font-style: italic;
  font-size: 1.02rem; color: var(--ink-dim);
  border-top: 1px solid var(--line);
  background: rgba(10, 13, 12, 0.7);
}

/* ---------- banner break ---------- */
.banner-break {
  position: relative; z-index: 2;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.banner-break img {
  width: 100%; min-height: 420px; object-fit: cover;
  filter: brightness(0.62);
}
.banner-quote {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 24px;
  background: radial-gradient(ellipse at center, rgba(10, 13, 12, 0.25), rgba(10, 13, 12, 0.7));
}
.banner-quote blockquote {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.5rem, 4vw, 2.7rem);
  max-width: 820px; line-height: 1.3;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
}
.banner-quote cite {
  margin-top: 18px; font-style: normal;
  font-family: var(--mono); letter-spacing: 0.2em;
  font-size: 0.88rem; color: var(--gold);
}

/* ---------- tokenomics ---------- */
.tokenomics { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.tok-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.tok-card {
  position: relative; overflow: hidden;
  padding: 34px 26px; border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(212, 175, 95, 0.06), rgba(212, 175, 95, 0.015) 60%);
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.tok-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity 0.4s;
}
.tok-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 95, 0.45);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
}
.tok-card:hover::before { opacity: 1; }
.tok-num {
  font-family: var(--mono); font-weight: 700;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  color: var(--gold-bright); margin-bottom: 6px;
  min-height: 1.3em;
}
.tok-label {
  font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; font-size: 0.8rem;
  color: var(--ink); margin-bottom: 12px;
}
.tok-card p { color: var(--ink-dim); font-size: 0.92rem; }

/* ---------- how to buy ---------- */
.how { background: var(--bg); }
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 18px; align-items: stretch;
  margin: 50px 0 54px;
}
.step {
  padding: 30px 24px; border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--bg-3);
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.step:hover { transform: translateY(-6px); border-color: rgba(212, 175, 95, 0.45); }
.step-num {
  font-family: var(--mono); font-weight: 700;
  font-size: 2rem; line-height: 1;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 14px;
}
.step h3 {
  font-family: var(--serif); font-size: 1.2rem;
  margin-bottom: 10px;
}
.step p { color: var(--ink-dim); font-size: 0.92rem; }
.step-connector {
  align-self: center;
  width: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative; z-index: 2;
  border-top: 1px solid var(--line);
  background: #070908;
  padding: 54px 0 34px;
}
.footer-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
  flex-wrap: wrap; margin-bottom: 34px;
}
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-logo {
  width: 52px; height: 52px; border-radius: 50%;
  border: 2px solid var(--gold);
}
.footer-name { font-family: var(--serif); font-weight: 800; font-size: 1.2rem; }
.footer-ticker { font-family: var(--mono); font-size: 0.82rem; color: var(--ink-dim); }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { color: var(--ink-dim); font-size: 0.92rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--gold); }
.footer-legal {
  border-top: 1px solid rgba(212, 175, 95, 0.08);
  padding-top: 24px;
  color: #605e55; font-size: 0.8rem;
}
.footer-legal p + p { margin-top: 10px; }

/* ============================================================
   COPY TOAST
   ============================================================ */
.toast {
  position: fixed; bottom: 30px; left: 50%;
  transform: translate(-50%, 20px);
  z-index: 200;
  padding: 12px 26px; border-radius: 999px;
  background: var(--gold); color: #14100a;
  font-weight: 700; font-size: 0.92rem;
  opacity: 0; pointer-events: none;
  transition: all 0.4s var(--ease);
  box-shadow: 0 10px 34px rgba(212, 175, 95, 0.4);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .tok-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .step-connector { display: none; }
}

@media (max-width: 600px) {
  .section { padding: 80px 0; }
  .meme-grid { grid-template-columns: 1fr; gap: 24px; }
  .tok-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .ca-box { width: 100%; justify-content: center; }
  .nav-actions .btn { display: none; }
  .banner-break img { min-height: 340px; }
}

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