
  :root {
    --primary: #2c3e50;
    --secondary: #e74c3c;
    --accent: #3498db;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --text: #333333;
    --text-light: #ffffff;
    --gray: #95a5a6;
    --border-radius: 8px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
  }

  * {
    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;
  }

  body {
    font-family: 'Roboto', sans-serif;
    color: var(--text);
    line-height: 1.6;
  }

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

  section {
    padding: 80px 0;
    position: relative;
  }

  h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark);
  }

  h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
  }

  h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  p {
    margin-bottom: 1rem;
  }

  img {
    max-width: 100%;
    height: auto;
    display: block;
  }

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

  .btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
  }

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

  .btn-primary:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
  }

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

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

  /* Hero Section */
  .hero-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    text-align: center;
    background-color: var(--dark);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
  }

  .hero-section h1 {
    color: var(--text-light);
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }

  .hero-subtitle {
    font-size: 1.5rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: var(--light);
  }

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

  .books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
  }

  .book-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
  }

  .book-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  }

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

  .book-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
  }

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

  .book-details {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }

  .book-details h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .author {
    color: var(--gray);
    margin-bottom: 1rem;
    font-style: italic;
  }

  .description {
    margin-bottom: 1.5rem;
    flex-grow: 1;
  }

  .book-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    color: var(--gray);
  }

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

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

  .categories-section h2 {
    color: var(--text-light);
    text-align: center;
  }

  .category-tabs {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-top: 40px;
  }

  .tab-navigation {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    overflow-x: auto;
  }

  .tab-btn {
    padding: 15px 25px;
    background: none;
    border: none;
    color: var(--text-light);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0.7;
    font-size: 1rem;
  }

  .tab-btn.active {
    opacity: 1;
    border-bottom: 3px solid var(--secondary);
  }

  .tab-btn:hover {
    opacity: 1;
  }

  .tab-content {
    display: none;
    padding: 30px;
  }

  .tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
  }

  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  .category-books {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
  }

  .category-book {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: var(--border-radius);
    transition: var(--transition);
  }

  .category-book:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
  }

  .category-book h4 {
    color: var(--text-light);
    margin-bottom: 5px;
    font-size: 1.1rem;
  }

  .category-book p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0;
  }

  /* Readers Choice */
  .readers-choice {
    background-color: white;
  }

  .section-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray);
  }

  .readers-choice-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .reader-book {
    display: flex;
    background-color: var(--light);
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    transition: var(--transition);
  }

  .reader-book:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow);
  }

  .rank {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 36px;
    height: 36px;
    background-color: var(--secondary);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    z-index: 1;
  }

  .book-thumb {
    width: 150px;
    flex-shrink: 0;
  }

  .book-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .book-info {
    padding: 20px;
    flex-grow: 1;
  }

  .rating {
    color: #f39c12;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
  }

  .rating-count {
    color: var(--gray);
    margin-left: 10px;
    font-size: 0.9rem;
  }

  .book-excerpt {
    font-style: italic;
    color: var(--gray);
  }

  /* Upcoming Releases */
  .upcoming-releases {
    background-color: var(--dark);
    color: var(--text-light);
    position: relative;
  }

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

  .upcoming-releases .section-intro {
    color: var(--light);
  }

  .release-timeline {
    margin-top: 50px;
    position: relative;
  }

  .release-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 120px;
    width: 3px;
    background-color: var(--secondary);
  }

  .timeline-item {
    display: flex;
    margin-bottom: 50px;
    position: relative;
  }

  .timeline-item:last-child {
    margin-bottom: 0;
  }

  .timeline-item::before {
    content: '';
    position: absolute;
    left: 120px;
    top: 20px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: var(--secondary);
    transform: translateX(-6px);
    z-index: 1;
  }

  .release-date {
    width: 100px;
    flex-shrink: 0;
    text-align: right;
    padding-right: 40px;
  }

  .month {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--secondary);
  }

  .year {
    display: block;
    font-size: 0.9rem;
    color: var(--gray);
  }

  .release-content {
    flex-grow: 1;
    padding-left: 40px;
  }

  .release-content h3 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
  }

  .release-content .author {
    color: var(--secondary);
    margin-bottom: 1rem;
  }

  .release-content .description {
    margin-bottom: 1.5rem;
    color: var(--light);
  }

  /* Newsletter */
  .newsletter {
    background-color: var(--light);
    text-align: center;
  }

  .newsletter-content {
    max-width: 600px;
    margin: 0 auto;
  }

  .newsletter-form {
    margin-top: 30px;
    text-align: left;
  }

  .form-group {
    margin-bottom: 20px;
  }

  label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
  }

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

  input:focus, select:focus {
    outline: none;
    border-color: var(--accent);
  }

  .newsletter .btn-primary {
    width: 100%;
    margin-top: 10px;
  }

  /* Responsive */
  @media (max-width: 768px) {
    h1 {
      font-size: 2.5rem;
    }

    h2 {
      font-size: 2rem;
    }

    section {
      padding: 60px 0;
    }

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

    .category-books {
      grid-template-columns: 1fr 1fr;
    }

    .reader-book {
      flex-direction: column;
    }

    .book-thumb {
      width: 100%;
      height: 200px;
    }

    .release-timeline::before {
      left: 80px;
    }

    .timeline-item::before {
      left: 80px;
    }

    .release-date {
      width: 70px;
      padding-right: 25px;
    }

    .release-content {
      padding-left: 25px;
    }
  }

  @media (max-width: 480px) {
    h1 {
      font-size: 2rem;
    }

    h2 {
      font-size: 1.7rem;
    }

    .category-books {
      grid-template-columns: 1fr;
    }

    .tab-navigation {
      flex-wrap: wrap;
    }

    .tab-btn {
      flex-grow: 1;
      text-align: center;
      padding: 10px;
    }
  }
