/*
 Theme Name:   GeneratePress Child
 Description:  Tema Child pentru Asculta Radio Live
 Author:       Alex
 Template:     generatepress
 Version:      1.0.0
*/


#radio-premium-flex-container {
    max-width: 900px;
    margin: 20px auto;
    padding: 0 20px;
}

.radio-card-flex {
    background: #ffffff;
    display: flex;
    align-items: stretch;
    border-radius: 30px;
    overflow: hidden;
    /* Umbra profesionala restaurata */
    box-shadow: 0 10px 25px rgba(0,0,0,0.05), 0 20px 48px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
}

.radio-visual { flex: 0 0 300px; background: #f9f9f9; line-height: 0; }
.radio-visual img { width: 300px; height: 300px; object-fit: cover; display: block; }

.radio-content {
    flex: 1;
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.live-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    background: #fcfcfc;
    padding: 5px 15px;
    border-radius: 20px;
}
.live-badge span { font-size: 13px; font-weight: 800; color: #1a1a1a; letter-spacing: 0.8px; }

/* Dot de stare - pulseaza doar la PLAY */
.pulse-dot { width: 8px; height: 8px; background: #ccc; border-radius: 50%; transition: 0.3s; }
.playing .pulse-dot { background: #ff4757; animation: pulse-ring 1.5s infinite; }

@keyframes pulse-ring {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(255, 71, 87, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 71, 87, 0); }
}

.controls-wrapper { margin-bottom: 30px; }

/* Butonul de Play - Design premium restaurat */
.main-play-trigger {
    width: 90px; height: 90px;
    background: #1a1a1a; border: none; border-radius: 50%;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.main-play-trigger:hover { transform: scale(1.1); background: #000; box-shadow: 0 12px 28px rgba(0,0,0,0.3); }
.main-play-trigger svg { fill: #fff; width: 40px; height: 40px; }

.bottom-controls {
    display: flex;
    align-items: center;
    gap: 25px;
    width: 100%;
    justify-content: center;
    padding-top: 20px;
    border-top: 1px solid #f5f5f5;
}

.volume-bar-container { display: flex; align-items: center; gap: 10px; flex: 0 1 140px; }
#vSlider { flex: 1; accent-color: #1a1a1a; cursor: pointer; }

/* Egalizator static care porneste doar la clasa .playing */
.visual-bars { display: flex; align-items: flex-end; gap: 3px; height: 20px; width: 35px; }
.visual-bars span { width: 3px; height: 8px; background: #ddd; border-radius: 10px; transition: 0.3s; }

/* Cand audio merge, barele devin negre si se misca */
.playing .visual-bars span { background: #1a1a1a; animation: bar-anim 0.7s infinite alternate; }
.playing .visual-bars span:nth-child(2) { animation-delay: 0.1s; }
.playing .visual-bars span:nth-child(3) { animation-delay: 0.2s; }
.playing .visual-bars span:nth-child(4) { animation-delay: 0.3s; }

@keyframes bar-anim { from { height: 4px; } to { height: 20px; } }

@media (max-width: 768px) {
    .radio-card-flex { flex-direction: column; max-width: 320px; margin: 0 auto; }
    .radio-visual, .radio-visual img { width: 100%; height: auto; }
    .radio-content { padding: 30px 20px; }
    .bottom-controls { gap: 15px; }
}

.hidden { display: none !important; }


.radio-reviews-container {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    margin-top: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.glsr-review {
    background: #f9f9f9 !important;
    border: 1px solid #eee !important;
    border-radius: 12px !important;
    padding: 20px !important;
    margin-bottom: 15px !important;
}
.glsr-button {
    background-color: #000000 !important;
    color: #ffffff !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    border-radius: 5px !important;
    padding: 12px 30px !important;
    border: none !important;
    cursor: pointer;
}

/* Ascunde Gravatar / Iconița utilizator */
.glsr-review-avatar {
    display: none !important;
}

/* Elimină textul Your review, Your name, Your email de deasupra căsuțelor */
.glsr-field-label {
    display: none !important;
}



/* Containerul principal pe 3 coloane */
.radio-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px 0;
}

/* Card-ul individual */
.radio-item-card {
    position: relative;
    background: #fff;
    padding: 15px;
    text-decoration: none !important;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee; /* Borderul de bază */
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.radio-item-content {
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 2;
}

.radio-item-content img {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    object-fit: cover;
}

.radio-item-content span {
    font-weight: 600;
    font-size: 16px;
}

/* EFECTUL NOU: Border de la MIJLOC către EXTERIOR */
.radio-item-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid #ff4b2b; /* Culoarea borderului la hover */
    border-radius: 8px;
    z-index: 1;
    /* Starea inițială: decupat astfel încât să rămână doar o linie invizibilă pe centru */
    clip-path: inset(0 50% 0 50%); 
    transition: clip-path 0.4s ease-in-out;
}

.radio-item-card:hover::after {
    /* Starea la hover: se extinde spre 0% în ambele părți lateral */
    clip-path: inset(0 0 0 0);
}

/* Opțional: o ușoară ridicare a cardului */
.radio-item-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

/* Responsivitate pentru mobile */
@media (max-width: 768px) {
    .radio-grid-container {
        grid-template-columns: 1fr;
    }
}