/* ==========================================
   Last.fm Style Hero Section
   ========================================== */
.now-playing-hero-lastfm {
    background: #18181c;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #2a2a30;
    min-height: 320px;
    display: flex;
    align-items: center;
}

.hero-inner-lastfm {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Linkerzijde: Content */
.hero-main-details {
    padding: 2.5rem 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(230, 0, 103, 0.15);
    border: 1px solid rgba(230, 0, 103, 0.4);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #e60067;
    border-radius: 50%;
    animation: pulse 1.6s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(230, 0, 103, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(230, 0, 103, 0); }
    100% { box-shadow: 0 0 0 0 rgba(230, 0, 103, 0); }
}

.hero-track-title {
    font-size: 3rem;
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 0.25rem 0;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.hero-track-artist {
    font-size: 1.5rem;
    color: #e60067;
    font-weight: 600;
    margin: 0 0 1.5rem 0;
}

/* Extra Metadata Block (Last.fm Mini Card) */
.hero-extra-meta {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.meta-thumb-img {
    width: 44px;
    height: 44px;
    border-radius: 4px;
    object-fit: cover;
}

.meta-text {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    color: #9ca3af;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.meta-value {
    font-size: 0.88rem;
    color: #ffffff;
    font-weight: 600;
}

/* Rechterzijde: Afbeelding met Fade Blend */
.hero-visual-side {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: flex-end;
}

.hero-cover-backdrop {
    position: relative;
    width: 100%;
    height: 320px;
}

.hero-large-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Zachte overgang naar de achtergrond zoals Last.fm */
.hero-fade-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #18181c 0%, rgba(24, 24, 28, 0.4) 50%, transparent 100%);
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .hero-inner-lastfm {
        grid-template-columns: 1fr;
    }

    .hero-visual-side {
        display: none;
    }

    .hero-track-title {
        font-size: 2.2rem;
    }
}

/* ==========================================
   2-Koloms Grid Layout
   ========================================== */
.content-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    align-items: start;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

/* Verzoekje Knop */
.btn-request {
    background: #e60067;
    color: #ffffff;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.1s ease;
}

.btn-request:hover {
    background: #c40058;
    transform: translateY(-1px);
}

/* ==========================================
   Aangevraagde Nummers (Requests) Widget
   ========================================== */
.requests-card-wrapper {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 16px;
    padding: 0.75rem;
}

.requests-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.request-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1f2937;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.request-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    overflow: hidden;
}

.request-track {
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.request-artist {
    font-size: 0.82rem;
    color: #9ca3af;
}

.request-meta {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2rem;
}

.request-by {
    font-size: 0.75rem;
    color: #e60067;
    font-weight: 600;
}

.request-status {
    font-size: 0.68rem;
    background: rgba(255, 255, 255, 0.08);
    color: #d1d5db;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 700;
}

.request-status.pending {
    background: rgba(234, 179, 8, 0.15);
    color: #facc15;
}

.placeholder-item {
    color: #9ca3af;
    font-size: 0.88rem;
    justify-content: center;
    padding: 1.5rem 1rem;
}

/* Responsiveness voor kleinere schermen */
@media (max-width: 1024px) {
    .content-grid-wrapper {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   History Section & Tabel
   ========================================== */
.btn-refresh {
    background: #1f2937;
    color: #ffffff;
    border: 1px solid #374151;
    padding: 0.55rem 1.1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-refresh:hover {
    background: #374151;
    border-color: #e60067;
}

.history-table-wrapper {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 16px;
    overflow: hidden;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.history-table th {
    background: #1f2937;
    color: #9ca3af;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #374151;
}

.history-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #1f2937;
    color: #ffffff;
    font-size: 0.95rem;
}

.history-table tbody tr:last-child td {
    border-bottom: none;
}

.history-table tbody tr:hover {
    background: #1f2937;
}

.col-time {
    width: 15%;
    color: #e60067 !important;
    font-weight: 700;
}

.col-cover {
    width: 60px;
}

.track-cover-img {
    width: 42px;
    height: 42px;
    border-radius: 6px;
    object-fit: cover;
    background: #1f2937;
}

.col-track {
    font-weight: 600;
}

.col-artist {
    color: #9ca3af !important;
}

.text-center {
    text-align: center;
}

/* Responsive Overrides */
@media (max-width: 600px) {
    .now-playing-hero {
        padding: 2.5rem 1rem;
    }

    .hero-track-title {
        font-size: 1.75rem;
    }

    .hero-track-artist {
        font-size: 1.1rem;
    }

    .col-cover {
        display: none;
    }

    .history-table th, 
    .history-table td {
        padding: 0.75rem 0.85rem;
    }
}