/*
  ══════════════════════════════════════════════════════════
  STYLE SOURCE — Brand references for this project:
  Dark Bitcoin (active): presentation-builder/style-references/whatbitcointaughtme-brand.html
  WBTM White + Orange:   presentation-builder/style-references/wbtm-brand-white-orange.html (different project — We Buildt To Multiply)

  CSS variables below come from the Dark Bitcoin reference.
  If brand colors change, update both this file and the reference.
  ══════════════════════════════════════════════════════════
*/

/* =====================
   RESET & BASE
   ===================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:        #000000;
  --bg2:       #111111;
  --bg3:       #1a1a1a;
  --orange:    #F7931A;
  --orange2:   #E8691A;
  --gold:      #FFD700;
  --white:     #ffffff;
  --muted:     #e8e8e8;
  --radius:    12px;
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--white);
  font-family: 'Segoe UI', system-ui, sans-serif;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* =====================
   NAV
   ===================== */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(247, 147, 26, 0.2);
  z-index: 100;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--orange);
  flex: 1;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--orange); }

/* =====================
   HERO
   ===================== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
  background: radial-gradient(ellipse at center, #000000 0%, #1a1a1a 100%);
}

.hero-inner {
  max-width: 700px;
}

.hero-logo {
  width: 360px;
  height: 360px;
  object-fit: contain;
  margin-bottom: -0.5rem;
  -webkit-mask-image: radial-gradient(ellipse 55% 55% at center, black 55%, transparent 80%);
  mask-image: radial-gradient(ellipse 55% 55% at center, black 55%, transparent 80%);
  filter: drop-shadow(0 0 30px rgba(247, 147, 26, 0.45));
}

#hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--orange), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.tagline {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* =====================
   BUTTONS
   ===================== */
.btn {
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  cursor: pointer;
  display: inline-block;
}

.btn-primary {
  background: var(--orange);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--gold);
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--orange);
  color: var(--orange);
}

.btn-outline:hover {
  background: var(--orange);
  color: var(--bg);
  transform: translateY(-2px);
}

/* =====================
   SECTIONS
   ===================== */
section {
  padding: 5rem 1.5rem;
}

section:nth-child(even) {
  background: var(--bg2);
}

.section-inner {
  max-width: 1000px;
  margin: 0 auto;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.section-sub {
  color: var(--muted);
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

/* =====================
   BOOK SECTION
   ===================== */
.book-card {
  background: var(--bg3);
  border: 1px solid rgba(247, 147, 26, 0.2);
  border-radius: var(--radius);
  padding: 2rem;
}

.book-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.chapter-count {
  color: var(--orange);
  font-weight: 700;
}

.progress-bar {
  background: rgba(255,255,255,0.1);
  border-radius: 999px;
  height: 12px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--orange2), var(--orange), var(--gold));
  border-radius: 999px;
  transition: width 1s ease;
}

.progress-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.sats-display {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.sats-box {
  background: rgba(247, 147, 26, 0.07);
  border: 1px solid rgba(247, 147, 26, 0.2);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.sats-label {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sats-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
}

.sats-note {
  font-size: 0.75rem;
  color: var(--muted);
}

/* =====================
   QR SECTION
   ===================== */
.qr-section, .fund-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.qr-placeholder {
  display: flex;
  justify-content: center;
}

.qr-box {
  background: var(--bg2);
  border: 2px dashed rgba(247, 147, 26, 0.4);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  width: 220px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.qr-icon {
  font-size: 3rem;
  display: block;
}

.qr-box p {
  font-size: 0.85rem;
  color: var(--muted);
}

.qr-address {
  font-size: 0.7rem !important;
  color: rgba(232, 232, 232, 0.5) !important;
  word-break: break-all;
  text-align: center;
}

/* ── QR Card (real QR codes) ── */
.qr-card {
  background: var(--bg3);
  border: 1px solid rgba(247, 147, 26, 0.2);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.qr-canvas {
  background: #ffffff;
  border-radius: 8px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-canvas img,
.qr-canvas canvas {
  display: block;
}

.qr-tabs {
  display: flex;
  gap: 0.5rem;
}

.qr-tab {
  background: transparent;
  border: 1px solid rgba(247, 147, 26, 0.3);
  color: var(--muted);
  border-radius: 6px;
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.qr-tab.active {
  background: var(--orange);
  color: #000;
  border-color: var(--orange);
}

.qr-tab:hover:not(.active) {
  border-color: var(--orange);
  color: var(--orange);
}

.qr-pay-link {
  font-size: 0.8rem;
  color: var(--orange);
  font-weight: 600;
  text-decoration: none;
}

.qr-pay-link:hover { text-decoration: underline; }

.qr-instructions h3, .fund-info h3 {
  color: var(--orange);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.qr-instructions ul li, .fund-info ul li {
  color: var(--muted);
  font-size: 0.9rem;
  padding: 0.4rem 0;
  padding-left: 1.2rem;
  position: relative;
}

.qr-instructions ul li::before,
.fund-info ul li::before {
  content: '⚡';
  position: absolute;
  left: 0;
  font-size: 0.75rem;
}

/* =====================
   FUND SECTION
   ===================== */
#fund {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
}

.fund-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: rgba(160, 160, 192, 0.6);
}

/* =====================
   SOCIAL GRID
   ===================== */
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.social-card {
  background: var(--bg3);
  border: 1px solid rgba(247, 147, 26, 0.1);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all var(--transition);
}

.social-card:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(247, 147, 26, 0.15);
}

.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.x-icon       { background: #000; color: #fff; }
.fb-icon      { background: #1877F2; color: #fff; }
.bsky-icon    { background: #0085ff; color: #fff; }
.threads-icon { background: #000; color: #fff; }
.nostr-icon   { background: #7c3aed; color: #fff; }
.yt-icon      { background: #FF0000; color: #fff; }
.spotify-icon { background: #1DB954; color: #fff; }
.ig-icon      { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: #fff; }
.tiktok-icon  { background: #000; color: #fff; }
.li-icon      { background: #0077B5; color: #fff; }
.tg-icon      { background: #2CA5E0; color: #fff; }

.social-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.social-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
}

.social-handle {
  font-size: 0.75rem;
  color: var(--orange);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.social-followers {
  font-size: 0.75rem;
  color: var(--muted);
}

/* =====================
   ABOUT
   ===================== */
#about {
  background: radial-gradient(ellipse at bottom, #000000 0%, #1a1a1a 100%);
}

.about-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
}

.about-logo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--orange);
  box-shadow: 0 0 40px rgba(247, 147, 26, 0.3);
}

.about-text h2 {
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.about-text .btn {
  margin-top: 0.5rem;
}

/* =====================
   FOOTER
   ===================== */
footer {
  background: var(--bg2);
  border-top: 1px solid rgba(247, 147, 26, 0.2);
  padding: 2rem 1.5rem;
  text-align: center;
}

.footer-inner {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

footer p {
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-note {
  font-size: 0.75rem !important;
  opacity: 0.5;
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 700px) {
  .sats-display,
  .qr-section,
  .fund-card,
  .about-inner {
    grid-template-columns: 1fr;
  }

  .about-inner {
    text-align: center;
  }

  .about-logo {
    margin: 0 auto;
  }

  .nav-links {
    display: none;
  }

  .social-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 400px) {
  .social-grid {
    grid-template-columns: 1fr;
  }
}
