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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: #0b0b0b;
  color: #f5f5f5;
  line-height: 1.6;
}

/* HERO */
.hero {
  height: 100vh;
  background: url("hero.jpg") center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  max-width: 800px;
  padding: 20px;
}

.hero h1 {
  font-family: "Cinzel", serif;
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* BUTTONS */
.buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.buttons-left {
  display: flex;
  gap: 15px;
  justify-content: start;
}

.btn {
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 4px;
  transition: 0.3s ease;
}

.primary {
  background: #b11226;
  color: white;
}

.primary:hover {
  background: #d61a32;
}

.secondary {
  border: 1px solid #f5f5f5;
  color: #f5f5f5;
}

.secondary:hover {
  background: #f5f5f5;
  color: #0b0b0b;
}

/* HOOK */
.hook {
  text-align: center;
  padding: 100px 20px;
  max-width: 700px;
  margin: auto;
  font-size: 1.2rem;
}

.hook p {
  margin-bottom: 20px;
}

/* BOOK */
.book {
  padding: 100px 20px;
}

.book-container {
  display: flex;
  gap: 50px;
  max-width: 1000px;
  margin: auto;
  align-items: center;
}

.book-image .placeholder {
  width: 250px;
  height: 350px;
  background: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url(/lib/th01.png);
  background-position: center top;
  background-size: contain;
  background-repeat: no-repeat;
}

.book-text h2 {
  font-family: "Cinzel", serif;
  margin-bottom: 20px;
}

.book-text ul {
  margin-bottom: 20px;
}

.book-text li {
  margin-bottom: 10px;
}

/* IMMERSION */
.immersion {
  display: flex;
  overflow-x: auto;
}

.scene {
  min-width: 250px;
  height: 200px;
  background: #111;
  margin: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SOCIAL */
.social {
  text-align: center;
  padding: 100px 20px;
}

.platforms {
  margin-top: 20px;
  opacity: 0.7;
}

/* AUTHOR */
.author {
  text-align: center;
  padding: 100px 20px;
}

.signature {
  margin-top: 20px;
  font-style: italic;
}

/* CTA */
.cta {
  text-align: center;
  padding: 100px 20px;
}

.cta h2 {
  font-family: "Cinzel", serif;
  margin-bottom: 30px;
}

.formats {
  padding: 120px 20px;
  background: linear-gradient(to bottom, #0b0b0b, #111);
  text-align: center;
}

.formats-title {
  font-family: "Cinzel", serif;
  font-size: 2rem;
  margin-bottom: 60px;
}

.format-cards {
  display: flex;
  gap: 40px;
  justify-content: center;
  max-width: 900px;
  margin: auto;
}

.format-card {
  flex: 1;
  padding: 40px 30px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}

.format-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.2);
}

.primary-card {
  border-color: #b11226;
  box-shadow: 0 0 30px rgba(177, 18, 38, 0.2);
}

.format-icon {
  font-size: 2rem;
  margin-bottom: 15px;
}

.format-card h3 {
  font-family: "Cinzel", serif;
  margin-bottom: 15px;
}

.format-desc {
  font-size: 0.95rem;
  opacity: 0.8;
  margin-bottom: 25px;
  line-height: 1.5;
}

.book-title {
  font-family: "Cinzel", serif;
  letter-spacing: 4px;
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 10px;
}

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in > * {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.fade-in.visible > * {
  opacity: 1;
  transform: translateY(0);
}

.fade-in.visible > *:nth-child(1) {
  transition-delay: 0.1s;
}
.fade-in.visible > *:nth-child(2) {
  transition-delay: 0.2s;
}
.fade-in.visible > *:nth-child(3) {
  transition-delay: 0.3s;
}
.fade-in.visible > *:nth-child(4) {
  transition-delay: 0.4s;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .book-container {
    flex-direction: column;
    text-align: center;
  }

  .buttons {
    flex-direction: column;
  }
}
