/* Fuente global */
body {
    font-family:'Poppins', sans-serif;
    margin: 0;
    padding: 0;
}


h1, h2 {
    font-family: 'Luckiest Guy', cursive;
}


/* Menú oculto */
/* Estilo del navbar */
.navbar {
    position: fixed;
    display: flex;
    top: 0;
    left: 0;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    transition: all 0.6s ease;
    z-index: 999;
}

.navbar.hidden {
    top: -100px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.6s ease;
}

.navbar.visible {
    top: 0;
    opacity: 1;
    pointer-events: auto;
}


.logo img {
    height: 50px;
}

/* Menú principal */
.menu {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    text-align: center;
}

.menu li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.menu li a:hover {
    color: #ffcc00;
}

/* Botón hamburguesa */
.menu-toggle {
    display: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .menu {
        display: none;
        position: absolute;
        top: 70px;
        right: 0;
        background-color: rgba(0,0,0,0.9);
        flex-direction: column;
        width: 200px;
        text-align: center ;
        padding: 20px;
    }

    .menu li {
        margin-bottom: 15px;
    }

    .menu.show {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}


/* Frase dinámica PRO */
.frase-dinamica-pro {
    flex: 1;
    text-align: center;
    font-size: 1.1rem;
    font-weight: bold;
    background: linear-gradient(90deg, #ffcc00, #ff6600, #ffcc00);
    background-size: 300%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: degrade 6s linear infinite, blink 1s step-end infinite alternate;
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid #ffcc00;
    max-width: 100%;
}


@keyframes degrade {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

@media (max-width: 768px) {
    .frase-dinamica-pro {
        display: none;
    }
}



.btn-descubrir {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background: #ffcc00;
    color: #000;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 30px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn-descubrir:hover {
    background: #e6b800;
    transform: scale(1.05);
}

/* Bolas del Dragón */
.bolas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
}

.bola {
    position: absolute;
    width: 80px;
    opacity: 0.6;
    filter: drop-shadow(0 0 10px orange);
}
.bola {
    will-change: transform;
     transition: opacity 1s ease;
}


#bola1 { top: 15%; left: 5%; }
#bola2 { top: 40%; left: 85%; }
#bola3 { top: 80%; left: 17%; }
#bola4 { top: 17%; left: 60%; }
#bola5 { top: 15%; left: 35%; }
#bola6 { top: 80%; left: 75%; }
#bola7 { top: 80%; left: 50%; }

/* Hero */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url('../images/fondos/fondo2.gif')  center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    transition: background 1s ease-in-out;
}

#titulo-animado {
font-family: 'Luckiest Guy', cursive;
    font-size: 4rem;
    text-shadow: 3px 3px 10px #000;
    color: #FFA500;
    letter-spacing: 1px;
    text-shadow: 2px 2px 8px #000;
}


.overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
}

.content {
    position: relative;
    z-index: 2;
}

.content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px #000;
}

.content p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 5px #000;
}

/* Sección Introducción */
.intro-section {
    padding: 100px 20px;
    background: #111;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro-content {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    align-items: center;
    gap: 50px;
}

.intro-text {
    flex: 1;
    position: relative;
    z-index: 11; 
}

.intro-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.intro-text p {
    font-size: 1.2rem;
    line-height: 1.6;
}

.intro-image {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 3; 
}

.intro-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.historia-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 10%;
    background: #111;
    color: #fff;
    position: relative;
    z-index: 3;
}

.historia-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.historia-text {
    flex: 1;
}

.historia-text h2 {
    font-size: 2.5rem;
    color: #ffcc00;
}

.historia-text p {
    margin: 20px 0;
    line-height: 1.6;
    font-size: 1.1rem;
}

.btn-mas {
    display: inline-block;
    padding: 10px 25px;
    background: #ffcc00;
    color: #000;
    text-decoration: none;
    border-radius: 25px;
    transition: background 0.3s ease;
}

.btn-mas:hover {
    background: #e6b800;
}

.historia-image img {
    width: 250px;
    height: 400px;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.5);
}


/* Personajes Destacados */
.personajes-section {
    padding: 100px 10%;
    text-align: center;
    background-color: #0b0b0b;
    color: #fff;
    position: relative;
}

.personajes-section h2 {
    font-size: 3rem;
    margin-bottom: 60px;
    color: #ffcc00;
}

.personajes-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.card-personaje {
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.3);
    width: 250px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 11;
}

.card-personaje img {
    width: 135px;
    height: 298px;
    border-radius: 15px;
}

.card-personaje h3 {
    margin-top: 15px;
    font-size: 1.5rem;
    color: #ffcc00;
}

.card-personaje p {
    font-size: 1rem;
    margin-top: 10px;
}

.card-personaje:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(255, 204, 0, 0.5);
}

.ver-todos {
    margin-top: 40px;
}

.btn-ver-todos {
    display: inline-block;
    padding: 12px 30px;
    background: #ffcc00;
    color: #000;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 30px;
    transition: background 0.3s ease, transform 0.3s ease;
     position: relative;
      z-index: 11;

}


.btn-ver-todos:hover {
    background: #e6b800;
    transform: scale(1.05);
}


/* Curiosidades Rápidas */
.curiosidades-section {
    padding: 100px 10%;
    text-align: center;
    background-color: #0b0b0b;
    color: #fff;
    
}

.curiosidades-section h2 {
    font-size: 3rem;
    margin-bottom: 60px;
    color: #ffcc00;
    z-index: 11;
    position: relative;
}

.curiosidades-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    z-index: 11;
    position: relative;

}

.curiosidad {
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.3);
    width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.curiosidad img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.curiosidad p {
    font-size: 1rem;
}

.curiosidad:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(255, 204, 0, 0.5);
}

/* Sección de Llamado a la Acción */
.cta-section {
    position: relative;
    background: linear-gradient(180deg, #0b0b0b, #1a1a1a);
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    z-index: 10;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #ffcc00;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

#btnExplorar {
    display: inline-block;
    padding: 14px 40px;
    background: #ffcc00;
    color: #000;
    font-size: 1.2rem;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn-explorar:hover {
    background: #e6b800;
    transform: scale(1.05);
}

/* Footer */
.footer {
    background-color: #0b0b0b;
    color: #fff;
    text-align: center;
    padding: 40px 20px;
    font-size: 0.9rem;
    position: relative;
    z-index: 10;
}

.footer-content p {
    margin: 10px 0;
    line-height: 1.6;
}

.footer a {
    color: #ffcc00;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #e6b800;
}

.btn-subir {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99999; /* Super alto para que esté arriba de todo */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.btn-subir.visible {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.btn-subir img {
    width: 24px;
    height: 24px;
    filter: invert(100%);
}

.btn-subir:hover {
    transform: scale(1.2);
    background-color: rgba(255, 204, 0, 0.8);
}



