/* Gradient backgrounds, smooth overlays, modern typography, responsive layout, and subtle animations */
body {
  margin: 0;
  font-family: "Montserrat", "Roboto", sans-serif;
  background: linear-gradient(135deg, #23243a 0%, #3a2c5a 60%, #bfa77a 100%);
  color: #ede9e3;
  min-height: 100vh;
  overflow-x: hidden;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2.5rem;
  background: rgba(35, 36, 58, 0.7);
  box-shadow: 0 4px 24px 0 rgba(35, 36, 58, 0.1);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 2px solid #bfa77a;
  backdrop-filter: blur(10px);
}
.nav-logo {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 2rem;
  color: #bfa77a;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-shadow: 0 2px 8px rgba(191, 167, 122, 0.1);
  transition: color 0.2s;
}
.nav-logo:hover {
  color: #fffbe6;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 2.2rem;
  margin: 0;
}
.nav-links a {
  color: #fffbe6;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  padding: 0.3rem 0.7rem;
  border-radius: 1.2rem;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  position: relative;
}
.nav-links a:hover,
.nav-links a:focus {
  background: rgba(191, 167, 122, 0.13);
  color: #bfa77a;
  box-shadow: 0 2px 8px rgba(191, 167, 122, 0.1);
}
.nav-links a.active {
  background: #bfa77a;
  color: #23243a;
  box-shadow: 0 2px 8px rgba(191, 167, 122, 0.18);
}
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: none;
}
.gradient-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(120deg, #23243a 0%, #3a2c5a 60%, #bfa77a 100%);
  opacity: 0.93;
  z-index: 0;
  animation: gradientMove 10s ease-in-out infinite alternate;
  filter: blur(2px) brightness(1.1);
}
@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}
.glass-card {
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border-radius: 2rem;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem;
  animation: fadeIn 1.2s;
}
.hero-flex {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}
.hero-text {
  flex: 2;
  text-align: left;
}
.hero-title {
  font-family: "Playfair Display", serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #a14a76;
  margin-bottom: 1rem;
  line-height: 1.1;
}
.book-title {
  color: #bfa77a;
  background: linear-gradient(90deg, #bfa77a 0%, #fffbe6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-book {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.book-mockup {
  width: 220px;
  max-width: 90vw;
  border-radius: 1.2rem;
  box-shadow: 0 8px 32px 0 rgba(161, 76, 118, 0.18);
  border: 3px solid #fff;
  background: #fff;
  transition: transform 0.3s;
}
.book-mockup:hover {
  transform: scale(1.04) rotate(-2deg);
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #e75480;
}
.hero-desc {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #ede9e3;
  text-shadow: 0 1px 4px rgba(35, 36, 58, 0.12);
}
.signup-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}
.signup-form input[type="email"] {
  padding: 0.8rem 1rem;
  border-radius: 2rem;
  border: 1px solid #f3a8c7;
  font-size: 1rem;
  width: 100%;
  max-width: 320px;
  outline: none;
  transition: border 0.2s;
}
.signup-form input[type="email"]:focus {
  border: 1.5px solid #e75480;
}
.signup-form button {
  padding: 0.8rem 2.2rem;
  border-radius: 2rem;
  border: none;
  background: linear-gradient(90deg, #bfa77a 0%, #3a2c5a 100%);
  color: #23243a;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(191, 167, 122, 0.15);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  letter-spacing: 0.03em;
  position: relative;
  overflow: hidden;
}
.signup-form button:hover {
  background: linear-gradient(90deg, #3a2c5a 0%, #bfa77a 100%);
  color: #fffbe6;
  transform: scale(1.07);
  box-shadow: 0 8px 32px rgba(191, 167, 122, 0.18);
}
.form-message {
  font-size: 1rem;
  color: #e75480;
  margin-top: 0.5rem;
  min-height: 1.5em;
  transition: opacity 0.3s;
}
.author-section {
  padding: 5rem 1rem 3rem 1rem;
  background: none;
  display: flex;
  justify-content: center;
}
.author-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2.5rem;
  padding: 2.5rem 3rem;
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  animation: fadeIn 1.2s 0.3s backwards;
}
.author-photo-wrap {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8cdda 0%, #a18cd1 100%);
  border-radius: 50%;
  padding: 8px;
  box-shadow: 0 4px 16px rgba(161, 76, 118, 0.1);
}
.author-photo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(161, 76, 118, 0.15);
}
/* Floating hearts for romance */
.floating-hearts {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 2;
}
.heart {
  position: absolute;
  width: 38px;
  height: 34px;
  background: url('data:image/svg+xml;utf8,<svg width="38" height="34" viewBox="0 0 38 34" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M19 32C-13 12 7 -4 19 8C31 -4 51 12 19 32Z" fill="%23e75480"/></svg>')
    no-repeat center/contain;
  opacity: 0.7;
  animation: floatHeart 8s linear infinite;
}
.heart1 {
  left: 10%;
  top: 60%;
  animation-delay: 0s;
}
.heart2 {
  left: 80%;
  top: 70%;
  animation-delay: 2s;
}
.heart3 {
  left: 50%;
  top: 80%;
  animation-delay: 4s;
}
@keyframes floatHeart {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(-300px) scale(1.2);
    opacity: 0;
  }
}
.author-info h2 {
  font-size: 1.3rem;
  color: #e75480;
  margin-bottom: 0.5rem;
}
.author-info p {
  font-size: 1.08rem;
  color: #ede9e3;
  margin-bottom: 1rem;
  text-shadow: 0 1px 4px rgba(35, 36, 58, 0.1);
}
.author-socials {
  display: flex;
  gap: 1rem;
}
.author-socials a img {
  width: 32px;
  height: 32px;
  filter: grayscale(0.2) brightness(0.9);
  transition: filter 0.2s, transform 0.2s;
}
.author-socials a:hover img {
  filter: none;
  transform: scale(1.1);
}
.instagram-section {
  padding: 3rem 1rem 4rem 1rem;
  text-align: center;
  background: linear-gradient(90deg, #23243a 0%, #3a2c5a 60%, #bfa77a 100%);
  color: #ede9e3;
  animation: fadeIn 1.2s 0.6s backwards;
}
.instagram-section h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #bfa77a;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 8px rgba(35, 36, 58, 0.1);
}
.instagram-section p {
  color: #ede9e3;
  font-size: 1.08rem;
  margin-bottom: 1.2rem;
  text-shadow: 0 1px 4px rgba(35, 36, 58, 0.1);
}
.insta-link {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.7rem 1.5rem;
  border-radius: 2rem;
  background: #bfa77a;
  color: #23243a;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(191, 167, 122, 0.1);
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.02em;
}
.insta-link:hover {
  background: #23243a;
  color: #bfa77a;
}
.footer {
  position: relative;
  padding: 2rem 1rem;
  text-align: center;
  color: #fff;
  background: none;
  overflow: hidden;
}
.footer-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, #23243a 0%, #bfa77a 100%);
  opacity: 0.97;
  z-index: 0;
  animation: gradientMove 8s ease-in-out infinite alternate;
}
.footer p {
  position: relative;
  z-index: 1;
  font-size: 1rem;
  margin: 0;
}
@media (max-width: 900px) {
  .hero-flex {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  .hero-text {
    text-align: center;
  }
  .author-card {
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 1rem;
  }
  .author-photo-wrap {
    margin-bottom: 1rem;
  }
}
@media (max-width: 600px) {
  .hero-content {
    padding: 2rem 0.5rem;
  }
  .author-section {
    padding: 2rem 0.5rem;
  }
  .instagram-section {
    padding: 2rem 0.5rem 2rem 0.5rem;
  }
}
html {
  scroll-behavior: smooth;
}
