/* ============================================================
   CASHCOIN ($CASH) — style.css
   White & gold. Clean money, luxury-ticket energy.
   ============================================================ */

:root {
  --bg: #fdfbf4;
  --bg-soft: #f8f2e2;
  --card: #ffffff;
  --border: rgba(176, 138, 32, 0.22);
  --border-strong: rgba(176, 138, 32, 0.45);
  --text: #241d0f;
  --text-dim: #77694b;
  --gold: #d4af37;
  --gold-deep: #a0770e;
  --gold-bright: #f0c94a;
  --gold-dark-text: #2a1f05;
  --sol-a: #7c2ae8;
  --sol-b: #0eb87e;
  --radius: 16px;
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Space Grotesk", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(212, 175, 55, 0.16), transparent 60%),
    radial-gradient(900px 500px at 0% 30%, rgba(212, 175, 55, 0.08), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: var(--gold-dark-text); }

/* ============ money rain ============ */
.money-rain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.money-rain span {
  position: absolute;
  top: -8vh;
  font-size: 22px;
  opacity: 0.18;
  animation: fall linear infinite;
}
@keyframes fall {
  to { transform: translateY(115vh) rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .money-rain { display: none; }
  html { scroll-behavior: auto; }
}

/* ============ nav ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  background: rgba(253, 251, 244, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.nav-logo-emoji { font-size: 26px; }
.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.04em;
}
.nav-logo-text span { color: var(--gold-deep); }
.nav-links {
  display: flex;
  gap: 26px;
}
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--gold-deep); }
@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ============ buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 45%, #b8860b 100%);
  color: var(--gold-dark-text);
  box-shadow: 0 8px 24px rgba(184, 134, 11, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(184, 134, 11, 0.5);
}
.btn-ghost {
  background: var(--card);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--gold);
}
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ============ hero ============ */
.hero {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 96px 24px 56px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.hero-badge {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-deep);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.hero-title .accent {
  background: linear-gradient(120deg, #b8860b 0%, var(--gold-bright) 45%, #9a6f08 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-title .sol {
  background: linear-gradient(90deg, var(--sol-a), var(--sol-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  max-width: 640px;
  color: var(--text-dim);
  font-size: 18px;
}
.hero-sub strong { color: var(--text); }

.ca-box {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  padding: 10px 12px 10px 18px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: var(--card);
  box-shadow: 0 6px 20px rgba(176, 138, 32, 0.12);
}
.ca-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  color: var(--gold-deep);
  letter-spacing: 0.1em;
}
.ca-address {
  font-size: 14px;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 52vw;
}
.ca-copy {
  padding: 8px 16px;
  border-radius: 10px;
  border: none;
  background: rgba(212, 175, 55, 0.18);
  color: var(--gold-deep);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.ca-copy:hover { background: rgba(212, 175, 55, 0.35); }

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-scroll {
  margin-top: 12px;
  color: var(--text-dim);
  font-size: 14px;
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* ============ ticker ============ */
.ticker-wrap {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
  overflow: hidden;
  padding: 12px 0;
}
.ticker {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: scroll 40s linear infinite;
}
.ticker-wrap:hover .ticker { animation-play-state: paused; }
@keyframes scroll {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker { animation: none; flex-wrap: wrap; width: auto; padding: 0 24px; gap: 16px; }
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: var(--text-dim);
  font-size: 14px;
}
.ticker-item .amt { color: var(--gold-deep); font-weight: 700; }
.ticker-item .addr { color: var(--text); }

/* ============ sections ============ */
.section {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 0 auto;
  padding: 88px 24px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 4vw, 40px);
  text-align: center;
  margin-bottom: 12px;
}
.section-sub {
  text-align: center;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 48px;
  font-size: 17px;
}

/* ============ steps ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 800px) {
  .steps { grid-template-columns: 1fr; }
}
.step {
  position: relative;
  padding: 32px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 6px 20px rgba(176, 138, 32, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.step:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 12px 30px rgba(176, 138, 32, 0.16);
}
.step-num {
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 40px;
  color: rgba(212, 175, 55, 0.28);
}
.step-emoji { font-size: 36px; margin-bottom: 14px; }
.step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 10px;
}
.step p { color: var(--text-dim); font-size: 15px; }

.flow-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 44px;
}
.flow-node {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--card);
  font-size: 14px;
  font-weight: 500;
}
.flow-node-accent {
  background: linear-gradient(135deg, rgba(240, 201, 74, 0.5), rgba(212, 175, 55, 0.25));
  border-color: var(--gold);
  color: var(--gold-dark-text);
  font-weight: 700;
}
.flow-arrow { color: var(--gold-deep); font-weight: 700; }

/* ============ stats ============ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats-grid { grid-template-columns: 1fr; } }
.stat-card {
  padding: 30px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 6px 20px rgba(176, 138, 32, 0.08);
  text-align: center;
}
.stat-card-accent {
  border-color: var(--gold);
  background: linear-gradient(160deg, rgba(240, 201, 74, 0.22), var(--card) 65%);
  box-shadow: 0 10px 32px rgba(184, 134, 11, 0.18);
}
.stat-value {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 3.6vw, 38px);
  color: var(--gold-deep);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.stat-unit { font-size: 0.55em; color: var(--text-dim); font-weight: 700; }
.stat-label { margin-top: 8px; color: var(--text-dim); font-size: 14px; }

.demo-note {
  margin-top: 18px;
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
  opacity: 0.85;
}

/* ============ proof ============ */
.proof-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.payout-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 6px 20px rgba(176, 138, 32, 0.08);
}
.payout-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 560px;
}
.payout-table th {
  text-align: left;
  padding: 16px 20px;
  color: var(--text-dim);
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}
.payout-table td {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(176, 138, 32, 0.1);
}
.payout-table tr:last-child td { border-bottom: none; }
.payout-table .amt { color: var(--gold-deep); font-weight: 700; }
.payout-table a { color: var(--gold-deep); text-decoration: none; font-weight: 700; }
.payout-table a:hover { text-decoration: underline; }
.payout-table .empty {
  text-align: center;
  color: var(--text-dim);
  padding: 36px 20px;
}

/* ============ faq ============ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  padding: 0 22px;
  box-shadow: 0 4px 14px rgba(176, 138, 32, 0.06);
  transition: border-color 0.15s ease;
}
.faq-item[open] { border-color: var(--border-strong); }
.faq-item summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 700;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--gold-deep);
  font-family: var(--font-display);
  font-size: 20px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--text-dim); padding-bottom: 20px; font-size: 15px; }

/* ============ community ============ */
.section-community { text-align: center; }
.community-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.community-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 160px;
  padding: 28px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(176, 138, 32, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.community-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 12px 30px rgba(184, 134, 11, 0.2);
}
.community-emoji { font-size: 34px; }

/* ============ footer ============ */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 48px 24px;
  text-align: center;
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  margin-bottom: 16px;
}
.footer-disclaimer {
  max-width: 680px;
  margin: 0 auto 16px;
  color: var(--text-dim);
  font-size: 13px;
}
.footer-copy { color: var(--text-dim); font-size: 13px; opacity: 0.75; }
