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

:root {
    --primary-bg: #f8fafb;
    --secondary-bg: #ffffff;
    --tertiary-bg: #ecf0f5;
    --primary-text: #2c3e50;
    --secondary-text: #7f8c8d;
    --accent: #6dd5d5;
    --accent-hover: #5bc0c0;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
    background: var(--primary-bg);
    color: var(--primary-text);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Header */
.header {
    background: rgba(248, 250, 251, 0.95);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(44, 62, 80, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header-content {
    max-width: 100%;
    padding: 0 50px;
    display: flex;
    align-items: center;
    gap: 50px;
}

.logo a {
    text-decoration: none;
    color: inherit;
}

.search-bar {
    flex: 1;
    display: flex;
    gap: 10px;
}

.search-bar input {
    flex: 1;
    padding: 12px 16px;
    background: #f0f2f5;
    border: 1px solid rgba(127, 140, 141, 0.2);
    border-radius: 4px;
    color: var(--primary-text);
    font-size: 14px;
    transition: all 0.3s;
}

.search-bar input::placeholder {
    color: var(--secondary-text);
}

.search-bar input:focus {
    outline: none;
    background: #ffffff;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(109, 213, 213, 0.2);
}

#searchBtn {
    padding: 12px 32px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
}

#searchBtn:hover {
    background: var(--accent-hover);
}

.filter-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(109, 213, 213, 0.3);
    border-radius: 10px;
    background: #fff;
    color: var(--primary-text);
    font-size: 24px;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.filter-toggle:hover {
    background: var(--tertiary-bg);
    transform: translateY(-1px);
}

.filter-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 105;
}

.filter-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.filter-panel {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 320px;
    max-width: 90vw;
    background: var(--secondary-bg);
    box-shadow: -24px 0 40px rgba(0, 0, 0, 0.12);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 110;
    padding: 28px;
    overflow-y: auto;
}

.filter-panel.open {
    transform: translateX(0);
}

.filter-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.filter-panel-header span {
    font-size: 18px;
    font-weight: 700;
}

.close-filters {
    background: transparent;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: var(--primary-text);
}

.filter-group {
    margin-bottom: 22px;
}

.filter-group h4 {
    font-size: 15px;
    margin-bottom: 12px;
    color: var(--primary-text);
}

.filter-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--secondary-text);
    cursor: pointer;
}

.filter-group input[type="checkbox"] {
    margin-right: 10px;
}

.filter-actions {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.filter-action-btn {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 6px;
    background: var(--accent);
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
}

.filter-action-btn.secondary {
    background: #f0f2f5;
    color: var(--primary-text);
}

.filter-action-btn:hover {
    background: var(--accent-hover);
}

.filter-action-btn.secondary:hover {
    background: rgba(109, 213, 213, 0.2);
}

/* Main Content */
.main-content {
    padding: 0;
    min-height: calc(100vh - 100px);
}

/* Hero Section */
.hero {
    width: 100%;
    height: 0;
    padding-bottom: 30%;
    position: relative;
    overflow: hidden;
    margin-bottom: 60px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(109, 213, 213, 0.3) 0%, rgba(44, 62, 80, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: var(--primary-text);
    width: 90%;
    max-width: 800px;
}

.hero-content h2 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(44, 62, 80, 0.3);
    animation: slideDown 0.8s ease-out;
    color: #ffffff;
}

.hero-content p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.8s ease-out 0.2s both;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Features Section */
.features {248, 250, 251, 0.8
    background: linear-gradient(180deg, rgba(42, 42, 42, 0.5) 0%, var(--primary-bg) 100%);
    padding: 30px 50px;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.feature-card {
    background: var(--secondary-bg);
    border: 1px solid rgba(109, 213, 213, 0.15);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
    animation: slideUp 0.6s ease-out;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.feature-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.feature-link:hover {
    background: var(--tertiary-bg);
}

.feature-card:nth-child(2) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.2s;
}

.feature-card:hover {
    background: var(--tertiary-bg);
    border-color: var(--accent);
    transform: translateY(-5px);109, 213, 213, 0.15
    box-shadow: 0 8px 24px rgba(229, 9, 20, 0.2);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-text);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--secondary-text);
    line-height: 1.6;
}


/* Empty State */
.empty-state {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    text-align: center;
    padding: 60px 50px 0px 50px;
}

.empty-state-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--primary-text);
}

.empty-state-content p {
    font-size: 18px;
    color: var(--secondary-text);
}

/* Popular Pieces Section */
.popular-pieces {
    margin-top: 60px;
    text-align: center;
}

.popular-pieces h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--primary-text);
}

.pieces-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.piece-card {
    background: var(--secondary-bg);
    border: 1px solid rgba(109, 213, 213, 0.15);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
    animation: slideUp 0.6s ease-out;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.piece-card:nth-child(2) {
    animation-delay: 0.1s;
}

.piece-card:nth-child(3) {
    animation-delay: 0.2s;
}

.piece-card:nth-child(4) {
    animation-delay: 0.3s;
}

.piece-card:nth-child(5) {
    animation-delay: 0.4s;
}

.piece-card:nth-child(6) {
    animation-delay: 0.5s;
}

.piece-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.piece-card h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--primary-text);
}

.piece-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
}

.download-btn {
    display: inline-block;
    padding: 8px 16px;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.3s;
}

.download-btn:hover {
    background: var(--accent-hover);
}

/* Loading State */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    gap: 20px;
    padding: 60px 50px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(109, 213, 213, 0.2);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading p {
    color: var(--secondary-text);
    font-size: 16px;
}

/* Error Message */
.error-message {
    background: rgba(231, 76, 60, 0.1);
    border-left: 4px solid #e74c3c;
    color: #c0392b;
    padding: 15px 20px;
    border-radius: 4px;
    margin: 0 50px 30px 50px;
    font-size: 14px;
}

/* Results Section */
.results-section {
    animation: fadeIn 0.3s ease;
    padding: 0 50px 60px 50px;
}

/* Search Info Bar */
.search-info-bar {
    background: var(--secondary-bg);
    border: 1px solid rgba(109, 213, 213, 0.2);
    border-radius: 10px;
    padding: 18px 24px;
    margin-bottom: 30px;
}

.search-info-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.search-info-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.search-info-label {
    font-size: 14px;
    color: var(--secondary-text);
}

.search-info-query {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-text);
}

.search-info-count {
    font-size: 13px;
    color: var(--secondary-text);
    background: rgba(109, 213, 213, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

.search-info-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.search-info-filter-label {
    font-size: 13px;
    color: var(--secondary-text);
}

.search-filter-tag {
    font-size: 12px;
    background: var(--accent);
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 500;
}

.search-info-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.clear-search-btn {
    background: none;
    border: 1px solid var(--secondary-text);
    color: var(--secondary-text);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.clear-search-btn:hover {
    border-color: var(--primary-text);
    color: var(--primary-text);
}

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

.composers-grid {
    display: grid;
    gap: 40px;
}

/* Composer Row */
.composer-row {
    margin-bottom: 50px;
}

.composer-header {
    margin-bottom: 25px;
    border-radius: 8px;
    overflow: hidden;
}

.composer-header-bg {
    background-size: cover;
    background-position: center;
    padding: 30px;
    display: flex;
    align-items: flex-end;
    min-height: 120px;
    position: relative;
    border-bottom: 3px solid var(--accent);
}

.composer-header-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(248, 250, 251, 0.92) 0%, rgba(248, 250, 251, 0.85) 100%);
    z-index: 1;
}

.composer-info {
    position: relative;
    z-index: 2;
}

.composer-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--primary-text);
}

.composer-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.composer-period {
    font-size: 13px;
    color: var(--secondary-text);
    display: flex;
    align-items: center;
    gap: 5px;
}

.composer-works-count {
    font-size: 13px;
    color: var(--secondary-text);
    display: flex;
    align-items: center;
    gap: 5px;
}

.works-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

/* Work Card */
.work-card {
    background: var(--secondary-bg);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid rgba(109, 213, 213, 0.15);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.work-card:hover {
    background: var(--tertiary-bg);
    border-color: rgba(109, 213, 213, 0.3);
    transform: scale(1.03);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.work-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
    background-color: #667eea;
}

.work-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(109, 213, 213, 0.3) 0%, rgba(91, 192, 192, 0.4) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    z-index: 2;
}

.work-card:hover .work-image-overlay {
    background: rgba(109, 213, 213, 0.5);
}

.work-card:hover .play-icon {
    opacity: 1;
    transform: scale(1);
}

.emoji-badge {
    font-size: 64px;
    position: relative;
    z-index: 2;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.play-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 10;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s;
}

.work-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.work-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-text);
    margin-bottom: 2px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.work-composer {
    font-size: 13px;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 6px;
}

.work-details {
    font-size: 12px;
    color: var(--secondary-text);
    margin-bottom: 10px;
    flex: 1;
}

.work-details p {
    margin: 4px 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.work-details .opus {
    color: var(--accent);
    font-weight: 600;
}

.work-details .instrumentation {
    color: var(--secondary-text);
    font-size: 11px;
}

.work-details .key {
    font-size: 11px;
    color: var(--secondary-text);
}

.work-details .year {
    font-size: 11px;
    color: var(--secondary-text);
}

.work-details .period {
    font-size: 11px;
    color: var(--secondary-text);
    display: flex;
    align-items: center;
    gap: 4px;
}

.work-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.work-action-btn {
    background: var(--accent);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    flex: 1;
}

.work-action-btn:hover {
    background: var(--accent-hover);
}

.work-imslp-link {
    font-size: 12px;
    color: var(--secondary-text);
    text-decoration: none;
    padding: 8px 10px;
    border: 1px solid rgba(109, 213, 213, 0.2);
    border-radius: 4px;
    transition: all 0.2s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
}

.work-imslp-link:hover {
    color: var(--accent);
    border-color: var(--accent);
}


.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-y: auto;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: var(--secondary-bg);
    border: 1px solid rgba(109, 213, 213, 0.15);
    padding: 40px;
    border-radius: 8px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 32px;
    font-weight: bold;
    color: var(--secondary-text);
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.3s;
    line-height: 1;
}

.modal-close:hover {
    color: var(--accent);
}

.modal-content h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--primary-text);
}

.modal-composer {
    color: var(--secondary-text);
    margin-bottom: 20px;
    font-size: 14px;
}

.modal-metadata {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(109, 213, 213, 0.15);
}

.metadata-item strong {
    color: var(--secondary-text);
    font-size: 12px;
    display: block;
    margin-bottom: 4px;
}

.modal-content h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--primary-text);
}

.scores-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.score-item {
    background: var(--tertiary-bg);
    border: 1px solid rgba(109, 213, 213, 0.15);
    border-radius: 6px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    transition: all 0.3s;
}

.score-item:hover {
    background: rgba(109, 213, 213, 0.06);
    border-color: rgba(109, 213, 213, 0.25);
}

.score-info {
    flex: 1;
}

.score-info p {
    font-size: 13px;
    color: var(--secondary-text);
    margin: 4px 0;
}

.score-info p strong {
    color: var(--primary-text);
}

.urtext-badge {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
    margin-top: 6px;
}

.download-btn {
    background: var(--accent);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    white-space: nowrap;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.download-btn:hover {
    background: var(--accent-hover);
    transform: scale(1.05);
}

.close-btn {
    background: rgba(44, 62, 80, 0.08);
    color: var(--primary-text);
    border: 1px solid rgba(44, 62, 80, 0.15);
    padding: 12px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    display: block;
    width: 100%;
    margin-top: 30px;
    transition: all 0.3s;
}

.close-btn:hover {
    background: rgba(44, 62, 80, 0.12);
    border-color: rgba(44, 62, 80, 0.25);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--primary-bg);
}

::-webkit-scrollbar-thumb {
    background: rgba(44, 62, 80, 0.25);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(44, 62, 80, 0.4);
}

/* Responsive */
@media (max-width: 1200px) {
    .header-content {
        padding: 0 30px;
        gap: 30px;
    }
    
    .main-content {
        padding: 0;
    }
    
    .results-section {
        padding: 0 30px 40px 30px;
    }
    
    .empty-state {
        padding: 40px 30px;
    }
    
    .loading {
        padding: 40px 30px;
    }
    
    .error-message {
        margin: 0 30px 30px 30px;
    }
    
    .works-container {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 15px;
    }
    
    .modal-content {
        padding: 30px;
    }
    
    .hero-content h2 {
        font-size: 42px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .features {
        padding: 40px 30px;
    }
    
    .features-container {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 0 20px;
        gap: 15px;
        flex-direction: column;
    }
    
    .search-bar {
        width: 100%;
    }
    
    .logo {
        min-width: auto;
    }
    
    .main-content {
        padding: 0;
    }
    
    .results-section {
        padding: 30px 20px;
    }
    
    .empty-state {
        padding: 30px 20px;
    }
    
    .loading {
        padding: 30px 20px;
    }
    
    .error-message {
        margin: 0 20px 30px 20px;
    }
    
    .works-container {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 10px;
    }
    
    .work-card {
        transform: none !important;
    }
    
    .work-card:hover {
        transform: none;
    }
    
    .modal-content {
        padding: 20px;
        max-width: 95%;
    }
    
    .modal-content h2 {
        font-size: 24px;
    }
    
    .hero {
        padding-bottom: 45%;
        margin-bottom: 30px;
    }
    
    .hero-content h2 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 14px;
    }
    
    .features {
        padding: 30px 20px;
    }
    
    .features-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .feature-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 10px 0;
    }
    
    .header-content {
        padding: 0 15px;
        flex-direction: column;
        gap: 10px;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .search-bar input {
        font-size: 12px;
        padding: 10px 12px;
    }
    
    #searchBtn {
        padding: 10px 20px;
        font-size: 12px;
    }
    
    .main-content {
        padding: 0;
    }
    
    .results-section {
        padding: 20px 15px;
    }
    
    .empty-state {
        padding: 20px 15px;
    }
    
    .loading {
        padding: 20px 15px;
    }
    
    .error-message {
        margin: 0 15px 30px 15px;
    }
    
    .works-container {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    .work-image {
        aspect-ratio: 16 / 9;
        font-size: 48px;
    }
    
    .composer-title {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .hero {
        padding-bottom: 60%;
        margin-bottom: 20px;
    }
    
    .hero-content h2 {
        font-size: 24px;
    }
    
    .hero-content p {
        font-size: 12px;
    }
    
    .features {
        padding: 20px 15px;
    }
    
    .features-container {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .feature-card {
        padding: 15px;
    }
    
    .feature-icon {
        font-size: 36px;
    }
    
    .feature-card h3 {
        font-size: 16px;
    }
    
    .feature-card p {
        font-size: 12px;
    }
}
