/* ===================================
   "Mi szól most" és "Hogyan hallgasd" oldal
   A site meglévő elemeit követi: sötét kártyák, pink kiemelés, kerek borító mint a kezdőlapon
   =================================== */

.listen-section .container {
    max-width: 960px;
}

.listen-lead {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    margin: -10px auto 30px;
    max-width: 640px;
}

.listen-more {
    margin-top: 32px;
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
}

.listen-section a:not(.m3u-link) {
    color: #ff3d7f;
}

/* ---------- Most szól kártya ---------- */
.now-card {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 28px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 0, 85, 0.35);
    border-radius: 20px;
}

.now-cover {
    width: 160px;
    height: 160px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.8), 0 0 0 6px rgba(255, 0, 85, 0.5);
    background: #000;
}

.now-info {
    min-width: 0;
}

.now-label {
    color: #ff3d7f;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.now-title {
    font-size: 2rem;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 6px;
    overflow-wrap: anywhere;
}

.now-artist {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    overflow-wrap: anywhere;
}

.now-play {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    background: #e0004b;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.now-play:hover {
    background: #ff0055;
}

.now-play:active {
    transform: scale(0.97);
}

/* ---------- Lejátszási lista ---------- */
.playlist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.playlist-item {
    display: grid;
    grid-template-columns: 64px 56px 1fr;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.playlist-time {
    font-variant-numeric: tabular-nums;
    color: #ff3d7f;
    font-weight: 700;
}

.playlist-cover {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--accent-color), #cc0044);
}

.playlist-text {
    min-width: 0;
}

.playlist-title {
    color: #fff;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.playlist-artist {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    overflow-wrap: anywhere;
}

.playlist-state {
    text-align: center;
    padding: 24px 16px;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
}

/* ---------- Hogyan hallgasd ---------- */
.listen-guide h2 {
    font-size: 1.6rem;
    color: #fff;
    margin: 44px 0 12px;
    scroll-margin-top: 110px;
}

.listen-guide h2:first-child {
    margin-top: 0;
}

.listen-guide h3 {
    font-size: 1.2rem;
    color: #fff;
    margin: 28px 0 10px;
}

.listen-guide p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 12px;
}

.listen-steps {
    margin: 0 0 12px 1.2em;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.listen-steps li {
    margin-bottom: 6px;
}

.table-wrap {
    overflow-x: auto;
    margin: 8px 0 12px;
}

.quality-table {
    width: 100%;
    border-collapse: collapse;
    color: rgba(255, 255, 255, 0.9);
    min-width: 560px;
}

.quality-table th,
.quality-table td {
    text-align: left;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    vertical-align: top;
}

.quality-table th {
    color: #ff3d7f;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quality-table td:first-child {
    font-weight: 700;
    color: #fff;
}

.stream-list {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stream-list li {
    display: grid;
    grid-template-columns: 140px 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.stream-name {
    font-weight: 700;
    color: #fff;
}

.stream-url {
    font-family: Consolas, 'Courier New', monospace;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    overflow-wrap: anywhere;
}

.stream-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.copy-btn,
.m3u-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 10px;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.copy-btn {
    background: #e0004b;
    color: #fff;
    border: 0;
}

.copy-btn:hover {
    background: #ff0055;
}

.m3u-link {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.m3u-link:hover {
    border-color: #ff3d7f;
    color: #ff3d7f;
}

.copy-status:empty {
    display: none;
}

.copy-status {
    margin-top: 12px;
    color: #fff;
    font-weight: 600;
}

/* ---------- Mobil ---------- */
@media (max-width: 768px) {
    .now-card {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 24px 18px;
    }

    .now-title {
        font-size: 1.5rem;
    }

    .playlist-item {
        grid-template-columns: 48px 48px 1fr;
        gap: 12px;
        padding: 10px 12px;
    }

    .playlist-cover {
        width: 48px;
        height: 48px;
    }

    .playlist-time {
        font-size: 0.9rem;
    }

    .stream-list li {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .listen-guide h2 {
        font-size: 1.35rem;
    }
}
