/* ============================================================
   PROPS Coin — cinematic dark / fight-poster luxury
   ============================================================ */

:root {
  --bg:        #0a0908;
  --bg-soft:   #12100d;
  --ink:       #f5f1e8;
  --ink-dim:   #b9b2a3;
  --gold:      #e8a020;
  --gold-pale: #d4af37;
  --gold-deep: #8a5c10;
  --rule:      rgba(232, 160, 32, .35);
  --display: 'Oswald', 'Arial Narrow', 'Helvetica Neue Condensed', Impact, sans-serif;
  --body: 'Oswald', 'Arial Narrow', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

body::before { /* film grain over everything */
  content: "";
  position: fixed;
  inset: 0;
  background-image: var(--grain);
  opacity: .05;
  pointer-events: none;
  z-index: 60;
}

img { display: block; max-width: 100%; }

h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: .95;
  margin: 0 0 1.25rem;
}

p { margin: 0 0 1.1rem; }

a { color: var(--gold); }

/* ---------- layout ---------- */
.wrap {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section { padding: clamp(4rem, 9vw, 7.5rem) 0; position: relative; }

.label {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .35em;
  font-size: .8rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.display { font-size: clamp(2.6rem, 7vw, 4.75rem); }

.lede { font-size: 1.15rem; color: var(--ink-dim); max-width: 46ch; }

.gold-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 18%, var(--gold-pale) 50%, var(--gold) 82%, transparent);
  opacity: .6;
}

.disclaimer {
  font-size: .85rem;
  color: var(--ink-dim);
  max-width: 60ch;
  margin: 1.25rem auto 0;
}

/* ---------- live ticker ---------- */
.ticker {
  background: #000;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: .7rem 1rem;
  position: relative;
  z-index: 3;
}
.ticker-inner {
  width: min(1120px, 94%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem clamp(1rem, 4vw, 2.5rem);
  font-family: var(--mono);
}
.ticker-label {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .8rem;
  color: var(--gold-pale);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.live-dot {
  width: .55rem; height: .55rem;
  border-radius: 50%;
  background: #3ddc74;
  box-shadow: 0 0 10px #3ddc74;
  animation: pulse-dot 1.6s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .45; transform: scale(.8); }
}
.ticker-stat { display: inline-flex; align-items: baseline; gap: .45rem; font-size: .85rem; }
.ticker-stat em { font-style: normal; color: var(--ink-dim); text-transform: uppercase; font-size: .68rem; letter-spacing: .12em; }
.ticker-stat strong { color: var(--ink); font-weight: 500; }
.ticker-stat strong.up { color: #3ddc74; }
.ticker-stat strong.down { color: #ff5d5d; }
.ticker-link {
  margin-left: auto;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .75rem;
  color: var(--gold);
  text-decoration: none;
  border: 1px solid var(--rule);
  padding: .35rem .8rem;
}
.ticker-link:hover { background: rgba(232,160,32,.12); }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}
.nav-inner {
  width: min(1240px, 94%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  box-shadow: 0 0 18px rgba(232,160,32,.35);
}
.brand-word {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: .18em;
  color: var(--ink);
}
.nav-links { display: flex; gap: clamp(1rem, 4vw, 2.25rem); }
.nav-links a {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .85rem;
  color: var(--ink-dim);
  text-decoration: none;
  transition: color .25s;
}
.nav-links a:hover { color: var(--gold); }
.nav.scrolled {
  background: rgba(10, 9, 8, .88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(232,160,32,.25), 0 12px 32px rgba(0,0,0,.5);
}

/* ---------- hero ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 0 4rem;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: saturate(1.05) contrast(1.05);
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,9,8,.78) 0%, rgba(10,9,8,.35) 38%, rgba(10,9,8,.55) 68%, var(--bg) 100%),
    radial-gradient(120% 90% at 50% 40%, transparent 30%, rgba(10,9,8,.55) 100%);
}
.hero-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(90% 75% at 50% 45%, transparent 45%, rgba(0,0,0,.72) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 0 1.25rem; max-width: 900px; }
.hero-kicker {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .4em;
  font-size: .8rem;
  color: var(--gold-pale);
  margin-bottom: 1.25rem;
}
.hero-title {
  font-size: clamp(5rem, 20vw, 13rem);
  margin-bottom: .25rem;
  color: var(--ink);
  text-shadow:
    0 2px 0 var(--gold-deep),
    0 6px 30px rgba(232,160,32,.35),
    0 0 90px rgba(232,160,32,.25);
}
.hero-tagline {
  font-family: var(--display);
  text-transform: uppercase;
  font-weight: 600;
  font-size: clamp(1.25rem, 4vw, 2rem);
  letter-spacing: .12em;
  color: var(--gold);
  margin-bottom: 1rem;
}
.hero-sub { color: var(--ink-dim); font-size: 1.1rem; max-width: 44ch; margin: 0 auto 2.25rem; }
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 600;
  font-size: .95rem;
  padding: 1rem 2.1rem;
  text-decoration: none;
  border: 1px solid var(--gold);
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn-gold {
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  color: #14100a;
  box-shadow: 0 6px 26px rgba(232,160,32,.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 34px rgba(232,160,32,.5); }
.btn-ghost { background: rgba(10,9,8,.45); color: var(--gold); }
.btn-ghost:hover { background: rgba(232,160,32,.12); transform: translateY(-2px); }

.scroll-hint {
  position: absolute; bottom: 1.75rem; left: 50%; transform: translateX(-50%);
  z-index: 2; opacity: .7;
}
.scroll-hint span {
  display: block; width: 22px; height: 36px;
  border: 2px solid var(--gold); border-radius: 12px; position: relative;
}
.scroll-hint span::after {
  content: ""; position: absolute; top: 7px; left: 50%;
  width: 4px; height: 8px; margin-left: -2px; border-radius: 2px;
  background: var(--gold);
  animation: hint 1.8s ease-in-out infinite;
}
@keyframes hint { 0%,100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(10px); opacity: .35; } }

/* ---------- story ---------- */
.story { background: linear-gradient(180deg, var(--bg), var(--bg-soft)); }
.story-inner { max-width: 780px; }
.story-inner p { color: var(--ink-dim); max-width: 62ch; }
.code-title {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .95rem;
  color: var(--gold);
  margin: 2.25rem 0 1rem;
}
.code-list { list-style: none; margin: 0; padding: 0; }
.code-list li {
  font-family: var(--display);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: .1em;
  font-size: 1.15rem;
  color: var(--ink);
  padding: .9rem 0 .9rem 1.25rem;
  border-top: 1px solid var(--rule);
  position: relative;
}
.code-list li:last-child { border-bottom: 1px solid var(--rule); }
.code-list li::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 6px; height: 6px; transform: translateY(-50%) rotate(45deg);
  background: var(--gold);
}
/* ---------- founder ---------- */
.founder {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  align-items: center;
}
.founder-bg { position: absolute; inset: 0; }
.founder-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: saturate(1.05) contrast(1.05);
}
.founder-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--bg) 0%, transparent 22%, transparent 78%, var(--bg) 100%),
    linear-gradient(100deg, rgba(10,9,8,.93) 18%, rgba(10,9,8,.62) 52%, rgba(10,9,8,.28) 100%);
}
.founder-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
  width: min(1120px, 92%);
  margin: 0 auto;
}
.founder-copy p { color: var(--ink-dim); max-width: 52ch; }
.founder-cards { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
.founder-card {
  margin: 0;
  border: 1px solid var(--rule);
  padding: .6rem;
  background: #000;
  box-shadow: 0 24px 60px rgba(0,0,0,.65), 0 0 46px rgba(232,160,32,.12);
}
.founder-card img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 20%; }
.founder-card figcaption {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .75rem;
  color: var(--gold-pale);
  text-align: center;
  padding: .8rem 0 .3rem;
}

/* ---------- the name ---------- */
.name { background: var(--bg); }
.name-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
}
.name-photo { margin: 0; }
.name-photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border: 1px solid var(--rule);
  padding: .6rem;
  background: rgba(255,255,255,.02);
}
.name-copy p { color: var(--ink-dim); max-width: 56ch; margin-bottom: 1.1rem; }
.name-copy .stat-num {
  display: block;
  font-family: var(--display);
  font-size: 3.2rem;
  line-height: 1;
  color: var(--gold);
  margin-bottom: .4rem;
}
.name-closer {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gold-pale);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ---------- why props ---------- */
.why .rules-head {
  font-family: var(--display);
  letter-spacing: .14em;
  color: var(--gold);
  font-size: 1.15rem;
  margin: 1.6rem 0 .8rem;
}
.why .rules {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
  display: grid;
  gap: .55rem;
}
.why .rules li {
  border-left: 2px solid var(--gold);
  padding-left: .9rem;
  line-height: 1.55;
}
.why .rules strong { color: var(--gold-pale); }
.legends-closer {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  color: var(--gold);
  margin-top: 1.6rem;
}

/* ---------- contract ---------- */
.contract { background: var(--bg); text-align: center; }
.contract-inner { max-width: 720px; }
.contract-box {
  display: flex;
  gap: .75rem;
  align-items: stretch;
  justify-content: center;
  margin-top: 1.5rem;
}
.contract-box code {
  flex: 1 1 auto;
  font-family: var(--mono);
  font-size: clamp(.72rem, 2.4vw, .95rem);
  color: var(--gold-pale);
  background: #000;
  border: 1px solid var(--rule);
  padding: 1rem 1.1rem;
  word-break: break-all;
  text-align: left;
  display: flex;
  align-items: center;
  box-shadow: inset 0 0 24px rgba(232,160,32,.06);
}
.btn-copy { cursor: pointer; white-space: nowrap; min-width: 120px; }
.btn-copy.copied { background: linear-gradient(180deg, var(--gold-pale), var(--gold)); }

/* ---------- community ---------- */
.community { position: relative; overflow: hidden; }
.community-bg { position: absolute; inset: 0; }
.community-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: .22;
  filter: saturate(1.05) contrast(1.05);
}
.community-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(10,9,8,.78) 30%, rgba(10,9,8,.78) 70%, var(--bg) 100%);
}
.community-inner { position: relative; z-index: 2; }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.card {
  display: flex; flex-direction: column;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(232,160,32,.22);
  padding: 1.75rem 1.5rem;
  text-decoration: none;
  color: var(--ink);
  position: relative;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 18px 44px rgba(0,0,0,.55), 0 0 30px rgba(232,160,32,.12);
}
.card-tag {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .24em;
  font-size: .68rem;
  color: var(--gold);
  margin-bottom: .9rem;
}
.card h3 {
  font-size: 1.6rem;
  margin-bottom: .6rem;
}
.card .handle { font-size: 1rem; color: var(--ink-dim); letter-spacing: .04em; }
.card p { color: var(--ink-dim); font-size: .95rem; flex: 1; }
.card-link {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8rem;
  color: var(--gold);
  margin-top: 1rem;
}
.card-soon { opacity: .75; border-style: dashed; cursor: default; }
.card-soon:hover { transform: none; border-color: rgba(232,160,32,.22); box-shadow: none; }
.card-link-muted { color: var(--ink-dim); }

/* ---------- legend ---------- */
.legend { position: relative; overflow: hidden; }
.legend-bg { position: absolute; inset: 0; }
.legend-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; opacity: .3; filter: saturate(1.05) contrast(1.08); }
.legend-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(10,9,8,.72) 30%, rgba(10,9,8,.72) 70%, var(--bg) 100%);
}
.legend-inner { position: relative; z-index: 2; max-width: 780px; }
.legend-inner p { color: var(--ink-dim); }
.legend-quote {
  margin: 2.5rem 0 0;
  padding: 2rem 2rem 2rem 2.25rem;
  border-left: 3px solid var(--gold);
  background: rgba(0,0,0,.55);
  box-shadow: 0 18px 44px rgba(0,0,0,.5);
}
.legend-quote p {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.05rem, 3vw, 1.35rem);
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
  text-transform: none;
  letter-spacing: .02em;
}

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--rule);
  background: #060504;
  padding: 3rem 0;
}
.footer-inner { text-align: center; }
.footer-domain {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .3em;
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: .5rem;
}
.footer-tagline {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.footer-copy { color: var(--ink-dim); font-size: .9rem; margin-bottom: .4rem; }
.footer-disclaimer { color: var(--ink-dim); font-size: .85rem; margin: 0; }

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .scroll-hint { display: none; }
}

/* ---------- responsive ---------- */
section[id] { scroll-margin-top: 76px; }

@media (max-width: 860px) {
  .founder-grid { grid-template-columns: 1fr; }
  .founder-card { max-width: 420px; margin: 0 auto; }
  .name-grid { grid-template-columns: 1fr; }
  .name-photo { max-width: 420px; margin: 0 auto; }
  .cards { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .contract-box { flex-direction: column; }
  .btn-copy { width: 100%; }
  .nav-links a { font-size: .78rem; }
  .brand-word { font-size: 1.1rem; }
  .hero-ctas .btn { width: 100%; }
  .legend-quote { padding: 1.5rem 1.25rem 1.5rem 1.5rem; }
}
