/* ===== GLOBAL ===== */
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  color: white;
  background-color: black;
  padding: 0;
  height: 100%;
}

a {
  color: white;
}

a:hover {
  opacity: 0.8;
}

a:not(.button) {
  color: white;
}

/* ===== HERO (HOME) ===== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  background: url('/images/laughing.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 60px;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.85));
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.content {
  position: relative;
  text-align: center;
  z-index: 2;
  padding: 40px 20px 80px;
  max-width: 500px;
  margin: 0 auto;
}

.logo {
  max-width: 280px;
  width: 80%;
  margin-bottom: 20px;
}

/* ===== BUTTONS ===== */
.buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.button {
  padding: 12px 22px;
  border: 2px solid white;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
  background: transparent;
  margin-top: 15px;
}

.button:hover {
  background: white;
  color: black !important;
}

.button:active {
  transform: scale(0.97);
  opacity: 0.9;
}

.button:visited {
  color: white;
}

/* ===== FOOTER ===== */
.footer {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
  font-size: 14px;
  opacity: 0.7;
}

/* ===== BOOK PAGE ===== */
.book-hero {
  position: relative;
  text-align: center;
}

/* SOFT GRADIENT (DESKTOP ONLY) */
.book-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.15) 0%,
    rgba(0,0,0,0.4) 60%,
    rgba(0,0,0,0.75) 100%
  );
  z-index: 1;
}

.book-hero img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  display: block;
}

/* HERO CONTENT */
.book-hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  max-width: 600px;
  z-index: 2;
}

.book-hero-content h1 {
  margin-bottom: 12px;
}

.book-subtitle {
  opacity: 0.8;
  margin-bottom: 10px;
}

.book-description {
  margin-bottom: 20px;
}

.book-hero-content .button {
  display: inline-block;
  margin-top: 15px;
}

/* ===== SECTIONS ===== */
.book-section {
  padding: 35px 20px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.book-section .button {
  display: inline-block;
  margin-top: 5px;
}

/* ===== VIDEO ===== */
.video-wrapper {
  width: 100%;
}

.video-wrapper iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
}

.video-main {
  max-width: 800px;
  margin: 0 auto;
}

.video-row {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.video-row .video-wrapper {
  flex: 1 1 300px;
}

/* ===== LIST ===== */
.clean-list {
  list-style: none;
  padding: 0;
}

.clean-list li {
  margin: 10px 0;
}

/* ===== TAGS ===== */
.pill-row span {
  display: inline-block;
  margin: 6px;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
}

/* ===== SOCIAL ===== */
.social-row a {
  margin: 0 10px;
  color: white;
  text-decoration: none;
}

/* ===== CONTACT ===== */
.contact-block {
  padding-bottom: 80px;
}

/* ===== MOBILE ===== */
@media (max-width: 600px) {
  .logo {
    max-width: 280px;
  }

  .video-row {
    flex-direction: column;
  }

  /* REMOVE gradient on mobile */
  .book-hero::before {
    display: none;
  }

  /* STACK HERO */
  .book-hero {
    display: block;
  }

  .book-hero img {
    max-height: none;
  }

  .book-hero-content {
    position: relative;
    transform: none;
    top: auto;
    left: auto;
    padding: 30px 20px;
    background: black;
  }
}