/* Luna Draven Monster Romance Stylesheet */

:root {
  --forest-green: #2d5016;
  --dark-green: #1a3409;
  --mystic-purple: #6b46c1;
  --blood-red: #8b0000;
  --gold-accent: #d4af37;
  --dark-bg: #0d0d0d;
  --card-bg: #1a1a1a;
  --text-light: #f5f5f5;
  --text-muted: #a8a8a8;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  background: url('../images/luna-hero.jpg') no-repeat center center fixed;
  background-size: cover;
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Add dark overlay to entire page for readability */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 13, 13, 0.75);
  z-index: -1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Mystical Particles Animation */
.mystical-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.mystical-particles::before,
.mystical-particles::after {
  content: '✨';
  position: absolute;
  font-size: 16px;
  color: rgba(212, 175, 55, 0.4);
  animation: float-particles 20s infinite ease-in-out;
}

.mystical-particles::before {
  left: 15%;
  animation-delay: 0s;
}

.mystical-particles::after {
  left: 75%;
  animation-delay: 10s;
}

@keyframes float-particles {
  0%, 100% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  50% {
    transform: translateY(-50vh) translateX(50px);
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  z-index: 1000;
  padding: 15px 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: var(--text-light);
  transition: transform 0.3s ease;
}

.brand:hover {
  transform: scale(1.05);
}

.logo {
  height: 50px;
  width: auto;
}

.brand-name {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-accent);
}

.nav {
  display: flex;
  gap: 30px;
}

.nav a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-accent);
  transition: width 0.3s ease;
}

.nav a:hover {
  color: var(--gold-accent);
}

.nav a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(45, 80, 22, 0.4), rgba(107, 70, 193, 0.3));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: 4rem;
  font-weight: 900;
  color: var(--gold-accent);
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.8), 0 0 60px rgba(212, 175, 55, 0.4);
  margin-bottom: 20px;
  animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% {
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.8), 0 0 60px rgba(212, 175, 55, 0.4);
  }
  50% {
    text-shadow: 0 0 40px rgba(212, 175, 55, 1), 0 0 80px rgba(212, 175, 55, 0.6);
  }
}

.hero-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--text-light);
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-tagline {
  font-size: 1.2rem;
  color: var(--gold-accent);
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-primary {
  background: linear-gradient(135deg, var(--forest-green), var(--mystic-purple));
  color: var(--text-light);
  border: 2px solid transparent;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(107, 70, 193, 0.5);
  border-color: var(--gold-accent);
}

.btn-secondary {
  background: transparent;
  color: var(--gold-accent);
  border: 2px solid var(--gold-accent);
}

.btn-secondary:hover {
  background: var(--gold-accent);
  color: var(--dark-bg);
  transform: translateY(-3px);
}

/* Sections */
.section {
  padding: 80px 20px;
  position: relative;
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: 2.5rem;
  text-align: center;
  color: var(--gold-accent);
  margin-bottom: 15px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.2rem;
  margin-bottom: 50px;
}

/* About Section */
.about-section {
  background: rgba(45, 80, 22, 0.3);
  backdrop-filter: blur(5px);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  align-items: start;
}

.about-image img {
  width: 100%;
  max-width: 300px;
  border-radius: 20px;
  border: 3px solid var(--gold-accent);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.about-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.8;
}

.author-specialties {
  margin-top: 30px;
  padding: 30px;
  background: var(--card-bg);
  border-radius: 15px;
  border-left: 4px solid var(--gold-accent);
}

.author-specialties h3 {
  font-family: 'Cinzel', serif;
  color: var(--gold-accent);
  margin-bottom: 20px;
}

.trope-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trope-tag {
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--forest-green), var(--mystic-purple));
  color: var(--text-light);
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

/* Books Section */
.books-section {
  background: rgba(13, 13, 13, 0.4);
  backdrop-filter: blur(5px);
}

.series-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  font-size: 1.2rem;
  color: var(--text-muted);
}

.book-showcase {
  margin-bottom: 60px;
}

.book-card {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  background: var(--card-bg);
  padding: 40px;
  border-radius: 20px;
  border: 2px solid rgba(212, 175, 55, 0.2);
  transition: all 0.3s ease;
}

.book-card:hover {
  border-color: var(--gold-accent);
  box-shadow: 0 10px 40px rgba(212, 175, 55, 0.2);
  transform: translateY(-5px);
}

.book-card.reverse {
  grid-template-columns: 2fr 1fr;
}

.book-card.reverse .book-cover {
  order: 2;
}

.book-card.reverse .book-info {
  order: 1;
}

.book-cover {
  position: relative;
}

.book-cover img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.book-card:hover .book-cover img {
  transform: scale(1.05);
}

.book-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: linear-gradient(135deg, var(--blood-red), var(--mystic-purple));
  color: var(--text-light);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 5px 15px rgba(139, 0, 0, 0.5);
}

.book-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.book-title {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  color: var(--gold-accent);
}

.book-series {
  color: var(--text-muted);
  font-style: italic;
}

.book-meta {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.meta-item {
  padding: 6px 12px;
  background: rgba(212, 175, 55, 0.2);
  border-radius: 15px;
  font-size: 0.9rem;
  color: var(--gold-accent);
}

.book-tropes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.book-description {
  line-height: 1.8;
}

.book-description p {
  margin-bottom: 15px;
}

.book-description ul {
  margin-left: 20px;
  margin-top: 10px;
}

.book-description li {
  margin-bottom: 5px;
  color: var(--text-muted);
}

.book-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.reading-order {
  max-width: 700px;
  margin: 60px auto 0;
  padding: 30px;
  background: var(--card-bg);
  border-radius: 15px;
  border: 2px solid var(--gold-accent);
  text-align: center;
}

.reading-order h3 {
  font-family: 'Cinzel', serif;
  color: var(--gold-accent);
  margin-bottom: 20px;
}

.reading-order ol {
  text-align: left;
  max-width: 400px;
  margin: 20px auto;
  padding-left: 20px;
}

.reading-order li {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.reading-note {
  margin-top: 20px;
  color: var(--gold-accent);
  font-weight: 700;
}

/* Newsletter Section */
.newsletter-section {
  background: linear-gradient(135deg, rgba(45, 80, 22, 0.4), rgba(107, 70, 193, 0.3));
  backdrop-filter: blur(5px);
  padding: 100px 20px;
}

.newsletter-box {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  background: var(--card-bg);
  padding: 50px;
  border-radius: 20px;
  border: 2px solid var(--gold-accent);
  box-shadow: 0 10px 40px rgba(212, 175, 55, 0.2);
}

.newsletter-box h2 {
  font-family: 'Cinzel', serif;
  font-size: 2.5rem;
  color: var(--gold-accent);
  margin-bottom: 20px;
}

.newsletter-box > p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.ml-embedded {
  margin: 30px 0;
}

.newsletter-perks {
  margin-top: 30px;
  font-weight: 700;
  color: var(--gold-accent);
}

.perks-list {
  list-style: none;
  margin: 20px 0;
  padding: 0;
}

.perks-list li {
  padding: 10px 0;
  font-size: 1.1rem;
}

.newsletter-note {
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Contact Section */
.contact-section {
  background: rgba(13, 13, 13, 0.4);
  backdrop-filter: blur(5px);
  padding: 80px 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.contact-card {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 15px;
  border: 2px solid rgba(212, 175, 55, 0.2);
  transition: all 0.3s ease;
}

.contact-card:hover {
  border-color: var(--gold-accent);
  transform: translateY(-5px);
}

.contact-card h3 {
  font-family: 'Cinzel', serif;
  color: var(--gold-accent);
  margin-bottom: 15px;
}

.contact-card p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.contact-link {
  color: var(--gold-accent);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: var(--text-light);
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.social-btn {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--forest-green), var(--mystic-purple));
  color: var(--text-light);
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
}

.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(107, 70, 193, 0.5);
}

.back-to-dreamcrest {
  text-align: center;
  margin-top: 40px;
}

/* Footer */
.footer {
  background: rgba(13, 13, 13, 0.95);
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  padding: 40px 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  gap: 40px;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  max-width: 200px;
}

.footer-brand p {
  color: var(--text-muted);
  font-style: italic;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links h4 {
  font-family: 'Cinzel', serif;
  color: var(--gold-accent);
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--gold-accent);
}

.footer-legal {
  text-align: right;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-legal p {
  margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 968px) {
  .hero-title {
    font-size: 3rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-image img {
    margin: 0 auto;
  }

  .book-card,
  .book-card.reverse {
    grid-template-columns: 1fr;
  }

  .book-card.reverse .book-cover {
    order: 1;
  }

  .book-card.reverse .book-info {
    order: 2;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-legal {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    gap: 15px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .newsletter-box {
    padding: 30px 20px;
  }
}
