/* CSS Styles for Metamorfosis Website */   
     
    /* ------------------------ Reset básico ------------------------ */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: 'Marcellus', sans-serif;
        overflow-x: hidden;
        background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
        min-height: 100vh;
        position: relative;
    }

    /* Efecto de estrellas del Fondo*/
    body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: 
            radial-gradient(2px 2px at 20px 30px, white, transparent),
            radial-gradient(2px 2px at 60px 70px, white, transparent),
            radial-gradient(1px 1px at 50px 50px, white, transparent),
            radial-gradient(1px 1px at 130px 80px, white, transparent),
            radial-gradient(2px 2px at 90px 10px, white, transparent);
        background-size: 200px 200px;
        animation: twinkle 5s infinite;
        opacity: 0.6;
        z-index: 1;
        pointer-events: none;
    }

    @keyframes twinkle {
        0%, 100% { opacity: 0.6; }
        50% { opacity: 0.3; }
    }

    /* ------------------------ Contenido principal ------------------------ */
    .main-content {
        min-height: calc(100vh - 80px); /* resta navbar aprox */
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        text-align: center;
        position: relative;
        z-index: 2;
        padding: 1.2rem 1rem;
    }

    
    /* El contenido siempre encima */
    .main-contentInicio,
    .navbar,
    .footer-main,
    .footer-bottom {
        position: relative;
        z-index: 2;
    }

    /* TITULO */
    h1 {
        font-size: clamp(1.6rem, 4vw, 4.2rem);
        font-weight: 300;
        letter-spacing: 0.35rem;
        margin-bottom: 1.4rem;

        background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;

        animation: glow 3s ease-in-out infinite;
    }


    @keyframes glow {
        0%, 100% { opacity: 1; }
        50% { opacity: 0.8; }
    }

    /* == Spinner == */
    .spinner-wrapper {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        color: #fff;
        opacity: 0.8;
        animation: fadeIn 0.5s ease-in-out;        
        text-align: center;
        padding: 30px 0;
    }

    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 0.8; }
    }

    .hero {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        flex: 1;
        justify-content: center;
    }

    .video-container {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }



    /* ======================================== NAVBAR ======================================== */
/* ======================================== NAVBAR ======================================== */

.navbar-metamorfosis {
    background: rgba(15, 12, 41, 0.85) !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(138, 43, 226, 0.3);
    position: sticky !important;
    top: 0;
    z-index: 1000 !important;
    width: 100%;
}

/* Logo consistente en todas las páginas */
.navbar-metamorfosis .navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, #b993d6, #8ca6db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 0;
    margin: 0;
}

.navbar-metamorfosis .navbar-brand img {
    height: clamp(2.5rem, 3.5vw, 3rem);
    width: auto;
    object-fit: contain;
    margin-left: 1rem;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.navbar-metamorfosis .navbar-brand img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 8px rgba(185, 147, 214, 0.7));
}

/* Links del menú */
.navbar-metamorfosis .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 400;
}

.navbar-metamorfosis .nav-link:hover {
    color: #b993d6 !important;
    transform: translateY(-2px);
}

.navbar-metamorfosis .nav-link:active,
.navbar-metamorfosis .nav-link:focus {
    color: #b993d6 !important;
}

/* Botón Soy Miembro consistente */
.navbar-metamorfosis .btn-member {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    color: white !important;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    text-decoration: none;
    display: inline-block;
}

.navbar-metamorfosis .btn-member:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
    color: white !important;
}

/* Toggler para móviles */
.navbar-metamorfosis .navbar-toggler {
    border-color: rgba(185, 147, 214, 0.5);
    padding: 0.25rem 0.75rem;
}

.navbar-metamorfosis .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(185, 147, 214, 0.3);
}

.navbar-metamorfosis .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Responsive del Navbar */
@media (max-width: 991px) {
    .navbar-metamorfosis .navbar-nav {
        padding: 1rem 0;
    }
    
    .navbar-metamorfosis .nav-link {
        margin: 0.5rem 0;
        padding: 0.5rem 1rem;
    }
    
    .navbar-metamorfosis .btn-member {
        margin-top: 1rem;
        width: 100%;
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    .navbar-metamorfosis {
        padding: 0.3rem 0;
    }
    
    .navbar-metamorfosis .navbar-brand img {
        height: 2.2rem;
        margin-left: 0.5rem;
    }
}

@media (max-width: 576px) {
    .navbar-metamorfosis .navbar-brand img {
        height: 2rem;
    }
}

    /* ======================================== FOOTER ======================================== */
    .footer-main {
        background: rgba(15, 12, 41, 0.95);
        -webkit-backdrop-filter: blur(10px); /* Safari/iOS */
        backdrop-filter: blur(10px);
        padding: 1.5rem 0;
        margin-top: 4rem;
        position: relative;
        z-index: 10;
        border-top: 1px solid rgba(138, 43, 226, 0.3);
    }

    .footer-logo {
        font-size: 1.3rem;
        font-weight: bold;
        background: linear-gradient(45deg, #b993d6, #8ca6db);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        margin-bottom: 0.5rem;
    }

    .footer-links {
        display: flex;
        flex-wrap: wrap;
        gap: 1.5rem;
        justify-content: center;
        align-items: center;
    }

    .footer-links a {
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
        transition: all 0.3s ease;
        font-size: 0.9rem;
    }

    .footer-links a:hover {
        color: #b993d6;
    }

    .footer-bottom {
        background: rgba(10, 8, 30, 0.98);
        padding: 0.8rem 0;
        text-align: center;
        border-top: 1px solid rgba(138, 43, 226, 0.2);
        z-index: 100;  
    }

    .footer-bottom p {
        margin: 0;
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.85rem;
    }

    .footer-bottom a {
        color: #8ca6db;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .footer-bottom a:hover {
        color: #b993d6;
    }

    
    /* ======================================== MODALES ======================================== */

    /*Para mantener el video vertical y centrado*/
    .video-wrapper {
        width: 100%;
        max-width: 350px; /* tamaño tipo celular */
        margin: 0 auto;
    }

    .video-vertical {
        width: 100%;
        aspect-ratio: 9 / 16; /* Formato vertical */
        background: #000;
        border-radius: 10px;
        box-shadow: 0 0 18px rgba(140, 110, 255, 0.4);
        border: 1px solid rgba(150, 130, 255, 0.3);
    }

    /* ------------------------ ESTILOS GALAXIA PARA TODOS LOS MODALES ------------------------ */

    /* Fondo oscuro con gradiente espacial.
    Asegura de no bloquear el sticky con overflow en .modal-content: eliminamos overflow:hidden si lo había. */
    .modal-content {
        display: flex; /* Layout vertical para que header, body y footer se comporten como columnas */
        flex-direction: column;

        /* Ajuste de altura: deja un pequeño margen respecto del viewport */
        max-height: calc(100vh - 2rem); /* ajusta 2rem si quieres más/menos espacio arriba/abajo */
        
        background: radial-gradient(circle at top, #1a1a2e, #0a0a16 70%); /* apariencia galaxia */
        border: 1px solid rgba(120, 90, 255, 0.3);
        border-radius: 18px;
        position: relative; 

    }

    /* Modal dialog centrado seguirá adaptándose pero aseguramos que no sobrepase el viewport */
    .modal-dialog {
        margin: 1rem auto;
        max-width: 900px; 
    }

    /* Encabezado del modal */
    /* Header fijo (sticky) dentro del modal-content */
    .modal-header {
        position: sticky;
        top: 0;
        z-index: 20; /* suficientemente alto para superar sombras del body */
        background: linear-gradient(180deg, rgba(26,26,46,0.95), rgba(10,10,22,0.95));
        border-bottom: 1px solid rgba(150, 130, 255, 0.12);
        /* Para que el header mantenga su fondo opaco al pegar */
    }

    .modal-title {
        font-size: 1.3rem;
        font-weight: 600;
        letter-spacing: 1px;
        text-shadow: 0 0 8px rgba(170, 150, 255, 0.6);
        color: #c8bfff;
    }

    /* Botón cerrar estilo futurista */
    .modal-header .btn-close {
        filter: invert(80%);
        opacity: 0.8;
        transition: 0.2s ease;
    }
    .modal-header .btn-close:hover {
        opacity: 1;
        filter: drop-shadow(0 0 10px #a289ff);
    }

    /* Header fijo dentro del modal */
    .modal-content {
        position: relative;
        overflow: hidden;
    }

    .modal-header {
        position: sticky;
        top: 0;
        z-index: 10;
        background: radial-gradient(circle at top, #1a1a2e, #0a0a16 70%);
        border-bottom: 1px solid rgba(150, 130, 255, 0.2);
    }


    /* Cuerpo del modal */
    /* El cuerpo ocupa el espacio restante y será el que haga scroll */
    .modal-body {        
        flex: 1 1 auto;/* flex:1 hace que tome el espacio disponible */

        overflow-y: auto; /* enable scrolling dentro del body */


        padding: 1.25rem; 

        /* Modern fallbacks / behavior */
        overscroll-behavior: contain; /* evita scroll chaining en navegadores modernos */
        scroll-behavior: smooth; /* smooth programmatic scrolling */

        /* Apply iOS momentum scrolling only where supported (older iOS Safari) */
        @supports (-webkit-overflow-scrolling: touch) {
            .modal-body {
                -webkit-overflow-scrolling: touch;
            }
        }

    }

    /* Footer opcional */
    .modal-footer {
        border-top: 1px solid rgba(150, 130, 255, 0.2);
    }

    /* Animación de entrada tipo "warp" */
    .modal.fade .modal-dialog {
        transform: scale(0.7) translateY(-20px);
        opacity: 0;
        transition: all 0.35s cubic-bezier(0.3, 0.1, 0.3, 1.0);
    }

    .modal.fade.show .modal-dialog {
        transform: scale(1) translateY(0);
        opacity: 1;
    }

    /* Sombras neón al enfocar elementos dentro del modal */
    .modal-content input:focus,
    .modal-content select:focus,
    .modal-content textarea:focus {
        border-color: #9d7aff;
        box-shadow: 0 0 12px rgba(150, 120, 255, 0.7);
    }

    /* Botones dentro del modal estilo galaxia */
    .modal-content .btn-galaxy {
        background: linear-gradient(45deg, #6b4eff, #9b78ff);
        border: none;
        color: #fff;
        padding: 10px 18px;
        border-radius: 10px;
        font-weight: 500;
        letter-spacing: 0.8px;
        text-shadow: 0 0 5px rgba(255,255,255,0.4);
        transition: 0.25s ease;
    }

    .modal-content .btn-galaxy:hover {
        background: linear-gradient(45deg, #8063ff, #b89aff);
        transform: scale(1.03);
        box-shadow: 0 0 15px rgba(150, 120, 255, 0.7);
    }

    /* Sombras de luz alrededor del video */
    .video-vertical {
        box-shadow: 0 0 18px rgba(140, 110, 255, 0.4);
        border: 1px solid rgba(150, 130, 255, 0.3);
        border-radius: 12px;
    }

    /* Scrollbar galáctico dentro del modal */
    .modal-body::-webkit-scrollbar {
        width: 8px;
    }

    .modal-body::-webkit-scrollbar-thumb {
        background: linear-gradient(#8c79ff, #5c4bff);
        border-radius: 10px;
    }

    .modal-body::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
    }


    /* ------------------------ ESTILOS DE MODALES CON MÁS DE UN VIDEO VERTICAL------------------------ */
    .section-title {
        font-size: 1.1rem;
        font-weight: 600;
        color: #dcd6ff;
        margin-bottom: 10px;
        text-shadow: 0 0 6px rgba(150, 120, 255, 0.5);
    }

    .section-phrase {
        font-style: italic;
        color: #c7bfff;
        text-align: center;
        margin-top: 8px;
        text-shadow: 0 0 4px rgba(150, 120, 255, 0.3);
    }

    .section-block {
        padding-bottom: 15px;
        border-bottom: 1px solid rgba(150, 130, 255, 0.15);
    }

    .section-block:last-of-type {
        border-bottom: none;
    }


    /* ------------------------ ESTILOS DE MODALES CON UN VIDEO HORIZONTAL DE YOUTUBE ------------------------ */
    .section-video-row {
        border-bottom: 1px solid rgba(150, 130, 255, 0.15);
        padding-bottom: 20px;
    }
    .section-video-row:last-of-type {
        border-bottom: none;
    }

    .section-desc {
        color: #cfc8ff;
        font-size: 0.95rem;
    }

    /* Contenedor YOUTUBE responsive */
    .youtube-wrapper {
        position: relative;
        width: 100%;
        padding-bottom: 56.25%; /* 16:9 */
        background: #000;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 0 18px rgba(140, 110, 255, 0.4);
        border: 1px solid rgba(150, 130, 255, 0.3);
    }

    .youtube-horizontal {
        position: absolute;
        top: 0; left: 0;
        width: 100%;
        height: 100%;
    }

    /* ------------------------ ESTILOS DE ACORDEONES ------------------------ */

    /* Contenedor general del acordeón */
    .accordion {
        --galaxy-border: rgba(170, 150, 255, 0.25);
        --galaxy-border-strong: rgba(170, 150, 255, 0.5);
        --galaxy-bg: rgba(22, 16, 40, 0.65);
        --galaxy-bg-active: rgba(35, 25, 65, 0.9);
        --galaxy-text: #e5ddff;
    }

    /* Cada ítem */
    .accordion-item {
        background: var(--galaxy-bg);
        border: 1px solid var(--galaxy-border);
        border-radius: 14px !important;
        margin-bottom: 14px;
        box-shadow: 0 0 22px rgba(150, 130, 255, 0.15);
        overflow: hidden;
        -webkit-backdrop-filter: blur(6px); /* Safari/iOS */
        backdrop-filter: blur(6px);
    }

    /* Botón del header */
    .accordion-button {
        background: var(--galaxy-bg);
        color: var(--galaxy-text);
        padding: 16px 20px;
        font-size: 1.1rem;
        letter-spacing: 0.5px;
        font-weight: 500;
        border: none;
        transition: 0.25s ease;
        box-shadow: none !important;
    }

    /* Cuando está colapsado */
    .accordion-button.collapsed {
        color: #cabdff;
        background: var(--galaxy-bg);
    }

    /* Cuando está abierto */
    .accordion-button:not(.collapsed) {
        background: var(--galaxy-bg-active);
        color: white;
        border-bottom: 1px solid var(--galaxy-border-strong);
        box-shadow: inset 0 0 15px rgba(180, 150, 255, 0.25);
    }

    /* Flecha del acordeón */
    .accordion-button::after {
        filter: brightness(130%) hue-rotate(235deg);
        opacity: 0.8;
    }

    /* Body del acordeón */
    .accordion-body {
        background: rgba(10, 8, 25, 0.55);
        color: var(--galaxy-text);
        padding: 20px 24px;
        border-top: 1px solid var(--galaxy-border);
    }

    /* Hover suave */
    .accordion-button:hover {
        background: rgba(45, 32, 85, 0.8);
        color: white;
    }

    /* ------------------------ ESTILO GALAXIA PARA PRODUCTOS DE TIENDA ------------------------ */
    .tienda-card {
        background: rgba(20, 15, 40, 0.75);
        border: 1px solid rgba(150, 130, 255, 0.3);
        border-radius: 16px;
        padding: 18px;
        text-align: center;
        box-shadow: 0 0 20px rgba(150, 120, 255, 0.15);
        transition: 0.3s ease;
    }

    .tienda-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 0 25px rgba(170, 140, 255, 0.3);
    }

    .tienda-title {
        color: #e5ddff;
        font-size: 1.1rem;
        margin-bottom: 10px;
        margin-top: 10px;
        text-shadow: 0 0 6px rgba(160, 140, 255, 0.6);
    }

    .tienda-img {
        width: 100%;
        border-radius: 12px;
        margin-bottom: 14px;
        box-shadow: 0 0 15px rgba(110, 85, 255, 0.4);
    }

    .tienda-card .tienda-desc {
        color: #c3c8cf;
        font-size: 0.9rem;
        margin-bottom: 12px;
        text-align: justify !important;

        /* Better cross-browser justification behavior */
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;             /* allows hyphenation to reduce gaps */
        overflow-wrap: anywhere;   /* wraps long/forced words */
        word-break: break-word;    /* fallback for older engines */

        width: 100%;
        display: block;
    }

    /* Only apply text-justify where the browser actually supports it */
    @supports (text-justify: inter-word) {
        .tienda-card .tienda-desc {
            text-justify: inter-word;
        }
    }


    .tienda-price {
        color: #c3c8cf;
        font-weight: 600;
        margin-bottom: 14px;
        text-shadow: 0 0 4px rgba(255,255,255,0.4);
    }

    /* Controles del carrusel estilo galaxia */
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        filter: invert(100%) drop-shadow(0 0 8px #b896ff);
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 12%;
    }

    /* Evitar que las imágenes salten de tamaño */
    .carousel-inner img {
        border-radius: 12px;
        object-fit: cover;
        box-shadow: 0 0 15px rgba(110, 85, 255, 0.4);
    }


    /* ------------------------ ESTILO GALAXIA PARA CARDS DE CONTACTO ------------------------ */
    .social-card {
        margin-top: 20px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(150, 130, 255, 0.15);
        border-radius: 14px;
        -webkit-backdrop-filter: blur(8px); /* Safari/iOS */
        backdrop-filter: blur(8px);
        padding: 15px;
        transition: 0.3s ease;
    }

    .social-card:hover {
        border-color: rgba(180, 150, 255, 0.4);
        box-shadow: 0 0 18px rgba(170, 140, 255, 0.3);
        transform: translateY(-3px);
    }

    /* ================== ÍCONOS ================== */
    .social-icon {
        font-size: 2.4rem;
        color: #cfc5ff;
        text-shadow: 0 0 10px rgba(180, 120, 255, 0.6);
        transition: 0.3s ease;
    }

    .social-card:hover .social-icon {
        text-shadow: 0 0 14px rgba(200, 150, 255, 0.9);
        transform: scale(1.07);
    }

    /* ================== TITULO DE CARD ================== */
    .social-card .card-title {
        color: #ffffff;
        font-size: 1.1rem;
        font-weight: 600;
        text-shadow: 0 0 6px rgba(170, 150, 255, 0.5);
        margin-bottom: 4px;
    }

    /* ================== HANDLE / NOMBRE DE USUARIO ================== */
    .social-handle {
        color: #d8d1ff;
        font-size: 0.9rem;
        opacity: 0.9;
        text-shadow: 0 0 4px rgba(200, 180, 255, 0.3);
    }

    /* ================== TEXTO PRINCIPAL ================== */
    .modal-body p {
        color: #ffffff !important;
        font-size: 1.05rem;
        margin-bottom: 2rem;
        text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
    }


    /* ------------------------ ESTILO GALAXIA PARA PAGO ------------------------ */
    #montoPago {
        background: rgba(255,255,255,0.05);
        color: #fff;
        border: 1px solid rgba(150,130,255,0.25);
    }

    #montoPago::placeholder {
        color: #cfc7ff;
    }

    .form-label {
        font-weight: 500;
        text-shadow: 0 0 6px rgba(170,150,255,0.6);
    }

    /* SELECT estilo galaxia */
    #metodoPago {
        background-color: rgba(20, 17, 40, 0.8)!important;
        color: #fff!important;
        border: 1px solid rgba(150, 130, 255, 0.4)!important;
        border-radius: 8px;
        padding: 10px;
        -webkit-backdrop-filter: blur(4px); /* Safari/iOS */
        backdrop-filter: blur(4px);
    }

    /* Opciones del select */
    #metodoPago option {
        background-color: #0f0b20;
        color: #fff;
    }

    /* Hover visual (solo en algunos navegadores) */
    #metodoPago option:hover {
        background-color: #1c1538;
    }

    .monto-badge {
        background: linear-gradient(135deg, #9333ea, #a855f7, 0.2);
        padding: 0.6rem 1.2rem;
        color: white;
        border-radius: 30px;
        display: inline-block;
        font-size: 1.4rem;
        font-weight: bold;
        text-shadow: 0 0 15px rgba(147, 51, 234, 0.6);
        margin: 10px auto;
    }


    /* ------------------------ MODAL PROXIMAMENTE ------------------------ */

    /* Contenedor principal con efecto glass */
    .modal-proximamente {
        background: radial-gradient(circle at top, #1a1a2e, #0a0a16 70%); /* apariencia galaxia */
        border: 1px solid rgba(180, 150, 255, 0.2);
        border-radius: 20px !important;
        box-shadow: 0 0 25px rgba(170, 140, 255, 0.45);
        animation: modalFade 0.5s ease;
    }

    /* Imagen principal */
    .proximo-icon img {
        width: 120px;
        height: auto;
        filter: drop-shadow(0 0 12px rgba(200, 170, 255, 0.7));
        animation: levitar 3s ease-in-out infinite;
        -webkit-user-select: none; /* Safari / iOS */
        user-select: none;
        pointer-events: none;
    }

    /* Animación suave */
    @keyframes levitar {
        0%   { transform: translateY(0); }
        50%  { transform: translateY(-10px); }
        100% { transform: translateY(0); }
    }

    /* Título principal */
    .modal-proximamente .modal-title {
        color: #e7ddff;
        font-size: 1.4rem;
        font-weight: 600;
        text-shadow: 0 0 10px rgba(170, 140, 255, 0.6);
    }

    /* Subtítulo */
    .proximo-title {
        color: #efe9ff;
        font-size: 1.2rem;
        font-weight: 500;
        text-shadow: 0 0 6px rgba(140, 110, 255, 0.45);
    }

    /* Descripción */
    .proximo-desc {
        color: #cfcfe8;
        font-size: 1rem;
        line-height: 1.5;
    }

    /* ------------------------ CALENDARIO CANVA — HORIZONTAL ------------------------ */

    .calendario-responsive {
        width: 100%;
        max-width: 1100px;
        margin: 0 auto;
        padding: 0 1rem;
    }

    .calendario-iframe {
        width: 100%;
        aspect-ratio: 16 / 9;   /* <-- Canva horizontal */
        border: none;
        border-radius: 12px;
        overflow: hidden;
    }

    #modalCalendario iframe {
        width: 100%;
        height: 100%;
    }


    /* ------------------------ MODAL TIENDA ------------------------ */

    /* Contenido del modal tienda */
    .modal-tienda-content {
        background: radial-gradient(circle at top, #1a1a2e, #0a0a16 70%) !important;
        border: 1px solid rgba(170, 150, 255, 0.3) !important;
        border-radius: 18px !important;
        padding: 1.5rem;
        box-shadow: 0 0 25px rgba(170, 150, 255, 0.3);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
    }

    /* Título del modal tienda */
    .modal-tienda-title {
        font-size: 1.4rem;
        font-weight: 600;
        background: linear-gradient(135deg, #9f7aea, #f3a4ff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: 0 0 12px rgba(180, 150, 255, 0.5);
        padding: 0.2rem 0;
        display: inline-block;
    }

    /* Grid de países */
    .tienda-country-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem;
        margin-top: 1.5rem;
    }



    .btn-country {
        flex: 0 0 calc(33.333% - 0.6rem);
        max-width: 180px;
    }

    /* Botones de países */
    .btn-country {
        display: block;
        padding: 0.85rem 1rem;
        background: rgba(80, 60, 150, 0.5);
        border: 1px solid rgba(160, 130, 255, 0.4);
        border-radius: 12px;
        text-align: center;
        color: #eee !important;
        font-weight: 500;
        font-size: 0.95rem;
        text-decoration: none !important;
        transition: all 0.25s ease;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

    .btn-country:hover {
        background: rgba(130, 110, 255, 0.7);
        border-color: rgba(200, 170, 255, 0.8);
        color: white !important;
        transform: translateY(-4px);
        box-shadow: 0 6px 18px rgba(175, 140, 255, 0.5);
    }

    .btn-country:active {
        transform: translateY(-2px);
    }

    /* Botón cerrar del modal tienda */
    #modalTienda .modal-footer .btn-secondary {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border: none;
        color: white;
        font-weight: 600;
        padding: 0.8rem 1.5rem;
        border-radius: 25px;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    }

    #modalTienda .modal-footer .btn-secondary:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
        background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    }

   







    /* ======================================== INDEX ======================================== */
    
    /* Botones Principales del Menú */
    .main-buttons {
        display: flex;
        gap: 6rem;
        margin-top: 3rem;
        padding-bottom: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .btn-menu {
        padding: 1rem 2.5rem;
        font-size: 1.1rem;
        font-weight: 600;
        border: none;
        border-radius: 50px;
        cursor: pointer;
        transition: all 0.4s ease;
        text-decoration: none;
        display: inline-block;
        background: rgba(255, 255, 255, 0.1);
        color: white;
        border: 2px solid rgba(255, 255, 255, 0.3);
        -webkit-backdrop-filter: blur(10px); /* Safari/iOS */
        backdrop-filter: blur(10px);
    }

    .btn-menu:hover {
        transform: translateY(-5px) scale(1.05);
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.5);
        box-shadow: 0 12px 35px rgba(255, 255, 255, 0.2);
        color: white;
    }


    #bg-video {
        position: relative;
        width: clamp(240px, 36vw, 720px);
        max-height: clamp(180px, 38vh, 380px);
        height: auto;
        object-fit: contain;
        margin: 0.6rem 0;
        z-index: 2;
        opacity: 0;
        display: block;
    }

    .fade-in {
        animation: fadeIn 2s ease forwards;
    }

    .fade-out {
        animation: fadeOut 2s ease forwards;
    }

    @keyframes fadeIn {
        from { opacity: 0; }
        to   { opacity: 1; }
    }

    @keyframes fadeOut {
        from { opacity: 1; }
        to   { opacity: 0; }
    }


























    /* ======================================== INICIO ======================================== */    
    
    #inicio{
        overflow-y: auto;    
        min-height: 90vh;
        margin-bottom: 2rem;
    }



    /* ------------------------ Botón Home con Brillos ------------------------ */
    .btn-galaxy {
        position: relative;
        display: inline-block;
        color: #fff;
        background: radial-gradient(circle at 30% 30%, #432371, #000);
        border: 1px solid #7b5ebc;
        border-radius: 50px;
        padding: 1rem 2rem;
        text-transform: uppercase;
        font-weight: 600;
        letter-spacing: 0.5rem;
        overflow: hidden;
        transition: all 0.3s ease;
        cursor: pointer;
        z-index: 1;
        text-decoration: none;
        margin-bottom: 4rem;
        font-size: 1.3rem;
    }

    /* Efecto de estrellas al hacer hover */
    .btn-galaxy::before,
    .btn-galaxy::after {
        content: "";
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(2px 2px at 20% 30%, #fff, transparent),
                    radial-gradient(1.5px 1.5px at 80% 70%, #ffd6ff, transparent),
                    radial-gradient(1px 1px at 60% 40%, #b89bff, transparent),
                    radial-gradient(2px 2px at 40% 80%, #fff, transparent);
        opacity: 0;
        transform: scale(0.8);
        transition: opacity 0.6s ease, transform 0.6s ease;
        pointer-events: none;
    }

    .btn-galaxy:hover::before,
    .btn-galaxy:hover::after {
        opacity: 1;
        transform: scale(1);
        animation: star-twinkle 2s infinite ease-in-out;
    }

    @keyframes star-twinkle {
        0%, 100% { opacity: 0.7; transform: scale(1); }
        50% { opacity: 1; transform: scale(1.1); }
    }

    /* Efecto de iluminación suave al hover */
    .btn-galaxy:hover {
        box-shadow: 0 0 25px 5px rgba(187, 134, 252, 0.4),
                    0 0 40px 15px rgba(90, 45, 146, 0.3);
        border-color: #d8b4ff;
        color: #ffdfff;
        transform: translateY(-5px) scale(1.03);
    }


    /* ------------------------ Contenido principal ------------------------ */
    .main-contentInicio {
        min-height: 70vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        position: relative;
        z-index: 2;
        padding: 0 1rem;
        margin-bottom: 2rem;
        margin-top: 3rem;
    }

    /* Grid de botones */
    .menu-gridInicio {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 2rem;
        max-width: 1000px;
        width: 100%;
        padding: 0 1rem;
        cursor:pointer;
    }
    
    /*Opciones del Menu*/
    .menu-buttonInicio {
        background: rgba(255, 255, 255, 0.05);
        border: 2px solid rgba(147, 51, 234, 0.3);
        -webkit-backdrop-filter: blur(10px); /* Safari/iOS */
        backdrop-filter: blur(10px);
        padding: clamp(0.5rem, 2vw, 1rem);
        border-radius: 20px;
        color: white;
        text-decoration: none;
        font-size: 1.1rem;
        font-weight: 600;
        transition: all 0.4s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 120px;
        text-align: center;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
        position: relative;
        overflow: hidden;
        z-index: 3;
        cursor:pointer;
    }

    .menu-buttonInicio::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
        opacity: 0;
        transition: opacity 0.4s ease;
    }

    .menu-buttonInicio:hover {
        transform: translateY(-10px) scale(1.05);
        border-color: rgba(147, 51, 234, 0.8);
        box-shadow: 0 15px 40px rgba(147, 51, 234, 0.4);
        color: white;
        cursor: pointer;
    }

    .menu-buttonInicio:hover::before {
        opacity: 1;
    }

    .menu-buttonInicio span {
        position: relative;
        z-index: 3;
    }

    /* -------------------------- MANDALA ANIMADA DE FONDO -------------------------- */
    /*Contenedor de la Mandala*/
    .mandala-container {
        margin-top: 2rem;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 0; /* detrás del contenido */
        pointer-events: none;
    }

    .mandala {
        width: 120vmin;
        height: 120vmin;
        opacity: 0.3;
        animation: girar 120s linear infinite;
    }

    /*Hace que gire*/
    @keyframes girar {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }

    /* Estilo de líneas de la mandala */
    .mandala circle,
    .mandala ellipse,
    .mandala path,
    .mandala line {
        fill: none;
        stroke: #ffffff;
        stroke-width: 1.5;
        opacity: 0.6;
    }

    .mandala .petal {
        stroke: #ffffff;
        stroke-width: 1.2;
        opacity: 0.5;
    }

    .mandala .detail {
        stroke: #ffffff;
        stroke-width: 0.8;
        opacity: 0.4;
    }

    /* Capas interactivas (por encima del fondo) */
    .main-contentInicio,
    .navbar,
    .footer-main,
    .footer-bottom,
    .menu-buttonInicio,
    .btn-member {
        position: relative;
        z-index: 2;
        pointer-events: auto;
    }


    /* ======================================== TIENDA ======================================== */  

    /* Título principal de la tienda */
    .tienda-main-title {
        font-size: clamp(1rem, 5vw, 2.5rem);
        font-weight: 600;
        letter-spacing: 0.2rem;
        margin-bottom: 1rem;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: 0 0 30px rgba(147, 51, 234, 0.3);
    }

    /* Subtítulo */
    .tienda-subtitle {
        color: rgba(255, 255, 255, 0.85);
        font-size: 1.1rem;
        letter-spacing: 0.05rem;
        margin-bottom: 0;
    }

    .tienda-card {
        background: rgba(20, 15, 40, 0.72);
        border: 1px solid rgba(150, 130, 255, 0.25);
        border-radius: 14px;
        padding: 1.2rem;
        box-shadow: 0 0 18px rgba(150, 120, 255, 0.12);
        transition: 0.3s ease;
    }

    .tienda-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 0 26px rgba(180, 150, 255, 0.35);
    }

    /* Imágenes del carrusel – más compactas */
    .tienda-img {
        width: 100%;
        aspect-ratio: 2.5/3.5; /* Más cuadrado → menos alto */
        object-fit: cover;
        border-radius: 10px;
        border: 1px solid rgba(150, 130, 255, 0.2);
    }

    /* TITULOS E INFO MÁS COMPACTA */
    .tienda-title {
        font-size: 1.15rem;
        margin-bottom: 0.5rem;
    }

    .tienda-desc {
        color: #c3c8cf;
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
        line-height: 1.5;
    }

    .tienda-price {
        font-size: 1.25rem;
        margin-bottom: 0.9rem;
    }



















/* ======================================== RESPONSIVE ======================================== */

/* -------------------------- 1100PX -------------------------- */
@media (max-width: 1100px) {
    /*INICIO*/
    .menu-gridInicio {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .menu-buttonInicio:last-child {
        grid-column: 1 / 2;
    }
    
    .btn-galaxy {
        padding: 1.8rem 3.5rem;
        font-size: 2.2rem;
        letter-spacing: 0.4rem;
        margin-bottom: 3.5rem;
    }
}

/* -------------------------- TABLETS (≤ 992px) -------------------------- */
@media (max-width: 992px) {
    body.inicio .menu-button {
        font-size: 1.1rem;
        padding: 1.5rem;
        min-height: 110px;
    }
    
    .btn-galaxy {
        padding: 1.5rem 3rem;
        font-size: 2rem;
        letter-spacing: 0.4rem;
        margin-bottom: 3rem;
    }
}

/* -------------------------- CELULARES & TABLETS (≤ 768px) -------------------------- */
@media (max-width: 768px) {
    /*INDEX*/
    h1 {
        font-size: 1.9rem;
        letter-spacing: 0.12rem;
        margin-bottom: 1.2rem;
    }
    
    .main-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .btn-main {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .footer-main {
        padding: 1.2rem 0;
    }
    
    .footer-links {
        gap: 1rem;
        font-size: 0.85rem;
    }
    
    .footer-logo {
        font-size: 1.1rem;
    }
    
    .video-container {
        margin-bottom: 0.8rem;
    }
    
    #bg-video {
        width: 70%;
        max-width: 400px;
        max-height: 38vh;
        margin: 0.8rem 0;
    }

    /*INICIO*/            
    .menu-gridInicio {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .menu-buttonInicio {
        min-height: 100px;
        font-size: 1.1rem;
        padding: 1.5rem;
    }
    
    .mandala {
        opacity: 0.1;
    }
    
    .mandala-1, .mandala-3 {
        left: 5%;
    }
    
    .mandala-2, .mandala-4 {
        right: 5%;
    }
    
    .btn-galaxy {
        padding: 1.2rem 2.5rem;
        font-size: 1.6rem;
        letter-spacing: 0.3rem;
        margin-bottom: 2.5rem;
    }
    
    .btn-galaxy:hover {
        transform: translateY(-3px) scale(1.02);
    }
    
    /*MODAL*/
    .calendario-iframe {
        aspect-ratio: 2.5 / 5;
    }
    
    /*TIENDA*/
    .modal-tienda-title {
        font-size: 1.2rem;
    }

    .tienda-country-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.7rem;
    }
    
    .btn-country {
        padding: 0.75rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .tienda-img { aspect-ratio: 2.3/3.4; }
    .tienda-title { font-size: 1.05rem; }
    .tienda-desc { font-size: 0.85rem; }
    .tienda-price { font-size: 1.1rem; }
}

/* -------------------------- DISPOSITIVOS CHICOS (≤ 750px) -------------------------- */
@media (max-height: 750px) {
    #bg-video {
        max-height: 32vh;
    }
    
    .main-buttons {
        gap: 1.2rem;
    }
}

/* -------------------------- DISPOSITIVOS PEQUEÑOS (≤ 576px) -------------------------- */
@media (max-width: 576px) {
    .btn-main {
        width: 100%;
        max-width: 280px;
    }

    /*INICIO*/
    .btn-galaxy {
        padding: 1rem 2rem;
        font-size: 1.3rem;
        letter-spacing: 0.25rem;
        margin-bottom: 2rem;
        border-radius: 40px;
    }
    
    .menu-buttonInicio {
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    h1 {
        font-size: 1.7rem;
        letter-spacing: 0.1rem;
    }
    
    #bg-video {
        width: 85%;
        max-width: 300px;
        max-height: 34vh;
        margin: 0.8rem 0;
    }
    
    .tienda-card { padding: 0.9rem; }
    .tienda-img { aspect-ratio: 2.1/3.2; }
}

/* -------------------------- DISPOSITIVOS EXTRA PEQUEÑOS (≤ 480px) -------------------------- */
@media (max-width: 480px) {
    /*CALENDARIO*/
    .calendario-iframe {
        aspect-ratio: 1 / 1.4;
    }
    
    /*TIENDA*/
    .modal-tienda-content {
        padding: 1rem;
    }
    
    .modal-tienda-title {
        font-size: 1.1rem;
    }
    
    .tienda-country-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
    }
    
    .btn-country {
        padding: 0.7rem 0.6rem;
        font-size: 0.85rem;
    }
}