/* ============================================================
   VoxelInk Studios — Main Stylesheet
   ============================================================ */

:root {
  --bg:         #0d0d1a;
  --bg-2:       #13132a;
  --bg-card:    #1a1a35;
  --bg-card-2:  #1e1e3a;
  --border:     rgba(255,255,255,0.08);
  --green:      #4ade80;
  --green-dim:  #166534;
  --gold:       #f59e0b;
  --gold-dim:   #78350f;
  --blue:       #60a5fa;
  --blue-dim:   #1e3a5f;
  --text:       #f0f0f8;
  --text-muted: #9090b0;
  --pixel-font: 'Press Start 2P', monospace;
  --body-font:  'Inter', system-ui, sans-serif;
  --radius:     8px;
  --radius-lg:  16px;
  --shadow:     0 4px 24px rgba(0,0,0,0.5);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── BUTTONS ── */

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-family: var(--body-font);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); opacity: 0.9; }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--green);
  color: #0a1a0a;
}

.btn-secondary {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.btn-nav {
  background: var(--green);
  color: #0a1a0a;
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-amazon {
  background: #ff9900;
  color: #111;
  font-size: 0.85rem;
  padding: 10px 18px;
  width: 100%;
  text-align: center;
}

.btn-etsy {
  background: transparent;
  color: #f1641e;
  border: 2px solid #f1641e;
  font-size: 0.85rem;
  padding: 10px 18px;
  width: 100%;
  text-align: center;
}

.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ── SECTION LABELS ── */

.section-label {
  font-family: var(--pixel-font);
  font-size: 0.6rem;
  color: var(--green);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--pixel-font);
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  line-height: 1.4;
  margin-bottom: 16px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 48px;
}

.highlight-green { color: var(--green); }
.highlight-gold  { color: var(--gold); }

/* ── NAV ── */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13,13,26,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  font-family: var(--pixel-font);
  font-size: 0.7rem;
  color: var(--text);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-pixel { color: var(--green); font-size: 1.2em; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
}

/* ── HERO ── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  font-family: var(--pixel-font);
  font-size: 0.55rem;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
  letter-spacing: 0.1em;
}

.hero-title {
  font-family: var(--pixel-font);
  font-size: clamp(1.6rem, 6vw, 3.2rem);
  line-height: 1.3;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-num {
  font-family: var(--pixel-font);
  font-size: 1.1rem;
  color: var(--green);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.stat-divider {
  color: var(--border);
  font-size: 1.5rem;
}

/* Hero pixel decorations */
.hero-pixels {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.px {
  position: absolute;
  border-radius: 2px;
  opacity: 0.12;
  animation: float 6s ease-in-out infinite;
}

.px-1 { width: 32px; height: 32px; background: var(--green); top: 15%; left: 8%; animation-delay: 0s; }
.px-2 { width: 20px; height: 20px; background: var(--gold);  top: 25%; right: 10%; animation-delay: 1.5s; }
.px-3 { width: 48px; height: 48px; background: var(--blue);  bottom: 30%; left: 5%; animation-delay: 3s; }
.px-4 { width: 16px; height: 16px; background: var(--green); bottom: 20%; right: 8%; animation-delay: 0.8s; }
.px-5 { width: 28px; height: 28px; background: var(--gold);  top: 60%; left: 15%; animation-delay: 2.2s; }

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-16px); }
}

/* ── BOOKS ── */

.books {
  padding: 100px 0;
  background: var(--bg-2);
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.book-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  display: flex;
  flex-direction: column;
}

.book-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.book-card--featured {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold-dim), var(--shadow);
  transform: translateY(-8px);
}

.book-card--featured:hover { transform: translateY(-14px); }

.book-tag {
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--pixel-font);
  font-size: 0.5rem;
  padding: 5px 10px;
  border-radius: 4px;
  z-index: 2;
}

.book-card--green .book-tag { background: var(--green-dim); color: var(--green); }
.book-card--gold  .book-tag { background: var(--gold-dim);  color: var(--gold); }
.book-card--blue  .book-tag { background: var(--blue-dim);  color: var(--blue); }

.book-badge-featured {
  position: absolute;
  top: 14px; right: 14px;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--gold);
  color: #111;
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 2;
}

.book-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #111;
}

.book-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.book-card:hover .book-img { transform: scale(1.04); }

.book-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.book-title {
  font-family: var(--pixel-font);
  font-size: 0.75rem;
  line-height: 1.6;
}

.book-card--green .book-title { color: var(--green); }
.book-card--gold  .book-title { color: var(--gold); }
.book-card--blue  .book-title { color: var(--blue); }

.book-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.book-details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.book-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

/* ── BUNDLE ── */

.bundle {
  padding: 100px 0;
  background: var(--bg);
}

.bundle-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.bundle-img {
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(245,158,11,0.2);
  transition: transform 0.3s;
}

.bundle-img:hover { transform: scale(1.02); }

.bundle-text-col { display: flex; flex-direction: column; gap: 20px; }

.bundle-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.bundle-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bundle-list li {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.bundle-price {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.price-was {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-now {
  font-family: var(--pixel-font);
  font-size: 1.6rem;
  color: var(--gold);
}

.bundle-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ── WHY ── */

.why {
  padding: 100px 0;
  background: var(--bg-2);
  text-align: center;
}

.why .section-label, .why .section-title {
  text-align: center;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: var(--green);
}

.why-icon { font-size: 2rem; margin-bottom: 16px; }

.why-card h3 {
  font-family: var(--pixel-font);
  font-size: 0.6rem;
  color: var(--green);
  margin-bottom: 12px;
  line-height: 1.6;
}

.why-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── ABOUT ── */

.about {
  padding: 100px 0;
  background: var(--bg);
}

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

/* Simple pixel character decoration */
.pixel-character {
  width: 120px;
  height: 120px;
  background: var(--green);
  border-radius: 4px;
  position: relative;
  box-shadow: 0 0 32px rgba(74,222,128,0.2);
}

.pixel-character::before {
  content: '';
  position: absolute;
  top: 30px; left: 30px;
  width: 60px; height: 60px;
  background: #0a1a0a;
  border-radius: 2px;
}

.pixel-character::after {
  content: '◉ ◉';
  position: absolute;
  top: 40px; left: 24px;
  font-size: 1rem;
  color: var(--green);
  letter-spacing: 12px;
}

.about-text { display: flex; flex-direction: column; gap: 16px; }

.about-text p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* ── FOOTER ── */

.footer {
  background: #080810;
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer-logo {
  font-family: var(--pixel-font);
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links, .footer-social {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a, .footer-social a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.15s;
}

.footer-links a:hover, .footer-social a:hover { color: var(--text); }

.footer-copy {
  font-size: 0.75rem;
  color: #404060;
}

/* ── RESPONSIVE ── */

@media (max-width: 900px) {
  .books-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .book-card--featured { transform: none; }
  .book-card--featured:hover { transform: translateY(-6px); }

  .bundle-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .bundle-img-col { max-width: 400px; margin: 0 auto; }

  .why-grid { grid-template-columns: repeat(2, 1fr); }

  .about-inner { grid-template-columns: 1fr; }
  .pixel-character { display: none; }

  .nav-links { display: none; }
  .nav-toggle { display: block; }
}

@media (max-width: 600px) {
  .hero-title { font-size: 1.4rem; }
  .section-title { font-size: 1rem; }
  .why-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-stats { gap: 10px; }
  .stat-divider { display: none; }
}
