/* ===== VERTICAL FILTERS LAYOUT ===== */
.filters-vertical {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* ===== LYRICS GRID ===== */
.lyrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.lyrics-card {
    display: flex;
    flex-direction: column;
    min-height: 500px;
}

/* ===== ALBUM COVER ===== */
.album-cover-container {
    position: relative;
    height: 120px;
    overflow: hidden;
    border-bottom: 1px solid rgba(var(--border-light), 0.3);
}

.album-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
    transform: scale(1.1);
    opacity: 0.7;
    filter: blur(2px) brightness(0.8);
}

.album-cover-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,
    rgba(var(--primary-glow), 0.1) 0%,
    rgba(var(--success-glow), 0.05) 100%);
    color: rgb(var(--text-muted));
}

.placeholder-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.placeholder-text {
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
}

.lyrics-card:hover .album-cover {
    transform: scale(1.05);
    opacity: 0.9;
    filter: blur(0) brightness(1);
}

/* ===== CARD CONTENT ===== */
.card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ===== CARD HEADER ===== */
.card-header {
    margin-bottom: 1rem;
}

.song-info {
    margin-bottom: 0.75rem;
}

.song-title {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
}

.song-link {
    color: rgb(var(--text-primary));
    text-decoration: none;
    transition: var(--transition-smooth);
    position: relative;
}

.song-link:hover {
    color: rgb(var(--primary-glow));
}

.artist-info {
    margin-bottom: 0.5rem;
}

.artist-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgb(var(--text-secondary));
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: var(--transition-smooth);
}

.artist-link:hover {
    color: rgb(var(--primary-glow));
}

.artist-icon {
    font-size: 0.875rem;
}

/* ===== LYRICS BADGES ===== */
.lyrics-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* ===== LYRICS PREVIEW ===== */
.lyrics-preview {
    margin-bottom: 1rem;
    padding: 1.25rem;
    background: rgba(var(--bg-primary), 0.3);
    border-radius: var(--radius-md);
    border-left: 4px solid rgba(var(--primary-glow), 0.4);
    flex: 1;
}

.preview-text {
    color: rgb(var(--text-secondary));
    font-style: italic;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.95rem;
}

/* ===== CARD META ===== */
.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(var(--border-light), 0.3);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgb(var(--text-muted));
}

.meta-icon {
    font-size: 0.875rem;
    opacity: 0.7;
}

.album-link {
    color: rgb(var(--text-secondary));
    text-decoration: none;
    transition: var(--transition-smooth);
}

.album-link:hover {
    color: rgb(var(--primary-glow));
}

.track-number {
    background: rgba(var(--primary-glow), 0.1);
    color: rgb(var(--primary-glow));
    padding: 0.125rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: var(--font-weight-medium);
}

/* ===== CARD STATS ===== */
.card-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.stats-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.stats-icon {
    font-size: 0.875rem;
    color: rgb(var(--text-muted));
}

.stats-number {
    font-weight: var(--font-weight-semibold);
    color: rgb(var(--text-primary));
}

.stats-label {
    font-size: 0.75rem;
    color: rgb(var(--text-muted));
    text-transform: lowercase;
}

/* ===== CARD FOOTER ===== */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(var(--border-light), 0.3);
}

.creator-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.creator-icon {
    font-size: 1.25rem;
    color: rgb(var(--text-muted));
}

.creator-details {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.creator-name {
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    color: rgb(var(--text-primary));
}

.creation-date {
    font-size: 0.75rem;
    color: rgb(var(--text-muted));
}

.contributors-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contributors-icon {
    font-size: 0.875rem;
    color: rgb(var(--text-muted));
}

.contributors-count {
    font-size: 0.75rem;
    color: rgb(var(--text-muted));
}

/* ===== CARD ACTIONS ===== */
.card-actions {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-top: 1px solid rgba(var(--border-light), 0.3);
    background: rgba(var(--bg-primary), 0.1);
    margin-top: auto;
}

/* ===== NO RESULTS STATE ===== */
.no-results-state {
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    margin: 2rem 0;
}

.no-results-icon {
    font-size: 4rem;
    color: rgb(var(--text-muted));
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.no-results-state h3 {
    color: rgb(var(--text-primary));
    margin-bottom: 1rem;
    font-weight: var(--font-weight-semibold);
    font-size: 1.5rem;
}

.no-results-state p {
    color: rgb(var(--text-secondary));
    margin-bottom: 2rem;
    font-size: 1.125rem;
    line-height: 1.6;
}

.no-results-state p strong {
    color: rgb(var(--primary-glow));
    font-weight: var(--font-weight-semibold);
}

.no-results-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* ===== LYRICS RESPONSIVE ===== */
@media (max-width: 768px) {
    .lyrics-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .card-meta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .card-stats {
        justify-content: space-between;
        gap: 1rem;
    }

    .stats-item {
        flex: 1;
        justify-content: center;
        min-width: 0;
        flex-direction: column;
        gap: 0.25rem;
        text-align: center;
    }

    .stats-label {
        display: none;
    }

    .stats-icon {
        font-size: 1rem;
        margin-bottom: 0.125rem;
    }

    .stats-number {
        font-size: 0.875rem;
        line-height: 1;
    }

    .card-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .card-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .action-btn {
        width: 100%;
    }

    .preview-text {
        -webkit-line-clamp: 4;
    }

    .sorting-buttons-row {
        flex-direction: column;
    }

    .sort-btn {
        min-width: 100%;
        justify-content: flex-start;
    }

    .alphabet-buttons {
        gap: 0.375rem;
    }

    .letter-btn {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 0.8rem;
    }

    .alphabet-actions {
        flex-direction: column;
    }

    .all-btn, .numbers-btn, .symbols-btn {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .lyrics-card {
        min-height: auto;
    }

    .card-content {
        padding: 1.25rem;
    }

    .lyrics-badges {
        justify-content: center;
    }

    .album-cover-container {
        height: 100px;
    }

    .sorting-panel,
    .alphabet-filter {
        padding: 1rem;
    }

    .sorting-group-label,
    .alphabet-group-label {
        font-size: 0.8rem;
    }

    .letter-btn {
        width: 2rem;
        height: 2rem;
        font-size: 0.75rem;
    }

    .card-stats {
        gap: 0.75rem;
        justify-content: space-around;
    }

    .stats-item {
        flex: none;
        min-width: 60px;
    }

    .stats-icon {
        font-size: 0.875rem;
    }

    .stats-number {
        font-size: 0.8rem;
    }
}

@media (max-width: 360px) {
    .card-stats {
        gap: 0.5rem;
    }

    .stats-item {
        min-width: 50px;
    }

    .stats-icon {
        font-size: 0.875rem;
    }

    .stats-number {
        font-size: 0.8rem;
    }

    .card-stats {
        flex-wrap: wrap;
        justify-content: center;
    }

    .stats-item {
        flex: 0 0 calc(33.333% - 0.5rem);
        min-width: auto;
    }
}

@media (max-width: 320px) {
    .card-stats {
        gap: 0.25rem;
    }

    .stats-item {
        min-width: 45px;
        padding: 0.25rem;
    }

    .stats-number {
        font-size: 0.75rem;
    }
}

.phonetic-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    border-radius: 12rem;
    font-size: 0.75rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--phonetic-bg), rgba(13, 202, 240, 0.1));
    color: var(--phonetic-color);
}

.phonetic-badge i {
    font-size: 0.875rem;
}