/* ========================================
   Favorites — music & movies carousels
   ======================================== */

.art-page {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.art-section {
    background: var(--color-card);
    border: 1px solid var(--border-card);
    border-radius: 12px;
    padding: 28px 24px;
}

.art-section h2,
.art-section h3 {
    color: var(--color-text);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0 0 20px;
}

/* Carousel layout */
.art-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
}

.art-carousel-window {
    overflow: hidden;
    width: 100%;
    flex: 1;
}

.art-carousel-track {
    display: flex;
    gap: 14px;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Art card */
.art-card {
    flex: 0 0 180px;
    width: 180px;
    text-decoration: none;
    color: inherit;
    border-radius: 8px;
    overflow: hidden;
    background: #242424;
    border: 1px solid var(--border-card);
    transition: border-color 0.25s ease, transform 0.25s ease;
    display: flex;
    flex-direction: column;
}

.art-card:hover {
    transform: translateY(-3px);
}

.art-card-img-wrap {
    width: 100%;
    aspect-ratio: 1;
    background: #2a2a2a;
    position: relative;
    overflow: hidden;
}

.art-card-movie .art-card-img-wrap {
    aspect-ratio: 2 / 3;
}

.art-card-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    background: #2a2a2a;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.art-card-img.loaded { opacity: 1; }

.art-card-movie .art-card-img { aspect-ratio: 2 / 3; }

.art-card-info {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.art-card-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.art-card-artist {
    font-size: 12px;
    color: rgba(var(--color-text-rgb), 0.5);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Carousel navigation arrows */
.art-nav {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(var(--color-text-rgb), 0.7);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 2;
}

.art-nav:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-text);
}

.art-nav-prev { margin-right: 10px; }
.art-nav-next { margin-left: 10px; }

.art-nav-hidden {
    opacity: 0;
    pointer-events: none;
}

/* ----------------------------------------
   Quotes
   ---------------------------------------- */

.quotes-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.quote-item {
    padding: 16px 20px;
    border-left: 2px solid rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quote-text {
    font-size: 15px;
    color: rgba(var(--color-text-rgb), 0.85);
    line-height: 1.65;
    margin: 0;
    font-style: italic;
}

.quote-author {
    font-size: 13px;
    color: rgba(var(--color-text-rgb), 0.45);
    font-weight: 500;
}

/* ----------------------------------------
   Art responsive
   ---------------------------------------- */

@media screen and (max-width: 767px) {
    .art-section h2,
    .art-section h3 {
        text-align: center;
    }

    .art-card {
        flex: 0 0 var(--card-width, 140px);
        width: var(--card-width, 140px);
    }

    .art-carousel-track { gap: 12px; }

    .art-nav { width: 32px; height: 32px; font-size: 18px; }
    .art-nav-prev { margin-right: 8px; }
    .art-nav-next { margin-left: 8px; }
}

@media screen and (max-width: 479px) {
    .art-section { padding: 20px 16px; }

    .art-card {
        flex: 0 0 160px;
        width: 160px;
    }

    .art-carousel-track { gap: 10px; }
}
