/* =========================
   GLOBAL RESET & BASE
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  background: linear-gradient(to bottom, #0b0f1a, #111827);
  color: #e5e7eb;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: #60a5fa;
  transition: 0.3s;
}

a:hover {
  color: #93c5fd;
}

/* =========================
   HEADER / NAVBAR
========================= */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fbbf24;
}

.nav a {
  margin-left: 20px;
  font-weight: 500;
}

/* =========================
   HERO SECTION
========================= */
.hero {
  padding: 100px 20px;
  text-align: center;
  background: radial-gradient(circle at top, #1f2937, #020617);
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  max-width: 600px;
  margin: 0 auto 10px;
  color: #9ca3af;
}

.hero .cta {
  padding: 12px 24px;
  background: #3b82f6;
  border-radius: 8px;
  color: white;
  font-weight: bold;
}

/* =========================
   SECTION LAYOUT
========================= */
.section {
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
}

.section h2 {
  margin-bottom: 30px;
  font-size: 1.8rem;
}

/* =========================
   BOOK GRID
========================= */
/* =========================
   BOOK GROUP (AGE SECTIONS)
========================= */

.book-group {
  margin-bottom: 50px;
  padding: 25px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Section headings (Ages) */
.book-group h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: #fbbf24;
  letter-spacing: 0.5px;
}

/* Optional: subtle glow for featured section */
.book-group:first-of-type {
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
}

/* Divider between groups */
.book-group + .book-group {
  margin-top: 40px;
}

/* Optional: different vibe per age group */
.book-group:nth-of-type(1) {
  background: linear-gradient(145deg, #0f172a, #020617);
}

.book-group:nth-of-type(2) {
  background: linear-gradient(145deg, #1f2937, #020617);
}

.books {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.book-card {
  background: #1f2937;
  padding: 15px;
  border-radius: 12px;
  transition: transform 0.3s;
}

.book-card:hover {
  transform: translateY(-5px);
}

.book-card img {
  width: 100%;
  border-radius: 8px;
}

/* =========================
   VIDEO SECTION
========================= */
.videos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.video-card iframe {
  width: 100%;
  height: 200px;
  border-radius: 10px;
}

.video-card {
  background: #020617;
  padding: 10px;
  border-radius: 12px;
}

/* =========================
   CREATOR CONTENT / BLOG
========================= */
.posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.post-card {
  background: #111827;
  padding: 20px;
  border-radius: 12px;
}

.post-card h3 {
  margin-bottom: 10px;
}

.post-card p {
  color: #9ca3af;
}

.post-card a:hover {
  transform: scale(1.05);
}

/* =========================
   FOOTER
========================= */
.footer {
  text-align: center;
  padding: 30px;
  background: #020617;
  color: #6b7280;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .header {
    flex-direction: column;
  }

  .nav {
    margin-top: 10px;
  }
}

/* =========================
   OPTIONAL: CREATOR BADGES
========================= */
.badge {
  display: inline-block;
  padding: 5px 10px;
  background: #f59e0b;
  border-radius: 999px;
  font-size: 0.75rem;
  margin-right: 5px;
}

/* =========================
   OPTIONAL: DARK SPACE ACCENT
========================= */
.glow {
  box-shadow: 0 0 15px rgba(59,130,246,0.6);
}
