/* Couleurs Officielles */
:root {
    --neon-yellow: #FFFF00;
    --glass-bg: rgba(255, 255, 255, 0.4);
    --glass-border: rgba(255, 255, 255, 0.6);
    --text-main: #1a1a1a;
    --accent-teal: #00C897;
    /* Vice City style */
}

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f0f2f5;
    overflow: hidden;
}

/* Fond avec un léger dégradé Vice City très estompé pour le mode clair */
.background-vibe {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0fcf6 0%, #f5e6ff 100%);
    z-index: -1;
}

/* Standard Liquid Glass */
.glass-container {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    /* Effet de flou du verre */
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    width: 450px;
    text-align: center;
}

header .logo {
    font-weight: bold;
    letter-spacing: 2px;
    color: var(--text-main);
    margin-bottom: 5px;
}

h1 {
    margin: 0;
    font-size: 2.5rem;
    color: var(--text-main);
}

.subtitle {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 30px;
}

/* Zone d'import */
.drop-zone {
    border: 2px dashed var(--glass-border);
    border-radius: 15px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
    transition: 0.3s;
    cursor: pointer;
}

.drop-zone:hover {
    background: rgba(255, 255, 255, 0.5);
    border-color: var(--neon-yellow);
}

.drop-zone span {
    color: var(--accent-teal);
    font-weight: bold;
}

/* Mode Switch */
.mode-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
    font-weight: 500;
}

/* Les Inputs temps */
.loop-ui.hidden {
    display: none;
}

.time-inputs {
    display: flex;
    justify-content: space-around;
    background: rgba(0, 0, 0, 0.05);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.input-group input {
    width: 60px;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    background: white;
    text-align: center;
    font-size: 1rem;
}

/* Boutons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-main {
    background: var(--neon-yellow);
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 255, 0, 0.3);
    transition: 0.2s;
}

.btn-main:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(255, 255, 0, 0.5);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--text-main);
    padding: 10px;
    border-radius: 12px;
    cursor: pointer;
    opacity: 0.6;
}

.btn-secondary:hover {
    opacity: 1;
}

/* Styles spécifiques au Lecteur */
.player-mode {
    width: 400px;
}

.album-art {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #00C897, #BF00FF);
    margin: 0 auto 20px;
    border-radius: 50%;
    border: 4px solid var(--neon-yellow);
    box-shadow: 0 0 20px rgba(255, 255, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
}

.disc-vinyl {
    width: 40px;
    height: 40px;
    background: #1a1a1a;
    border-radius: 50%;
}

.track-info h2 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.badge {
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Barre de progression */
.progress-container {
    margin-bottom: 25px;
}

#progressBar {
    width: 100%;
    accent-color: var(--neon-yellow);
    cursor: pointer;
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    opacity: 0.6;
    margin-top: 5px;
}

/* Contrôles du lecteur */
.player-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-play {
    background: var(--neon-yellow);
    border: none;
    padding: 12px 40px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 255, 0, 0.3);
}

.btn-icon {
    background: transparent;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    opacity: 0.5;
    transition: 0.3s;
}

.btn-icon:hover,
.btn-icon.active {
    opacity: 1;
    color: var(--accent-teal);
}

#loopBtn.active {
    color: var(--neon-yellow);
    filter: drop-shadow(0 0 5px var(--neon-yellow));
}

/* Style du texte "OU" */
.or-text {
    font-size: 0.7rem;
    font-weight: bold;
    margin: 10px 0;
    opacity: 0.5;
}

/* Bouton Parcourir style Liquid Glass / Jaune Morgann */
.btn-browse {
    background: rgba(255, 255, 0, 0.2);
    /* Jaune translucide */
    border: 2px solid var(--neon-yellow);
    color: var(--text-main);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    backdrop-filter: blur(5px);
    margin-bottom: 20px;

}

.btn-browse:hover {
    background: var(--neon-yellow);
    box-shadow: 0 0 15px rgba(255, 255, 0, 0.6);
    transform: translateY(-2px);
}