/* Canvas pour Three.js */
.audio-visualizer-container{
    position: relative;
}

.audio-visualizer-container canvas {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
}

/* Contrôles audio */
.audio-controls {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 30px;
    font-family: Arial, sans-serif;
}

.play-button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: none;
    background: white;
    color: black;
    font-size: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    outline: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.title-container {
    color: white;
    text-align: left;
}

.main-title {
    font-size: 28px;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    opacity: 0.7;
}

.by-title {
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.artist-name {
    font-size: 32px;
    font-weight: 900;
}

/* Responsive */
@media (max-width: 768px) {
    .audio-controls {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .main-title {
        font-size: 20px;
  
    }
    
    .by-title {
        font-size: 16px;
    }
    
    .artist-name {
        font-size: 24px;
    }
}

/* Container principal */
.audio-visualizer-container {
    position: relative;
    overflow: hidden;
    background: transparent;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}
