:root {
  --bg: #08111f;
  --bg-soft: #0f1c30;
  --card: rgba(255,255,255,0.08);
  --line: rgba(255,255,255,0.14);
  --text: #ecf3ff;
  --muted: #b7c4dc;
  --accent: #8db7ff;
  --accent-2: #d3e2ff;
  --glow: 0 0 50px rgba(141,183,255,0.18);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 20% 10%, rgba(141,183,255,0.14), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(211,226,255,0.10), transparent 25%),
    linear-gradient(180deg, #07101d 0%, #091527 40%, #0b1423 100%);
  color: var(--text);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.stars, .stars::before, .stars::after {
  position: fixed;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.8), transparent),
    radial-gradient(1.5px 1.5px at 120px 90px, rgba(255,255,255,0.6), transparent),
    radial-gradient(2px 2px at 260px 160px, rgba(255,255,255,0.7), transparent),
    radial-gradient(1.5px 1.5px at 420px 40px, rgba(255,255,255,0.7), transparent),
    radial-gradient(2px 2px at 580px 140px, rgba(255,255,255,0.55), transparent),
    radial-gradient(1.5px 1.5px at 760px 80px, rgba(255,255,255,0.75), transparent);
  background-size: 800px 220px;
  animation: drift 60s linear infinite;
  opacity: 0.35;
}
.stars::before { animation-duration: 90s; opacity: 0.20; transform: scale(1.2); }
.stars::after { animation-duration: 120s; opacity: 0.12; transform: scale(1.4); }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(220px); } }

.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }

.banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
  
}

.banner video {
  width: 100%;
  object-fit: cover;
  display: block;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(7, 16, 29, 0.58);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.brand-mark {
  width: 20px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--accent-2), var(--accent));
  box-shadow: var(--glow);
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: var(--bg);
}
.brand-logo {
  height: 28px;
  width: auto;
  display: block;
  object-fit: contain;
}.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--text); }

.hero {
  position: relative;
  padding: 88px 0 64px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
}
.eyebrow {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--accent-2);
  font-size: 0.85rem;
  margin-bottom: 18px;
}
h1 {
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  line-height: 0.95;
  margin: 0 0 18px;
  letter-spacing: -0.04em;
  max-width: 10ch;
}
.hero p {
  font-size: 1.08rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 62ch;
  margin: 0 0 26px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: 0.25s ease;
  font-weight: 600;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #0b1320;
  box-shadow: var(--glow);
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-secondary {
  border-color: var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--text);
}
.btn-secondary:hover { background: rgba(255,255,255,0.08); }

.hero-card {
  border-radius: 32px;
  padding: 32px;
  min-height: 780px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at top, rgba(59,248,255,0.22), rgba(4,6,18,0.85) 65%);
  border: 1px solid rgba(59,248,255,0.18);
  box-shadow: var(--shadow), 0 0 40px rgba(59,248,255,0.18);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.book-carousel {
  width: 100%;
  flex: 1;
  min-height: 480px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  overflow: hidden;
}

.carousel-track {
  position: relative;
  width: max-content;
  min-width: 100%;
  height: 100%;
  display: flex;
  transition: transform 0.8s ease;
  will-change: transform;
}

.carousel-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transform: translateZ(0);
}

.book-cover {
  width: clamp(280px, 45vw, 560px);
  max-height: 520px;
  aspect-ratio: 8 / 12;
  border-radius: 18px;
  border: 2px solid rgba(255,255,255,0.22);
  box-shadow: 0 32px 90px rgba(0,0,0,0.60);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.book-cover-1 {
  background-image: url('./illustrations/bookCover.png');
}

.book-cover-2 {
  background-image: url('./illustrations/bookCover2.png');
}

.naave-13 {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(211,226,255,0.9), rgba(141,183,255,0.7));
  color: #07101d;
  margin-bottom: 18px;
  box-shadow: var(--glow);
  background-image: url('./illustrations/NaaveFace.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.ita-36 {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(211,226,255,0.9), rgba(141,183,255,0.7));
  color: #07101d;
  margin-bottom: 18px;
  box-shadow: var(--glow);
  background-image: url('./illustrations/ItaFace.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.reke-39 {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(211,226,255,0.9), rgba(141,183,255,0.7));
  color: #07101d;
  margin-bottom: 18px;
  box-shadow: var(--glow);
  background-image: url('./illustrations/Rekeface.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.coming-soon-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 12px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-2);
  letter-spacing: 0.05em;
  backdrop-filter: blur(2px);
}

.quote {
  width: 100%;
  padding: 18px;
  border-radius: 20px;
  background: rgba(7,16,29,0.55);
  border: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
  text-align: center;
  margin-top: auto;
}

/* Modal (Join list) */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  z-index: 1000;
}
.modal.open {
  display: flex;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
}
.modal-content {
  position: relative;
  width: min(640px, 100%);
  max-width: 940px;
  max-height: 90vh;
  background: rgba(7, 16, 29, 0.95);
  border-radius: 24px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 20px 60px rgba(0,0,0,0.55);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(0,0,0,0.35);
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
}
.modal-body {
  margin-top: 16px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.modal-body h3 {
  margin: 0;
  font-size: 1.6rem;
}
.modal-body p {
  color: var(--muted);
  margin: 0;
}
#join-form {
  width: 100%;
  height: 520px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.18);
}
#contact-form {
  width: 100%;
  height: 520px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.18);
}
.modal-status {
  font-size: 0.95rem;
  color: var(--accent-2);
  min-height: 1.2em;
}

/* Available books links */
.available-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 24px;
  margin-top: 24px;
  justify-items: center;
}

.store-card {
  position: relative;
  display: inline-block;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.amazon-card, .kobo-card {
  background: linear-gradient(135deg, #fefefe 0%, #f5f5f5 50%, #e8e8e8 100%);
  position: relative;
}

.amazon-card::before, .kobo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.02) 2px,
    rgba(0,0,0,0.02) 4px
  );
  pointer-events: none;
}

.apple-card, .google-card {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
  position: relative;
}

.apple-card::before, .google-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.store-card:hover {
  transform: scale(1.05);
}

.book-cover-small {
  width: 100px;
  height: 160px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}

.book-cover-small-print {
  width: 120px;
  height: 160px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}

.store-logo-overlay {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s ease;
  z-index: 2;
}

.store-logo-overlay:hover {
  transform: scale(1.1);
}

.store-logo-overlay img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.coming-soon-mask {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.3);
  color: #fdfeff;
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  z-index: 3;
  border-radius: 12px;
  pointer-events: none;
}

.available-links {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 16px;
  border-radius: 18px;
}
.available-links h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}
.available-links p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.88rem;
}
.store-logos {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.store-logos a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  text-decoration: none;
}
.store-logos a img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}
.store-logos a span {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1;
}

/* Trailers grid */
.trailers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 32px;
}

@media (max-width: 520px) {
  .trailers-grid {
    gap: 18px;
  }
}

.trailer-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  pointer-events: auto;
}

.trailer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 42px rgba(0,0,0,0.35);
}

.trailer-thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  max-height: 260px;
  overflow: hidden;
}

.trailer-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

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

.play-button {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.trailer-card h3 {
  margin: 18px 20px 8px;
  font-size: 1.15rem;
}

.trailer-card p {
  margin: 0 20px 18px;
  color: var(--muted);
  line-height: 1.45;
}

/* Video modal */
.video-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.92);
  z-index: 1000;
}

.video-modal.open {
  display: flex;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
}

.video-modal-content {
  position: relative;
  width: 100%;
  max-width: 1100px;
  max-height: 90vh;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 22px 60px rgba(0,0,0,0.7);
}

.video-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(0,0,0,0.6);
  color: white;
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 10;
  display: grid;
  place-items: center;
  transition: transform 0.2s ease;
}

.video-modal-close:hover {
  transform: scale(1.05);
}

.video-modal-body {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
}

.video-container {
  position: absolute;
  inset: 0;
}

#video-iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-fallback {
  position: absolute;
  bottom: 18px;
  left: 0;
  width: 100%;
  padding: 0 18px;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  pointer-events: none;
}

.video-fallback a {
  color: var(--accent-2);
  text-decoration: underline;
  pointer-events: auto;
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

section { padding: 72px 0; }
.section-head {
  margin-bottom: 28px;
  max-width: 70ch;
}
.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin: 0 0 12px;
  letter-spacing: -0.03em;
}
.section-head p {
  margin: 0;
  line-height: 1.75;
  color: var(--muted);
}

.story-grid,
.about-grid,
.cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  backdrop-filter: blur(12px);
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(211,226,255,0.30);
  background: rgba(255,255,255,0.10);
}
.card h3 { margin: 0 0 12px; font-size: 1.2rem; }
.card p { margin: 0; color: var(--muted); line-height: 1.7; }

.characters-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.character-card {
  position: relative;
  min-height: 400px;
  overflow: hidden;
}
.character-avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(211,226,255,0.9), rgba(141,183,255,0.7));
  color: #07101d;
  margin-bottom: 18px;
  box-shadow: var(--glow);
}
.character-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.bubble {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  transform: translateY(120%);
  opacity: 0;
  transition: 0.4s ease;
  padding: 16px;
  border-radius: 18px;
  background: rgba(7,16,29,0.75);
  border: 1px solid var(--line);
  color: var(--accent-2);
  line-height: 1.6;
}
.character-card:hover .bubble {
  transform: translateY(0);
  opacity: 1;
}

.vision {
  position: relative;
  overflow: hidden;
}
.vision-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  box-shadow: var(--glow);
}
.vision-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}
.vision-item {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
}
.vision-item strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1rem;
}
.vision-item span {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.96rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.testimonial {
  min-height: 220px;
}
.testimonial p {
  font-size: 1rem;
  color: var(--text);
}
.testimonial footer {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.about-photo {
  min-height: 320px;
  border-radius: 32px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 30% 30%, rgba(211,226,255,0.26), transparent 24%),
    linear-gradient(145deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
  background-image: url('./illustrations/honeyVerma.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  box-shadow: var(--glow);
}

.cta-box {
  padding: 28px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  box-shadow: var(--glow);
}
.footer {
  padding: 24px 0 56px;
  color: var(--muted);
  font-size: 0.95rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid,
  .story-grid,
  .about-grid,
  .cta-grid,
  .characters-grid,
  .testimonials-grid,
  .vision-list {
    grid-template-columns: 1fr;
  }
  .hero-card { min-height: 680px; }
  .book-cover { height: min(420px, 55vh); width: auto; }
}

@media (max-width: 640px) {
  .nav-inner { padding: 10px 0; align-items: flex-start; }
  .nav-links { font-size: 0.9rem; gap: 12px; }
  .hero { padding-top: 56px; }
  h1 { max-width: 12ch; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
}
