:root {
            --primary-color: #0d6efd;
            --accent-color: #0dcaf0;
            --bg-dark: #121212;
            --card-bg: #1e1e1e;
            --segment-off: rgba(13, 202, 240, 0.1); /* Halvány, kikapcsolt szegmens */
            --segment-on: #0dcaf0; /* Bekapcsolt szegmens */
        }

        body {
            background-color: var(--bg-dark);
            width: 100%;
            color: white;
            font-family: 'Montserrat', sans-serif;
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #121212 0%, #1a1a2e 100%);
            overflow: hidden; 
        }

        .radio-card {
            background-color: var(--card-bg);
            border-radius: 25px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
            width: 100%;
            max-width: 400px;
            padding: 2rem;
            position: relative;
            border: 1px solid rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
        }

        /* --- FELSŐ IKONOK (ÚJ) --- */
        .top-left-controls {
            position: absolute;
            top: 20px;
            left: 20px;
            display: flex;
            gap: 10px;
            z-index: 10;
        }

        .btn-control-icon {
            background: rgba(255, 255, 255, 0.1);
            border: none;
            color: white;
            width: 35px;
            height: 35px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            cursor: pointer;
            text-decoration: none;
            font-size: 0.9rem;
        }

        .btn-control-icon:hover {
            background: var(--accent-color);
            transform: scale(1.1);
            color: white;
            box-shadow: 0 0 10px var(--accent-color);
        }

        /* Modal Link Hover Effect */
        .modal-link:hover {
            color: var(--accent-color) !important;
            text-decoration: underline !important;
        }

        /* --- 7-SZEGMNESES ÓRA STÍLUSOK --- */
        .clock-container {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 1.5rem;
            background: rgba(0, 0, 0, 0.3); /* Sötétebb háttér a jobb kontrasztért */
            padding: 15px;
            border-radius: 15px;
            gap: 10px;
        }

        .digit {
            position: relative;
            width: 30px;
            height: 50px;
            margin: 0 2px;
        }

        .segment {
            position: absolute;
            background-color: var(--segment-off);
            border-radius: 2px;
            transition: all 0.2s ease;
        }

        .segment.active {
            background-color: var(--segment-on);
            box-shadow: 0 0 10px var(--segment-on); /* Neon ragyogás */
        }

        /* Szegmensek pozicionálása (a, b, c, d, e, f, g) */
        /* Vízszintesek (a, g, d) */
        .segment-a, .segment-g, .segment-d {
            height: 5px;
            left: 5px;
            right: 5px;
        }
        .segment-a { top: 0; }
        .segment-g { top: 22.5px; } /* Középen */
        .segment-d { bottom: 0; }

        /* Függőlegesek (f, b, e, c) */
        .segment-f, .segment-b, .segment-e, .segment-c {
            width: 5px;
            height: 20px;
        }
        .segment-f { top: 2.5px; left: 0; }
        .segment-b { top: 2.5px; right: 0; }
        .segment-e { bottom: 2.5px; left: 0; }
        .segment-c { bottom: 2.5px; right: 0; }

        /* Kettőspont elválasztó */
        .colon {
            width: 10px;
            height: 50px;
            display: flex;
            flex-direction: column;
            justify-content: space-evenly;
            align-items: center;
        }
        .colon-dot {
            width: 6px;
            height: 6px;
            background-color: var(--segment-on);
            border-radius: 50%;
            box-shadow: 0 0 8px var(--segment-on);
            animation: blink 1s infinite;
        }

        /* --- LOGÓ és EGYÉB ELEMEK --- */
        .visualizer-container {
            width: 150px;
            height: 150px;
            margin: 0 auto 1.5rem auto;
            border-radius: 50%;
            background: white; 
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 0 20px rgba(13, 110, 253, 0.4);
            overflow: hidden;
            border: 4px solid var(--accent-color);
        }

        .visualizer-logo {
            width: 85%;
            height: 85%;
            object-fit: contain;
            filter: drop-shadow(0 0 2px rgba(0,0,0,0.2));
        }

        .playing-animation {
            animation: pulse-glow 2s infinite;
        }

        @keyframes pulse-glow {
            0% { box-shadow: 0 0 20px rgba(13, 110, 253, 0.4); transform: scale(1); border-color: var(--accent-color); }
            50% { box-shadow: 0 0 40px rgba(13, 202, 240, 0.6); transform: scale(1.05); border-color: var(--primary-color); }
            100% { box-shadow: 0 0 20px rgba(13, 110, 253, 0.4); transform: scale(1); border-color: var(--accent-color); }
        }

        .metadata-container {
            text-align: center;
            margin-bottom: 2rem;
            min-height: 80px; 
        }

        .song-title {
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 0.3rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .artist-name {
            font-size: 1rem;
            color: #aaa;
            font-weight: 400;
        }

        .btn-play {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            background: white;
            color: var(--bg-dark);
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
        }

        .btn-play:hover {
            transform: scale(1.1);
            background: var(--accent-color);
            color: white;
        }

        .btn-play:active {
            transform: scale(0.95);
        }

        /* Hangerő gombok és kör */
        .volume-container {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-top: 1.5rem;
            background: rgba(255, 255, 255, 0.05);
            padding: 10px 15px;
            border-radius: 50px;
        }

        .live-badge {
            position: absolute;
            top: 20px;
            right: 20px;
            background-color: #dc3545;
            color: white;
            padding: 5px 10px;
            border-radius: 5px;
            font-size: 0.7rem;
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 1px;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .live-dot {
            width: 8px;
            height: 8px;
            background-color: white;
            border-radius: 50%;
            display: inline-block;
            animation: blink 1.5s infinite;
        }

        @keyframes blink {
            0% { opacity: 1; }
            50% { opacity: 0.4; }
            100% { opacity: 1; }
        }

        /* --- MODAL SÖTÉT MÓD JAVÍTÁSOK --- */
        /* Felülírjuk a Bootstrap alapértelmezett sötét szövegszíneit a modalon belül */
        #infoModal .text-muted {
            color: #adb5bd !important; /* Világosabb szürke */
        }

        #infoModal .text-secondary {
            color: #ced4da !important; /* Még világosabb szürke/fehér */
        }

/* --- MOBIL NÉZET JAVÍTÁSOK --- */
@media (max-width: 768px) {
    /* Mobilon elrejtjük a hangerőszabályzót */
    .volume-container {
        display: none !important;
    }
}

/* --- CSATORNAVÁLTÓ GOMB (PRÉMIUM KAPSZULA DIZÁJN - EGY SORBAN A PLAY GOMBBAL) --- */
.btn-channel-switch {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid var(--accent-color);
    color: white;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    height: 50px; /* Fix magasság, hogy szépen mutasson a Play gomb mellett */
    display: flex;
    align-items: center;
}

.btn-channel-switch:active {
    transform: scale(0.95);
}

.btn-channel-switch:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
    color: white;
}

/* ========================================================= */
/* --- 1. KEZDŐKÉPERNYŐ - ALAP/PC NÉZET --- */
/* ========================================================= */
.welcome-modal-content {
    background-color: var(--bg-dark);
    border: none;
    height: 100vh;
    border-radius: 0;
}

.split-pane {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.split-pane:hover {
    background: rgba(255, 255, 255, 0.02);
}

.retro-pane {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

/* Szövegek és gombok felemelése */
.channel-title, .channel-desc, .preview-meta, .btn-choose {
    position: relative;
    z-index: 10;
}

.channel-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(255,255,255,0.2);
}

.channel-retro-title { color: #f39c12; text-shadow: 0 0 15px rgba(243, 156, 18, 0.4); }
.channel-neo-title { color: var(--accent-color); text-shadow: 0 0 15px rgba(13, 202, 240, 0.4); }

.channel-desc {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 1.5rem;
    min-height: 40px;
}

/* PC-s normál borítókép */
.preview-cover {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    border: 2px solid rgba(255,255,255,0.1);
    position: relative;
    filter: none;
    z-index: 10;
}

.preview-meta {
    margin-bottom: 1.5rem;
    min-height: 60px;
}

.preview-title { font-weight: bold; font-size: 1.1rem; color: #fff; }
.preview-artist { color: #ccc; font-size: 0.9rem; }
.preview-year { color: #888; font-size: 0.8rem; margin-top: 5px; }

/* PC-s gombok */
.btn-choose {
    padding: 10px 30px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-choose-retro { background: transparent; color: #f39c12; border: 2px solid #f39c12; }
.btn-choose-retro:hover { background: #f39c12; color: #121212; box-shadow: 0 0 20px rgba(243, 156, 18, 0.6); }

.btn-choose-neo { background: transparent; color: var(--accent-color); border: 2px solid var(--accent-color); }
.btn-choose-neo:hover { background: var(--accent-color); color: #121212; box-shadow: 0 0 20px rgba(13, 202, 240, 0.6); }

/* PC-n nincs sötétítő réteg */
.split-pane::after { display: none; }


/* ========================================================= */
/* --- 2. FANCY MOBIL NÉZET --- */
/* ========================================================= */
@media (max-width: 767px) {
    /* Panelek 50-50% magasság */
    .welcome-modal-content .col-md-6 { height: 50% !important; }
    
    .split-pane {
        padding: 1.5rem 1rem;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Mobilos háttérkép varázslat */
    .preview-cover {
        position: absolute !important;
        top: -5% !important; 
        left: -5% !important;
        width: 110% !important; 
        height: 110% !important;
        margin: 0 !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        filter: grayscale(100%) blur(6px) brightness(0.5) !important; 
        z-index: 1 !important;
    }

    /* Mobilos sötétítő réteg */
    .split-pane::after {
        display: block !important;
        content: '';
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        background: linear-gradient(to bottom, rgba(18,18,18,0.2), rgba(18,18,18,0.85));
        z-index: 2 !important;
        pointer-events: none;
    }

    /* Szövegek formázása mobilon */
    .channel-title { font-size: 2.2rem !important; color: #ffffff !important; text-shadow: 0 4px 10px rgba(0,0,0,0.8) !important; }
    .channel-desc, .preview-year { display: none !important; }
    
    .preview-meta { margin-bottom: 1.5rem !important; min-height: auto !important; }
    .preview-title { font-size: 1.3rem !important; text-shadow: 0 3px 8px rgba(0,0,0,0.9) !important; }
    .preview-artist { font-size: 1rem !important; text-shadow: 0 3px 8px rgba(0,0,0,0.9) !important; color: #ddd !important; }

    /* Mobilos gombok sötétebb háttérrel */
    .btn-choose { padding: 10px 20px !important; font-size: 1.1rem !important; box-shadow: 0 5px 15px rgba(0,0,0,0.7) !important; }
    .btn-choose-retro { background: rgba(18, 18, 18, 0.4) !important; color: #f39c12 !important; border-color: #f39c12 !important; }
    .btn-choose-neo { background: rgba(18, 18, 18, 0.4) !important; color: var(--accent-color) !important; border-color: var(--accent-color) !important; }
}