:root {
  --text: #f9fbff;
  --muted: #d7e3f6;
  --accent: #8ed9ff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--text);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  min-height: 100vh;
  background: #0c1e2f;
}

.page-bg {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(8,22,37,.82), rgba(8,22,37,.55)),
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.15), transparent 35%),
    url("https://images.unsplash.com/photo-1513475382585-d06e58bcb0e0?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
  z-index: -1;
  animation: pan 20s ease-in-out infinite alternate;
}

@keyframes pan { from { transform: scale(1); } to { transform: scale(1.08); } }

.container { max-width: 1060px; margin: 0 auto; padding: 2rem 1rem 3rem; }

.glass {
  background: rgba(10, 24, 40, 0.6);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(6px);
  border-radius: 1rem;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 1.5rem;
  padding: 1.2rem;
}
.eyebrow { color: var(--accent); letter-spacing: .1em; text-transform: uppercase; margin:0; }
h1 { margin: .6rem 0; }
.hero p { color: var(--muted); }

.author-card { margin:0; text-align:center; }
.author-card img { width:100%; border-radius:.8rem; object-fit:cover; border:2px solid rgba(255,255,255,.25); }
.author-card figcaption { margin-top:.5rem; font-weight:700; }

.books { display:grid; gap:1rem; margin-top:1.2rem; }
.book-card { padding:1rem 1.1rem; transition: transform .25s ease; }
.book-card:hover { transform: translateY(-5px); }
.book-card a { color: #9be0ff; font-weight:700; text-decoration:none; }

.gallery { margin-top:1.2rem; padding:1rem; }
.gallery h2 { margin-top:0; }
.gallery-grid { display:grid; grid-template-columns: repeat(3,1fr); gap:.8rem; }
.gallery-grid img { width:100%; height:220px; object-fit:cover; border-radius:.7rem; border:1px solid rgba(255,255,255,.2); }

.soon { margin-top:1.2rem; padding: .9rem 1rem; }
.soon span { color:#ffd38a; font-weight:800; }

@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; }
  .author-card { max-width: 280px; }
  .gallery-grid { grid-template-columns: 1fr; }
}
