/* ═══════════════════════════════════════
   dick coin — styles
   palette pulled from the logo artwork
   ═══════════════════════════════════════ */

:root {
  --navy-900: #0c1a2b;
  --navy-800: #10233a;
  --navy-700: #152942;
  --navy-600: #1b3252;
  --line: rgba(255, 248, 231, 0.10);
  --line-strong: rgba(255, 248, 231, 0.18);

  --cream: #fff8e7;
  --cream-dim: rgba(255, 248, 231, 0.66);
  --cream-faint: rgba(255, 248, 231, 0.42);
  --gold: #ffd66b;
  --gold-soft: #ffe9a8;

  --glow: 0 0 28px rgba(255, 214, 107, 0.35);
  --radius: 18px;
  --wrap: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--navy-700);
  color: var(--cream);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-soft); }
h1, h2, h3 { line-height: 1.08; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── ambient background ── */
.glow-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .5;
  pointer-events: none;
  z-index: 0;
}
.blob-a {
  width: 620px; height: 620px;
  top: -220px; left: -180px;
  background: radial-gradient(circle, rgba(255, 214, 107, .22), transparent 68%);
}
.blob-b {
  width: 700px; height: 700px;
  bottom: -260px; right: -240px;
  background: radial-gradient(circle, rgba(120, 170, 255, .18), transparent 68%);
}
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(160deg, var(--cream), var(--gold-soft) 55%, var(--gold));
  color: var(--navy-900);
  box-shadow: 0 10px 30px rgba(255, 214, 107, .22), inset 0 1px 0 #fff;
}
.btn-primary:hover {
  color: var(--navy-900);
  box-shadow: 0 16px 44px rgba(255, 214, 107, .38), inset 0 1px 0 #fff;
}

.btn-ghost {
  background: rgba(255, 248, 231, .05);
  border-color: var(--line-strong);
  color: var(--cream);
}
.btn-ghost:hover {
  color: var(--cream);
  background: rgba(255, 248, 231, .10);
  border-color: rgba(255, 214, 107, .5);
}

.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 17px 40px; font-size: 17px; }

/* ── nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px max(24px, calc((100vw - var(--wrap)) / 2 + 24px));
  transition: background .3s var(--ease), border-color .3s var(--ease), padding .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(12, 26, 43, .78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand { display: flex; align-items: center; gap: 11px; color: var(--cream); }
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 50%;
  filter: drop-shadow(0 0 12px rgba(255, 214, 107, .45));
}
.brand-name {
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  color: var(--cream-dim);
  font-size: 15px;
  font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--cream); }
.nav-links .nav-cta { color: var(--navy-900); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── hero ── */
.hero {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 130px 0 70px;
  background:
    radial-gradient(1000px 620px at 78% 28%, rgba(255, 214, 107, .12), transparent 62%),
    linear-gradient(180deg, var(--navy-900), var(--navy-700) 62%);
}

.hero-inner {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 248, 231, .05);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--cream-dim);
  margin-bottom: 26px;
}
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #5ee08a;
  box-shadow: 0 0 0 0 rgba(94, 224, 138, .6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(94, 224, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(94, 224, 138, 0); }
}

.hero-title {
  font-size: clamp(58px, 9.5vw, 118px);
  font-weight: 800;
  letter-spacing: -0.045em;
  margin-bottom: 20px;
  color: var(--cream);
  text-shadow:
    0 0 18px rgba(255, 214, 107, .55),
    0 0 55px rgba(255, 214, 107, .32),
    0 0 110px rgba(255, 214, 107, .18);
}

.hero-sub {
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--cream-dim);
  margin-bottom: 18px;
  line-height: 1.5;
}
.hero-sub strong { color: var(--cream); font-weight: 700; }

.hero-desc {
  font-size: 16px;
  color: var(--cream-faint);
  max-width: 50ch;
  margin-bottom: 30px;
}

/* contract address pill */
.ca-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 10px 16px;
  border: 1px solid var(--line-strong);
  background: rgba(12, 26, 43, .55);
  border-radius: 14px;
  max-width: 100%;
  margin-bottom: 28px;
  transition: border-color .25s var(--ease);
}
.ca-box:hover { border-color: rgba(255, 214, 107, .45); }
.ca-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--gold);
  flex-shrink: 0;
}
.ca-value {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  color: var(--cream-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}
.ca-copy {
  flex-shrink: 0;
  padding: 8px 16px;
  border: 0;
  border-radius: 9px;
  background: var(--cream);
  color: var(--navy-900);
  font-family: inherit;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: background .2s, transform .2s var(--ease);
}
.ca-copy:hover { background: var(--gold-soft); transform: translateY(-1px); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-actions.center { justify-content: center; margin-bottom: 0; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 38px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong {
  font-size: 26px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
}
.hero-stats span {
  font-size: 13px;
  color: var(--cream-faint);
  letter-spacing: .02em;
}

/* hero coin */
.hero-art { display: flex; justify-content: center; }
.coin-stage {
  position: relative;
  width: min(430px, 78vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  perspective: 900px;
}
.coin-halo {
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 214, 107, .40), rgba(255, 214, 107, 0) 66%);
  filter: blur(28px);
  animation: breathe 5s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: .82; }
  50% { transform: scale(1.09); opacity: 1; }
}
.coin {
  position: relative;
  width: 100%;
  border-radius: 50%;
  box-shadow:
    0 0 0 1px rgba(255, 248, 231, .14),
    0 30px 80px rgba(0, 0, 0, .5),
    inset 0 0 60px rgba(255, 214, 107, .12);
  animation: float 6s ease-in-out infinite;
  transition: transform .18s ease-out;
  will-change: transform;
}
@keyframes float {
  0%, 100% { transform: translateY(-10px); }
  50% { transform: translateY(10px); }
}
.coin-stage.tilting .coin { animation: none; }

.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 22px;
  color: var(--cream-faint);
  animation: nudge 2s ease-in-out infinite;
}
@keyframes nudge {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 9px); }
}

/* ── marquee ── */
.marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, var(--gold), var(--gold-soft) 50%, var(--gold));
  padding: 13px 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 22px;
  width: max-content;
  animation: scroll 34s linear infinite;
}
.marquee-track span {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .18em;
  color: var(--navy-900);
  white-space: nowrap;
}
.marquee-track i { color: rgba(12, 26, 43, .45); font-style: normal; }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── sections ── */
.section {
  position: relative;
  z-index: 2;
  padding: 110px 0;
}
.section-alt {
  background: linear-gradient(180deg, var(--navy-800), var(--navy-900));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  margin-bottom: 18px;
}
.lead {
  font-size: 17px;
  color: var(--cream-faint);
  line-height: 1.7;
}

/* ── cards ── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.card {
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 248, 231, .045), rgba(255, 248, 231, .015));
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 214, 107, .4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}
.card-icon { font-size: 28px; margin-bottom: 14px; }
.card h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--cream-faint); }

/* ── tokenomics ── */
.tokenomics {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 24px;
  align-items: start;
}
.tok-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}
.tok {
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 248, 231, .035);
  text-align: center;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.tok:hover { border-color: rgba(255, 214, 107, .4); transform: translateY(-4px); }
.tok strong {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.02em;
}
.tok span { font-size: 13px; color: var(--cream-faint); }

.tok-side {
  position: relative;
  padding: 34px 28px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 214, 107, .09), rgba(255, 248, 231, .02));
  text-align: center;
  overflow: hidden;
}
.tok-symbol {
  width: 74px;
  margin: 0 auto 12px;
  opacity: .95;
  filter: drop-shadow(0 0 18px rgba(255, 214, 107, .5));
}
.tok-side h3 { font-size: 15px; font-weight: 600; color: var(--cream-dim); margin-bottom: 12px; }
.ca-value-block {
  display: block;
  white-space: normal;
  word-break: break-all;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--cream);
  background: rgba(12, 26, 43, .6);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 12px 14px;
  margin-bottom: 16px;
  text-overflow: clip;
  overflow: visible;
}
.fine { font-size: 12.5px; color: var(--cream-faint); margin-top: 16px; line-height: 1.6; }

/* the whitepaper punchline under tokenomics */
.punchline {
  margin-top: 34px;
  text-align: center;
  font-size: 17px;
  font-weight: 500;
  color: var(--cream-dim);
  font-style: italic;
}

/* ── testimonials ── */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.quote {
  margin: 0;
  padding: 28px 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 248, 231, .045), rgba(255, 248, 231, .012));
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.quote:hover { transform: translateY(-5px); border-color: rgba(255, 214, 107, .38); }
.quote blockquote {
  margin: 0 0 14px;
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--cream);
}
.quote blockquote::before {
  content: '“';
  color: var(--gold);
  font-size: 34px;
  line-height: 0;
  vertical-align: -6px;
  margin-right: 3px;
}
.quote blockquote::after { content: '”'; color: var(--gold); }
.quote figcaption {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  color: var(--cream-faint);
}

/* ── faq ── */
.faq {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 248, 231, .03);
  overflow: hidden;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.faq details[open] {
  border-color: rgba(255, 214, 107, .38);
  background: rgba(255, 214, 107, .05);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 19px 54px 19px 24px;
  position: relative;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--cream);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--gold);
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p {
  padding: 0 24px 22px;
  font-size: 15px;
  color: var(--cream-faint);
  max-width: 68ch;
}

/* ── phases ── */
.phases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.phase {
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 6px var(--radius) var(--radius) 6px;
  background: linear-gradient(100deg, rgba(255, 214, 107, .07), rgba(255, 248, 231, .015));
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.phase:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(0, 0, 0, .32); }
.phase-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.phase h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.phase p { font-size: 14.5px; color: var(--cream-faint); }
.phase-wide {
  grid-column: 1 / -1;
  border-left-style: dashed;
  border-left-color: rgba(255, 214, 107, .5);
}

/* ── community ── */
.community { padding-bottom: 120px; }
.community-card {
  position: relative;
  padding: 66px 34px;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  background:
    radial-gradient(700px 320px at 50% 0%, rgba(255, 214, 107, .16), transparent 70%),
    linear-gradient(180deg, rgba(255, 248, 231, .05), rgba(255, 248, 231, .015));
  text-align: center;
  overflow: hidden;
}
.community-symbol {
  width: 92px;
  margin: 0 auto 20px;
  filter: drop-shadow(0 0 26px rgba(255, 214, 107, .55));
  animation: float 6s ease-in-out infinite;
}
.community-card h2 {
  font-size: clamp(30px, 4.6vw, 46px);
  font-weight: 700;
  margin-bottom: 16px;
}
.community-card .lead { max-width: 560px; margin: 0 auto 32px; }

/* ── footer ── */
.footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  background: var(--navy-900);
  padding: 46px 0 34px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.footer-brand { display: flex; align-items: center; gap: 13px; }
.footer-brand .fine { margin-top: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 26px; }
.footer-links a { color: var(--cream-dim); font-size: 14.5px; font-weight: 500; }
.footer-links a:hover { color: var(--gold); }

.disclaimer {
  margin-top: 26px;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--cream-faint);
  max-width: 900px;
}
.disclaimer strong { color: var(--cream-dim); font-weight: 600; }
.copyright {
  margin-top: 16px;
  font-size: 12.5px;
  color: rgba(255, 248, 231, .3);
}

/* ── toast ── */
.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  transform: translate(-50%, 24px);
  z-index: 90;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--navy-900);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .4);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ── reveal on scroll ── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ── responsive ── */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 42px; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-art { order: -1; }
  .hero-desc { max-width: 56ch; }
  .ca-box { width: 100%; max-width: 520px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; gap: 34px; }
  .tokenomics { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 24px 22px;
    background: rgba(12, 26, 43, .96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 11px 0; font-size: 16px; }
  .nav-links .nav-cta { margin-top: 10px; justify-content: center; }

  .section { padding: 78px 0; }
  .section-head { margin-bottom: 40px; }
  .community-card { padding: 48px 24px; }
  .hero-stats { gap: 26px; }
  .hero-stats strong { font-size: 22px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .ca-value { font-size: 11.5px; }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
