/* ================================================================
   BrandBounty — Campaign-First Dark Theme
   ================================================================ */
:root {
  --bg: #080808;
  --bg-card: #0f0f0f;
  --bg-elevated: #151515;
  --border: #262626;
  --border-hover: #3a3a3a;
  --text: #fafafa;
  --text-muted: #a6a6a6;
  --text-dim: #666;
  --accent: #00e87b;
  --accent-light: #38ffa0;
  --accent-glow: rgba(0, 232, 123, 0.12);
  --purple: #7c5cff;
  --radius: 16px;
  --radius-sm: 10px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text); background: var(--bg); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
::selection { background: rgba(0,232,123,0.3); color: #fff; }

/* ---- Layout ---- */
.container { width: min(1200px, calc(100% - 32px)); margin-inline: auto; }
.section { padding: 80px 0; }
.sub { color: var(--text-muted); margin: 0 auto 40px; max-width: 500px; }

/* ---- Scroll Reveal ---- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.stagger > .reveal:nth-child(1) { transition-delay: 0ms; }
.stagger > .reveal:nth-child(2) { transition-delay: 80ms; }
.stagger > .reveal:nth-child(3) { transition-delay: 160ms; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 2px solid transparent; border-radius: 999px;
  padding: 12px 24px; font-size: 15px; font-weight: 600; transition: all 0.3s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #000; box-shadow: 0 6px 24px var(--accent-glow); }
.btn-primary:hover { background: var(--accent-light); box-shadow: 0 8px 32px rgba(0,232,123,0.2); }
.btn-ghost { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn-ghost:hover { background: rgba(0,232,123,0.08); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* ================================================================
   Navigation
   ================================================================ */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(8,8,8,0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; width: min(1200px, calc(100% - 32px)); margin-inline: auto; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 38px; height: 38px; }
.brand-name { font-size: 18px; font-weight: 800; letter-spacing: -0.3px; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a { color: var(--text-muted); font-size: 14px; font-weight: 500; transition: color 0.2s; }
.site-nav a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.hamburger { display: none; background: none; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px; color: var(--text); }
.hamburger svg { width: 20px; height: 20px; }
.mobile-nav { display: none; background: var(--bg-card); border-bottom: 1px solid var(--border); padding: 12px 20px; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 10px 0; color: var(--text-muted); font-size: 15px; border-bottom: 1px solid var(--border); }
.mobile-nav a:last-child { border: none; }

/* ================================================================
   WANTED Poster Hero
   ================================================================ */
.wanted-hero {
  text-align: center; padding: 60px 0 80px;
  position: relative; overflow: hidden;
}
.wanted-hero::before {
  content: ''; position: absolute; top: -10%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(circle, rgba(245,230,200,0.05), transparent 60%);
  pointer-events: none;
}
.wanted-title {
  font-family: 'Times New Roman', 'Georgia', serif;
  font-size: clamp(4rem, 12vw, 9rem); font-weight: 900;
  letter-spacing: 12px; text-transform: uppercase;
  color: #f5e6c8; line-height: 1;
  margin-bottom: 8px; position: relative; z-index: 2;
  text-shadow: 0 2px 20px rgba(245,230,200,0.15);
}
.wanted-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem); color: var(--text-muted);
  margin-bottom: 48px; position: relative; z-index: 2;
}
.wanted-cta {
  margin-top: 40px; position: relative; z-index: 2;
}

/* ================================================================
   Campaign Bounty Cards (Wanted Poster Style)
   ================================================================ */
.campaign-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; z-index: 2; }

.campaign-card {
  background: #f5e6c8;
  background-image:
    radial-gradient(ellipse at 20% 80%, rgba(139,90,43,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(139,90,43,0.06) 0%, transparent 50%);
  border: none; border-radius: 4px;
  padding: 0; text-align: center;
  transition: all 0.3s; position: relative; overflow: hidden;
  box-shadow: 2px 3px 12px rgba(0,0,0,0.5), inset 0 0 40px rgba(139,90,43,0.08);
}
.campaign-card::before {
  content: ''; position: absolute; inset: 0;
  border: 3px solid #8b5a2b; border-radius: 4px; pointer-events: none;
}
.campaign-card::after {
  content: ''; position: absolute; inset: 6px;
  border: 1px solid rgba(139,90,43,0.3); border-radius: 2px; pointer-events: none;
}
.campaign-card:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: 4px 8px 30px rgba(0,0,0,0.6), inset 0 0 40px rgba(139,90,43,0.08);
}

/* Pinned rotation */
.campaign-card:nth-child(1) { transform: rotate(-1.2deg); }
.campaign-card:nth-child(2) { transform: rotate(0.8deg); }
.campaign-card:nth-child(3) { transform: rotate(-0.6deg); }
.campaign-card:nth-child(1):hover { transform: rotate(0deg) translateY(-6px); }
.campaign-card:nth-child(2):hover { transform: rotate(0deg) translateY(-6px); }
.campaign-card:nth-child(3):hover { transform: rotate(0deg) translateY(-6px); }

.bounty-wanted {
  font-family: 'Times New Roman', 'Georgia', serif;
  font-size: clamp(1.6rem, 2.5vw, 2rem); font-weight: 900;
  letter-spacing: 6px; text-transform: uppercase;
  color: #2a1a0a; padding: 20px 16px 4px; line-height: 1;
}
.bounty-mugshot {
  width: 100px; height: 100px; margin: 12px auto;
  background: #e8d5b0; border: 2px solid #8b5a2b; border-radius: 4px;
  display: grid; place-items: center; font-size: 52px;
  box-shadow: inset 0 1px 4px rgba(0,0,0,0.15);
}
.campaign-card h3 {
  font-family: 'Times New Roman', 'Georgia', serif;
  font-size: 16px; font-weight: 900; color: #2a1a0a;
  padding: 0 16px; margin-top: 8px; letter-spacing: 0.5px;
}
.campaign-tag {
  font-size: 10px; color: #5a3a1a; background: rgba(139,90,43,0.15);
  border: 1px solid rgba(139,90,43,0.3); border-radius: 2px; padding: 2px 8px;
  display: inline-block; margin-top: 6px;
  font-family: -apple-system, sans-serif; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
}
.bounty-reward-label {
  font-family: 'Times New Roman', 'Georgia', serif;
  font-size: 11px; letter-spacing: 4px; text-transform: uppercase;
  color: #5a3a1a; padding: 12px 16px 2px;
  display: flex; align-items: center; gap: 8px;
}
.bounty-reward-label::before,
.bounty-reward-label::after {
  content: ''; flex: 1; height: 1px; background: #8b5a2b;
}
.bounty-amount {
  font-family: 'Times New Roman', 'Georgia', serif;
  font-size: clamp(2rem, 3vw, 2.6rem); font-weight: 900;
  color: #2a1a0a; padding: 2px 16px 4px; line-height: 1.1;
}
.bounty-amount .bounty-currency { font-size: 0.7em; vertical-align: top; margin-right: 2px; }
.bounty-per { font-size: 12px; color: #5a3a1a; font-family: -apple-system, sans-serif; font-weight: 500; }
.bounty-brief {
  font-size: 12px; color: #5a3a1a; padding: 8px 20px 0;
  line-height: 1.5; font-family: -apple-system, sans-serif;
}
.campaign-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  margin: 12px 16px 0; border-top: 1px solid rgba(139,90,43,0.3); padding-top: 10px;
}
.campaign-stat { text-align: center; padding: 4px 0; }
.campaign-stat strong { display: block; font-size: 14px; font-weight: 800; color: #2a1a0a; }
.campaign-stat span { font-size: 10px; color: #5a3a1a; text-transform: uppercase; letter-spacing: 0.5px; }
.campaign-card .btn {
  width: calc(100% - 32px); margin: 12px 16px 16px;
  background: #2a1a0a; color: #f5e6c8; border-color: #2a1a0a;
  border-radius: 4px; font-size: 13px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
}
.campaign-card .btn:hover {
  background: var(--accent); color: #000; border-color: var(--accent);
  box-shadow: 0 4px 16px var(--accent-glow);
}

/* ================================================================
   How It Works (Tabbed)
   ================================================================ */
.how-section { text-align: center; }
.how-section h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; margin-bottom: 24px; }

.how-tabs {
  display: inline-flex; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 999px; padding: 4px; margin-bottom: 40px;
}
.how-tab {
  padding: 10px 24px; border: none; border-radius: 999px;
  background: transparent; color: var(--text-muted);
  font-size: 14px; font-weight: 600; transition: all 0.2s;
}
.how-tab.active { background: var(--accent); color: #000; }
.how-tab:hover:not(.active) { color: var(--text); }

.how-panel { display: none; }
.how-panel.active { display: block; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 24px; transition: border-color 0.3s;
}
.step:hover { border-color: var(--border-hover); }
.step-num {
  width: 60px; height: 60px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #a83232 0%, #7a1a1a 60%, #5a0e0e 100%);
  border: 3px solid #8b5a2b;
  display: grid; place-items: center;
  font-family: 'Times New Roman', 'Georgia', serif;
  font-size: 22px; font-weight: 900; color: #f5e6c8;
  margin: 0 auto 16px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.4), inset 0 1px 2px rgba(255,255,255,0.15), inset 0 -2px 4px rgba(0,0,0,0.3);
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  position: relative;
}
.step-num::after {
  content: ''; position: absolute; inset: 3px; border-radius: 50%;
  border: 1px solid rgba(245,230,200,0.15); pointer-events: none;
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 14px; }

/* ================================================================
   Calculator (Parchment)
   ================================================================ */
.calc-section { text-align: center; }
.calc-section h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; margin-bottom: 8px; }
.calculator {
  max-width: 640px; margin: 0 auto; padding: 32px;
  background: #f5e6c8;
  background-image:
    radial-gradient(ellipse at 30% 70%, rgba(139,90,43,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 30%, rgba(139,90,43,0.04) 0%, transparent 50%);
  border: 3px solid #8b5a2b; border-radius: 4px; position: relative;
  box-shadow: 2px 3px 12px rgba(0,0,0,0.4), inset 0 0 30px rgba(139,90,43,0.06);
}
.calculator::after {
  content: ''; position: absolute; inset: 6px;
  border: 1px solid rgba(139,90,43,0.25); border-radius: 2px; pointer-events: none;
}
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 28px; position: relative; z-index: 1; }
.calc-field label { display: block; font-size: 13px; color: #5a3a1a; margin-bottom: 6px; font-weight: 600; }
.calc-val { font-family: 'Times New Roman', 'Georgia', serif; font-size: 1.6rem; font-weight: 900; margin-bottom: 10px; color: #2a1a0a; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; background: rgba(139,90,43,0.3); border-radius: 2px; outline: none; position: relative; z-index: 1; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #2a1a0a; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.3); border: 3px solid #8b5a2b; }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #2a1a0a; cursor: pointer; border: 3px solid #8b5a2b; }
.calc-outputs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding-top: 24px; border-top: 1px solid rgba(139,90,43,0.3); position: relative; z-index: 1; }
.calc-out { text-align: center; }
.calc-out strong { display: block; font-family: 'Times New Roman', 'Georgia', serif; font-size: 1.5rem; font-weight: 900; color: #2a1a0a; }
.calc-out span { font-size: 12px; color: #5a3a1a; text-transform: uppercase; letter-spacing: 0.5px; }
.calc-note { margin-top: 16px; font-size: 12px; color: #5a3a1a; position: relative; z-index: 1; }

/* ================================================================
   Trust Section
   ================================================================ */
.trust-section { text-align: center; }
.trust-section h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; margin-bottom: 40px; }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trust-item {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; text-align: left; transition: all 0.3s;
}
.trust-item:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.trust-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(0,232,123,0.08); display: grid; place-items: center;
  margin-bottom: 16px; color: var(--accent);
}
.trust-icon svg { width: 24px; height: 24px; }
.trust-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.trust-item p { color: var(--text-muted); font-size: 14px; }

/* ================================================================
   FAQ
   ================================================================ */
.faq-section { text-align: center; }
.faq-section h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; margin-bottom: 24px; }
.faq-tabs { display: inline-flex; background: var(--bg-card); border: 1px solid var(--border); border-radius: 999px; padding: 4px; margin-bottom: 32px; }
.faq-tab { padding: 8px 20px; border: none; border-radius: 999px; background: transparent; color: var(--text-muted); font-size: 14px; font-weight: 600; transition: all 0.2s; }
.faq-tab.active { background: var(--accent); color: #000; }
.faq-panel { display: none; }
.faq-panel.active { display: block; }
.faq-list { max-width: 640px; margin: 0 auto; text-align: left; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; font-size: 15px; font-weight: 600; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 20px; color: var(--text-dim); transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 0 16px; color: var(--text-muted); font-size: 14px; line-height: 1.7; }

/* ================================================================
   CTA (Parchment Notice)
   ================================================================ */
.cta-section { text-align: center; position: relative; overflow: hidden; }
.cta-section::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(circle, rgba(245,230,200,0.06), transparent 60%);
  pointer-events: none;
}
.cta-notice {
  max-width: 580px; margin: 0 auto; padding: 40px 32px 36px;
  background: #f5e6c8;
  background-image:
    radial-gradient(ellipse at 20% 80%, rgba(139,90,43,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(139,90,43,0.04) 0%, transparent 50%);
  border: 3px solid #8b5a2b; border-radius: 4px;
  position: relative; z-index: 2;
  box-shadow: 2px 4px 16px rgba(0,0,0,0.5), inset 0 0 30px rgba(139,90,43,0.06);
}
.cta-notice::after {
  content: ''; position: absolute; inset: 6px;
  border: 1px solid rgba(139,90,43,0.25); border-radius: 2px; pointer-events: none;
}
.cta-notice-header {
  font-family: 'Times New Roman', 'Georgia', serif;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem); font-weight: 900;
  letter-spacing: 6px; text-transform: uppercase;
  color: #2a1a0a; margin-bottom: 16px; line-height: 1;
}
.cta-notice h2 {
  font-family: 'Times New Roman', 'Georgia', serif;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem); font-weight: 900;
  color: #2a1a0a; margin-bottom: 8px;
}
.cta-notice .sub { color: #5a3a1a; margin: 0 auto 24px; max-width: 440px; }
.cta-content { position: relative; z-index: 2; }
.email-form { display: flex; gap: 8px; max-width: 420px; margin: 0 auto; flex-wrap: wrap; justify-content: center; position: relative; z-index: 1; }
.cta-notice .email-input {
  flex: 1; min-width: 220px; padding: 14px 18px; border-radius: 4px;
  border: 2px solid #8b5a2b; background: rgba(255,255,255,0.5);
  color: #2a1a0a; font-family: inherit; font-size: 15px;
  outline: none; transition: border-color 0.2s;
}
.cta-notice .email-input:focus { border-color: #2a1a0a; box-shadow: 0 0 0 3px rgba(139,90,43,0.2); }
.cta-notice .email-input::placeholder { color: #8b5a2b; }
.cta-notice .btn-primary { background: #2a1a0a; color: #f5e6c8; border-color: #2a1a0a; border-radius: 4px; }
.cta-notice .btn-primary:hover { background: var(--accent); color: #000; border-color: var(--accent); box-shadow: 0 4px 16px var(--accent-glow); }
.email-success { display: none; color: #2a1a0a; font-weight: 600; margin-top: 16px; position: relative; z-index: 1; }
.email-success.visible { display: block; }
.cta-small { margin-top: 16px; font-size: 13px; color: #5a3a1a; position: relative; z-index: 1; }
.cta-small a { color: #8b5a2b; font-weight: 600; text-decoration: underline; }

/* ================================================================
   Footer
   ================================================================ */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { color: var(--text-dim); font-size: 13px; margin-top: 12px; max-width: 240px; line-height: 1.5; }
.footer-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.footer-col a { display: block; font-size: 13px; color: var(--text-dim); padding: 3px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; font-size: 12px; color: var(--text-dim); }

/* ================================================================
   Responsive
   ================================================================ */
@media (max-width: 1024px) {
  .site-nav { display: none; }
  .hamburger { display: flex; }
  .campaign-grid, .steps, .trust-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .wanted-hero { padding: 40px 0 56px; }
  .wanted-title { letter-spacing: 6px; }
  .campaign-grid, .steps, .trust-row { grid-template-columns: 1fr; }
  .campaign-card { max-width: 320px; margin-inline: auto; transform: none !important; }
  .campaign-card:hover { transform: translateY(-4px) !important; }
  .calc-row { grid-template-columns: 1fr; }
  .calc-outputs { grid-template-columns: 1fr; gap: 16px; }
  .cta-notice { padding: 32px 20px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 480px) {
  .email-form { flex-direction: column; }
  .email-form .btn, .cta-notice .email-input { width: 100%; min-width: 0; }
  .header-actions .btn-ghost { display: none; }
}
