/* Importación de fuentes personalizadas */
@font-face {
    font-family: 'Old England Gothic';
    src: url('fonts/Old England Gothic.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gothic Kapital ST';
    src: url('fonts/Gothic Kapital St.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden; /* Evitar scroll horizontal */
}

body {
    font-family: 'Times New Roman', Times, serif;
    background-color: #000000; /* Fondo negro */
    background-image: url('images/pruebaA1.6.png'); /* Nuevo fondo de espinas en blanco y negro con efecto de líneas más definidas */
    background-repeat: repeat; /* Repetir la imagen para crear un mosaico */
    background-size: 700px; /* Zoom aumentado nuevamente */
    animation: horizontal 25s linear infinite; /* Movimiento horizontal con velocidad sutilmente reducida */
    color: #ffffff; /* Texto general cambiado a blanco */
    line-height: 1.6;
    position: relative;
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden; /* Evitar scroll horizontal */
}

/* Layout for page wrapper */
.page-wrapper {
    display: flex;
    min-height: 100vh; /* Ensure wrapper takes full height */
    position: relative;
}

/* Sidebar izquierdo con tamaño fijo independiente del zoom - SIN BACKGROUND */
.left-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px; /* Aumentado el ancho según solicitud del usuario */
    height: 100vh;
    background: none; /* Sin background según solicitud del usuario */
    z-index: 100;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
    /* Tamaño fijo independiente del zoom */
    transform: scale(1);
    transform-origin: top left;
}

/* Reproductor de música en sidebar izquierdo - diseño completamente rediseñado */
.left-sidebar .music-player {
    position: relative;
    top: 50px;
    width: 100%;
    background-color: transparent; /* Sin fondo blanco */
    border: none; /* Sin bordes */
    padding: 10px;
    box-sizing: border-box;
    margin-bottom: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* GIF del vinilo muchísimo más grande */
.left-sidebar .music-player .vinyl-gif {
    order: 1; /* Primero en el orden visual */
    text-align: center;
    margin-bottom: 20px;
}

.left-sidebar .music-player .vinyl-gif img {
    max-width: 140px; /* Muchísimo más grande */
    width: 140px;
    height: 140px;
    object-fit: cover;
}

/* Información de la música abajo y más pequeña */
.left-sidebar .music-player .music-info {
    order: 2; /* Segundo en el orden visual */
    margin-bottom: 15px;
}

.left-sidebar .music-player .music-info p {
    color: #ffffff; /* Texto blanco para contrastar con el fondo */
    font-size: 0.7rem; /* Más pequeño según solicitud */
    font-weight: 400;
    text-align: center;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.9); /* Sombra más fuerte para mejorar legibilidad */
    line-height: 1.3;
    word-wrap: break-word;
}

/* Botones debajo de las palabras */
.left-sidebar .music-player .music-controls {
    order: 3; /* Tercero en el orden visual */
    display: flex;
    justify-content: center;
    gap: 8px;
}

.left-sidebar .music-player button {
    background-color: rgba(51, 51, 51, 0.8); /* Fondo semi-transparente */
    color: #ffffff;
    border: 1px solid #111111;
    padding: 6px 10px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    border-radius: 0;
    backdrop-filter: blur(2px); /* Efecto de desenfoque para mejor integración */
}

.left-sidebar .music-player button:hover {
    background-color: rgba(17, 17, 17, 0.9);
    transform: scale(1.05);
}

/* Relojes mundiales en sidebar derecho */
.right-sidebar .world-clocks {
    margin-top: 30px;
    padding: 0 10px;
}

/* Sección "Listening to" en sidebar derecho */
.listening-section {
    margin-top: 20px;
    padding: 0 10px;
}

.listening-container {
    background-color: rgba(0, 0, 0, 0.7);
    border: none; /* Eliminar borde simple */
    border-radius: 8px;
    padding: 20px; /* Aumentar padding para el borde decorativo */
    text-align: center;
    backdrop-filter: blur(3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    position: relative; /* Para el pseudo-elemento del borde */
}

/* Borde victoriano decorativo para la sección Listening to */
.listening-container::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background-image: url('victorian_border_set.jpeg');
    background-size: 100% 100%; /* Estirar para cubrir todo el borde */
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.8; /* Ligeramente transparente para no dominar */
    z-index: -1; /* Detrás del contenido */
    border-radius: 12px;
    filter: sepia(20%) saturate(150%) hue-rotate(30deg) brightness(1.1); /* Ajustar colores para que combine con la estética */
}

.listening-label {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    letter-spacing: 1px;
}

.music-info-display {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.album-cover {
    width: 64px;
    height: 64px;
    border-radius: 4px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
}

.track-info {
    flex: 1;
    min-width: 0;
}

.track-info p {
    margin: 2px 0;
    color: #e9e9e9;
    font-size: 0.75rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#current-artist {
    font-weight: 600;
    color: #ffffff;
    font-size: 0.8rem;
}

#current-track {
    font-style: italic;
    color: #cccccc;
}

#current-album {
    color: #aaaaaa;
    font-size: 0.7rem;
}

.clock-container {
    background-color: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
    backdrop-filter: blur(3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.clock-label {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    letter-spacing: 1px;
}

.clock-time {
    color: #e9e9e9;
    font-size: 1.4rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
    letter-spacing: 2px;
}

.clock-date {
    color: #cccccc;
    font-size: 0.7rem;
    font-weight: 400;
    margin-bottom: 3px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.clock-timezone {
    color: #aaaaaa;
    font-size: 0.6rem;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Contenedor principal */
.main-container {
    width: calc(100% - 530px); /* Restar el ancho de ambos sidebars (250px izquierdo + 280px derecho) */
    max-width: none; /* Eliminar límite máximo para ocupar todo el espacio disponible */
    margin-left: 250px; /* Desplazar hacia la derecha para dejar espacio al sidebar izquierdo */
    margin-right: 280px; /* Desplazar hacia la izquierda para dejar espacio al sidebar derecho expandido */
    padding: 0; /* Eliminar padding para evitar desplazamientos */
    position: relative; /* Keep original position */
    z-index: 1; /* Keep original z-index */
    background: none; /* Sin background para mostrar el fondo general */
    display: block; /* Usar display block en lugar de flex */
    text-align: center; /* Centrar contenido */
    min-height: 100vh; /* Altura mínima de toda la ventana */
    margin-bottom: 0; /* Sin margen inferior */
}

/* Animación horizontal suave - izquierda a derecha */
@keyframes horizontal {
    0% { 
        background-position: 0% 0%; 
    }
    100% { 
        background-position: 100% 0%; 
    }
}

/* Sidebar derecho - SIN BACKGROUND */
.right-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: none !important; /* Sin background forzado */
    background-color: transparent !important; /* Fondo transparente forzado */
    z-index: 100;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

/* Encabezado y título */
header {
    text-align: center;
    margin-bottom: 30px;
}

.title-container {
    position: relative;
    margin-bottom: 20px;
    padding: 20px;
    background-color: transparent; /* Quitar fondo oscuro */
}

h1 {
    font-size: 3rem;
    color: #ffffff; /* Cambiado a blanco */
    margin: 0;
    padding: 20px;
    position: relative;
    z-index: 2;
    font-family: 'Times New Roman', Times, serif;
    letter-spacing: 8px;
    font-style: italic;
    font-weight: 100;
    background-color: transparent; /* Quitar fondo oscuro */
    animation: none; /* Quitar animación de fade */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8); /* Añadida sombra para mejorar legibilidad */
}

/* --- .flower-background rule removed as collage is now an img element --- */

/* Reproductor de música */
.music-player {
    margin: 20px 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px;
    background-color: #f0f0f0; /* Fondo gris claro */
    border: 1px solid #cccccc; /* Borde gris */
}

.music-controls {
    display: flex;
    gap: 5px;
}

.music-player button {
    background-color: #555555; /* Botones gris oscuro */
    color: #ffffff; /* Texto blanco */
    border: 1px solid #333333;
    padding: 10px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.music-player button:hover {
    background-color: #333333; /* Más oscuro al pasar */
    transform: scale(1.05);
}

.music-info {
    flex-grow: 1;
    text-align: center;
}

.music-info p {
    margin: 0;
    font-size: 1rem;
    color: #000000; /* Texto negro */
    font-style: italic;
    letter-spacing: 1px;
}

.vinyl-gif {
    max-width: 80px;
    height: auto;
}

.vinyl-gif img {
    width: 100%;
    height: auto;
    /* border-radius: 50%; <- Quitar si el nuevo GIF no es redondo */
}

/* Navegación */
nav {
    margin: 20px 0;
}

.nav-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.nav-item {
    display: inline-block;
    padding: 10px 20px;
    background-color: #eeeeee; /* Fondo gris muy claro */
    color: #000000; /* Texto negro */
    text-decoration: none;
    border: 1px solid #cccccc; /* Borde gris */
    font-family: 'Copperplate Gothic', 'Copperplate', serif;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-item:hover {
    background-color: #dddddd; /* Gris un poco más oscuro */
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.nav-item::before {
    /* content: "❦"; <- Eliminado */
    content: "";
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.nav-item:hover::before {
    left: 10px;
    opacity: 1;
}

/* Secciones de contenido */
.content-section {
    margin-top: 0;
    margin-bottom: 40px;
}

/* Selector específico solo para la primera sección (biografía) */
#biografia-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    z-index: 10;
}

.section-border {
    border: 2px solid #cccccc; /* Borde gris */
    padding: 0 20px 20px 20px; /* Eliminado padding superior */
    background-color: #000000; /* Cambiado a fondo negro */
    position: relative;
}

.section-border::before {
    /* Quitar doble borde */
    content: none;
}

h2 {
    color: #ffffff; /* Texto cambiado a blanco */
    font-family: 'Copperplate Gothic', 'Copperplate', serif;
    text-align: center;
    margin-bottom: 20px;
    font-size: 2rem;
    letter-spacing: 2px;
    text-shadow: none; /* Quitar sombra */
}

.section-content {
    padding: 10px;
}

/* Lista de canciones */
.song-list {
    list-style-type: none;
    padding-left: 0;
}

.song-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eeeeee; /* Borde gris muy claro */
    gap: 15px;
}

.song-item:last-child {
    border-bottom: none;
}

.song-position {
    font-size: 1.5rem;
    font-weight: bold;
    color: #555555; /* Color gris oscuro por defecto */
    margin-right: 15px;
    min-width: 25px;
    text-align: right;
    align-self: center;
}

/* Colores especiales para los iconos de posición 1, 2 y 3 */
.song-item[data-position="1"] .song-position {
    color: #FFD700; /* Dorado */
}

.song-item[data-position="2"] .song-position {
    color: #C0C0C0; /* Plata */
}

.song-item[data-position="3"] .song-position {
    color: #CD7F32; /* Bronce */
}

.song-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border: 1px solid #cccccc; /* Borde gris */
    margin-right: 15px;
}

.song-info {
    flex-grow: 1;
    color: #ffffff; /* Texto cambiado a blanco */
}

.song-link-button {
    margin-left: 15px;
    font-size: 1.5rem;
    color: #555555; /* Icono gris oscuro */
    text-decoration: none;
    transition: color 0.3s ease;
}

.song-link-button:hover {
    color: #000000; /* Negro al pasar */
}

/* Estilos de Intereses y Enlaces eliminados */

/* Pie de página - sin borde ni contenido visible */
footer {
    text-align: center;
    margin-top: 0; /* Sin margen superior */
    padding: 0; /* Sin padding */
    border: none; /* Sin borde */
    font-size: 0.9rem;
    color: transparent; /* Texto transparente */
    background: none; /* Sin fondo */
    height: 0; /* Sin altura */
    overflow: hidden; /* Ocultar cualquier contenido */
}

footer a {
    color: #000000; /* Enlace negro */
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Cursor personalizado */
/* Estilos para cursor personalizado con espadas */
body {
    /* Usar sword1_32.png como cursor por defecto (32x32). Hotspot en la esquina superior izquierda (0 0). */
    cursor: url('images/cursors/sword1_32.png') 0 0, auto;
}

/* Cursor más pequeño al hacer clic (añadido por JS) */
body.clicking {
    /* Usar sword1_24.png como cursor al hacer clic (24x24). Hotspot en la esquina superior izquierda (0 0). */
    cursor: url('images/cursors/sword1_24.png') 0 0, auto;
}

/* Usar sword2_32.png para elementos interactivos (32x32) */
a, button, .nav-item, .song-link-button, input, select, textarea {
    /* Hotspot en la esquina superior izquierda (0 0). */
    cursor: url('images/cursors/sword2_32.png') 0 0, pointer;
}

/* Override interactive cursor when clicking */
body.clicking a,
body.clicking button,
body.clicking .nav-item,
body.clicking .song-link-button,
body.clicking input,
body.clicking select,
body.clicking textarea {
    /* Use the small sword (sword1_24) during click, even on interactive elements */
    cursor: url('images/cursors/sword1_24.png') 0 0, auto;
}

/* Efectos adicionales */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.main-container {
    animation: fadeIn 1.5s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .left-sidebar {
        display: none; /* Ocultar sidebar izquierdo en pantallas pequeñas */
    }

    .right-sidebar {
        display: none; /* Ocultar sidebar derecho en pantallas pequeñas */
    }

    .main-container {
        width: 100%; /* Ocupar todo el ancho en móviles */
        margin-left: 0; /* Sin margen izquierdo en móviles */
        margin-right: 0; /* Sin margen derecho en móviles */
        max-width: 100%;
        padding: 10px;
    }

    .collage-container {
        width: 100%; /* Ajustar el ancho al 100% en móviles */
        height: auto; /* Altura automática */
        max-width: 409px; /* Limitar al ancho original de la imagen */
    }

    #main-collage-image {
        width: 100%; /* Ancho completo del contenedor */
        height: auto; /* Altura automática para mantener proporción */
    }

    .collage-container .title-container {
        width: 95%; /* Ancho mayor en móviles */
        max-width: 350px; /* Limitar ancho máximo */
    }

    h1 {
        font-size: 1.8rem; /* Texto más pequeño en móviles */
    }
    
    .nav-container {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-item {
        width: 90%;
        text-align: center;
    }
    
    .interests-grid {
        grid-template-columns: 1fr;
    }
}

/* Hide old star background */
.stars-container {
     display: none;
}


/* Styles for the main collage and overlaid elements - RESPONSIVE MEJORADO */
.collage-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: auto;
    margin: 0 auto;
    overflow: visible;
    text-align: center;
    display: block;
    margin-bottom: 0; /* Sin margen inferior */
    padding-bottom: 0; /* Sin padding inferior */
}

#main-collage-background {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 4650px;
    background-image: url('images/FotomontageFinal.png');
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
    image-rendering: auto;
    transform: translateZ(0);
    backface-visibility: hidden;
    margin-bottom: 0; /* Sin margen inferior */
    padding-bottom: 0; /* Sin padding inferior */
}

/* Overlaid Title Container - RESPONSIVE */
.collage-container .title-container {
    position: absolute;
    top: 3%; /* Bajado un poco de 2% a 3% */
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 900px;
    z-index: 10;
    background-color: transparent;
    padding: 1vw; /* Padding responsive */
    border-radius: 0;
    text-align: center;
    box-sizing: border-box;
}

/* Contenedor separado para "Espinas" - RESPONSIVE */
.collage-container .espinas-container {
    position: absolute;
    top: 11%; /* Bajado de 8% a 11% */
    left: 36%; /* Desplazado hacia la izquierda de 50% a 36% */
    transform: translateX(-50%);
    width: 95%;
    max-width: 900px;
    z-index: 10;
    background-color: transparent;
    padding: 1vw; /* Padding responsive */
    border-radius: 0;
    text-align: center;
    box-sizing: border-box;
}

/* Estilos para el texto de bienvenida - RESPONSIVE */
.collage-container .title-container h1.welcome-text {
    color: #e9e9e9;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    font-family: 'Old England Gothic', 'Times New Roman', Times, serif;
    font-size: clamp(2rem, 6vw, 7rem); /* Tamaño responsive que se adapta al viewport */
    margin: 0;
    padding: 0;
    letter-spacing: clamp(1px, 0.3vw, 4px); /* Espaciado responsive */
    line-height: 1.2;
}

/* Líneas blancas solapadas dentro del texto de bienvenida */
.collage-container .title-container h1.welcome-text .text-part-1 {
    position: relative;
    display: block;
    z-index: 2;
}

.collage-container .title-container h1.welcome-text .text-part-2 {
    position: relative;
    display: block;
    z-index: 2;
    margin-top: clamp(-10px, -1vw, -20px); /* Margen responsive */
}

/* Línea blanca detrás de "Welcome there, this is" - RESPONSIVE */
.collage-container .title-container h1.welcome-text .text-part-1::before {
    content: '';
    position: absolute;
    top: 81%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    height: clamp(1px, 0.2vw, 2px); /* Altura responsive */
    background-color: #e9e9e9;
    background: #e9e9e9;
    opacity: 1 !important;
    z-index: 5;
    box-shadow: none;
}

/* Línea blanca detrás de "my space and I am" - RESPONSIVE */
.collage-container .title-container h1.welcome-text .text-part-2::before {
    content: '';
    position: absolute;
    top: 81%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: clamp(1px, 0.2vw, 2px); /* Altura responsive */
    background-color: #e9e9e9;
    background: #e9e9e9;
    opacity: 1 !important;
    z-index: 5;
    box-shadow: none;
}

/* Estilos para "Espinas" en contenedor separado - RESPONSIVE */
.collage-container .espinas-container h1.espinas-text {
    font-family: 'Gothic Kapital ST', 'Old England Gothic', 'Times New Roman', Times, serif;
    font-size: clamp(2rem, 6vw, 7rem); /* Tamaño responsive que se adapta al viewport */
    letter-spacing: clamp(5px, 3vw, 40px); /* Espaciado responsive */
    font-style: normal;
    color: #e9e9e9;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    margin: 0;
    padding: 0;
    line-height: 0.3; /* Reducido bastante más de 0.6 a 0.3 */
    text-decoration: none;
}

/* Media queries para ajustes específicos */
@media (max-width: 1200px) {
    .collage-container .title-container {
        top: 2%; /* Ajustado para pantallas medianas */
    }
    
    .collage-container .espinas-container {
        top: 7.5%; /* Ajustado para pantallas medianas */
        left: 38%; /* Ajustado para pantallas medianas */
    }
}

@media (max-width: 768px) {
    .collage-container .title-container {
        top: 2.5%; /* Ajustado para tablets */
        width: 98%;
        padding: 2vw;
    }
    
    .collage-container .espinas-container {
        top: 8%; /* Ajustado para tablets */
        left: 42%; /* Más centrado en tablets */
        width: 98%;
        padding: 2vw;
    }
    
    .collage-container .title-container h1.welcome-text {
        font-size: clamp(1.5rem, 8vw, 4rem);
        letter-spacing: clamp(1px, 0.5vw, 3px);
    }
    
    .collage-container .espinas-container h1.espinas-text {
        font-size: clamp(1.5rem, 8vw, 4rem);
        letter-spacing: clamp(3px, 4vw, 20px);
    }
}

@media (max-width: 480px) {
    .collage-container .title-container {
        top: 3%; /* Ajustado para móviles */
    }
    
    .collage-container .espinas-container {
        top: 9%; /* Ajustado para móviles */
        left: 50%; /* Centrado en móviles */
    }
}

/* Eliminar estilos del reproductor en el collage ya que ahora está en el sidebar */


/* Green square gif eliminado por petición del usuario */


/* Mueble para vinilos personalizado con áreas clickeables */
.vinyl-rack-section {
    margin-top: 20px;
    padding: 0 10px;
}

.custom-vinyl-rack {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.vinyl-rack-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Áreas clickeables invisibles sobre cada vinilo */
.vinyl-clickable-area {
    position: absolute;
    cursor: pointer;
    background: transparent;
    border: none;
    transition: all 0.3s ease;
    z-index: 10;
}

/* Posiciones específicas para cada vinilo basadas en la imagen */
/* ESTANTE SUPERIOR - ajustados individualmente */
.vinyl-1 {
    top: 12%; /* Mantiene la altura */
    left: 18%; /* Sin cambios */
    width: 60%; /* Aumentado considerablemente de 50% a 60% */
    height: 65%; /* Aumentado considerablemente de 55% a 65% */
}

.vinyl-2 {
    top: 16%; /* Mantiene la altura */
    left: 48%; /* Movido un pelín más a la derecha de 46% a 48% */
    width: 35%; /* Mucho más grande de 28% a 35% */
    height: 38%; /* Mucho más grande de 30% a 38% */
}

.vinyl-3 {
    top: 20%; /* Mantiene la altura */
    left: 72%; /* Sin cambios */
    width: 22%; /* Sin cambios */
    height: 25%; /* Sin cambios */
}

/* ESTANTE MEDIO - movidos hacia abajo y bastante a la derecha */
.vinyl-4 {
    top: 42%; /* Sin cambios */
    left: 18%; /* Sin cambios */
    width: 50%; /* Aumentado considerablemente de 40% a 50% */
    height: 55%; /* Aumentado considerablemente de 45% a 55% */
}

.vinyl-5 {
    top: 42%; /* Movido hacia abajo de 38% a 42% */
    left: 48%; /* Movido bastante a la derecha de 38% a 48% */
    width: 22%;
    height: 25%;
}

.vinyl-6 {
    top: 44%; /* Movido muy poco hacia abajo de 42% a 44% */
    left: 72%; /* Movido muy poco a la izquierda de 74% a 72% */
    width: 22%;
    height: 25%;
}

/* ESTANTE INFERIOR - movidos a la derecha */
.vinyl-7 {
    top: 70%; /* Movido muy poco hacia arriba de 72% a 70% */
    left: 18%; /* Sin cambios */
    width: 40%; /* Aumentado considerablemente de 22% a 40% */
    height: 45%; /* Aumentado considerablemente de 25% a 45% */
}

.vinyl-8 {
    top: 68%;
    left: 48%; /* Movido a la derecha de 38% a 48% */
    width: 22%;
    height: 25%;
}

.vinyl-9 {
    top: 68%;
    left: 74%; /* Movido a la izquierda de 78% a 74% */
    width: 22%;
    height: 25%;
}

/* Efectos hover para los vinilos */
.vinyl-clickable-area:hover {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* Efecto especial para el vinilo especial */
.special-vinyl:hover {
    background: rgba(255, 215, 0, 0.2);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

/* Tooltip para mostrar información del vinilo */
.vinyl-tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.9);
    color: #e9e9e9;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-family: 'Old England Gothic', serif;
    white-space: nowrap;
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    border: 1px solid #8B4513;
}

.vinyl-tooltip.show {
    opacity: 1;
}

/* Animación de selección */
.vinyl-clickable-area.selected {
    background: rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    animation: vinylPulse 1s ease-in-out;
}

@keyframes vinylPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Responsive para el mueble de vinilos personalizado */
@media (max-width: 768px) {
    .vinyl-rack-section {
        display: none;
    }
}


/* Pop-up especial para vinilo #9 */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.popup-overlay.show {
    display: flex;
}

.popup-content {
    background: linear-gradient(135deg, #2a1810, #1a0f08);
    border: 2px solid #d4af37;
    border-radius: 15px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    animation: popupAppear 0.3s ease-out;
}

@keyframes popupAppear {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 30px;
    color: #d4af37;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.popup-close:hover {
    color: #fff;
    transform: scale(1.2);
}

.popup-header h2 {
    color: #d4af37;
    font-family: 'Gothic Kapital ST', serif;
    font-size: 1.8rem;
    margin: 0 0 20px 0;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.popup-body {
    text-align: center;
}

.popup-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.popup-text {
    color: #e8e8e8;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    font-style: italic;
}

.popup-subtitle {
    color: #d4af37;
    font-size: 1rem;
    font-weight: bold;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Responsive para el pop-up */
@media (max-width: 768px) {
    .popup-content {
        padding: 20px;
        margin: 20px;
    }
    
    .popup-header h2 {
        font-size: 1.5rem;
    }
    
    .popup-text {
        font-size: 1rem;
    }
}


/* Estilos para relojes compactos en sidebar izquierdo */
.compact-clocks {
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 15px;
    margin: 20px;
    backdrop-filter: blur(3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.clock-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.clock-row:last-child {
    margin-bottom: 0;
}

.clock-icon {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.clock-info {
    flex: 1;
}

.clock-info .clock-time {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

.clock-info .clock-date {
    color: #cccccc;
    font-size: 0.7rem;
    margin: 0;
    line-height: 1.2;
}

.clock-info .clock-timezone {
    color: #aaaaaa;
    font-size: 0.6rem;
    margin: 0;
    line-height: 1.2;
}

/* Estilos para "Listening right now" en sidebar izquierdo - sin bordes */
.left-sidebar .recent-song-section {
    margin-bottom: 20px;
    margin-top: 20px;
}

.left-sidebar .recent-song-container {
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
}

.left-sidebar .recent-song-label {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    letter-spacing: 1px;
}

.left-sidebar .song-preview {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
}

.left-sidebar .album-cover-small {
    width: 48px;
    height: 48px;
    border-radius: 0; /* Sin bordes redondeados - esquinas totalmente rectas */
    object-fit: cover;
    border: none; /* Sin bordes */
    background-color: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.left-sidebar .track-info-compact {
    flex: 1;
    min-width: 0;
}

.left-sidebar .track-title {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0 0 4px 0;
    line-height: 1.2;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.left-sidebar .track-artist {
    color: #cccccc;
    font-size: 0.75rem;
    margin: 0 0 8px 0;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Relojes compactos en sidebar izquierdo - sin fondo */
.left-sidebar .compact-clocks {
    background: none; /* Sin fondo */
    border: none; /* Sin bordes */
    border-radius: 0; /* Sin bordes redondeados */
    padding: 15px 0; /* Solo padding vertical */
    margin-top: 15px;
    backdrop-filter: none; /* Sin filtro */
    box-shadow: none; /* Sin sombra */
}

.left-sidebar .clock-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.left-sidebar .clock-row:last-child {
    margin-bottom: 0;
}

.left-sidebar .clock-icon {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.left-sidebar .clock-info {
    flex: 1;
}

.left-sidebar .clock-info .clock-time {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

.left-sidebar .clock-info .clock-date {
    color: #cccccc;
    font-size: 0.7rem;
    margin: 0;
    line-height: 1.2;
}

.left-sidebar .clock-info .clock-timezone {
    color: #aaaaaa;
    font-size: 0.6rem;
    margin: 0;
    line-height: 1.2;
}

/* Cursor personalizado con 3 estados */
body {
    cursor: url('images/cursors/sword1_32.png'), auto; /* Estado neutral */
}

/* Estado hover para elementos clickeables */
.vinyl-clickable-area {
    cursor: url('images/cursors/sword2_hover_32.png'), pointer !important;
}

.vinyl-clickable-area:hover {
    cursor: url('images/cursors/sword2_hover_32.png'), pointer !important;
}

.music-controls button {
    cursor: url('images/cursors/sword2_hover_32.png'), pointer !important;
}

.music-controls button:hover {
    cursor: url('images/cursors/sword2_hover_32.png'), pointer !important;
}

/* Estado click para todos los elementos clickeables */
.vinyl-clickable-area:active {
    cursor: url('images/cursors/sword1_click.png'), pointer !important;
}

.music-controls button:active {
    cursor: url('images/cursors/sword1_click.png'), pointer !important;
}

/* GIF del vinilo standalone - eliminando fondo negro completamente */
.vinyl-gif-standalone {
    text-align: center;
    margin: 0;
    background: none !important;
    background-color: transparent !important;
}

.vinyl-gif-standalone img {
    width: 180px;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    background: none !important;
    background-color: transparent !important;
    mix-blend-mode: screen; /* Cambiar modo de mezcla para eliminar negro */
    filter: none;
    backdrop-filter: none;
    border: none;
    outline: none;
}

/* Eliminar TODOS los fondos del sidebar derecho */
.right-sidebar * {
    background: none !important;
    background-color: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
}

/* Excepciones solo para los botones de vinilos que necesitan color */
.vinyl-green {
    background-color: rgba(34, 139, 34, 0.7) !important;
}

.vinyl-blue {
    background-color: rgba(30, 144, 255, 0.7) !important;
}

.vinyl-yellow {
    background-color: rgba(255, 215, 0, 0.7) !important;
}

.vinyl-green:hover {
    background-color: rgba(34, 139, 34, 0.9) !important;
}

.vinyl-blue:hover {
    background-color: rgba(30, 144, 255, 0.9) !important;
}

.vinyl-yellow:hover {
    background-color: rgba(255, 215, 0, 0.9) !important;
}

.right-sidebar .music-info {
    text-align: center;
    margin-bottom: 10px;
}

.right-sidebar .music-info p {
    color: #ffffff;
    font-size: 0.8rem;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.right-sidebar .music-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.right-sidebar .music-controls button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.right-sidebar .music-controls button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}


/* Ajustar el reproductor de música en el sidebar derecho - sin fondo */
.right-sidebar .music-player {
    background: none; /* Sin fondo */
    border: none; /* Sin bordes */
    border-radius: 0; /* Sin bordes redondeados */
    padding: 15px 0; /* Solo padding vertical */
    margin-top: 10px; /* Margen reducido */
    backdrop-filter: none; /* Sin filtro */
    box-shadow: none; /* Sin sombra */
}


/* Botones de vinilos invisibles pero clickeables */
.vinyl-clickable-area {
    position: absolute;
    width: 40px !important; /* Cuadrados */
    height: 40px !important; /* Cuadrados */
    border-radius: 4px;
    opacity: 0; /* Completamente invisibles */
    transition: all 0.3s ease;
    border: none; /* Sin bordes */
    background: transparent !important; /* Fondo transparente */
}

.vinyl-clickable-area:hover {
    opacity: 0; /* Mantener invisibles incluso en hover */
    transform: none; /* Sin efectos de escala */
    border: none; /* Sin bordes en hover */
    background: transparent !important; /* Fondo transparente en hover */
}

/* Eliminar todos los estilos de colores ya que ahora son invisibles */
.vinyl-green,
.vinyl-blue,
.vinyl-yellow {
    background: transparent !important;
}

.vinyl-green:hover,
.vinyl-blue:hover,
.vinyl-yellow:hover {
    background: transparent !important;
}

