/* Reset and Base Styles */
* {
    margin: 0;
    padding: ;
    box-sizing: border-box;
  }
  
  body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
      sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8fafc;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
  }
  
  /* Typography */
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
  }
  
  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 2.25rem;
  }
  h3 {
    font-size: 1.875rem;
  }
  h4 {
    font-size: 1.5rem;
  }
  h5 {
    font-size: 1.25rem;
  }
  h6 {
    font-size: 1.125rem;
  }
  
  p {
    margin-bottom: 1rem;
    color: #666;
  }
  
  /* Buttons */
  .btn-primary {
    background: #2563eb;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
  }
  
  .btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
  }
  
  .btn-outline {
    background: transparent;
    color: #2563eb;
    padding: 0.75rem 1.5rem;
    border: 2px solid #2563eb;
    border-radius: 0.5rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
  }
  
  .btn-outline:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-1px);
  }
  
  .btn-ghost {
    background: transparent;
    color: #666;
    padding: 0.5rem 1rem;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
  }
  
  .btn-ghost:hover {
    background: #f3f4f6;
    color: #333;
  }
  
  .btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
  }
  
  .btn-full {
    width: 100%;
    justify-content: center;
  }
  
  /* Badges */
  .badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
  }
  
  .badge-primary {
    background: #2563eb;
    color: white;
  }
  
  .badge-secondary {
    background: #6b7280;
    color: white;
  }
  
  .badge-success {
    background: #059669;
    color: white;
  }
  
  .badge-free {
    background: #dcfce7;
    color: #166534;
  }
  
  .badge-pdf {
    background: #fef3c7;
    color: #92400e;
  }
  
  .badge-hardcopy {
    background: #dbeafe;
    color: #1e40af;
  }
  
  .badge-cd {
    background: #f3e8ff;
    color: #7c3aed;
  }
  
  /* Header */
  .header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
  }
  
  .nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
  }
  
  .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #2563eb;
  }
  
  .logo i {
    font-size: 2rem;
  }
  
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  
  .nav-item {
    position: relative;
  }
  
  .nav-link {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.2s;
  }
  
  .nav-link:hover {
    color: #2563eb;
  }
  
  .dropdown {
    position: relative;
  }
  
  .dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
    z-index: 1000;
  }
  
  .dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .dropdown-content a {
    display: block;
    padding: 0.75rem 1rem;
    color: #374151;
    text-decoration: none;
    transition: background 0.2s;
  }
  
  .dropdown-content a:hover {
    background: #f3f4f6;
    color: #2563eb;
  }
  
  .search-bar {
    position: relative;
    flex: 1;
    max-width: 24rem;
    margin: 0 1rem;
  }
  
  .search-bar i {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
  }
  
  .search-bar input {
    width: 100%;
    padding: 0.5rem 0.75rem 0.5rem 2.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: border-color 0.2s;
  }
  
  .search-bar input:focus {
    outline: none;
    border-color: #2563eb;
  }
  
  .user-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #374151;
    cursor: pointer;
  }
  
  .mobile-menu {
    display: none;
    background: white;
    border-top: 1px solid #e5e7eb;
    padding: 1rem;
  }
  
  .mobile-menu a {
    display: block;
    padding: 0.75rem 0;
    color: #374151;
    text-decoration: none;
    border-bottom: 1px solid #f3f4f6;
  }
  
  .mobile-search {
    margin-top: 1rem;
  }
  
  .mobile-search input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
  }
  
  /* Hero Section */
  .hero {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
  }
  
  .hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .hero .btn-primary {
    background: white;
    color: #2563eb;
  }
  
  .hero .btn-primary:hover {
    background: #f3f4f6;
  }
  
  .hero .btn-outline {
    border-color: white;
    color: white;
  }
  
  .hero .btn-outline:hover {
    background: white;
    color: #2563eb;
  }
  
  /* Stats Section */
  .stats {
    padding: 4rem 0;
    background: #f9fafb;
  }
  
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
  }
  
  .stat-item i {
    font-size: 3rem;
    margin-bottom: 1rem;
  }
  
  .stat-item:nth-child(1) i {
    color: #2563eb;
  }
  .stat-item:nth-child(2) i {
    color: #059669;
  }
  .stat-item:nth-child(3) i {
    color: #d97706;
  }
  .stat-item:nth-child(4) i {
    color: #7c3aed;
  }
  
  .stat-item h3 {
    font-size: 3rem;
    color: #111827;
    margin-bottom: 0.5rem;
  }
  
  .stat-item p {
    color: #6b7280;
    margin: 0;
  }
  
  /* Section Headers */
  .section-header {
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .section-header h2 {
    color: #111827;
    margin-bottom: 1rem;
  }
  
  .section-header p {
    font-size: 1.125rem;
    max-width: 42rem;
    margin: 0 auto;
  }
  
  .section-footer {
    text-align: center;
    margin-top: 2rem;
  }
  
  /* Featured Books */
  .featured-books {
    padding: 4rem 0;
  }
  
  .books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
  }
  
  .book-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
    position: relative;
  }
  
  .book-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
  }
  
  .book-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  }
  
  .book-header {
    padding: 1.5rem 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }
  
  .rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #f59e0b;
    font-size: 0.875rem;
  }
  
  .book-card img {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    margin: 1rem 0;
  }
  
  .book-content {
    padding: 0 1.5rem 1.5rem;
  }
  
  .book-content h3 {
    font-size: 1.125rem;
    color: #111827;
    margin-bottom: 0.25rem;
  }
  
  .author,
  .book-author {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .description,
  .book-description {
    font-size: 0.875rem;
    color: #475569;
    margin-bottom: 1rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .book-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
  }
  
  .category,
  .book-category {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #059669;
  }
  
  .price.free {
    color: #dc2626;
    position: relative;
  }
  
  .price.free::after {
    content: "FREE";
    position: absolute;
    top: -8px;
    right: -20px;
    background: #dc2626;
    color: white;
    padding: 0.125rem 0.5rem;
    border-radius: 8px;
    font-size: 0.6rem;
    font-weight: 600;
  }
  
  .formats {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
  }
  
  .format-tag {
    background: #e5e7eb;
    color: #374151;
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
  }
  
  .book-image {
    height: 200px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    margin: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }
  
  .book-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="bookPattern" width="20" height="20" patternUnits="userSpaceOnUse"><rect width="20" height="20" fill="%23f8fafc"/><circle cx="10" cy="10" r="1" fill="%23e2e8f0"/></pattern></defs><rect width="100" height="100" fill="url(%23bookPattern)"/></svg>');
    opacity: 0.5;
  }
  
  .book-icon {
    font-size: 3rem;
    color: #64748b;
    z-index: 2;
    position: relative;
  }
  
  .book-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
  }
  
  .price-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
  }
  
  .formats-available {
    display: flex;
    gap: 0.5rem;
    align-items: center;
  }
  
  .format-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    color: white;
    font-weight: 600;
  }
  
  .format-pdf {
    background: #ef4444;
  }
  .format-hard {
    background: #3b82f6;
  }
  .format-cd {
    background: #8b5cf6;
  }
  
  .cart-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .quantity-section {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  
  .quantity-label {
    font-weight: 600;
    color: #374151;
    font-size: 0.875rem;
  }
  
  .quantity-input {
    width: 80px;
    padding: 0.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.875rem;
    text-align: center;
    transition: all 0.3s;
  }
  
  .quantity-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  }
  
  .add-to-cart-btn {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: white;
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
  }
  
  .add-to-cart-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent
    );
    transition: left 0.5s;
  }
  
  .add-to-cart-btn:hover::before {
    left: 100%;
  }
  
  .add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
  }
  
  .add-to-cart-btn:active {
    transform: translateY(0);
  }
  
  .add-to-cart-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
  }
  
  .book-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
    line-height: 1.3;
  }
  
  /* Competitions */
  .competitions {
    padding: 4rem 0;
    background: #f9fafb;
  }
  
  .competitions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
  }
  
  .competition-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-left: 4px solid #059669;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s;
  }
  
  .competition-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  }
  
  .competition-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
  }
  
  .competition-header h3 {
    font-size: 1.25rem;
    color: #111827;
  }
  
  .competition-description {
    color: #6b7280;
    margin-bottom: 1rem;
  }
  
  .competition-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
  }
  
  .meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
  }
  
  .meta-item i {
    color: #9ca3af;
  }
  
  .prize-box {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 0.5rem;
    padding: 0.75rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #92400e;
    font-weight: 500;
    font-size: 0.875rem;
  }
  
  .prize-box i {
    color: #f59e0b;
  }
  
  /* Winners */
  .winners {
    padding: 4rem 0;
  }
  
  .winners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
  }
  
  .winner-card {
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
    border: 1px solid #f59e0b;
    border-radius: 0.75rem;
    padding: 1.5rem;
  }
  
  .winner-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
  }
  
  .winner-header i {
    font-size: 2rem;
    color: #d97706;
  }
  
  .winner-header h3 {
    color: #92400e;
    margin-bottom: 0.25rem;
  }
  
  .winner-header p {
    color: #a16207;
    font-size: 0.875rem;
    margin: 0;
  }
  
  .winner-details {
    space-y: 0.5rem;
  }
  
  .detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
  }
  
  .detail-row span:first-child {
    color: #a16207;
  }
  
  .detail-row span:last-child {
    font-weight: 500;
    color: #92400e;
  }
  
  .prize {
    color: #059669 !important;
  }
  
  /* Call to Action */
  .cta {
    background: #2563eb;
    color: white;
    padding: 4rem 0;
    text-align: center;
  }
  
  .cta-content h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
  }
  
  .cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
  }
  
  .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .cta .btn-primary {
    background: white;
    color: #2563eb;
  }
  
  .cta .btn-primary:hover {
    background: #f3f4f6;
  }
  
  .cta .btn-outline {
    border-color: white;
    color: white;
  }
  
  .cta .btn-outline:hover {
    background: white;
    color: #2563eb;
  }
  
  /* Footer */
  .footer {
    background: #111827;
    color: white;
    padding: 3rem 0 1rem;
  }
  
  .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
  }
  
  .footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #60a5fa;
    margin-bottom: 1rem;
  }
  
  .footer-logo i {
    font-size: 2rem;
  }
  
  .footer-section p {
    color: #d1d5db;
    margin-bottom: 1rem;
  }
  
  .footer-section h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.125rem;
  }
  
  .footer-section ul {
    list-style: none;
  }
  
  .footer-section ul li {
    margin-bottom: 0.5rem;
  }
  
  .footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.2s;
  }
  
  .footer-section ul li a:hover {
    color: #60a5fa;
  }
  
  .social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
  }
  
  .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: #374151;
    color: #d1d5db;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.2s;
  }
  
  .social-links a:hover {
    background: #60a5fa;
    color: white;
  }
  
  .contact-info {
    space-y: 0.75rem;
  }
  
  .contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
  }
  
  .contact-item i {
    color: #60a5fa;
    width: 1.25rem;
  }
  
  .footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .footer-bottom p {
    color: #9ca3af;
    margin: 0;
  }
  
  .footer-links {
    display: flex;
    gap: 1.5rem;
  }
  
  .footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
  }
  
  .footer-links a:hover {
    color: #60a5fa;
  }
  
  /* Books Page */
  .books-page {
    padding: 2rem 0;
  }
  
  .books-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
  }
  
  .filters-sidebar {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    height: fit-content;
    position: sticky;
    top: 6rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  }
  
  .filter-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
  }
  
  .filter-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }
  
  .filter-section h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #111827;
  }
  
  .filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .filter-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .filter-item input[type="checkbox"],
  .filter-item input[type="radio"] {
    width: 1rem;
    height: 1rem;
    accent-color: #2563eb;
  }
  
  .filter-item label {
    font-size: 0.875rem;
    color: #374151;
    cursor: pointer;
  }
  
  .search-input {
    width: 100%;
    padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    transition: border-color 0.3s;
  }
  
  .search-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  }
  
  .search-wrapper {
    position: relative;
  }
  
  .search-wrapper i {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
  }
  
  .books-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  }
  
  .books-count {
    color: #6b7280;
    font-size: 0.875rem;
  }
  
  .sort-select {
    padding: 0.5rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    font-size: 0.875rem;
    cursor: pointer;
  }
  
  .no-results {
    text-align: center;
    padding: 3rem;
    color: #6b7280;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  }
  
  .clear-filters {
    background: #f3f4f6;
    color: #374151;
    border: 2px solid #e5e7eb;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    font-weight: 600;
  }
  
  .clear-filters:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
  }
  
  .page-header {
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
  }
  
  .page-subtitle {
    font-size: 1.1rem;
    color: #64748b;
  }
  
  /* Animation Classes */
  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
  }
  
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Utility Classes */
  .text-center {
    text-align: center;
  }
  .text-left {
    text-align: left;
  }
  .text-right {
    text-align: right;
  }
  
  .mb-1 {
    margin-bottom: 0.25rem;
  }
  .mb-2 {
    margin-bottom: 0.5rem;
  }
  .mb-3 {
    margin-bottom: 0.75rem;
  }
  .mb-4 {
    margin-bottom: 1rem;
  }
  
  .mt-1 {
    margin-top: 0.25rem;
  }
  .mt-2 {
    margin-top: 0.5rem;
  }
  .mt-3 {
    margin-top: 0.75rem;
  }
  .mt-4 {
    margin-top: 1rem;
  }
  
  .p-1 {
    padding: 0.25rem;
  }
  .p-2 {
    padding: 0.5rem;
  }
  .p-3 {
    padding: 0.75rem;
  }
  .p-4 {
    padding: 1rem;
  }
  
  .hidden {
    display: none;
  }
  .block {
    display: block;
  }
  .flex {
    display: flex;
  }
  .grid {
    display: grid;
  }
  
  .w-full {
    width: 100%;
  }
  .h-full {
    height: 100%;
  }
  
  /* Loading Animation */
  .loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
  }
  
  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }
  
  /* Success Animation */
  .success {
    color: #059669;
  }
  
  .success i {
    animation: bounce 0.5s ease-in-out;
  }
  
  @keyframes bounce {
    0%,
    100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.2);
    }
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .nav-desktop,
    .search-bar,
    .user-actions .btn-ghost {
      display: none;
    }
  
    .mobile-menu-toggle {
      display: block;
    }
  
    .mobile-menu.active {
      display: block;
    }
  
    .hero-content h1 {
      font-size: 2.5rem;
    }
  
    .hero-content p {
      font-size: 1rem;
    }
  
    .hero-buttons {
      flex-direction: column;
      align-items: center;
    }
  
    .stats-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  
    .books-grid {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }
  
    .competitions-grid {
      grid-template-columns: 1fr;
    }
  
    .winners-grid {
      grid-template-columns: 1fr;
    }
  
    .competition-meta {
      grid-template-columns: 1fr;
    }
  
    .footer-bottom {
      flex-direction: column;
      text-align: center;
    }
  
    .cta-buttons {
      flex-direction: column;
      align-items: center;
    }
  
    .books-layout {
      grid-template-columns: 1fr;
    }
  
    .filters-sidebar {
      position: static;
      order: 2;
    }
  
    .books-content {
      order: 1;
    }
  
    .books-header {
      flex-direction: column;
      gap: 1rem;
      align-items: flex-start;
    }
  
    .book-card {
      margin: 0 0.5rem;
    }
  
    .book-header {
      flex-direction: column;
      gap: 1rem;
      align-items: flex-start;
    }
  
    .quantity-section {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.5rem;
    }
  }
  
  @media (max-width: 480px) {
    .container {
      padding: 0 0.75rem;
    }
  
    .hero {
      padding: 3rem 0;
    }
  
    .hero-content h1 {
      font-size: 2rem;
    }
  
    .section-header h2 {
      font-size: 1.75rem;
    }
  
    .stats-grid {
      grid-template-columns: 1fr;
    }
  
    .stat-item h3 {
      font-size: 2rem;
    }
  
    .page-title {
      font-size: 2rem;
    }
  }