:root {
  --bg-primary: #0a0c10;
  --bg-surface: #12161f;
  --bg-card: #181e2b;
  --bg-glass: rgba(24, 30, 43, 0.75);
  --border: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(255, 107, 0, 0.4);
  --text-primary: #f0f3f8;
  --text-secondary: #9aa3b2;
  --text-muted: #626c7d;
  --accent-amber: #ff6b00;
  --accent-red: #e63946;
  --accent-blue: #3a86ff;
  --accent-purple: #8338ec;
  --radius: 12px;
  --radius-lg: 18px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: var(--bg-glass);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.brand {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 30%, var(--accent-amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 1.2rem;
  list-style: none;
  font-size: 0.9rem;
  font-weight: 500;
  flex-wrap: wrap;
}

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

.nav-links a:hover, .nav-links a.active {
  color: var(--accent-amber);
}

.header-cta-group {
  display: flex;
  gap: 0.75rem;
}

.btn-yt {
  background: #ff0000;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.btn-yt:hover {
  background: #cc0000;
  transform: translateY(-1px);
}

.btn-amazon {
  background: #ff9900;
  color: #111;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.btn-amazon:hover {
  background: #e68a00;
  transform: translateY(-1px);
}

/* Hero Section */
.hero {
  max-width: 1100px;
  margin: 3rem auto 2rem;
  padding: 0 1.5rem;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 107, 0, 0.12);
  color: var(--accent-amber);
  border: 1px solid rgba(255, 107, 0, 0.3);
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 780px;
  margin: 0 auto 2rem;
}

.stats-bar {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.stat-item h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* Main Hub Sections */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.section-header {
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Niche Grid Cards */
.niche-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.card-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
  display: inline-block;
}

.tag-fantasy { color: var(--accent-purple); }
.tag-military { color: var(--accent-red); }
.tag-comedy { color: var(--accent-amber); }
.tag-kids { color: #06d6a0; }
.tag-comics { color: var(--accent-blue); }

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

.card-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.btn-card-yt {
  background: rgba(255, 0, 0, 0.15);
  color: #ff6666;
  border: 1px solid rgba(255, 0, 0, 0.3);
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
}

.btn-card-yt:hover {
  background: #ff0000;
  color: #fff;
}

.btn-card-book {
  background: rgba(255, 153, 0, 0.15);
  color: #ffb84d;
  border: 1px solid rgba(255, 153, 0, 0.3);
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
}

.btn-card-book:hover {
  background: #ff9900;
  color: #111;
}

/* Article / Long-form Niche Page styles */
.article-container {
  max-width: 820px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}

.article-header {
  margin-bottom: 2rem;
}

.article-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.article-meta {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.article-body {
  font-size: 1.05rem;
  color: #d1d5db;
  line-height: 1.8;
}

.article-body h2 {
  font-size: 1.5rem;
  color: #fff;
  margin: 2rem 0 0.8rem;
}

.article-body p {
  margin-bottom: 1.2rem;
}

.video-embed-box {
  background: #000;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 2rem 0;
  padding: 1.5rem;
  text-align: center;
}

.video-embed-box p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.book-callout {
  background: linear-gradient(135deg, rgba(255, 153, 0, 0.08), rgba(255, 107, 0, 0.03));
  border: 1px solid rgba(255, 153, 0, 0.3);
  border-radius: var(--radius);
  padding: 1.8rem;
  margin: 2.5rem 0;
}

.book-callout h3 {
  font-size: 1.3rem;
  color: #ff9900;
  margin-bottom: 0.6rem;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 4rem;
}
