
  :root {
    --primary: #3a1c71;
    --secondary: #d76d77;
    --accent: #ffaf7b;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #f9f7f5;
    --background-dark: #2c2c2c;
    --border-radius: 8px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

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

  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
  }

  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }

  section {
    padding: var(--spacing-lg) 0;
    position: relative;
  }

  .bg-image {
    position: absolute;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    top: 0;
    left: 0;
  }

  h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
  }

  h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }

  h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    margin-bottom: var(--spacing-lg);
  }

  h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--secondary);
  }

  h3 {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-xs);
  }

  p {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
  }

  .subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    max-width: 700px;
  }

  /* Hero Section */
  .hero-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--primary);
    color: var(--text-light);
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Featured Books */
  .featured-books {
    background-color: var(--background-light);
    padding: var(--spacing-xl) 0;
  }

  .books-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--spacing-lg);
  }

  @media (min-width: 768px) {
    .books-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (min-width: 1024px) {
    .books-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  .book-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .book-card:hover {
    transform: translateY(-10px);
  }

  .book-image-container {
    height: 300px;
    overflow: hidden;
  }

  .book-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }

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

  .book-details {
    padding: var(--spacing-md);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }

  .author {
    color: var(--secondary);
    font-weight: bold;
    margin-bottom: var(--spacing-sm);
  }

  .book-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin: var(--spacing-sm) 0;
    font-size: 0.9rem;
    color: #666;
  }

  .book-meta span {
    display: flex;
    align-items: center;
  }

  .book-meta i {
    margin-right: 5px;
  }

  .btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.1);
  }

  .btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .btn-secondary:hover {
    background-color: var(--primary);
    color: white;
  }

  /* Upcoming Releases */
  .upcoming-releases {
    padding: var(--spacing-xl) 0;
    background-color: var(--background-dark);
    color: var(--text-light);
  }

  .upcoming-releases h2 {
    color: var(--text-light);
  }

  .timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
  }

  .timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--secondary);
    top: 0;
    bottom: 0;
    left: 30px;
    margin-left: -3px;
  }

  .timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 100%;
    margin-bottom: var(--spacing-md);
  }

  .timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -17px;
    background-color: white;
    border: 4px solid var(--accent);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
    left: 15px;
  }

  .timeline-date {
    position: absolute;
    width: 70px;
    height: 70px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-weight: bold;
    left: -15px;
    top: 0;
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
  }

  .timeline-date .month {
    font-size: 0.7rem;
    text-transform: uppercase;
  }

  .timeline-date .day {
    font-size: 1.2rem;
  }

  .timeline-date .year {
    font-size: 0.7rem;
  }

  .timeline-content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-left: 40px;
  }

  .timeline-content h3 {
    color: var(--primary);
    margin-bottom: 5px;
  }

  .timeline-content .author {
    margin-bottom: 10px;
  }

  .timeline-content .description {
    color: var(--text-dark);
    margin-bottom: 15px;
  }

  @media screen and (min-width: 768px) {
    .timeline::after {
      left: 50%;
    }

    .timeline-item {
      width: 50%;
    }

    .timeline-item:nth-child(odd) {
      left: 0;
    }

    .timeline-item:nth-child(even) {
      left: 50%;
    }

    .timeline-item:nth-child(odd) .timeline-date {
      right: -35px;
      left: auto;
    }

    .timeline-item:nth-child(even) .timeline-date {
      left: -35px;
    }

    .timeline-item:nth-child(odd)::after {
      left: auto;
      right: -17px;
    }

    .timeline-item:nth-child(odd) .timeline-content {
      margin-left: 0;
      margin-right: 40px;
      text-align: right;
    }

    .timeline-item:nth-child(even) .timeline-content {
      margin-left: 40px;
    }
  }

  /* Author Spotlight */
  .author-spotlight {
    padding: var(--spacing-xl) 0;
    background-color: white;
  }

  .author-profile {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
  }

  .author-image {
    flex: 1;
    min-height: 300px;
  }

  .author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .author-info {
    flex: 2;
    padding: var(--spacing-lg);
  }

  .author-bio {
    margin-bottom: var(--spacing-md);
  }

  .quote {
    font-style: italic;
    padding: var(--spacing-sm) var(--spacing-md);
    border-left: 4px solid var(--secondary);
    background-color: rgba(215, 109, 119, 0.1);
    margin-bottom: var(--spacing-md);
  }

  .author-books h4 {
    margin-bottom: var(--spacing-sm);
  }

  .mini-book {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    background-color: white;
    padding: var(--spacing-sm);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }

  .mini-book img {
    width: 100px;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
  }

  .mini-book-details {
    flex: 1;
  }

  .mini-book-details h5 {
    margin-bottom: 5px;
    font-size: 1.2rem;
  }

  .mini-book-details p {
    color: #666;
    margin-bottom: 10px;
    font-size: 0.9rem;
  }

  @media (min-width: 768px) {
    .author-profile {
      flex-direction: row;
    }
  }

  /* Newsletter */
  .newsletter {
    background-color: var(--primary);
    color: white;
    padding: var(--spacing-xl) 0;
    text-align: center;
  }

  .newsletter h2 {
    color: white;
  }

  .newsletter p {
    color: white;
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
  }

  .newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
  }

  .form-group {
    text-align: left;
  }

  label {
    display: block;
    margin-bottom: 8px;
    color: white;
  }

  input, select {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
  }

  @media (min-width: 1024px) {
    h1 {
      font-size: 4rem;
    }

    h2 {
      font-size: 3rem;
    }

    .subtitle {
      font-size: 1.5rem;
    }
  }
