
        /* --- 0. Variables y Tipografía General --- */
        :root {
            --primary-color: #00bcd4; /* Turquesa */
            --secondary-color: #2c3e50; /* Azul oscuro */
            --bg-color: #f4f7f6;
            --footer-bg: #1a1a1a;
            --footer-dark-bg: #111111;
        }

        body {
            font-family: 'Poppins', Arial, sans-serif;
            background-color: var(--bg-color);
            color: #333;
            margin: 0;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        /* --- 1. Header (Barra de Navegación) --- */
        .navbar {
            background-color: var(--secondary-color);
            padding: 10px 40px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .logo {
            display: flex;
            align-items: center;
            color: white;
            font-size: 1.5em;
            font-weight: 700;
        }
        .logo img {
            width: 50px; 
            height: 50px;
            margin-right: 10px;
            border-radius: 50%;
        }
        .logo span {
            color: var(--primary-color);
        }

        .menu a {
            color: white;
            text-decoration: none;
            margin-left: 20px;
            font-weight: 500;
            transition: color 0.2s;
        }
        .menu a:hover {
            color: var(--primary-color);
        }

       

        /* --- 4. Footer (Pie de Página con Fondo Negro y SVG) --- */
        footer {
            background-color: var(--footer-bg); 
            color: #f0f0f0;
            font-family: 'Poppins', sans-serif;
            padding-top: 45px;
            margin-top: auto;
        }

        .footer-contenedor {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .footer-col {
            flex-basis: 30%;
            min-width: 250px;
            margin-bottom: 30px;
        }

        .footer-col h2,
        .footer-col h3 {
            color: #ffffff;
            margin-bottom: 20px;
            position: relative;
            font-size: 18px;
        }

        .footer-col h3::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -5px;
            height: 2px;
            width: 50px;
            background-color: var(--primary-color);
        }

        .footer-col p {
            font-size: 14px;
            line-height: 1.6;
            color: #b0b0b0;
        }

        .footer-col ul:not(.redes) {
            list-style: none;
            padding: 0;
        }

        .footer-col ul:not(.redes) li {
            margin-bottom: 10px;
        }

        .footer-col ul:not(.redes) li a {
            text-decoration: none;
            color: #b0b0b0;
            font-size: 15px;
            transition: all 0.3s ease;
        }

        .footer-col ul:not(.redes) li a:hover {
            color: var(--primary-color);
            padding-left: 5px;
        }

        /* Estilos Específicos para las Redes Sociales */
        .footer-col .redes {
            display: flex;
            justify-content: flex-start;
            gap: 15px;
            list-style: none;
            padding: 0;
            margin-top: 10px;
        }

        .footer-col .redes li a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            color: #ffffff;
            font-size: 18px;
            transition: all 0.3s ease;
            text-decoration: none;
        }

        /* Colores de marca para el fondo del círculo */
        .footer-col .redes li:nth-child(1) a { background-color: #3b5998; } /* Facebook */
        .footer-col .redes li:nth-child(2) a { /* Instagram */
            background-image: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
            background-color: #405DE6;
        }
        .footer-col .redes li:nth-child(3) a { background-color: #25d366; } /* WhatsApp */

        /* Estilo para el SVG (el logo dentro del círculo) */
        .footer-col .redes li a svg {
            width: 20px;
            height: 20px;
            fill: #ffffff;
            transition: transform 0.3s ease;
        }

        /* Efecto Hover para los iconos de redes sociales */
        .footer-col .redes li a:hover {
            box-shadow: 0 0 10px rgba(0, 189, 212, 0.7);
            transform: translateY(-3px) scale(1.05);
        }

        /* Barra Inferior de Copyright */
        .footer-bottom {
            background-color: var(--footer-dark-bg);
            text-align: center;
            padding: 15px 0;
            margin-top: 20px;
            border-top: 1px solid #333333;
            font-size: 13px;
            color: #888888;
        }

        /* --- 5. Estilos Responsivos --- */
        @media (max-width: 900px) {
            .zona-juego {
                width: 100%;
                height: 400px;
            }
            #imagenCraneo {
                width: 100%;
                object-fit: contain;
            }
            .piezas-disponibles {
                position: relative; /* Cambia a posición relativa en pantallas pequeñas */
                top: auto;
                right: auto;
                flex-direction: row;
                flex-wrap: wrap;
                justify-content: center;
                margin-top: 20px;
            }
            .destino {
                opacity: 0; /* Oculta los destinos en móvil para evitar superposición */
            }
            .contenedor-arrastrar-soltar {
                padding: 20px;
                margin: 20px auto;
            }
        }
        @media (max-width: 768px) {
            .navbar {
                flex-direction: column;
                padding: 10px 20px;
            }
            .menu {
                margin-top: 10px;
                flex-direction: column;
                align-items: center;
            }
            .menu a {
                margin: 5px 0;
            }
            .footer-contenedor {
                flex-direction: column;
                padding: 0 30px;
            }
            .footer-col {
                flex-basis: 100%;
                min-width: 0;
                text-align: center;
            }
            .footer-col h3::after {
                left: 50%;
                transform: translateX(-50%);
            }
            .footer-col .redes {
                justify-content: center;
            }
        }
  