:root{
  --bg:#0f172a;
  --muted:#9ca3af;
  --card:#0b1220;
  --accent:#f59e0b;
}
*{box-sizing:border-box}
body{
  margin:0;
  font-family:system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background:#000;
  color:#e6eef8;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.4;
}
header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:1rem 1.25rem 0 1.25rem;
  position:sticky;
  top:0;
  z-index:999;
  background:#000;
  width:100%;
  max-width:none;
  margin:0;
}
.brand{display:flex;align-items:center;gap:0.75rem}
.brand img{height:62px}
nav{display:flex;align-items:center}
nav a{color:var(--muted);text-decoration:none;margin-left:1rem;font-weight:600}

.banner{text-align:center;padding:0 1rem 1rem;background:#000;color:#e6eef8;border-radius:8px}
.banner h2{margin:0;font-size:1.5rem;font-family:'Dancing Script',cursive}

.hero{
  max-width:1100px;
  margin:0 auto 2rem;
  display:grid;
  grid-template-columns:1fr 420px;
  gap:2rem;
  align-items:center;
  padding: 0 1rem;
}
.hero-copy h1{font-size:2rem;margin:0 0 0.5rem}
.hero-copy p{color:var(--muted);margin:0 0 1rem}
.cta{display:inline-block;background:var(--accent);color:#072032;padding:0.6rem 0.9rem;border-radius:8px;text-decoration:none;font-weight:700}
.cta.emag{background:transparent;color:inherit;padding:0;border-radius:0}
.buy-button{background:none!important;padding:0!important;border:none!important}
.buy-button img{height:3.5rem!important;transition:transform 0.3s,filter 0.3s}
.buy-button:hover img{transform:scale(1.1);filter:brightness(1.1)}
/* apply hover effect to secondary CTA */
.cta.secondary:hover{transform:scale(1.05);filter:brightness(1.1);transition:transform 0.3s,filter 0.3s} 
.book-details{font-size:0.9rem;color:var(--muted);margin:1rem 0;line-height:1.6}
.book-details strong{color:#e6eef8;display:inline;margin-right:0.25rem}
.cta-group{display:flex;gap:1rem;margin-top:1.5rem;align-items:center;flex-wrap:wrap}
.cta.primary{background:var(--accent);color:#072032}
.cta.secondary{background:transparent;border:2px solid var(--accent);color:var(--accent)}
.blurb{color:#ffffff;line-height:1.8;font-size:0.95rem;margin:1.5rem 0}

.carousel{background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.15));padding:1rem;border-radius:12px;display:flex;justify-content:center;align-items:center;position:relative;overflow:hidden;aspect-ratio:3/4;max-height:600px}
.carousel-inner{position:relative;width:100%;height:100%;}
.carousel-item{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;display:flex;justify-content:center;align-items:center;transition:opacity 1s}
.carousel-item.active{opacity:1}
.carousel-item img{max-width:100%;max-height:100%;object-fit:contain;border-radius:12px}
.carousel-controls{position:absolute;bottom:1rem;left:50%;transform:translateX(-50%);display:flex;gap:0.5rem;z-index:10;opacity:0;transition:opacity 0.4s}
.carousel-dot{width:10px;height:10px;border-radius:50%;background:rgba(255,255,255,0.3);cursor:pointer;transition:background 0.3s}
.carousel-dot.active{background:var(--accent)}
.carousel-nav{position:absolute;top:50%;transform:translateY(-50%);background:rgba(0,0,0,0.5);color:white;border:none;padding:0.5rem 0.75rem;cursor:pointer;border-radius:4px;font-size:1.2rem;z-index:10;opacity:0;transition:background 0.3s,opacity 0.4s}
.carousel-nav:hover{background:rgba(0,0,0,0.8)}
.carousel-prev{left:0.5rem}
.carousel-next{right:0.5rem}
.carousel:hover .carousel-controls,
.carousel:hover .carousel-nav{
  opacity:1;
}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
.cover{background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.15));padding:1rem;border-radius:12px;display:flex;justify-content:center}
.cover img{max-width:100%;height:auto;border-radius:6px;box-shadow:0 20px 40px rgba(2,6,23,0.6)}

.books{max-width:1100px;margin:0 auto;padding:0 1rem 2rem;}
.book-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1rem}
.book{background:var(--card);padding:1rem;border-radius:10px;border:1px solid rgba(255,255,255,0.03)}
.book img{width:100%;height:auto;border-radius:4px}
.book h3{margin:0.6rem 0 0.25rem;font-size:1rem}
.book p{margin:0;color:var(--muted);font-size:0.95rem}

footer{padding:2rem 1rem;color:var(--muted);text-align:center}

.gdpr-popup{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.8);display:none;justify-content:center;align-items:center;z-index:1000}
.gdpr-content{background:var(--card);padding:2rem;border-radius:12px;max-width:400px;text-align:center}
.gdpr-content p{margin:0 0 1rem;color:#e6eef8}
#gdpr-accept{background:var(--accent);color:#072032;border:none;padding:0.6rem 1rem;border-radius:8px;cursor:pointer;font-weight:700}

@media (max-width:860px){
  .hero{grid-template-columns:1fr;}
  header{padding:0.75rem}
  .brand img{height:52px}
  .carousel{margin:0 auto;max-width:420px}
}

/* Small-screen improvements */
@media (max-width:480px){
  header.container{flex-direction:column;align-items:flex-start;gap:0.5rem}
  nav{margin-top:0.25rem;flex-wrap:wrap}
  nav a{margin-left:0.5rem;font-size:0.95rem}
  .hero{grid-template-columns:1fr;gap:1rem;padding:0.75rem}
  .hero-copy h1{font-size:1.5rem}
  .hero-copy p{font-size:0.95rem}
  .blurb{font-size:0.9rem}
  .blurb p{margin:0.75rem 0}
  .cta-group{flex-direction:column;width:100%}
  .cta-group .cta{width:100%;text-align:center;padding:0.75rem}
  .carousel{padding:0.5rem;max-height:400px}
  .carousel-nav{padding:0.4rem 0.6rem;font-size:1rem}
  .cover{padding:0.5rem}
  .cover img{max-width:220px}
  .book-list{grid-template-columns:1fr}
  .book h3{font-size:0.98rem}
  .cta{padding:0.5rem 0.75rem;font-size:0.95rem}
  footer{padding:1.25rem}
}