        :root {
            --primary: #1a1a2e;
            --accent: #00d2ff;
            --bg: linear-gradient(135deg, #0f3443, #34e89e);
            --card-bg: rgba(255, 255, 255, 0.1);
            --text: #ffffff;
            --nav-bg: rgba(0, 0, 0, 0.7);
        }

        body.dark-mode {
            --bg: linear-gradient(135deg, #000000, #1a1a2e);
            --card-bg: rgba(0, 210, 255, 0.05);
            --nav-bg: rgba(0, 0, 0, 0.9);
        }

        body {
            font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
            background: var(--bg);
            background-attachment: fixed;
            color: var(--text);
            margin: 0;
            padding-bottom: 150px;
            transition: background 0.3s ease;
            scroll-behavior: smooth;
        }

        nav {
            background: var(--nav-bg);
            backdrop-filter: blur(15px);
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 30px;
            position: sticky;
            top: 0;
            z-index: 2000;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }

        .nav-right-group { display: flex; align-items: center; gap: 25px; }
        .nav-logo { font-size: 0.9rem; font-weight: bold; color: var(--accent); text-decoration: none; display: flex; align-items: center; gap: 10px; }

        .nav-links { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; align-items: center; }
        .nav-links a { color: white; text-decoration: none; font-size: 0.85rem; transition: color 0.3s; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; }
        .nav-links a:hover { color: var(--accent); }

        .settings-container { display: flex; gap: 8px; align-items: center; }
        .settings-btn { background: rgba(255,255,255,0.1); border: 1px solid var(--accent); color: white; padding: 4px 8px; border-radius: 6px; cursor: pointer; font-size: 0.7rem; display: flex; align-items: center; gap: 5px; transition: 0.3s; }
        .settings-btn:hover { background: var(--accent); color: #000; }

        header { background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(10px); padding: 0.1rem; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.1); }
        header h1 { font-size: 0.8rem; margin: 5px; }

        .container { max-width: 900px; margin: 20px auto; padding: 0 15px; }
        h2 { font-size: 1.1rem; font-weight: 300; letter-spacing: 2px; margin-top: 30px; border-left: 4px solid var(--accent); padding-left: 15px; }

        .radio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 20px; margin-top: 20px; }

        .station-card {
            background: var(--card-bg);
            backdrop-filter: blur(5px);
            border-radius: 15px;
            padding: 15px;
            text-align: center;
            cursor: pointer;
            transition: 0.3s;
            border: 1px solid rgba(255,255,255,0.1);
            display: flex;
            flex-direction: column;
            align-items: center;
            position: relative;
        }
        .station-card:hover { transform: translateY(-5px); border-color: var(--accent); background: rgba(255, 255, 255, 0.15); }
        
       .fav-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    color: rgba(255, 255, 255, 0.8); /* Inima albÄ uČor transparentÄ */
    font-size: 1.2rem;
    transition: 0.3s;
    z-index: 30;
    background: none !important;      /* ELIMINÄ FUNDALUL NEGRU */
    width: auto;                      /* ELIMINÄ CERCUL */
    height: auto;                     /* ELIMINÄ CERCUL */
    display: block;
    backdrop-filter: none !important; /* ELIMINÄ EFECTUL DE BLUR */
    box-shadow: none !important;      /* ELIMINÄ UMBRA */
    text-shadow: 0 2px 4px rgba(0,0,0,0.5); /* ADAUGÄ O UMBRÄ DOAR SUB TEXTUL INIMII */
}
        .fav-icon.active { 
            color: #ff4b2b; 
            background: rgba(255, 255, 255, 0.9);
        }

        .logo-container { 
            width: 70px; 
            height: 70px; 
            background: white; 
            border-radius: 12px; 
            display: flex; 
            align-items: center; 
            justify-content: center; 
            margin-bottom: 10px; 
            overflow: hidden; 
            padding: 5px; 
            box-sizing: border-box; 
        }
        .logo-container img { 
            max-width: 100%; 
            max-height: 100%; 
            object-fit: contain; 
        }

        .page-section { display: none; animation: fadeIn 0.5s ease; }
        .page-section.active { display: block; }

        .about-card, .contact-card { background: var(--card-bg); padding: 30px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.1); line-height: 1.6; }
        .about-card h3 { color: var(--accent); margin-top: 0; }
        
        .contact-card { border-color: #25D366; text-align: center; }
        .contact-link { 
            display: inline-flex; 
            align-items: center; 
            gap: 12px; 
            color: #ffffff; 
            background: #25D366;
            text-decoration: none; 
            font-size: 1.2rem; 
            font-weight: bold;
            margin-top: 20px; 
            padding: 15px 30px; 
            border-radius: 50px; 
            transition: 0.3s;
            box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
        }
        .contact-link:hover { transform: scale(1.05); background: #1ebd59; }

        .player-bar { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(26, 26, 46, 0.98); backdrop-filter: blur(20px); border-top: 2px solid var(--accent); padding: 15px 25px; display: flex; align-items: center; justify-content: space-between; z-index: 1000; gap: 20px; }
        .now-playing { display: flex; align-items: center; gap: 12px; min-width: 150px; }
        #current-logo-small { width: 45px; height: 45px; border-radius: 8px; background: white; padding: 2px; object-fit: contain; }
        .station-info h4 { margin: 0; color: var(--accent); font-size: 1rem; white-space: nowrap; }
        .station-info p { margin: 0; font-size: 0.75rem; opacity: 0.8; }
        .controls { display: flex; align-items: center; gap: 20px; flex-grow: 1; justify-content: flex-end; }
        .play-btn { background: var(--accent); color: #000; border: none; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; }
        .volume-container { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.05); padding: 8px 15px; border-radius: 30px; }
        input[type=range] { width: 100px; accent-color: var(--accent); cursor: pointer; }

        .menu-toggle { display: none; color: white; font-size: 1.5rem; cursor: pointer; }

        @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 800px) {
    nav { 
        padding: 10px 15px; 
        display: flex; 
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }

    /* Butonul de meniu (Hamburger) - Fixat în extrema stângă */
    .menu-toggle { 
        display: block !important; 
        font-size: 1.5rem;
        cursor: pointer;
    }

    /* Logo-ul - Va sta imediat după butonul de meniu */
    .nav-logo {
        margin-right: auto !important;
        font-size: 0.8rem;
        display: flex;
        align-items: center;
        gap: 8px;
        white-space: nowrap;
    }

    .nav-right-group {
        display: flex;
        align-items: center;
        gap: 8px;
    }

     .nav-links { 
        display: none; 
        flex-direction: column; 
        position: absolute; 
        top: 100%; 
        left: 0; 
        
        /* --- MODIFICĂRI PENTRU MENIU COMPACT --- */
        width: 70%; 
        max-width: 150px; /* --- Lacime chenar meniu mobile --- */
        height: auto;
        background: rgba(0, 0, 0, 0.95); 
        
        /* Rotunjim colțul din dreapta jos pentru un aspect mai fin */
        border-bottom-right-radius: 15px; 
        box-shadow: 5px 5px 15px rgba(0,0,0,0.3);
        /* -------------------------------------- */
        
        padding: 20px; 
        text-align: left !important;  
        align-items: flex-start !important; 
        gap: 15px;
        box-sizing: border-box; 
        z-index: 2001;
        border-right: 1px solid var(--accent);
        border-bottom: 1px solid var(--accent);
    }

    .nav-links.active { 
        display: flex; 
    }

    /* --- GRID STAȚII --- */
    .radio-grid { 
        grid-template-columns: repeat(3, 1fr); 
        gap: 8px; 
        margin-top: 10px;
    }

    .station-card {
        padding: 8px 5px;
        border-radius: 10px;
    }

    .logo-container {
        width: 100%;
        max-width: 50px; 
        height: 50px;
        margin-bottom: 5px;
    }

    .station-card span {
        font-size: 0.65rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
    }

    /* --- FAVORITE & PLAYER --- */
    .fav-icon {
        top: 5px;
        right: 5px;
        font-size: 0.85rem;
        width: 20px;
        height: 20px;
        background: rgba(0, 0, 0, 0.5); 
        box-shadow: 0 1px 3px rgba(0,0,0,0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
    }

    .player-bar {
        flex-direction: row;       
        align-items: center;
        justify-content: space-between;
        padding: 10px 15px;        
        gap: 8px;
        border-top: 1px solid var(--accent);
    }

    #current-logo-small {
        width: 35px;
        height: 35px;
        padding: 2px;
    }

    .station-info h4 { font-size: 0.8rem; max-width: 100px; }

    .play-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .volume-container { display: none; }

    .controls {
        gap: 10px;
        justify-content: flex-end;
    }

    .now-playing { gap: 8px; min-width: auto; }
}

.visualizer {
    display: none;
    align-items: flex-end;
    gap: 3px;
    height: 30px;
    margin-left: 10px;
}

.is-playing .visualizer {
    display: flex;
}

.visualizer .bar {
    width: 3px;
    height: 100%; 
    background: linear-gradient(to top, var(--accent), #ff0080, #ff4b2b);
    border-radius: 2px;
    animation: bounce 1s ease-in-out infinite alternate;
    
    transform-origin: bottom;
}

.visualizer .bar:nth-child(odd) { animation-duration: 0.9s; }
.visualizer .bar:nth-child(even) { animation-duration: 1.1s; }

.visualizer .bar:nth-child(3n) { animation-delay: -0.2s; }
.visualizer .bar:nth-child(3n+1) { animation-delay: -0.4s; }
.visualizer .bar:nth-child(3n+2) { animation-delay: -0.1s; }

.visualizer .bar:nth-child(5n) { animation-delay: -0.3s; animation-duration: 0.8s;}
.visualizer .bar:nth-child(5n+1) { animation-delay: -0.5s; }
.visualizer .bar:nth-child(5n+2) { animation-delay: -0.2s; }
.visualizer .bar:nth-child(5n+3) { animation-delay: -0.4s; }

.visualizer .bar:nth-child(7n) { animation-delay: -0.1s; }
.visualizer .bar:nth-child(11n) { animation-delay: -0.6s; }

@keyframes bounce {
    0% {
        transform: scaleY(0.2); /* Bară mică */
    }
    100% {
        transform: scaleY(1); /* Bară lungă */
    }
}


/* Interzice selecČia pe tot site-ul */
* {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none;     /* IE 10+ */
    user-select: none;         /* Standard */
    -webkit-touch-callout: none; /* BlocheazÄ meniul la long-press pe mobil */
}

/* PERMITE selecČia ĂŽn input-uri (altfel nu mai poČi scrie ĂŽn cÄsuČele de contact!) */
input, textarea {
    -webkit-user-select: text;
    -ms-user-select: text;
    user-select: text;
}