body {
    background-image: url('img/FondoDef.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

html, body {
    height: 100%;
    margin: 0;
    overflow-x: hidden;
}

/* Contenedor principal */
.main-content-wrapper {
    min-height: calc(100vh - 70px);
    overflow-x: hidden;
}

.main-content {
    padding: 40px 0;
}

.mobile-menu-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1040;
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
}

.mobile-menu-btn:hover {
    background-color: #1a1a1a !important;
    transform: scale(1.05);
}

.offcanvas {
    z-index: 1045 !important;
}

.offcanvas-backdrop {
    z-index: 1044 !important;
}

.offcanvas-image-container {
    text-align: center;
}

.offcanvas-image {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border-radius: 10px;
}

.offcanvas-social-title {
    color: #ffffff;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    -webkit-text-stroke: 1px #000000;
    paint-order: stroke fill;
    text-align: center;
}

.social-column {
    justify-content: flex-start !important;
    padding-top: 0px !important;
    padding-bottom: 20px !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
    background-color: #000000;
    min-height: calc(100vh - 70px);
}


.social-top-image-container {
    margin-bottom: 10px;
    margin-left: 10px;
    margin-top: 0;
}

.social-top-image {
    width: 200px;
    height: 200px; 
    object-fit: contain;
    border-radius: 10px;
    display: block;
}

.social-icons-wrapper {
    margin-left: 10px;
    margin-top: 15px;
}

.social-title {
    color: #ffffff;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    -webkit-text-stroke: 2px #000000;
    paint-order: stroke fill;
    margin-left: 10px;
    margin-top: -10px;
    margin-bottom: 0;
}


.social-icon-large {
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: inline-block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    width: 55px; 
    height: 55px;
}

.social-icon-large:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.social-img-large {
    width: 100%;
    height: 100%;
    max-width: 55px;  
    max-height: 55px; 
    object-fit: contain;
    transition: all 0.3s ease;
    display: block;
}

.vinyl-container {
    margin-top: 10px;
    width: 1000px;
    height: 1000px;
    max-width: 100vw;
    max-height: 85vh;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.Vinilo {
    width: 550px;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.Vinilo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(1.25);
    transition: transform 0.3s ease;
    will-change: transform;
}

@keyframes spin {
    from {
        transform: scale(1.25) rotate(0deg);
    }
    to {
        transform: scale(1.25) rotate(360deg);
    }
}

.Vinilo-img.girando {
    animation: spin 4s linear infinite;
}

.logo-center {
    width: 380px;
    height: 380px;
}

.logo-img{
    width: 100%;
    height: 100%;
    transform: scale(1.8);
    object-fit: contain;
    border-radius: 50%;

}

.audio-player audio {
    height: 50px;
    min-width: 600px;
    max-width: 90%;
}

.playerAudio {
    margin-top: -110px;
    position: relative;
    z-index: 10;
}

/* ============================================
   ============================================ */

.playerPersonalizado {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #000000;
    padding: 30px 40px;
    border-radius: 15px;
    border: 2px solid #333;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    min-width: 750px;
    max-width: 90%;
}

.control-btn {
    background: #ffffff;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    font-size: 24px;
    color: #000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
}

.control-btn:hover {
    background: #f0f0f0;
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.2);
}

.control-btn:active {
    transform: scale(0.95);
    background: #e0e0e0;
}


.sound-visualizer {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 50px;
}

.sound-bar {
    width: 6px;
    height: 8px;
    background: #ffffff;
    border-radius: 3px;
    transition: height 0.1s ease;
}

.sound-visualizer.playing .sound-bar:nth-child(1) {
    animation: soundWave 1.0s ease-in-out infinite;
    animation-delay: 0s;
}

.sound-visualizer.playing .sound-bar:nth-child(2) {
    animation: soundWave 1.2s ease-in-out infinite;
    animation-delay: 0.1s;
}

.sound-visualizer.playing .sound-bar:nth-child(3) {
    animation: soundWave 0.9s ease-in-out infinite;
    animation-delay: 0.2s;
}

.sound-visualizer.playing .sound-bar:nth-child(4) {
    animation: soundWave 1.3s ease-in-out infinite;
    animation-delay: 0.3s;
}

.sound-visualizer.playing .sound-bar:nth-child(5) {
    animation: soundWave 1.1s ease-in-out infinite;
    animation-delay: 0.1s;
}

.sound-visualizer.playing .sound-bar:nth-child(6) {
    animation: soundWave 1.2s ease-in-out infinite;
    animation-delay: 0.2s;
}

.sound-visualizer.playing .sound-bar:nth-child(7) {
    animation: soundWave 0.9s ease-in-out infinite;
    animation-delay: 0s;
}

.sound-visualizer.playing .sound-bar:nth-child(8) {
    animation: soundWave 1.4s ease-in-out infinite;
    animation-delay: 0.3s;
}

.sound-visualizer.playing .sound-bar:nth-child(9) {
    animation: soundWave 1.0s ease-in-out infinite;
    animation-delay: 0.1s;
}

.sound-visualizer.playing .sound-bar:nth-child(10) {
    animation: soundWave 1.2s ease-in-out infinite;
    animation-delay: 0.2s;
}

@keyframes soundWave {
    0%, 100% {
        height: 8px;
    }
    50% {
        height: 40px;
    }
}

.controlVolumen {
    display: flex;
    align-items: center;
    gap: 10px;
}

.controlVolumen span {
    font-size: 22px;
    color: #ffffff;
}

.barraVolumen {
    width: 100px;
    height: 6px;
    background: #333;
    border-radius: 3px;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.barraVolumen::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    background: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    transition: all 0.2s ease;
}

.barraVolumen::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 3px 8px rgba(255, 255, 255, 0.4);
}

.barraVolumen::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.icon-img {
    width: 28px;
    height: 28px;
    filter: brightness(0); 
    transition: all 0.3s ease;
    pointer-events: none; 
}

.control-btn:hover .icon-img {
    filter: brightness(0.2);
}

.icon-img-volume {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1); 
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .playerPersonalizado {
        flex-wrap: wrap;
        min-width: 90%;
        padding: 25px 20px;
        gap: 15px;
    }
    
    .barraProgreso {
        width: 100%;
        order: 4;
    }
    
    .control-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .icon-img {
        width: 22px;
        height: 22px;
    }
    
    .icon-img-volume {
        width: 20px;
        height: 20px;
    }
    
    .tiempoInfo {
        font-size: 13px;
    }
    
    .vinyl-container {
        max-width: 90vw;
        max-height: 50vh;
        margin-top: 60px;
    }
    
    .Vinilo {
        width: 350px;
        height: 350px;
    }
    
    .logo-center {
        width: 120px;
        height: 120px;
    }
}

/* ============================================
   FOOTER
   ============================================ */

.footer-custom {
    background-color: #000000;
    color: #ffffff;
    padding: 20px 0;
    width: 100%;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3);
    margin-top: 0;
}

.footer-custom p {
    color: #ffffff;
    font-size: 14px;
    letter-spacing: 1px;
}

.footer-custom a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-custom a:hover {
    color: #cccccc;
}