
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Montserrat', sans-serif;
            color: #2c3e50;
            line-height: 1.6;
            overflow-x: hidden;
            background: linear-gradient(135deg, #f8f4ff 0%, #fff5f8 100%);
        }

        h1,
        h2,
        h3,
        h4 {
            font-family: 'Playfair Display', serif;
            font-weight: 700;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Header y Navegación */
        header {
            background: linear-gradient(135deg, #6B2E6E 0%, #9B4D96 50%, #D96C9C 100%);
            color: white;
            padding: 1rem 0;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            box-shadow: 0 4px 20px rgba(107, 46, 110, 0.3);
            transition: all 0.3s ease;
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
        }

        .logo {
            font-size: 1.5rem;
            font-weight: 700;
            font-family: 'Playfair Display', serif;
        }

        .logo span {
            color: #D9FFA8;
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 2rem;
            align-items: center;
        }

        .nav-links a {
            color: white;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .nav-links a:hover {
            color: #D9FFA8;
            transform: translateY(-2px);
        }

        .menu-toggle {
            display: none;
            font-size: 1.8rem;
            cursor: pointer;
        }
/*glass effect*/
/* From https://css.glass */
.glass2 {
background: rgba(255, 255, 255, 0.2);
border-radius: 16px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
border: 1px solid rgba(255, 255, 255, 0.3);
height: 250px;
margin-block:50px ;
}

        /* Hero Section */
        .hero {
            /*background: linear-gradient(135deg, rgba(107, 46, 110, 0.85), rgba(217, 108, 156, 0.85)), url('../img/banner-1.png');
           */

            background: url('../img/banner-1-hd.png');
           
            background-attachment: fixed;
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
            color: white;
            padding: 180px 0 100px;
            text-align: center;
        }

        .hero h1 {
            font-size: 3rem;
            margin-bottom: 1rem;
            animation: fadeInUp 1s ease;
        }

        .hero p {
            font-size: 1.2rem;
            margin-bottom: 2rem;
            animation: fadeInUp 1s ease 0.2s both;
        }

        .btn {
            display: inline-block;
            padding: 12px 30px;
            background: linear-gradient(135deg, #D96C9C, #9B4D96);
            color: white;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(107, 46, 110, 0.3);
        }

        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(107, 46, 110, 0.4);
            background: linear-gradient(135deg, #E07CAA, #B05DA8);
        }

        .btn-outline {
            background: transparent;
            border: 2px solid white;
            box-shadow: none;
        }

        .btn-outline:hover {
            background: white;
            color: #9B4D96;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }

        /* Secciones generales */
        section {
            padding: 80px 0;
        }

        .section-title {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 3rem;
            position: relative;
            padding-bottom: 1rem;
            color: #6B2E6E;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background: linear-gradient(90deg, #D96C9C, #9B4D96, #D9FFA8);
        }

        /* Biografía */
        .bio-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            align-items: center;
        }

        .bio-image {
            text-align: center;
            opacity: 0;
            transform: translateX(-50px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .bio-image.show-bio {
            opacity: 1;
            transform: translateX(0);
        }

        .bio-image img {
            width: 80%;
            max-width: 500px;
            border-radius: 50%;
            aspect-ratio: 1/1;
            object-fit: cover;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.48);
            border: 5px solid #D96C9C;
            transition: transform 0.5s ease;
        }

        .bio-image img:hover {
            transform: scale(1.02);
        }

        .bio-text {
            opacity: 0;
            transform: translateX(50px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .bio-text.show-bio {
            opacity: 1;
            transform: translateX(0);
        }

        .bio-text h3 {
            font-size: 1.8rem;
            margin-bottom: 1.5rem;
            color: #9B4D96;
        }

        .bio-text p {
            margin-bottom: 1.5rem;
            text-align: justify;
            color: black;
        }

        /* Libros */
        .books-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        .book-card {
            text-align: center;
            background: white;
            padding: 1.5rem;
            border-radius: 20px;
            transition: all 0.3s ease;
            box-shadow: 0 8px 25px rgba(19, 19, 19, 0.6);
            border: 1px solid rgba(217, 108, 156, 0.2);
        }

        .book-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 35px rgba(4, 4, 4, 0.84);
        }

        .book-card img {
            width: 180px;
            height: 180px;
            border-radius: 50%;
            object-fit: cover;
            margin-bottom: 1rem;
            border: 3px solid #D96C9C;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .book-card h3 {
            margin: 0.5rem 0;
            color: #6B2E6E;
        }

        /* Galería */
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 1rem;
        }

        .gallery-item {
            overflow: hidden;
            border-radius: 15px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(107, 46, 110, 0.15);
        }

        .gallery-item img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .gallery-item:hover {
            transform: scale(1.02);
            box-shadow: 0 10px 25px rgba(107, 46, 110, 0.25);
        }

        .gallery-item:hover img {
            transform: scale(1.05);
        }

        /* Lightbox */
        .lightbox {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            z-index: 2000;
            justify-content: center;
            align-items: center;
            cursor: pointer;
        }

        .lightbox img {
            max-width: 90%;
            max-height: 90%;
            object-fit: contain;
            border-radius: 10px;
        }

        .lightbox.active {
            display: flex;
        }

        /* Juegos Grid - Estilo Infantil */
        .games-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        .game-card {
            border-radius: 25px;
            padding: 2rem 1.5rem;
            text-align: center;
            transition: all 0.3s ease;
            cursor: pointer;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
            animation: fadeInUp 0.6s ease both;
        }

        .game-card:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
        }

        /* Colores diferentes para cada card */
        .game-card:nth-child(1) { background: linear-gradient(135deg, #FF6B6B, #EE5A5A); }
        .game-card:nth-child(2) { background: linear-gradient(135deg, #4ECDC4, #44B3B3); }
        .game-card:nth-child(3) { background: linear-gradient(135deg, #FFE66D, #F4C300) }
        .game-card:nth-child(4) { background: linear-gradient(135deg, #A8E6CF, #05BE08) }
        .game-card:nth-child(5) { background: linear-gradient(135deg, #FFB347, #FF8A00) }
        .game-card:nth-child(6) { background: linear-gradient(135deg, #C39BD3, #B601FF) }

        .game-card h3 {
            font-size: 1.8rem;
            margin-bottom: 1rem;
            color: white;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
            font-family: 'Playfair Display', serif;
        }

        .game-card p {
            color: white;
            margin-bottom: 1.5rem;
            font-size: 1rem;
            line-height: 1.5;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
        }

        .game-btn {
            display: inline-block;
            padding: 10px 25px;
            background: white;
            color: #333;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            font-size: 0.9rem;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        }

        .game-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
            background: #f8f8f8;
        }

        /* Contacto */
        .contact-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
        }

        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            background: white;
            padding: 1rem;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(107, 46, 110, 0.1);
        }

        .contact-item i {
            font-size: 1.5rem;
            background: linear-gradient(135deg, #D96C9C, #9B4D96);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        .contact-form input,
        .contact-form textarea {
            width: 100%;
            padding: 12px;
            margin-bottom: 1rem;
            border: 2px solid #e0c3e6;
            border-radius: 12px;
            font-family: inherit;
            transition: all 0.3s ease;
        }

        .contact-form input:focus,
        .contact-form textarea:focus {
            outline: none;
            border-color: #D96C9C;
            box-shadow: 0 0 0 3px rgba(217, 108, 156, 0.2);
        }

        /* Footer */
        footer {
            background: linear-gradient(135deg, #6B2E6E 0%, #9B4D96 100%);
            color: white;
            text-align: center;
            padding: 2rem 0;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin-bottom: 1rem;
            flex-wrap: wrap;
        }

        .footer-links a {
            color: white;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-links a:hover {
            color: #D9FFA8;
        }

        .social-links {
            margin: 1rem 0;
        }

        .social-links a {
            color: white;
            margin: 0 10px;
            font-size: 1.5rem;
            transition: all 0.3s ease;
        }

        .social-links a:hover {
            color: #D9FFA8;
            transform: translateY(-3px);
            display: inline-block;
        }

        /* Botón WhatsApp */
        .whatsapp-btn {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background: #25D366;
            color: white;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
            z-index: 1000;
            text-decoration: none;
        }

        .whatsapp-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
        }

        /* Animaciones scroll */
        .scroll-animate {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s ease;
        }

        .scroll-animate.show {
            opacity: 1;
            transform: translateY(0);
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .glass {
            background: rgba(255, 255, 255, 0.01);
            border-radius: 16px;
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.27);
            backdrop-filter: blur(5px);
            -webkit-backdrop-filter: blur(1px);
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

        #loader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #fff;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
        }

        @media (max-width: 768px) {
            .menu-toggle {
                display: block;
            }

            .nav-links {
                display: none;
                width: 100%;
                flex-direction: column;
                text-align: center;
                padding: 1rem 0;
                gap: 1rem;
            }

            .nav-links.active {
                display: flex;
            }

            .hero h1 {
                font-size: 2rem;
            }

            .bio-content,
            .contact-content {
                grid-template-columns: 1fr;
            }

            .section-title {
                font-size: 2rem;
            }

            .bio-image img {
                width: 70%;
            }

            .games-grid {
                grid-template-columns: 1fr;
            }
        }
    
  


        /* Botón flotante de Facebook */
.facebook-float-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #1877F2;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
    text-decoration: none;
}

.facebook-float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: #1664d9;
}

/* En móvil, ajustar para que no se superpongan */
@media (max-width: 768px) {
    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
    }
    .facebook-float-btn {
        bottom: 20px;
        left: 20px;
    }
}



/* Pre-loader - Pantalla completa */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #6B2E6E 0%, #9B4D96 50%, #D96C9C 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    width: 100%;
    max-width: 500px;
    padding: 20px;
}

.preloader-gif {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 0 auto 20px auto;
    display: block;
    border-radius: 20px;
}

.preloader-text {
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin-top: 20px;
    text-align: center;
}

.preloader-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.preloader-dots span {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    animation: bounce 0.6s ease infinite;
}

.preloader-dots span:nth-child(1) { animation-delay: 0s; }
.preloader-dots span:nth-child(2) { animation-delay: 0.2s; }
.preloader-dots span:nth-child(3) { animation-delay: 0.4s; }

/* Opción spinner (si no tienes GIF) */
.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255,255,255,0.3);
    border-top: 5px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}   



