/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Para cambiar la foto de fondo: reemplaza el archivo images/fondo.jpg
       por tu propia imagen (mismo nombre), o cambia esta línea con otro nombre. */
    --bg-imagen: url('../images/fondo.jpg');
}

body {
    font-family: "Poppins", sans-serif;
    color: #ffffff;
    background-image: var(--bg-imagen), linear-gradient(160deg, #1a1a2e, #0d0d1a 60%, #1a1a2e);
    background-size: cover, cover;
    background-position: center, center;
    background-attachment: fixed, fixed;
    background-repeat: no-repeat, no-repeat;
    animation: flotarFondo 25s ease-in-out infinite;
}

@keyframes flotarFondo {
    0%, 100% { background-position: center 0%, center; }
    50%      { background-position: center 6%, center; }
}

header {
    background: linear-gradient(180deg, #111111, #1a1a2e);
    background-color: rgba(17, 17, 17, 0.85);
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

header h1 {
    color: #BC002D;
    font-size: 3.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: text-shadow 0.3s ease;
    cursor: default;
}

header h1:hover {
    animation: wiggleTitulo 0.6s ease-in-out;
    text-shadow: 0 0 12px rgba(245, 197, 66, 0.8), 0 0 24px rgba(245, 197, 66, 0.5);
}

@keyframes wiggleTitulo {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25%      { transform: scale(1.06) rotate(-2deg); }
    50%      { transform: scale(1.1) rotate(2deg); }
    75%      { transform: scale(1.06) rotate(-1deg); }
}
.logo-marco {
    width: 300px;
    height: 300px;
    margin: 0 auto 10px auto;
    border-radius: 50%;
    border: 3px solid #f5c542;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(245, 197, 66, 0.4);
    transition: box-shadow 0.3s ease;
}

.logo-marco:hover {
    box-shadow: 0 0 25px rgba(245, 197, 66, 0.8);
}

.logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    mix-blend-mode: screen;
    transition: transform 0.5s ease;
}

.logo-marco:hover .logo {
    transform: scale(1.12);
}
nav > ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 15px;
}

nav a {
    position: relative;
    color: #f5c542;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background-color: #f5c542;
    transition: width 0.3s ease;
}

nav a:hover {
    color: #ffffff;
}

nav a:hover::after {
    width: 100%;
    background-color: #ffffff;
}

.nav-dropdown {
    position: relative;
    display: inline-block;
    margin-top: 15px;
}

.nav-dropdown > a i {
    font-size: 0.75rem;
    margin-left: 4px;
    transition: transform 0.25s ease;
}

.nav-dropdown:hover > a i,
.nav-dropdown.abierto > a i {
    transform: rotate(180deg);
}

.submenu {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: rgba(17, 17, 17, 0.95);
    border: 1px solid #f5c542;
    border-radius: 8px;
    padding: 10px 0;
    margin-top: 15px;
    min-width: 230px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 10;
}

.nav-dropdown:hover .submenu,
.nav-dropdown.abierto .submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.submenu a {
    display: block;
    padding: 10px 20px;
    white-space: nowrap;
    color: #4cc9f0;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.submenu a::after {
    content: none;
}

.submenu a:hover {
    background-color: rgba(76, 201, 240, 0.15);
    color: #ffffff;
}

main {
    padding: 20px 20px;
    text-align: center;
}

main > section {
    background-color: rgba(26, 26, 46, 0.78);
    border-radius: 14px;
    padding: 30px 20px;
    margin: 0 auto 25px auto;
    max-width: 1100px;
}

.seccion-explora {
    padding: 16px 20px;
    margin: 0 auto 8px auto;
}

.seccion-explora h2 {
    font-size: 1.3rem;
    margin-top: 8px;
    margin-bottom: 6px;
}

.seccion-explora p {
    font-size: 0.9rem;
}

.intro-novedades {
    margin-bottom: 18px;
}

.grid-novedades {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.tarjeta-novedad {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(245, 197, 66, 0.35);
    border-radius: 14px;
    padding: 12px 12px 16px;
}

.tarjeta-novedad h3 {
    color: #f5c542;
    font-size: 1.05rem;
    margin: 12px 0 6px;
}

.etiqueta-serie {
    display: inline-block;
    margin-top: 12px;
    padding: 2px 10px;
    border-radius: 12px;
    background: rgba(245, 197, 66, 0.18);
    color: #f5c542;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.tarjeta-novedad .etiqueta-serie + h3 {
    margin-top: 6px;
}

.ficha-mas {
    margin: 8px 0 4px;
}

.ficha-mas summary {
    cursor: pointer;
    color: #f5c542;
    font-size: 0.9rem;
}

.ficha-mas p,
.ficha-mas li {
    font-size: 0.85rem;
    margin-top: 6px;
}

.ficha-mas ul {
    padding-left: 18px;
    color: #dddddd;
}

.guia-inicio {
    max-width: 1100px;
    margin: 24px auto 0;
    padding: 14px 16px;
    border: 1px dashed rgba(245, 197, 66, 0.5);
    border-radius: 14px;
}

.guia-inicio h3 {
    color: #f5c542;
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.galeria-eventos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto;
}

.foto-evento {
    margin: 0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(245, 197, 66, 0.35);
    border-radius: 14px;
    overflow: hidden;
}

.foto-evento img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.foto-evento figcaption {
    padding: 8px 12px 12px;
    font-size: 0.85rem;
    color: #dddddd;
}

.eventos-vacio {
    grid-column: 1 / -1;
    text-align: center;
    padding: 20px;
    border: 1px dashed rgba(245, 197, 66, 0.5);
    border-radius: 14px;
}

/* Efecto tipo cómic: solo en la sección Personajes */
#personajes .marco-manga {
    position: relative;
    border: 3px solid #111;
    border-radius: 6px;
    box-shadow: 5px 5px 0 #f5c542;
    overflow: hidden;
    background: #fff;
}

#personajes .marco-manga .imagen-personaje {
    border-radius: 0;
    filter: url(#efecto-manga) saturate(1.3) contrast(1.05);
    transition: filter 0.3s ease;
}

#personajes .marco-manga::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(0, 0, 0, 0.35) 1px, transparent 1.4px);
    background-size: 5px 5px;
    mix-blend-mode: multiply;
    opacity: 0.3;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#personajes .marco-manga:hover .imagen-personaje,
#personajes .marco-manga:focus-within .imagen-personaje {
    filter: none;
}

#personajes .marco-manga:hover::after {
    opacity: 0;
}

.imagen-personaje {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 10px;
}

.video-contenedor {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
}

.video-contenedor iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.seccion-explora .credito-video {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 4px;
}

.enlace-novedad,
.fuentes-noticias a {
    display: inline-block;
    margin: 8px 8px 0 0;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid #f5c542;
    color: #f5c542;
    text-decoration: none;
    font-size: 0.85rem;
}

.enlace-novedad:hover,
.fuentes-noticias a:hover {
    background: #f5c542;
    color: #1a1a2e;
}

.fuentes-noticias {
    max-width: 1100px;
    margin: 22px auto 0;
}

.fuentes-noticias h3 {
    color: #f5c542;
    font-size: 1.05rem;
    margin-bottom: 4px;
}

main h2 {
    color: #f5c542;
    font-size: 2rem;
    margin-bottom: 15px;
    margin-top: 15px;
}
.titulo-productos {
    margin-top: 40px;
}      

main p {
    font-size: 1.1rem;
    color: #dddddd;
}

.contenedor-productos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
    margin-top: 25px
}

.coleccionables-fila {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.coleccionables-fila .categoria-compacta {
    flex: 0 0 160px;
}

.categoria {
    background-color: rgba(22, 33, 62, 0.85);
    border: 1px solid #f5c542;
    border-radius: 10px;
    padding: 20px;
    flex: 1 1 220px;
    max-width: 260px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.categoria:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(245, 197, 66, 0.25);
}

.categoria h3 {
    color: #ffffff;
    font-size: 1.2rem;
}
.imagen-categoria {
    width: 100%;
    max-width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

footer {
    background-color: rgba(22, 33, 62, 0.85);
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}

footer p {
    color: #dddddd;
    font-size: 0.9rem;
}

.redes {
    margin-top: 10px;
}

.redes a {
    color: #f5c542;
    text-decoration: none;
    margin: 0 10px;
    font-size: 1rem;
}

.redes a:hover {
    color: #ffffff;
}

.redes a i,
.redes-contacto a i,
.dato-contacto a i {
    margin-right: 6px;
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
}

.redes a:hover i,
.redes-contacto a:hover i,
.dato-contacto a:hover i {
    transform: scale(1.3) rotate(6deg);
}

.redes a:hover .fa-instagram,
.redes-contacto a:hover .fa-instagram {
    color: #E1306C;
}

.redes a:hover .fa-facebook,
.redes-contacto a:hover .fa-facebook {
    color: #1877F2;
}

.redes a:hover .fa-tiktok,
.redes-contacto a:hover .fa-tiktok {
    color: #ffffff;
}

.dato-contacto a:hover .fa-whatsapp {
    color: #25D366;
}

.fila-dos-columnas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.columna-doble {
    text-align: center;
}

.titulo-columna {
    color: #f5c542;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.categoria-compacta {
    flex: 1 1 160px;
    max-width: 180px;
    padding: 12px;
}

.categoria-compacta .imagen-categoria,
.categoria-compacta .imagen-pendiente {
    max-width: 140px;
    height: 100px;
}

.categoria-compacta h3 {
    font-size: 1rem;
}

h1, h2, h3 {
    font-family: 'Righteous', cursive;
}

.boton-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.boton-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
}

.boton-musica {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: #f5c542;
    color: #1a1a2e;
    border: none;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.boton-musica:hover {
    transform: scale(1.1);
}

.boton-musica.sonando {
    animation: pulsoMusica 1.5s ease-in-out infinite;
}

@keyframes pulsoMusica {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 197, 66, 0.5); }
    50%      { box-shadow: 0 0 0 12px rgba(245, 197, 66, 0); }
}

.icono-whatsapp {
    width: 32px;
    height: 32px;
}

.info-contacto {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.dato-contacto {
    background-color: rgba(22, 33, 62, 0.85);
    border: 1px solid #f5c542;
    border-radius: 10px;
    padding: 20px;
    max-width: 250px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dato-contacto:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(245, 197, 66, 0.25);
}

.dato-contacto h3 {
    color: #f5c542;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.dato-contacto p {
    color: #dddddd;
    font-size: 0.95rem;
}

.dato-contacto a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}

.redes-contacto {
    margin-top: 30px;
    text-align: center;
}

.redes-contacto a {
    color: #f5c542;
    text-decoration: none;
    font-size: 1.2rem;
    margin: 0 15px;
    display: inline-flex;
    align-items: center;
}

.redes-contacto a:hover {
    color: #ffffff;
}

.texto-nosotros {
    max-width: 700px;
    margin: 30px auto 0 auto;
    text-align: left;
}

.texto-nosotros p {
    color: #dddddd;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 18px;
}
.subtitulo-pqr {
    color: #dddddd;
    margin-top: 10px;
}

.formulario-pqr {
    max-width: 500px;
    margin: 30px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.formulario-pqr input,
.formulario-pqr select,
.formulario-pqr textarea {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #f5c542;
    background-color: #16213e;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

.formulario-pqr textarea {
    resize: vertical;
}

.formulario-pqr button {
    background-color: #25D366;
    color: #ffffff;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-family: 'Righteous', cursive;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.3s ease;
}

.formulario-pqr button:hover {
    background-color: #1ebc59;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}

/* =========================================================
   Takara Kai · Explora → Álbum de personajes
   Formato con imagen estilo anime (marco dorado suave).
   ========================================================= */

#personajes .marco-personaje {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(245, 197, 66, 0.45);
  background: #0d1326;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}

#personajes .marco-personaje .imagen-personaje {
  border-radius: 0;
  transition: transform 0.4s ease;
}

#personajes .marco-personaje:hover .imagen-personaje {
  transform: scale(1.04);
}

/* Crédito del artista debajo de la imagen (por ejemplo, en Haku) */
#personajes .credito-imagen {
  margin-top: 6px;
  font-size: 0.72rem;
  opacity: 0.7;
}

@media (prefers-reduced-motion: reduce) {
  #personajes .marco-personaje .imagen-personaje {
    transition: none;
  }
}
