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

body {
  font-family: 'Inter', sans-serif;
  background: #0a1a0a;
  color: #f0ead6;
  overflow-x: hidden;
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #050d05 0%, #0a1a0a 40%, #0d1f0d 100%);
  padding: 4rem 1rem 1.5rem;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 20% 80%, rgba(74,234,220,0.04) 0%, transparent 70%),
    radial-gradient(ellipse 400px 300px at 80% 60%, rgba(74,234,220,0.03) 0%, transparent 70%);
  pointer-events: none;
}

.spore {
  position: fixed;
  top: 0;
  width: 3px;
  height: 3px;
  background: rgba(74,234,220,0.7);
  border-radius: 50%;
  animation: floatUp linear infinite;
  pointer-events: none;
  z-index: 9999;
}
@keyframes floatUp {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 2rem;
  width: 100%;
}

.book-badge {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #4aeadc;
  border: 1px solid rgba(74,234,220,0.3);
  padding: 0.4rem 1.2rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

h1 {
  font-family: 'Crimson Text', serif;
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.3rem;
  color: #fff;
}
h1 .subtitle {
  display: block;
  color: #4aeadc;
  font-size: 2.4rem;
  font-weight: 600;
  text-shadow: 0 0 30px rgba(74,234,220,0.4);
  margin-top: 0.2rem;
}

.tagline {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(240,234,214,0.75);
  max-width: 520px;
  margin: 2rem auto 2rem;
}

.btn-buy {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(212,168,67,0.2), rgba(212,168,67,0.05));
  border: 1.5px solid rgba(212,168,67,0.6);
  color: #d4a843;
  padding: 0.9rem 2.4rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  letter-spacing: 0.03em;
  margin-bottom: 2.5rem;
}
.btn-buy:hover {
  background: linear-gradient(135deg, rgba(74,234,220,0.2), rgba(74,234,220,0.05));
  border-color: rgba(74,234,220,0.7);
  color: #4aeadc;
  box-shadow: 0 0 25px rgba(74,234,220,0.25);
  transform: translateY(-2px);
}

.video-wrap {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(74,234,220,0.25);
  box-shadow: 0 10px 50px rgba(0,0,0,0.5), 0 0 40px rgba(74,234,220,0.08);
  background: #000;
}
.trailer {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}

.video-caption {
  font-family: 'Crimson Text', serif;
  font-style: italic;
  font-size: 13px;
  color: rgba(240,234,214,0.55);
  text-align: center;
  max-width: 720px;
  width: 100%;
  margin: 0.5rem auto 0;
}

.description-heading {
  font-family: 'Crimson Text', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: #4aeadc;
  text-shadow: 0 0 20px rgba(74,234,220,0.4);
  margin: 4rem auto 0.75rem;
  max-width: 600px;
  text-align: center;
}

.book-description {
  font-family: 'Crimson Text', serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(240,234,214,0.85);
  max-width: 600px;
  margin: 2.5rem auto 2rem;
  text-align: left;
}

.book-cover {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 0 auto 1rem;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 40px rgba(74,234,220,0.12);
  transition: transform 0.3s, box-shadow 0.3s;
}
.book-cover:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 28px 70px rgba(0,0,0,0.7), 0 0 50px rgba(74,234,220,0.2);
}

.available-line {
  display: block;
  text-align: center;
  color: #4aeadc;
}
.centered-line {
  display: block;
  text-align: center;
}

.btn-buy-cover {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  margin: 0 auto 3rem;
  padding: 0.6rem 1.6rem;
  font-size: 0.85rem;
}
.btn-sub {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
}

.author-section {
  max-width: 600px;
  margin: 2.5rem auto 0.5rem;
  text-align: left;
}
.author-heading {
  font-family: 'Crimson Text', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: #4aeadc;
  text-shadow: 0 0 20px rgba(74,234,220,0.4);
  margin-bottom: 1rem;
  text-align: center;
}
.author-inner {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.author-photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid rgba(74,234,220,0.4);
  box-shadow: 0 0 20px rgba(74,234,220,0.15);
  flex-shrink: 0;
}
.author-bio {
  font-family: 'Crimson Text', serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(240,234,214,0.85);
  text-align: justify;
}

.instagram-link {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.6rem;
  color: rgba(240,234,214,0.7);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: color 0.3s;
}
.instagram-link:hover {
  color: #4aeadc;
}
.instagram-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: #4aeadc;
}

/* ── MUSIC SECTION ───────────────────────────────────── */
.music-section {
  background: linear-gradient(180deg, #0a1a0a 0%, #0d1f0d 100%);
  padding: 1.5rem 1rem 3.5rem;
  border-top: 1px solid rgba(74,234,220,0.08);
  text-align: center;
}
.music-container {
  max-width: 400px;
  margin: 0 auto;
}
.music-title {
  font-family: 'Crimson Text', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #4aeadc;
  text-shadow: 0 0 20px rgba(74,234,220,0.35);
  margin-bottom: 1.75rem;
}
.music-player {
  position: relative;
  cursor: pointer;
  display: inline-block;
  width: 100%;
  max-width: 340px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 30px rgba(74,234,220,0.08);
  border: 1px solid rgba(74,234,220,0.2);
  transition: box-shadow 0.3s, transform 0.3s;
}
.music-player:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 50px rgba(0,0,0,0.6), 0 0 40px rgba(74,234,220,0.15);
}
.music-cover {
  display: block;
  width: 100%;
  height: auto;
}
.music-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.music-player:hover .music-overlay {
  background: rgba(0,0,0,0.15);
}
.play-icon {
  width: 80px;
  height: 80px;
  filter: drop-shadow(0 0 12px rgba(74,234,220,0.5));
  transition: transform 0.2s;
}
.music-player:hover .play-icon {
  transform: scale(1.08);
}
.music-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  margin-top: 0.75rem;
}
.music-controls.hidden {
  display: none;
}
.control-btn {
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1.5px solid rgba(74,234,220,0.35);
  border-radius: 50%;
  color: #4aeadc;
  cursor: pointer;
  padding: 6px;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.control-btn:hover {
  border-color: rgba(74,234,220,0.7);
  background: rgba(74,234,220,0.1);
  box-shadow: 0 0 14px rgba(74,234,220,0.2);
  transform: scale(1.08);
}
.control-btn svg {
  width: 100%;
  height: 100%;
}
.control-pause {
  width: 48px;
  height: 48px;
}

.music-caption {
  font-family: 'Crimson Text', serif;
  font-style: italic;
  font-size: 13px;
  color: rgba(240,234,214,0.55);
  margin-top: 0.6rem;
}
/* ────────────────────────────────────────────────────── */

/* ── MUSHROOM MATCH GAME ─────────────────────────────── */
.game-section {
  background: linear-gradient(180deg, #0d1f0d 0%, #0a1a0a 100%);
  padding: 1.5rem 1rem 3.5rem;
  border-top: 1px solid rgba(74,234,220,0.08);
}
.game-container {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.game-title {
  font-family: 'Crimson Text', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #4aeadc;
  text-shadow: 0 0 20px rgba(74,234,220,0.35);
  margin-bottom: 0.5rem;
}
.game-instructions {
  font-family: 'Crimson Text', serif;
  font-size: 1rem;
  color: rgba(240,234,214,0.6);
  margin: 0 auto 1.25rem;
  font-style: italic;
  max-width: 100%;
  padding: 0 0.5rem;
}
.game-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  justify-items: center;
}
.game-card {
  width: 100%;
  aspect-ratio: 10 / 13;
  perspective: 900px;
  cursor: pointer;
}
.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.game-card.flipped .card-inner,
.game-card.matched .card-inner {
  transform: rotateY(180deg);
}
.card-cover,
.card-reveal {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  backface-visibility: hidden;
  overflow: hidden;
}
.card-cover {
  background: #1b3a1e;
  border: 1.5px solid rgba(74,234,220,0.15);
  box-shadow: 0 4px 14px rgba(0,0,0,0.45);
}
.card-cover svg {
  width: 100%;
  height: 100%;
  display: block;
}
.card-reveal {
  transform: rotateY(180deg);
  background: #0d1a0d;
  border: 1.5px solid rgba(74,234,220,0.25);
  box-shadow: 0 4px 14px rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-reveal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 9px;
  display: block;
}
.game-card.matched .card-reveal {
  border-color: rgba(74,234,220,0.55);
  box-shadow: 0 0 18px rgba(74,234,220,0.25);
}
.game-card:hover:not(.flipped):not(.matched) .card-cover {
  border-color: rgba(74,234,220,0.4);
  box-shadow: 0 0 14px rgba(74,234,220,0.15);
}
.game-board-wrap {
  position: relative;
}
.game-win {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.75rem;
  background: rgba(10, 26, 10, 0.92);
  border: 1px solid rgba(74,234,220,0.3);
  border-radius: 14px;
  box-shadow: 0 0 40px rgba(74,234,220,0.12);
  backdrop-filter: blur(4px);
  animation: fadeInOverlay 0.5s ease;
}
@keyframes fadeInOverlay {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}
.game-win.hidden { display: none; }
.win-message {
  font-family: 'Crimson Text', serif;
  font-size: 1.2rem;
  line-height: 1.75;
  color: #f0ead6;
  margin-bottom: 0.75rem;
}
.win-replay {
  display: none;
}
.win-replay.visible {
  display: block;
}
.win-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}
.game-amazon-btn {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(212,168,67,0.15), rgba(212,168,67,0.04));
  border: 1.5px solid rgba(212,168,67,0.5);
  color: #d4a843;
  padding: 0.65rem 2rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.game-amazon-btn:hover {
  background: linear-gradient(135deg, rgba(212,168,67,0.25), rgba(212,168,67,0.08));
  box-shadow: 0 0 20px rgba(212,168,67,0.2);
  transform: translateY(-2px);
}
.game-reset-btn {
  background: linear-gradient(135deg, rgba(74,234,220,0.15), rgba(74,234,220,0.04));
  border: 1.5px solid rgba(74,234,220,0.5);
  color: #4aeadc;
  padding: 0.65rem 2rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 0.04em;
}
.game-reset-btn:hover {
  background: linear-gradient(135deg, rgba(74,234,220,0.25), rgba(74,234,220,0.08));
  box-shadow: 0 0 20px rgba(74,234,220,0.2);
  transform: translateY(-2px);
}
@media (max-width: 480px) {
  .game-board { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .game-title { font-size: 1.6rem; }
}
.mobile-br { display: none; }
@media (max-width: 480px) {
  .mobile-br { display: block; }
}
/* ────────────────────────────────────────────────────── */

.final-cta {
  background: linear-gradient(180deg, #0d1f0d 0%, #0a1a0a 100%);
  border-top: 1px solid rgba(74,234,220,0.08);
  padding: 2.5rem 1rem 2.5rem;
  text-align: center;
}
.final-cta-text {
  font-family: 'Crimson Text', serif;
  font-size: 1rem;
  font-style: italic;
  color: rgba(240,234,214,0.55);
  margin-top: 1rem;
}

.site-footer {
  background: #050d05;
  border-top: 1px solid rgba(74,234,220,0.1);
  text-align: center;
  padding: 1.5rem 2rem;
  font-size: 0.78rem;
  color: rgba(240,234,214,0.4);
  letter-spacing: 0.02em;
}
.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.footer-nav-link {
  color: #4aeadc;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.footer-nav-link:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-nav-sep {
  color: rgba(74,234,220,0.35);
  font-size: 1rem;
}
.contact-popup {
  position: fixed;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  background: #122212;
  border: 1px solid rgba(74,234,220,0.35);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5), 0 0 20px rgba(74,234,220,0.1);
  z-index: 9999;
  min-width: 280px;
  animation: popupIn 0.2s ease;
}
.contact-popup.hidden { display: none; }
@keyframes popupIn {
  from { opacity: 0; transform: translateX(-50%) translateY(8px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.contact-popup-email {
  font-size: 0.95rem;
  color: #4aeadc;
  font-weight: 600;
  margin-bottom: 0.9rem;
  letter-spacing: 0.02em;
}
.contact-popup-btns {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
}
.contact-popup-open {
  background: rgba(74,234,220,0.12);
  border: 1.5px solid rgba(74,234,220,0.4);
  color: #4aeadc;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.contact-popup-open:hover {
  background: rgba(74,234,220,0.22);
  box-shadow: 0 0 12px rgba(74,234,220,0.2);
}
.contact-popup-copy {
  background: transparent;
  border: 1.5px solid rgba(240,234,214,0.2);
  color: rgba(240,234,214,0.6);
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.contact-popup-copy:hover {
  border-color: rgba(240,234,214,0.4);
  color: rgba(240,234,214,0.9);
}
.contact-popup-copy.copied {
  color: #4aeadc;
  border-color: rgba(74,234,220,0.4);
}
.contact-popup-close {
  position: absolute;
  top: 0.5rem;
  right: 0.65rem;
  background: none;
  border: none;
  color: rgba(240,234,214,0.35);
  font-size: 0.8rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.contact-popup-close:hover { color: rgba(240,234,214,0.8); }
.footer-email {
  margin-bottom: 0.6rem;
}
.footer-email a {
  color: rgba(240,234,214,0.45);
  font-size: 0.8rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-email a:hover {
  color: #4aeadc;
}
.footer-copy {
  color: rgba(240,234,214,0.35);
  font-size: 0.75rem;
}
.footer-affiliate {
  color: rgba(240,234,214,0.25);
  font-size: 0.7rem;
  margin-top: 0.35rem;
}

@media (max-width: 480px) {
  .author-inner { flex-direction: column; align-items: center; }
  .author-bio { text-align: justify; }
}

@media (max-width: 768px) {
  h1 { font-size: 2.2rem; }
  h1 .subtitle { font-size: 1.7rem; }
  .btn-buy { padding: 0.8rem 2rem; font-size: 0.95rem; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.8rem; }
  h1 .subtitle { font-size: 1.4rem; }
}
