/* Discogs Year in Review — Custom styles (дополнение к Tailwind) */

/* Radial gradient hero background */
.hero-gradient {
    background: radial-gradient(ellipse at center, #1a1a2e 0%, #0a0a0f 70%);
}

[data-theme="light"] .hero-gradient {
    background: radial-gradient(ellipse at center, #f0f0ff 0%, #e8e8f0 70%);
}

/* Section spacing */
.stats-section {
    padding: 4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .stats-section {
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

/* Vertical divider between numbers */
.number-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
    align-self: stretch;
}

[data-theme="light"] .number-divider {
    background: rgba(0, 0, 0, 0.1);
}

/* Галерея обложек */
.cover-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}

.cover-grid img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.2s ease;
}

.cover-grid img:hover {
    transform: scale(1.05);
}

/* Glow-эффект для акцентных карточек */
.glow-card {
    position: relative;
}

.glow-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(6, 182, 212, 0.15));
    z-index: -1;
    filter: blur(12px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glow-card:hover::before {
    opacity: 1;
}

/* Skeleton loading */
.skeleton {
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0.03) 25%,
        rgba(255, 255, 255, 0.06) 50%,
        rgba(255, 255, 255, 0.03) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 8px;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 92, 246, 0.5);
}

/* Адаптивность */
@media (max-width: 768px) {
    .cover-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
}
