/* ==========================================================================
   STYLE DEDYKOWANE: STREFA MUZYKI (FULL - FIXED)
   ========================================================================== */

/* --- 0. TYPOGRAFIA I CENTROWANIE (NAPRAWA NAGŁÓWKÓW) --- */
.text-center-block {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-head, 'Sansation', sans-serif);
    font-size: 2.5rem;
    color: var(--color-accent-1);
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-tag {
    display: inline-block;
    background: rgba(15, 42, 74, 0.05); /* Jasne tło pastylki */
    color: #64748b;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

/* --- 1. HERO --- */
.music-hero {
    padding: 160px 20px 80px;
    text-align: center;
    background: radial-gradient(circle at 50% 100%, rgba(52, 99, 153, 0.08) 0%, transparent 60%);
}
.hero-title { 
    font-size: clamp(2.5rem, 5vw, 4rem); 
    margin-bottom: 20px; 
    line-height: 1.2; 
    color: var(--color-accent-1); 
    font-family: var(--font-head);
}
.hero-desc {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
}

/* --- 2. GRID PLAYLIST (STREAMING - NAPRAWA IKON) --- */
.streaming-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.streaming-card {
    background: #fff;
    border-radius: 24px;
    padding: 50px 30px;
    border: 1px solid rgba(15, 42, 74, 0.05);
    text-align: center;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px -10px rgba(15, 42, 74, 0.05);
    position: relative;
    overflow: hidden;
}

.streaming-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -10px rgba(15, 42, 74, 0.15);
    border-color: rgba(52, 99, 153, 0.2);
}

/* KLUCZOWE: Ograniczenie wielkości kontenera ikony */
.stream-icon {
    width: 80px; height: 80px;
    margin: 0 auto 25px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: #f8faff;
    transition: 0.4s;
}

/* KLUCZOWE: Ograniczenie wielkości obrazka */
.stream-icon img { 
    width: 40px; height: 40px; 
    object-fit: contain; 
}

.streaming-card:hover .stream-icon { transform: scale(1.1); background: #fff; box-shadow: 0 10px 20px rgba(0,0,0,0.05); }

.streaming-card h3 { font-size: 1.4rem; color: var(--color-accent-1); margin-bottom: 10px; font-weight: 700; }
.streaming-card p { font-size: 0.95rem; color: #64748b; margin-bottom: 30px; }

/* --- 3. GRID UTWORÓW MP3 (2 KOLUMNY) --- */
.tracks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Dwie równe kolumny */
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.track-card {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(15, 42, 74, 0.05);
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    height: 100%;
}

.track-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(15, 42, 74, 0.08);
    border-color: rgba(52, 99, 153, 0.15);
}

.track-cover {
    width: 80px; height: 80px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    margin-right: 20px;
}

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

.track-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 42, 74, 0.6);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: 0.3s;
}
.track-card:hover .track-overlay { opacity: 1; }
.track-overlay i { color: #fff; font-size: 1.2rem; }

.track-content {
    flex-grow: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 0;
}

.track-info { padding-right: 15px; min-width: 0; }

.track-content h3 {
    font-size: 1.05rem;
    color: var(--color-accent-1);
    margin-bottom: 4px;
    font-weight: 700;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.track-desc {
    font-size: 0.85rem; color: #64748b; margin: 0; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.track-action { flex-shrink: 0; }

.btn-download {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent; color: var(--color-accent-2);
    border: 1px solid rgba(52, 99, 153, 0.2);
    padding: 8px 16px; border-radius: 50px;
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
    transition: 0.3s; text-decoration: none; white-space: nowrap;
}

.btn-download:hover { background: var(--color-accent-2); color: #fff; border-color: var(--color-accent-2); }

/* --- RWD (RESPONSYWNOŚĆ) --- */
@media (max-width: 992px) {
    .tracks-grid { grid-template-columns: 1fr; max-width: 700px; }
}

@media (max-width: 768px) {
    .streaming-grid { grid-template-columns: 1fr; }
    
    .track-card { flex-direction: column; text-align: center; padding: 30px; }
    .track-cover { margin: 0 auto 20px; width: 100px; height: 100px; }
    .track-content { flex-direction: column; width: 100%; }
    .track-info { padding: 0 0 20px 0; }
    .track-action { width: 100%; }
    .btn-download { width: 100%; justify-content: center; }
    .track-content h3 { white-space: normal; }
}