
  :root {
    --primary: #3a1c71;
    --secondary: #d76d77;
    --accent: #ffaf7b;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #f8f9fa;
    --background-dark: #2a2a2a;
    --border-radius: 8px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
  }

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

  .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;
  }

  h1, h2, h3 {
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
  }

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

  h2 {
    font-size: 2rem;
    text-align: center;
    position: relative;
    margin-bottom: var(--spacing-lg);
  }

  h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    margin: var(--spacing-sm) auto 0;
    border-radius: 2px;
  }

  h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
  }

  p {
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
    color: var(--text-dark);
  }

  img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

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

  .section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    font-size: 1.2rem;
  }

  .btn-primary, .btn-secondary, .btn-category {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
  }

  .btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--text-light);
  }

  .btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

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

  .btn-secondary:hover {
    background-color: var(--primary);
    color: var(--text-light);
    transform: translateY(-2px);
  }

  .btn-category {
    background-color: var(--background-light);
    color: var(--primary);
    border: 1px solid var(--primary);
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }

  .btn-category:hover {
    background-color: var(--primary);
    color: var(--text-light);
  }

  /* Hero Section */
  .hero-section {
    background-color: var(--primary);
    color: var(--text-light);
    padding: var(--spacing-xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(58, 28, 113, 0.8), rgba(215, 109, 119, 0.8));
    z-index: 0;
  }

  .hero-text {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    color: var(--text-light);
  }

  .search-container {
    max-width: 600px;
    margin: 0 auto;
  }

  .search-form label {
    display: block;
    margin-bottom: var(--spacing-xs);
    color: var(--text-light);
  }

  .search-input-container {
    display: flex;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .search-input-container input {
    flex: 1;
    padding: 1rem;
    border: none;
    font-size: 1rem;
  }

  .search-input-container button {
    background-color: var(--accent);
    color: var(--text-dark);
    border: none;
    padding: 0 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .search-input-container button:hover {
    background-color: #ff9d5c;
  }

  /* Categories Section */
  .categories-section {
    background-color: var(--background-light);
  }

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

  .category-card {
    background-color: var(--text-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding-bottom: var(--spacing-md);
  }

  .category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  }

  .category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
  }

  .category-card h3, .category-card p {
    padding: 0 var(--spacing-md);
  }

  .category-card h3 {
    margin-top: var(--spacing-md);
    color: var(--primary);
  }

  .category-card .btn-category {
    margin-left: var(--spacing-md);
  }

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

  .featured-books h2 {
    color: var(--text-light);
  }

  .featured-slider {
    position: relative;
    overflow: hidden;
    margin-bottom: var(--spacing-md);
  }

  .book-card {
    background-color: var(--text-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-bottom: var(--spacing-md);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }

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

  .book-image {
    flex: 1;
    max-width: 100%;
  }

  @media (min-width: 768px) {
    .book-image {
      max-width: 300px;
    }
  }

  .book-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
  }

  .book-info {
    flex: 2;
    padding: var(--spacing-md);
    color: var(--text-dark);
  }

  .book-info h3 {
    color: var(--primary);
    margin-bottom: var(--spacing-xs);
  }

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

  .book-meta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
  }

  .book-meta span {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
  }

  .slider-controls {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
  }

  .prev-btn, .next-btn {
    background-color: var(--text-light);
    color: var(--primary);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .prev-btn:hover, .next-btn:hover {
    background-color: var(--primary);
    color: var(--text-light);
    transform: scale(1.1);
  }

  /* New Releases Section */
  .new-releases {
    background-color: var(--background-light);
  }

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

  .release-card {
    background-color: var(--text-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
  }

  .release-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
  }

  .release-content {
    padding: var(--spacing-md);
  }

  .release-date {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
  }

  /* Reading Club Section */
  .reading-club {
    background-color: var(--primary);
    color: var(--text-light);
    position: relative;
    padding: var(--spacing-xl) 0;
  }

  .reading-club h2 {
    color: var(--text-light);
  }

  .club-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    align-items: center;
  }

  .club-info, .club-signup {
    background-color: rgba(255, 255, 255, 0.9);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: var(--text-dark);
    width: 100%;
  }

  .club-benefits {
    list-style: none;
    margin-top: var(--spacing-md);
  }

  .club-benefits li {
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
  }

  .club-benefits i {
    color: var(--secondary);
  }

  .club-signup h3 {
    color: var(--primary);
    text-align: center;
    margin-bottom: var(--spacing-md);
  }

  .signup-form .form-group {
    margin-bottom: var(--spacing-md);
  }

  .signup-form label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
  }

  .signup-form input, .signup-form select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
  }

  .signup-form button {
    width: 100%;
  }

  /* Media Queries */
  @media (min-width: 768px) {
    h1 {
      font-size: 3rem;
    }

    h2 {
      font-size: 2.5rem;
    }

    .categories-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .releases-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .club-content {
      flex-direction: row;
    }

    .club-info, .club-signup {
      width: 50%;
    }
  }

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

    .categories-grid {
      grid-template-columns: repeat(4, 1fr);
    }

    .releases-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }
