@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* {
    font-family: 'Inter', sans-serif;
}

body {
    background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 50%, #0f2847 100%);
    min-height: 100vh;
    color: white;
    margin: 0;
    padding: 0;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.25s ease;
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    transition: all 0.25s;
}

.btn-primary:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.3);
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.artist-btn {
    min-width: 100px !important;
    max-width: 140px !important;
    padding: 10px !important;
    text-align: center;
    cursor: pointer;
}

.artist-btn-img {
    width: 68px;
    height: 68px;
    border-radius: 9999px;
    object-fit: cover;
    margin: 0 auto 8px;
    display: block;
}

.chip {
    padding: 6px 10px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    font-size: 0.9rem;
}

.chip.active {
    background: linear-gradient(90deg, #ec4899, #8b5cf6);
    color: white;
    border-color: transparent;
}

/* Modal */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 60;
}

.chip-mini {
    padding: 4px 8px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.8rem;
    display: inline-block;
}

/* small utilities */
.text-clip {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

footer a {
    color: #cbd5e1;
    text-decoration: none;
}

/* Playground gallery */
.playground-page {
    background: linear-gradient(135deg, #050b18 0%, #101c36 40%, #031430 100%);
    color: #f1f5f9;
    min-height: 100vh;
    padding-bottom: 80px;
}

.nav-glass {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-glass .nav-link {
    color: #cbd5f5;
    transition: color 0.2s ease;
}

.nav-glass .nav-link.active,
.nav-glass .nav-link:hover {
    color: #fff;
}

.hero-panel {
    padding: 32px;
}

.tracking-wide {
    letter-spacing: 0.18em;
}

.eyebrow {
    letter-spacing: 0.24em;
    font-size: 0.8rem;
    color: #94a3b8;
}

.hero-title {
    font-weight: 600;
    color: #fff;
}

.hero-subtitle {
    color: #cbd5f5;
    max-width: 520px;
}

.hero-cta {
    min-width: 220px;
    border-radius: 999px;
}

.tab-wrapper {
    padding: 32px;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
}

.section-subtitle {
    color: #94a3b8 !important;
}

.media-tabs .nav-link {
    color: #94a3b8;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 10px 18px;
    font-weight: 500;
    border-radius: 0;
    transition: all 0.2s ease;
}

.media-tabs .nav-link.active {
    color: #fff;
    border-bottom-color: #f472b6;
}

.media-panel {
    padding: 32px;
}

.gallery-grid {
    min-height: 300px;
}

.gallery-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 18px;
    border-radius: 18px;
    height: 100%;
}

.media-thumb {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.6);
}

.media-thumb video,
.media-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-thumb audio {
    width: 100%;
}

.media-name {
    font-weight: 500;
    color: #e2e8f0;
}

.media-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #94a3b8;
}

.badge-type,
.badge-ext {
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 10px;
    border-radius: 999px;
}

.media-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    margin-top: 8px;
    color: #a5b4fc;
}

.media-action-btn {
    background: transparent;
    border: none;
    color: inherit;
    padding: 0;
    font: inherit;
    cursor: pointer;
    transition: color 0.2s ease;
}

.media-action-btn:focus,
.media-action-btn:hover {
    color: #fff;
}

.media-actions .divider {
    color: rgba(255, 255, 255, 0.3);
}

.empty-state {
    text-align: center;
    padding: 48px 24px;
}

.empty-state-icon {
    font-size: 2rem;
    color: #a5b4fc;
}

.media-pagination-shell {
    margin-top: 24px;
}

.media-pagination .page-link {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
}

.media-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    border-color: transparent;
}

.media-pagination .page-item.disabled .page-link {
    color: #64748b;
}

@media (max-width: 768px) {
    .hero-panel,
    .tab-wrapper,
    .media-panel {
        padding: 24px;
    }

    .hero-cta {
        width: 100%;
    }
}