/* ============================================
   MAXIMULUS - Lyrics Section Styles
   ============================================ */

/* === Page Layout === */
.lyrics-page {
    min-height: 100vh;
    background-color: #0a0a0f;
    color: #e2e8f0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.lyrics-page__header {
    padding: 80px 0 40px;
    text-align: center;
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.08) 0%, transparent 100%);
}

.lyrics-page__title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    background: linear-gradient(96deg, #7c00ff 0%, #22d4ff 50%, #ff0000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.lyrics-page__subtitle {
    color: #94a3b8;
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* === Grid Layout === */
.lyrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px 40px;
}

@media (max-width: 1024px) {
    .lyrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .lyrics-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* === Card === */
.lyrics-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.lyrics-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(124, 58, 237, 0.4);
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(124, 58, 237, 0.2);
}

.lyrics-card__image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
}

.lyrics-card__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.lyrics-card:hover .lyrics-card__image {
    transform: scale(1.08);
}

.lyrics-card__image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 15, 0.95) 0%, rgba(10, 10, 15, 0.3) 50%, transparent 100%);
    pointer-events: none;
}

.lyrics-card__body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.lyrics-card__title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 12px;
    line-height: 1.3;
}

.lyrics-card__preview {
    color: #94a3b8;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lyrics-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(168, 85, 247, 0.2));
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 9999px;
    color: #a855f7;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
    align-self: flex-start;
    cursor: pointer;
}

.lyrics-card__button:hover {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.35), rgba(168, 85, 247, 0.35));
    border-color: #a855f7;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
    transform: translateY(-2px);
}

.lyrics-card__button svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.lyrics-card__button:hover svg {
    transform: translateX(4px);
}

/* === No lyrics placeholder === */
.lyrics-card--no-lyrics .lyrics-card__image-overlay {
    background: linear-gradient(to top, rgba(10, 10, 15, 0.95) 0%, rgba(10, 10, 15, 0.5) 60%, rgba(10, 10, 15, 0.2) 100%);
}

.lyrics-card__no-lyrics {
    color: #64748b;
    font-size: 0.875rem;
    font-style: italic;
    text-align: center;
    padding: 20px 0;
}

/* === Pagination === */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 20px 24px 60px;
}

.pagination__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: #94a3b8;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination__link:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(124, 58, 237, 0.4);
    color: #e2e8f0;
    transform: translateY(-2px);
}

.pagination__link--active {
    background: linear-gradient(135deg, #3abaed, #a855f7);
    border-color: #a855f7;
    color: white;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
    cursor: default;
}

.pagination__link--active:hover {
    transform: none;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
}

.pagination__link--arrow {
    width: auto;
    padding: 0 14px;
    gap: 6px;
    font-size: 0.875rem;
}

.pagination__link--arrow svg {
    width: 16px;
    height: 16px;
}

.pagination__link--disabled {
    opacity: 0.3;
    pointer-events: none;
}

/* ============================================
   VIEW PAGE - Detail
   ============================================ */
.lyrics-view {
    min-height: 100vh;
    background-color: #0a0a0f;
    color: #e2e8f0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.lyrics-view__header {
    padding: 80px 0 40px;
    text-align: center;
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.08) 0%, transparent 100%);
}

.lyrics-view__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    color: #94a3b8;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 32px;
    transition: all 0.3s ease;
}

.lyrics-view__back:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(124, 58, 237, 0.4);
    color: #e2e8f0;
    transform: translateX(-4px);
}

.lyrics-view__back svg {
    width: 16px;
    height: 16px;
}

.lyrics-view__title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    background: linear-gradient(96deg, #7c00ff 0%, #22d4ff 50%, #ff0000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.lyrics-view__meta {
    color: #94a3b8;
    font-size: 0.9375rem;
}

.lyrics-view__meta span {
    margin: 0 8px;
    color: #64748b;
}

.lyrics-view__content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.lyrics-view__image-wrapper {
    width: 280px;
    height: 280px;
    margin: 0 auto 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(124, 58, 237, 0.25);
}

.lyrics-view__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lyrics-view__lyrics {
    color: #e2e8f0;
    font-size: 1rem;
    line-height: 2;
    white-space: pre-line;
}

.lyrics-view__lyrics p {
    margin-bottom: 16px;
}

.lyrics-view__lyrics br {
    display: block;
    content: "";
    margin: 8px 0;
}

/* === Language switcher === */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    background: rgba(18, 18, 26, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    background: transparent;
    border: none;
    border-radius: 9999px;
    color: #64748b;
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
}

.lang-btn:hover {
    color: #e2e8f0;
    background: rgba(124, 58, 27, 0.1);
}

.lang-btn--active {
    color: #a855f7;
    background: rgba(124, 58, 27, 0.15);
}

.lang-btn--active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 2px;
    background: #a855f7;
    border-radius: 1px;
}

.lang-divider {
    color: #64748b;
    font-size: 0.75rem;
    user-select: none;
}

@media (max-width: 768px) {
    .language-switcher {
        top: 12px;
        right: 12px;
        padding: 4px 8px;
    }
    .lang-btn {
        padding: 5px 10px;
        font-size: 0.75rem;
    }
}

/* === Responsive === */
@media (max-width: 768px) {
    .lyrics-page__header,
    .lyrics-view__header {
        padding: 60px 0 30px;
    }
    .lyrics-view__image-wrapper {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .lyrics-view__image-wrapper {
        width: 160px;
        height: 160px;
    }
    .lyrics-view__lyrics {
        font-size: 0.9375rem;
    }
}
/* === Breadcrumbs === */
.breadcrumbs {
    margin-bottom: 1.5rem;
}

.breadcrumbs__list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.breadcrumbs__link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.breadcrumbs__link:hover {
    color: #a78bfa;
}

.breadcrumbs__current {
    color: #cbd5e1;
    font-size: 0.875rem;
}

.breadcrumbs__separator {
    color: #475569;
    font-size: 0.875rem;
}

/* ============================================
   Mini Player Styles
   ============================================ */
.mini-player {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
}

.mini-player__cover {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 16px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.2);
}

.mini-player__cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mini-player__play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(124, 58, 237, 0.8);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
}

.mini-player__cover:hover .mini-player__play-btn {
    opacity: 1;
}

.mini-player__play-btn:hover {
    background: rgba(124, 58, 237, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.mini-player__info {
    margin-bottom: 16px;
}

.mini-player__track-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 4px;
}

.mini-player__track-time {
    font-size: 0.8125rem;
    color: #94a3b8;
    margin-bottom: 12px;
    font-family: 'JetBrains Mono', monospace;
}

.mini-player__progress {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    overflow: hidden;
    cursor: pointer;
}

.mini-player__progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #3abaed, #a855f7);
    border-radius: 9999px;
    transition: width 0.1s linear;
    position: relative;
}

.mini-player__progress-bar::after {
    content: '';
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: #a855f7;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.mini-player__progress:hover .mini-player__progress-bar::after {
    opacity: 1;
}

.mini-player__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.mini-player__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.mini-player__btn:hover {
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.05);
}

.mini-player__btn--play {
    width: 50px;
    height: 50px;
    background: linear-gradient(149deg, #03A9F4, #1e33a7);
    color: white;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
}

.mini-player__btn--play:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 24px rgba(124, 58, 237, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .mini-player {
        padding: 16px;
    }
    
    .mini-player__cover {
        width: 60px;
        height: 60px;
    }
    
    .mini-player__track-name {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .mini-player {
        padding: 12px;
    }
    
    .mini-player__cover {
        width: 50px;
        height: 50px;
    }
    
    .mini-player__play-btn {
        width: 32px;
        height: 32px;
    }
    
    .mini-player__btn {
        width: 36px;
        height: 36px;
    }
    
    .mini-player__btn--play {
        width: 44px;
        height: 44px;
    }
}
