.hero-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 4rem 0;
}

.hero-search {
    max-width: 700px;
    margin: 0 auto;
}

.hero-search-bar {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.hero-search-bar:focus-within {
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.2), 0 0 0 3px rgba(255, 193, 7, 0.35);
}

.hero-search-bar__scope {
    flex: 0 0 auto;
    width: auto;
    max-width: 7rem;
    border: 0;
    border-right: 1px solid #e9ecef;
    border-radius: 0;
    background: #f8f9fa;
    padding: 0.75rem 0.85rem;
    font-size: 0.875rem;
    color: #495057;
}

.hero-search-bar__scope:focus {
    box-shadow: none;
    border-color: #e9ecef;
    background: #f1f3f5;
}

.hero-search-bar__input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

.hero-search-bar__input:focus {
    box-shadow: none;
}

.hero-search-bar__submit {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 0;
    border-radius: 0;
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
}

.stat-label {
    color: #6c757d;
    font-size: 0.9rem;
}

.section-title {
    position: relative;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #2c3e50;
}

.genre-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    background: #f8f9fa;
    border-radius: 20px;
    text-decoration: none;
    color: #495057;
    transition: all 0.2s;
}

.genre-tag:hover {
    background: #2c3e50;
    color: white;
}

.genre-tag .badge {
    font-size: 0.7rem;
}

.author-card,
.series-card {
    transition: transform 0.2s;
}

.author-card:hover,
.series-card:hover {
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }

    .hero-section .display-5 {
        font-size: 1.75rem;
    }

    .hero-section .lead {
        font-size: 1rem;
    }

    .hero-section .display-6 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-search-bar__scope {
        max-width: 5.5rem;
        padding: 0.6rem 0.5rem;
        font-size: 0.8125rem;
    }

    .hero-search-bar__input {
        padding: 0.6rem 0.65rem;
        font-size: 0.9375rem;
    }

    .hero-search-bar__submit {
        padding: 0.6rem 0.85rem;
    }

    .hero-search-bar__submit-text {
        display: none;
    }
}
