/* ===========================================
   cryptorewards.promo — Design System
   Crypto Rewards, Promo Codes & Referral Bonuses
   =========================================== */

:root {
  --bg: #0b0e17;
  --bg-2: #11162a;
  --bg-3: #161d36;
  --surface: #1a2240;
  --line: #243057;
  --text: #e7ecff;
  --text-2: #aab2d5;
  --muted: #7681a8;
  --accent: #f7a800;          /* crypto-gold */
  --accent-2: #ffd24a;
  --accent-hot: #ff5757;
  --green: #21c98a;
  --blue: #5b8def;
  --purple: #9b6bff;
  --card-grad: linear-gradient(135deg, rgba(247,168,0,.10), rgba(91,141,239,.10));
  --hero-grad: radial-gradient(1200px 600px at 80% -10%, rgba(247,168,0,.20), transparent 60%),
               radial-gradient(900px 500px at 0% 20%, rgba(91,141,239,.18), transparent 60%),
               linear-gradient(180deg, #0b0e17 0%, #0e1322 100%);
  --shadow: 0 8px 30px rgba(0,0,0,.35);
  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-2); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); text-decoration: underline; }

/* Headings */
h1, h2, h3, h4 { font-family: 'Space Grotesk', 'Inter', sans-serif; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 1em; color: var(--text-2); }
strong { color: var(--text); }
small { color: var(--muted); }

/* Container */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ===================== NAV ===================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,14,23,.85);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); font-size: 1.05rem; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 32px; height: 32px; }

.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--text-2); font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a.nav-cta {
  background: var(--accent); color: #14171f !important; padding: 9px 16px; border-radius: 10px; font-weight: 700;
}
.nav-links a.nav-cta:hover { background: var(--accent-2); color: #14171f !important; text-decoration: none; }
.menu-toggle { display: none; background: none; color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
@media (max-width: 880px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 16px; background: var(--bg-2); border-bottom: 1px solid var(--line); gap: 10px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 6px; border-bottom: 1px solid var(--line); }
  .menu-toggle { display: inline-block; }
}

/* ===================== HERO ===================== */
.hero { background: var(--hero-grad); padding: 70px 0 56px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.2fr .9fr; gap: 40px; align-items: center; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(247,168,0,.12); color: var(--accent-2); font-size: .85rem; font-weight: 600; margin-bottom: 18px; border: 1px solid rgba(247,168,0,.25); }
.hero-eyebrow .dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; }
.hero h1 span.acc { background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p.lead { font-size: 1.12rem; color: var(--text-2); max-width: 620px; margin-bottom: 22px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.hero-art {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 12px;
}
.hero-art img {
  max-width: 100%;
  max-height: 460px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: calc(var(--radius-lg) - 12px);
}
@media (max-width: 880px) {
  .hero-art { min-height: 220px; }
  .hero-art img { max-height: 320px; }
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 12px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
  font-size: 1rem; line-height: 1;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--accent); color: #14171f; }
.btn-primary:hover { background: var(--accent-2); color: #14171f; }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--accent-2); color: var(--accent-2); }
.btn-ghost { background: rgba(255,255,255,.04); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: rgba(255,255,255,.08); color: var(--text); }
.btn-sm { padding: 9px 14px; font-size: .9rem; border-radius: 10px; }

/* ===================== SECTIONS ===================== */
section { padding: 64px 0; }
section.tight { padding: 40px 0; }
.section-header { text-align: center; max-width: 760px; margin: 0 auto 36px; }
.section-header p { color: var(--text-2); font-size: 1.05rem; }
.kicker { color: var(--accent-2); font-weight: 600; letter-spacing: .12em; font-size: .8rem; text-transform: uppercase; margin-bottom: 10px; }

/* ===================== CARDS ===================== */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(247,168,0,.4); background: var(--bg-3); }
.card h3 { margin-bottom: 6px; }
.card p { margin-bottom: 0; font-size: .95rem; color: var(--text-2); }
.card .card-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--card-grad); margin-bottom: 14px; }

/* Featured / Hub card */
.hub-card { display: flex; flex-direction: column; height: 100%; gap: 8px; }
.hub-card .pill { display: inline-block; align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: rgba(91,141,239,.15); color: var(--blue); font-size: .75rem; font-weight: 600; margin-bottom: 8px; }
.hub-card .arrow { margin-top: auto; padding-top: 16px; color: var(--accent-2); font-weight: 600; font-size: .9rem; }

/* Exchange/Brand card */
.brand-card { display: flex; flex-direction: column; gap: 12px; }
.brand-card .brand-row { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: #14171f; font-weight: 800; font-size: 1.05rem; flex-shrink: 0; }
.brand-card .perks { font-size: .9rem; color: var(--muted); }
.brand-card .reward { font-weight: 700; color: var(--accent-2); font-size: 1rem; }
.brand-card .legal { font-size: .78rem; color: var(--green); display: inline-flex; gap: 6px; align-items: center; }
.brand-card .legal::before { content: '✓'; }
.brand-card .row-cta { display: flex; gap: 8px; margin-top: 6px; flex-wrap: wrap; }

/* ===================== TABLES ===================== */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
table.styled { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 720px; }
table.styled thead th { background: var(--bg-3); color: var(--text); font-weight: 600; padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
table.styled tbody td { padding: 14px 16px; border-bottom: 1px solid var(--line); color: var(--text-2); vertical-align: middle; }
table.styled tbody tr:last-child td { border-bottom: none; }
table.styled tbody tr:hover { background: rgba(247,168,0,.04); }
.t-bonus { color: var(--accent-2); font-weight: 700; }
.t-brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; }

/* ===================== SNAPSHOT BOX ===================== */
.snapshot {
  background: linear-gradient(135deg, rgba(247,168,0,.10), rgba(91,141,239,.10));
  border: 1px solid rgba(247,168,0,.3);
  border-radius: var(--radius);
  padding: 22px;
  margin: 24px 0;
}
.snapshot h3 { margin-top: 0; display: flex; align-items: center; gap: 10px; }
.snapshot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.snapshot-grid div { background: rgba(0,0,0,.25); padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); }
.snapshot-grid div small { display: block; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.snapshot-grid div span { color: var(--accent-2); font-weight: 700; font-size: 1.05rem; }
@media (max-width: 700px) { .snapshot-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===================== CALLOUTS ===================== */
blockquote {
  border-left: 4px solid var(--accent);
  background: var(--bg-2);
  padding: 16px 20px;
  margin: 22px 0;
  border-radius: 8px;
  color: var(--text-2);
}
blockquote strong { color: var(--accent-2); }

.callout { padding: 18px 22px; border-radius: var(--radius); margin: 24px 0; display: flex; gap: 14px; align-items: flex-start; }
.callout.warn { background: rgba(255,87,87,.08); border: 1px solid rgba(255,87,87,.3); }
.callout.tip  { background: rgba(33,201,138,.08); border: 1px solid rgba(33,201,138,.3); }
.callout.info { background: rgba(91,141,239,.08); border: 1px solid rgba(91,141,239,.3); }
.callout h4 { margin: 0 0 6px; color: var(--text); }
.callout p { margin: 0; }
.callout .ico { font-size: 1.3rem; flex-shrink: 0; }

/* ===================== ARTICLE / CONTENT ===================== */
.content { padding: 50px 0; }
.content .article { max-width: 880px; margin: 0 auto; }
.content .article p { font-size: 1.02rem; }
.content ul, .content ol { color: var(--text-2); padding-left: 22px; margin: 12px 0 22px; }
.content ul li, .content ol li { margin-bottom: 8px; }
.content h2 { margin-top: 44px; padding-top: 8px; }
.content h3 { margin-top: 28px; color: var(--text); }

/* FAQ */
.faq { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: none; }
.faq summary { padding: 18px 22px; cursor: pointer; font-weight: 600; color: var(--text); display: flex; justify-content: space-between; align-items: center; }
.faq summary::after { content: '+'; color: var(--accent-2); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq summary:hover { background: var(--bg-3); }
.faq .answer { padding: 0 22px 22px; color: var(--text-2); }

/* ===================== CTA BAND ===================== */
.cta-band {
  background: linear-gradient(135deg, rgba(247,168,0,.16), rgba(91,141,239,.12));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin: 50px 0;
  text-align: center;
}
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { max-width: 640px; margin: 0 auto 22px; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 50px 0 24px; margin-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: var(--text); margin-bottom: 12px; font-size: .95rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--text-2); font-size: .92rem; }
.footer-grid a:hover { color: var(--accent-2); text-decoration: none; }
.footer-disclaimer { font-size: .82rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 20px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; font-size: .85rem; color: var(--muted); margin-top: 18px; flex-wrap: wrap; }

/* ===================== UTIL ===================== */
.text-center { text-align: center; }
.lead { font-size: 1.1rem; color: var(--text-2); }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: rgba(91,141,239,.15); color: var(--blue); font-size: .75rem; font-weight: 600; margin-right: 6px; }
.tag.gold { background: rgba(247,168,0,.18); color: var(--accent-2); }
.tag.green { background: rgba(33,201,138,.15); color: var(--green); }
.tag.red { background: rgba(255,87,87,.15); color: var(--accent-hot); }
.tag.purple { background: rgba(155,107,255,.15); color: var(--purple); }

.breadcrumbs { padding: 16px 0; font-size: .9rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.breadcrumbs a { color: var(--text-2); }
.breadcrumbs a:hover { color: var(--accent-2); }
.breadcrumbs span { color: var(--muted); margin: 0 6px; }

.verified-stamp { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-weight: 600; font-size: .85rem; }
.verified-stamp::before { content: '✓'; background: var(--green); color: #0b0e17; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 800; }

/* Featured strip */
.feature-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 18px 0; }
@media (max-width: 700px) { .feature-strip { grid-template-columns: repeat(2, 1fr); } }
.feature-strip div { text-align: center; }
.feature-strip strong { display: block; color: var(--accent-2); font-size: 1.6rem; font-family: 'Space Grotesk', sans-serif; }
.feature-strip small { color: var(--muted); font-size: .82rem; }

/* Step list */
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { counter-increment: step; position: relative; padding: 14px 16px 14px 56px; margin-bottom: 10px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; color: var(--text-2); }
.steps li::before { content: counter(step); position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #14171f; font-weight: 700; display: grid; place-items: center; }
.steps li strong { color: var(--text); display: block; margin-bottom: 4px; }

/* Code style */
code.promo, .code-pill {
  display: inline-block; background: #0b0e17; border: 1px dashed var(--accent); color: var(--accent-2);
  padding: 4px 10px; border-radius: 8px; font-family: 'Space Mono', ui-monospace, Menlo, monospace; font-weight: 700; letter-spacing: .04em;
}
