@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

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

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Playfair Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    overflow: hidden;
    position: relative;
}

/* ---- CONTENEDORES PRINCIPALES ---- */
.main-container {
    height: 100vh;
    width: 100%;
    background-image: url('../images/fondo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.main-container3 {
    height: 100vh;
    width: 100%;
    background-image: url('../images/habitacion2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.page-container {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

/* SPA Specific Styles */
.spa-enabled .spa-page-container {
    display: none;
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
}

.spa-enabled .spa-page-container.active {
    display: block;
}

/* Menu container styles for SPA */
#menu-container {
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999999;
}

/* Ensure menu styles work in SPA */
.spa-enabled .menu,
.spa-enabled .top-menu {
    position: relative;
    z-index: 1001;
}

/* Contacto page styles for SPA */
#page-contacto {
    margin: 0;
    min-height: 100vh;
    overflow-y: scroll;
    animation: cloudFloat 25s ease-in-out infinite;
}

@keyframes cloudFloat {
    0%, 100% { 
        background-position: 50% 50%;
        transform: scale(1);
    }
    25% { 
        background-position: 48% 52%;
        transform: scale(1.02);
    }
    50% { 
        background-position: 52% 48%;
        transform: scale(1.01);
    }
    75% { 
        background-position: 49% 51%;
        transform: scale(1.015);
    }
}

.contact-socials {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 100vh;
    gap: 3rem;
    padding: 20px;
    align-content: flex-end;
    padding-bottom: 10%;
    flex-direction: row;
    flex-wrap: wrap;
}

.glass-social-button {
    position: relative;
    width: 100px;
    height: 100px;
    cursor: pointer;
    transition: transform 0.2s ease;
    animation: socialFloat 8s ease-in-out infinite;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glass-social-button:nth-child(1) { animation-delay: 0s; }
.glass-social-button:nth-child(2) { animation-delay: 1.6s; }
.glass-social-button:nth-child(3) { animation-delay: 3.2s; }
.glass-social-button:nth-child(4) { animation-delay: 1.6s; }
.glass-social-button:nth-child(5) { animation-delay: 0; }

@keyframes socialFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-40px) scale(1.02); }
}

.glass-social-button:hover {
}

.glass-social-icon {
    font-size: 2.8rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.glass-social-icon.yt { color: #FF0000; }
.glass-social-icon.ig { color: #E4405F; }
.glass-social-icon.tt { color: #000; }
.glass-social-icon.am { color: #fa233b; }
.glass-social-icon.sp { color: #1DB954; }

.floating-logo {
    position: absolute;
    left: 50%;
    top: 40%;
    width: 50%;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -2;
    pointer-events: none;
    animation: logoCloudFloat 12s ease-in-out infinite;
}

.floating-cloud {
    position: absolute;
    left: 50%;
    top: 40%;
    width: 60%;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -3;
    pointer-events: none;
    opacity: 0.6;
    animation: logoCloudFloat 12s ease-in-out infinite;
}

@keyframes logoCloudFloat {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    33% { 
        transform: translate(-55%, -55%) scale(1);
        opacity: 1;
    }
    66% { 
        transform: translate(-55%, -45%) scale(1);
        opacity: 1;
    }
}

/* Shows page specific styles for SPA */
#page-shows {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

#page-shows .main-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 100px);
}

#page-shows .row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 40px;
}

#page-shows .col {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#page-shows .characters img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: contain;
    vertical-align: top;
    position: relative;
}

/* ---- FONDOS ---- */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/habitacion1.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.background-videos{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/fondo.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;

}

.background2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/habitacion2.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.background-wall {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background-color: #5C94FC;
    z-index: 1;
}

/* Overlay oscuro para mejorar el contraste */


/* ---- ELEMENTOS DE NAVEGACIÓN ---- */
.top-menu {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex
;
    align-items: center;
    z-index: 999;
    justify-content: center;
}

.menu {
    width: 100%;
    text-align: center;
    position: absolute;
    display: flex;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    justify-content: center;
}

.nav-title, .shows {
    color: white;
    font-size: 2rem;
    text-decoration: none;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    margin-right: 50px;
    
}

.title {
    font-size: 2.5rem;
    color: #fbec5d;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    margin: 0;
}

/* ---- MENÚS DE ASTERISCOS ---- */
.asterisk-menu, .right-menu {
    display: flex;
    align-items: center;
    gap: 10px;
}

.asterisk {
    font-size: 5rem;
    font-weight: bold;
    text-decoration: none;
    margin: 0 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s ease;
    transform-origin: 50% 30%;
}

.asterisk:hover {
    animation: spin 0.8s linear infinite;
}

/* Colores de los asteriscos */
.yellow { color: #fbec5d; }
.pink { color: #ff00ff; }
.cyan { color: #00ffff; }
.orange { color: #ff4500; }
.faded-red { color: #E8A0A3; }

/* ---- LOGOS Y BOTONES ---- */
.logo-container img {
    max-width: 400px;
    height: auto;
}

.buttons-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 100px;
}

.button-link {
    position: relative;
    text-decoration: none;
    color: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.button-image {
    width: 200px;
    height: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.button-text {
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    font-size: 2.5rem;
    color: #ff09ef;
    -webkit-text-stroke: 1px rgb(0, 0, 0);
    text-stroke: 1px rgb(0, 0, 0);
    margin-bottom: -15px;
    z-index: 10;
    display: inline-block;
}

.button-link:hover .button-image {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px #FEF200);
}

.buy-button {
    background-color: yellow;
    color: black;
    border: none;
    padding: 10px 20px;
    font-size: 1.2em;
    cursor: pointer;
    margin-top: 10px;
    border-radius: 30px;
    font-weight: bold;
}

.buy-button:hover {
    background-color: #ffec00;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

/* ---- PERSONAJES ---- */
.characters {
    /* position: absolute; */
    /* left: 0; */
    /* bottom: 0; */
    height: 60%;
}

.characters img {
    height: 100%;
    display: block;
    margin-top: 190px;
    max-width: 50vw;
}

/* ---- RELOJ ---- */
.clock {
    color: white;
    font-size: 1.8rem;
    text-decoration: none;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.clock img {

    max-width: 60px;
    margin-left: 20px;
}

.clock-icon {
    width: 35px;
    height: 35px;
    border: 3px solid white;
    border-radius: 50%;
    margin-left: 20px;
    position: relative;
}

.clock-icon::before, .clock-icon::after {
    content: '';
    position: absolute;
    background-color: white;
    top: 50%;
    left: 50%;
    transform-origin: left;
}

.clock-icon::before {
    width: 40%; 
    height: 2px;
}

.clock-icon::after {
    width: 25%; 
    height: 2px; 
    transform: rotate(90deg); 
    transform-origin: top left;
    margin-top: -25%;
}

/* ---- CARRUSELES ---- */
.carousel-container {
    /* position: absolute; */
    /* top: 50%; */
    /* right: 100px; */
    /* transform: translateY(-50%); */
    text-align: center;
}


.carousel {
display: flex;
    align-items: center;
    position: relative;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    width: 50vh;
    max-width: 70vw;
}


.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 2em;
    cursor: pointer;
    padding: 10px;
    z-index: 10;
}

.carousel-button.prev {
    left: -42px;
    border-radius: 80px;
    background-color: black;
    padding: 1px 10px;
}

.carousel-button.next {
    right: -42px;
    border-radius: 80px;
    background-color: black;
    padding: 1px 10px;
}

.carousel-button:hover {
    background-color: rgb(55, 55, 55);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}
.carousel-section {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    padding: 2rem;
}

.carousel-content {
    display: flex
    ;
        gap: 12rem;
        align-items: flex-start;
        justify-content: space-around;
}

.carousel-arrow {
    background-color: black;
    color: white;
    border: 2px solid white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 2rem;
    cursor: pointer;
    margin: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---- POSTERS Y RELEASES ---- */
.poster {
    width: 100%;
    display: none;
}

.poster.active {
    display: block;
}

.release-item {
    text-align: center;
}

.release-item img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    border: 3px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.release-info {
    margin-top: 1rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.release-info p {
    margin: 2px 0;
}

/* ---- CONTENIDO PRINCIPAL (TV) ---- */
.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    z-index: 5;
    margin-bottom: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.tv-video{
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 15px;
    object-fit: contain;
    position: absolute;
    transform: translateX(0%);
    z-index: -1;
}

.tv-container {
    max-width: 60%;
    max-height: 60vh;
}

.tv-image {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.tv-video, .tv-image {
    max-height: 50vw;
    max-height: 59vh;
}

/* ---- GALERÍA DE VIDEOS ---- */
.video-gallery {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    max-width: 600px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.thumbnails-track {
    display: flex;
    gap: 10px;
    overflow: hidden;
    justify-content: center;
    flex-grow: 1;
}

.thumbnail {
    width: 140px;
    height: 80px;
    object-fit: cover;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.thumbnail:hover {
    transform: scale(1.05);
}

.gallery-arrow {
    background: #222;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
    cursor: pointer;
    flex-shrink: 0;
    margin: 0 10px;
}

/* ---- REPRODUCTOR DE MÚSICA ---- */
.player-section {
    position: absolute;
    bottom: 5%;
    left: 5%;
    width: 100%;
    max-width: 80%;
    margin: 0 auto;
    left: 0;
    right: 0;
    transform: scale(1);
    z-index: 20;
}

/* ---- PISO DE AJEDREZ ---- */
.checkerboard-floor {
    height: 10%;
    width: 100%;
    background-color: #1a1a1a;
    background-image:
        linear-gradient(45deg, #333 25%, transparent 25%),
        linear-gradient(-45deg, #333 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #333 75%),
        linear-gradient(-45deg, transparent 75%, #333 75%);
    background-size: 60px 60px;
    background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
    position: absolute;
    bottom: 0;
    left: 0;
    perspective: 50px;
    border-top: 5px solid black;
}

/* ---- OTROS ELEMENTOS ---- */
.door {
    position: absolute;
    left: 10%;
    bottom: 0;
    width: 150px;
    height: 320px;
    background-color: #A362D8;
    border: 5px solid #000;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.playfair-display-uniquifier {
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-style: normal;
}

/* ---- ANIMACIONES ---- */
@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* ---- MENÚS ---- */
.menu-item {
    position: relative;
    display: inline-block;
}
.menu-item a{
    display: block;
    transform-origin: 50% 44%;
}
.menu-label {
    display: none;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -108%);
    bottom: -1.0em;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 1rem;
    white-space: nowrap;
    pointer-events: none;
    z-index: 1000;
}
.menu-item:hover .menu-label {
    display: block;
}

.row-shows {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    gap: 40px;

}
.col {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }
}

.parallax-nube {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    background: url('../images/nube.png');
    background-repeat: no-repeat;
    background-size: 60%;
    background-position: center;
    z-index: -1;
}

/* ---- TEXTOS MULTICOLOR ---- */
.button-text {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    -webkit-text-stroke: 2px rgb(0, 0, 0);
    margin-bottom: -15px;
    z-index: 10;
    display: inline-block;
}

.button-text .letter-1 { color: #ff00ff; } /* Rosa/Magenta */
.button-text .letter-2 { color: #00ffff; } /* Cian */
.button-text .letter-3 { color: #ffff00; } /* Amarillo */
.button-text .letter-4 { color: #ff4500; } /* Naranja */
.button-text .letter-5 { color: #00ff00; } /* Verde */
.button-text .letter-6 { color: #ff0080; } /* Rosa fuerte */
.button-text .letter-7 { color: #8000ff; } /* Violeta */
.button-text .letter-8 { color: #ff8000; } /* Naranja claro */

/* ---- RESPONSIVE GLOBAL STYLES ---- */
@media screen and (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
}
/* Tablet Portrait */
@media screen and (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
    
    .main-container, .main-container3, .page-container {
        padding: 15px;
        gap: 15px;
    }
    
    .top-menu {
        left: 50%;
        top: 15px;
        font-size: 0.9rem;
    }
    
    .nav-title, .shows {
        font-size: 1.5rem;
        margin-right: 30px;
    }
    
    .title {
        font-size: 2rem;
    }
    
    .asterisk {
        font-size: 4rem;
        margin: 0 5px;
    }
    
    .logo-container img {
        max-width: 300px;
    }
    
    .buttons-section {
        gap: 50px;
        flex-wrap: wrap;
    }
    

    
    .button-text {
        font-size: 2rem;
    }
    
    .carousel-section {
        padding: 1.5rem;
    }
    
    .carousel-content {
        gap: 1.5rem;
    }
    
    .release-item img {
        width: 200px;
        height: 200px;
    }
    
    .tv-container {
        max-width: 80%;
    }
    
    .video-gallery {
        width: 80%;
        bottom: 10%;
    }
    
    .thumbnail {
        width: 100px;
        height: 60px;
    }
}

/* Mobile Landscape */
@media screen and (max-width: 640px) and (orientation: landscape) {
    .main-container, .main-container3 {
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        gap: 20px;
        padding: 10px;
    }
    
    .logo-container img {
        max-width: 200px;
    }
    
    .buttons-section {
        flex-direction: column;
        gap: 20px;
    }
    
    .button-image {
        width: 100px;
    }
    
    .button-text {
        font-size: 1.5rem;
    }
    
    .characters {
        height: 40%;
    }
    
    .carousel-section {
        padding: 1rem;
    }
    
    .tv-container {
        max-width: 50%;
        max-height: 70vh;
    }
}

/* Mobile Portrait */
@media screen and (max-width: 480px) {
            .floating-logo {
        position: absolute;
        left: 50%;
        top: 35%;
        width: 50%;
        height: auto;
        transform: translate(-50%, -50%);
        z-index: -2;
        pointer-events: none;
        animation: logoCloudFloat 12s ease-in-out infinite;
    }

    .floating-cloud {
        position: absolute;
        left: 50%;
        top: 35%;
        width: 60%;
        height: auto;
        transform: translate(-50%, -50%);
        z-index: -3;
        pointer-events: none;
        opacity: 0.6;
        animation: logoCloudFloat 12s ease-in-out infinite;
    }
    body, html {
        overflow-x: hidden;
    }
    
    .main-container, .main-container3, .page-container {
        padding: 10px;
        gap: 10px;
        min-height: 100vh;
    }
    
    .top-menu {
        position: fixed;
        top: 0px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0px;
        backdrop-filter: blur(10px);
        z-index: 1000;
        flex-direction: column;
    }
    .player-section{
        max-width: 100%;
    }
    
    .nav-title, .shows {
        font-size: 1.2rem;
        margin-right: 0;
    }
    
    .title {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .asterisk-menu {
        gap: 5px;
        margin-top: -22px;
        margin-bottom: -22px;
    }
    
    .asterisk {
        font-size: 4rem;
        margin: 0 3px;
    }
    
    .clock img {
        height: 35px;
        margin-left: 10px;
    }
    
    .menu-label {
        font-size: 0.8rem;
        padding: 2px 8px;
    }
    
    .logo-container img {
        max-width: 250px;
    }
    
    .buttons-section {
        flex-direction: column;
        gap: 0px;
        align-items: center;
        margin-top: 0px;
    }
    
    .button-image {
        width: 180px;
    }
    
    .button-text {
        font-size: 1.8rem;
    }
    
    .characters {
        height: 50%;
        margin-top: 20px;
    }
    
    .carousel-section {
        padding: 1rem;
        margin: 0;
    }
    
    .carousel-content {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        margin: 1rem 0;
    }
    
    .release-item img {
        width: 180px;
        height: 180px;
    }
    
    .tv-container {
        max-width: 90%;
        margin-top: 0px;
    }
    
    .video-gallery {
        width: 95%;
        bottom: 20%;
        padding: 8px;
    }
    
    .thumbnail {
        width: 80px;
        height: 50px;
    }
    
    .gallery-arrow {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
        margin: 0 5px;
    }
    
    .player-section {
        bottom: -40px;;
        left: 2.5%;
        width: 95%;
    }
    
    .row {
        flex-direction: column;
        margin-top: 100px;
        gap: 30px;
    }
    
    .col {
        align-items: center;
    }
}



/* Large Desktop */
@media screen and (min-width: 1200px) {
    .logo-container img {
        max-width: 500px;
    }
    
    .buttons-section {
        gap: 150px;
    }
    
    .button-image {
        width: 250px;
    }
    
    .button-text {
        font-size: 3rem;
    }
    
    .carousel-section {
        padding: 3rem;
    }
    
    .carousel-content {
    }
    
    .release-item img {
        width: 300px;
        height: 300px;
    }
    
    .video-gallery {
        width: 50%;
        max-width: 800px;
    }
    
    .thumbnail {
        width: 160px;
        height: 90px;
    }
}



/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .asterisk:hover {
        animation: none;
    }
    
    .button-link:hover .button-image {
        transform: none;
        filter: none;
    }
    
    .button-link:active .button-image {
        transform: scale(0.95);
    }
    
    .thumbnail:hover {
        transform: none;
    }
    
    .thumbnail:active {
        transform: scale(0.95);
    }
}


/* SPA containers - hidden by default */
.spa-page-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    background: #000;
}

.spa-page-container.active {
    display: block;
}

/* Loading overlay */
.loading-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: 9999;
}
.loading-overlay.show {
    display: flex;
}
.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #ff6b9d;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Home button styles */
.asterisk.blue {
    color: #00BFFF !important;
    font-size: 1.2em;
}

/* Contacto page styles 
.contact-socials {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    gap: 3rem;
    flex-wrap: wrap;
    padding: 20px;
}
*/
.glass-social-button {
    position: relative;
    width: 100px;
    height: 100px;
    cursor: pointer;
    transition: transform 0.2s ease;
    animation: socialFloat 8s ease-in-out infinite;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: url(#frosted);
    -webkit-backdrop-filter: url(#frosted);
    border: 2px solid transparent;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.6), 0 16px 32px rgba(0, 0, 0, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.glass-social-button:nth-child(1) { animation-delay: 0s; }
.glass-social-button:nth-child(2) { animation-delay: 1.6s; }
.glass-social-button:nth-child(3) { animation-delay: 3.2s; }
.glass-social-button:nth-child(4) { animation-delay: 4.8s; }
.glass-social-button:nth-child(5) { animation-delay: 6.4s; }



.glass-social-icon {
    font-size: 2.8rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.glass-social-icon.yt { color: #FF0000; }
.glass-social-icon.ig { color: #E4405F; }
.glass-social-icon.tt { color: #000; }
.glass-social-icon.am { color: #fa233b; }
.glass-social-icon.sp { color: #1DB954; }



@keyframes logoCloudFloat {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    33% { 
        transform: translate(-55%, -55%) scale(1);
        opacity: 1;
    }
    66% { 
        transform: translate(-55%, -45%) scale(1);
        opacity: 1;
    }
}

@keyframes cloudFloat {
    0%, 100% { 
        background-position: 50% 50%;
        transform: scale(1);
    }
    25% { 
        background-position: 48% 52%;
        transform: scale(1.02);
    }
    50% { 
        background-position: 52% 48%;
        transform: scale(1.01);
    }
    75% { 
        background-position: 49% 51%;
        transform: scale(1.015);
    }
}

/* Floating Music Button */
.floating-music-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 157, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

.floating-music-btn:hover {
    transform: scale(1.1);
    background: rgba(255, 107, 157, 1);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.5);
}

.floating-music-btn.playing {
    animation: musicPulse 2s ease-in-out infinite;
}

.floating-music-btn.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(100px);
}

.floating-music-btn.subtle {
    opacity: 0.3;
    transform: scale(0.8);
    background: rgba(255, 107, 157, 0.4);
    box-shadow: 0 2px 8px rgba(255, 107, 157, 0.15);
}

.floating-music-btn.subtle:hover {
    opacity: 0.7;
    transform: scale(0.9);
    background: rgba(255, 107, 157, 0.6);
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.25);
}

.floating-music-btn i {
    font-size: 24px;
    color: white;
}

@keyframes musicPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
    }
    50% {
        box-shadow: 0 6px 25px rgba(255, 107, 157, 0.8);
    }
}
@media (max-width: 600px) {
    .floating-music-btn {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }
    .floating-music-btn i {
        font-size: 20px;
    }
    
    /* Hide Spotify footer on mobile */
    .player-section {
        display: none;
    }
    
}