/* CARGA Y DEFINICIÓN EXACTA DE FUENTES */
@font-face {
    font-family: 'Frutiger';
    src: url('assets/fonts/frutiger.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Frutiger Bold';
    src: url('assets/fonts/frutiger-bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Lovelo Black';
    src: url('assets/fonts/lovelo-black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --rosa: #ff4d88;
    --rosa-claro: #ff8fab;
    --oscuro: #12121f;
    --gris: #f8f9fc;
    --texto: #2d2d3f;
    --blanco: #ffffff;
    --sombra: 0 8px 32px rgba(255, 77, 136, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Frutiger', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: normal;
}

.fuente-titulo {
    font-family: 'Lovelo Black', sans-serif !important;
    font-weight: 900 !important;
}
.fuente-texto {
    font-family: 'Frutiger', sans-serif !important;
    font-weight: normal !important;
}
.fuente-texto-negrita {
    font-family: 'Frutiger Bold', sans-serif !important;
    font-weight: bold !important;
}

@keyframes entrada {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes flotar {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}
@keyframes brillo {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
@keyframes pulsar {
    0% { box-shadow: 0 0 0 0 rgba(255, 77, 136, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(255, 77, 136, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 77, 136, 0); }
}

.anim-entrada {
    opacity: 0;
    animation: entrada 0.8s ease forwards;
}
.anim-entrada:nth-child(1) { animation-delay: 0.1s; }
.anim-entrada:nth-child(2) { animation-delay: 0.2s; }
.anim-entrada:nth-child(3) { animation-delay: 0.3s; }
.anim-entrada:nth-child(4) { animation-delay: 0.4s; }
.anim-entrada:nth-child(5) { animation-delay: 0.5s; }
.anim-entrada:nth-child(6) { animation-delay: 0.6s; }

body {
    background: var(--gris);
    color: var(--texto);
    padding-top: 72px;
    line-height: 1.5;
}

/* LOGO AÚN MÁS CHICO */
.encabezado {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--rosa);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    z-index: 999;
    box-shadow: 0 2px 20px rgba(255, 77, 136, 0.35);
    animation: pulsar 3s infinite;
    backdrop-filter: blur(10px);
}

.btn-menu, .btn-perfil {
    background: transparent;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
    padding: 6px;
    border-radius: 50%;
}
.btn-menu:hover, .btn-perfil:hover {
    transform: scale(1.15) rotate(5deg);
    background: rgba(255,255,255,0.15);
}
.btn-menu img, .btn-perfil img {
    width: 24px;
    display: block; /* Evita espacios sobrantes en iconos */
}
.logo-header {
    height: 26px; /* MÁS CHICO AHORA */
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}
.logo-header:hover {
    transform: scale(1.05);
}

.icono-flecha {
    transition: transform 0.3s ease;
    margin-left: 6px;
    display: inline-block;
}
.btn-submenu.activo .icono-flecha {
    transform: rotate(180deg);
}

.capa-fondo {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 1000;
}
.capa-fondo.activo {
    opacity: 1;
    visibility: visible;
}

.menu-lateral {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    max-width: 440px;
    height: 100vh;
    background: var(--oscuro);
    color: var(--blanco);
    transition: left 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1001;
    overflow-y: auto;
    border-radius: 0 16px 16px 0;
}
.menu-lateral.activo {
    left: 0;
}

.menu-cabecera {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px;
    border-bottom: 1px solid #2a2a40;
}
.logo-menu {
    height: 24px; /* MÁS CHICO EN MENÚ */
    filter: brightness(0) invert(1);
    animation: flotar 3s ease-in-out infinite;
}
.btn-cerrar {
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    padding: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-cerrar:hover {
    transform: rotate(90deg);
    background: var(--rosa);
}

.menu-contenido {
    padding: 20px 25px;
}
.item-menu {
    display: block;
    color: white;
    text-decoration: none;
    padding: 15px 0;
    font-size: 18px;
    font-family: 'Lovelo Black', sans-serif;
    font-weight: 900;
    border-bottom: 1px solid #2a2a40;
    cursor: pointer;
    transition: padding-left 0.3s ease, color 0.3s ease;
}
.item-menu:hover {
    padding-left: 12px;
    color: var(--rosa-claro);
}

.btn-submenu {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    color: inherit;
    font-size: inherit;
    padding: 0;
    cursor: pointer;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Lovelo Black', sans-serif;
    font-weight: 900;
}
.btn-submenu:hover {
    color: var(--rosa-claro);
}

.submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.submenu.activo {
    max-height: 600px;
    padding: 12px 0 12px 18px;
}
.submenu h4 {
    color: var(--rosa-claro);
    margin: 10px 0;
    font-size: 16px;
    font-family: 'Lovelo Black', sans-serif;
    font-weight: 900;
}
.submenu a {
    display: block;
    color: #b0b0c3;
    text-decoration: none;
    padding: 10px 0;
    font-size: 16px;
    font-family: 'Frutiger', sans-serif;
    font-weight: normal;
    transition: color 0.3s ease, transform 0.2s ease;
}
.submenu a:hover {
    color: var(--rosa);
    transform: translateX(6px);
}
.submenu .ver-todos {
    color: var(--rosa);
    font-family: 'Frutiger Bold', sans-serif;
    font-weight: bold;
    margin-top: 10px;
    position: relative;
}
.submenu .ver-todos::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--rosa), transparent);
    background-size: 200% 100%;
    animation: brillo 2s linear infinite;
}

.menu-pie {
    padding: 25px;
    border-top: 1px solid #2a2a40;
}
.menu-pie select {
    width: 100%;
    padding: 12px;
    margin-bottom: 18px;
    border-radius: 10px;
    border: none;
    font-size: 16px;
    font-family: 'Frutiger', sans-serif;
    font-weight: normal;
    transition: box-shadow 0.3s ease;
    background: #1e1e35;
    color: white;
}
.menu-pie select:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--rosa-claro);
}
.buscador-menu {
    display: flex;
    gap: 12px;
}
.buscador-menu input {
    flex: 1;
    padding: 12px;
    border-radius: 10px;
    border: none;
    font-size: 16px;
    font-family: 'Frutiger', sans-serif;
    font-weight: normal;
    transition: box-shadow 0.3s ease;
    background: #1e1e35;
    color: white;
}
.buscador-menu input::placeholder {
    color: #888;
}
.buscador-menu input:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--rosa-claro);
}
.buscador-menu button {
    padding: 12px 18px;
    background: var(--rosa);
    border: none;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    font-size: 16px;
    font-family: 'Frutiger Bold', sans-serif;
    font-weight: bold;
}
.buscador-menu button:hover {
    background: #e03a72;
    transform: scale(1.05);
}

.contenido {
    max-width: 1280px;
    margin: 0 auto;
    padding: 25px 20px;
}
section {
    margin-bottom: 55px;
}
h3 {
    font-size: 26px;
    margin-bottom: 20px;
    color: var(--oscuro);
    position: relative;
    display: inline-block;
    font-family: 'Lovelo Black', sans-serif;
    font-weight: 900;
}
h3::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 70px;
    height: 4px;
    background: var(--rosa);
    border-radius: 2px;
}

/* BANNER 16:9 */
.banner-principal {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--sombra);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    aspect-ratio: 16 / 9;
    width: 100%;
}
.banner-principal:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(255, 77, 136, 0.25);
}
.banner-principal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}
.banner-principal:hover img {
    transform: scale(1.08);
}
.texto-banner {
    position: absolute;
    bottom: 40px;
    left: 40px;
    color: white;
    z-index: 2;
}
.texto-banner h2 {
    font-size: 36px;
    margin-bottom: 18px;
    font-family: 'Lovelo Black', sans-serif;
    font-weight: 900;
    text-shadow: 0 2px 15px rgba(0,0,0,0.4);
}
.btn-ver-boletos {
    display: inline-block;
    padding: 14px 28px;
    background: var(--rosa);
    color: white;
    border: none;
    border-radius: 10px;
    font-family: 'Frutiger Bold', sans-serif;
    font-weight: bold;
    font-size: 17px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255,77,136,0.3);
}
.btn-ver-boletos:hover {
    background: #e03a72;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 77, 136, 0.4);
}

.carrusel {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    padding: 10px 0 25px;
    scrollbar-width: thin;
    scrollbar-color: var(--rosa) #eee;
}
.carrusel::-webkit-scrollbar {
    height: 8px;
}
.carrusel::-webkit-scrollbar-thumb {
    background: var(--rosa);
    border-radius: 4px;
}

/* TARJETAS CON IMÁGENES 1:1 (CUADRADAS) */
.tarjeta-destacada {
    min-width: 280px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--blanco);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    position: relative;
}
.tarjeta-destacada:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 15px 35px rgba(255, 77, 136, 0.2);
}
.tarjeta-destacada img {
    width: 100%;
    aspect-ratio: 1 / 1; /* FORMATO 1:1 EXACTO */
    object-fit: cover;
    transition: transform 0.5s ease;
}
.tarjeta-destacada:hover img {
    transform: scale(1.1);
}
.zona-evento {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-family: 'Frutiger Bold', sans-serif;
    font-weight: bold;
    backdrop-filter: blur(4px);
}
.nombre-evento {
    padding: 15px 15px 8px;
    font-family: 'Lovelo Black', sans-serif;
    font-weight: 900;
    font-size: 17px;
    color: var(--oscuro);
    text-align: center;
}
.btn-comprar {
    display: block;
    margin: 0 15px 18px;
    padding: 10px 20px;
    background: var(--rosa);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Frutiger Bold', sans-serif;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
}
.btn-comprar:hover {
    background: #e03a72;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 77, 136, 0.3);
}

.tarjeta-evento, .tarjeta-org, .tarjeta-ciudad {
    min-width: 200px;
    border-radius: 14px;
    overflow: hidden;
    background: var(--blanco);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}
.tarjeta-evento:hover, .tarjeta-org:hover, .tarjeta-ciudad:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 30px rgba(255, 77, 136, 0.2);
}
.tarjeta-evento img, .tarjeta-org img, .tarjeta-ciudad img {
    width: 100%;
    aspect-ratio: 1 / 1; /* FORMATO 1:1 */
    object-fit: cover;
    transition: transform 0.5s ease;
}
.tarjeta-evento:hover img, .tarjeta-org:hover img, .tarjeta-ciudad:hover img {
    transform: scale(1.1);
}
.tarjeta-evento p, .tarjeta-org p, .tarjeta-ciudad p {
    padding: 12px;
    text-align: center;
    font-family: 'Frutiger Bold', sans-serif;
    font-weight: bold;
    font-size: 15px;
}
.tarjeta-org small {
    display: block;
    padding: 0 12px 12px;
    text-align: center;
    color: #888;
    font-size: 13px;
    font-family: 'Frutiger', sans-serif;
    font-weight: normal;
}

.aviso-cuenta {
    color: #777;
    font-style: italic;
    padding: 18px;
    background: rgba(255, 77, 136, 0.05);
    border-radius: 10px;
    font-size: 15px;
    font-family: 'Frutiger', sans-serif;
    font-weight: normal;
}
.anuncio img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}
.anuncio img:hover {
    transform: scale(1.01);
}
.lista-beneficios {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}
.beneficio {
    text-align: center;
    max-width: 200px;
    padding: 25px 20px;
    background: white;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.4s ease;
}
.beneficio:hover {
    transform: translateY(-8px);
}
.beneficio img {
    width: 55px;
    height: 55px;
    display: block;
    margin: 0 auto 15px;
    transition: transform 0.3s ease;
}
.beneficio:hover img {
    transform: rotate(10deg) scale(1.1);
}
.beneficio p {
    font-family: 'Frutiger Bold', sans-serif;
    font-weight: bold;
}

.pie-pagina {
    background: var(--oscuro);
    color: white;
    padding: 50px 25px 30px;
    border-radius: 20px 20px 0 0;
}
.pie-arriba {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 40px;
}
.logo-pie {
    height: 26px; /* MÁS CHICO EN PIE */
    filter: brightness(0) invert(1);
    margin-bottom: 25px;
}
.redes {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    gap: 18px;
}
.redes a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #25253a;
    border-radius: 50%;
    transition: all 0.3s ease;
}
.redes a:hover {
    background: var(--rosa);
    transform: translateY(-5px) rotate(360deg);
}
.redes img {
    width: 22px;
    height: 22px;
    display: block;
}
.btn-app {
    display: inline-block;
    padding: 14px 30px;
    background: var(--rosa);
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-family: 'Frutiger Bold', sans-serif;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255,77,136,0.3);
}
.btn-app:hover {
    background: #e03a72;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 77, 136, 0.3);
}

.pie-links {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}
.columna-pie h4 {
    margin-bottom: 18px;
    color: var(--rosa-claro);
    font-size: 17px;
    cursor: pointer;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    font-family: 'Lovelo Black', sans-serif;
    font-weight: 900;
}
.columna-pie h4:hover {
    color: var(--rosa);
}
.columna-pie a {
    display: block;
    color: #b0b0c3;
    text-decoration: none;
    padding: 8px 0;
    font-size: 15px;
    font-family: 'Frutiger', sans-serif;
    font-weight: normal;
    transition: all 0.2s ease;
}
.columna-pie a:hover {
    color: var(--rosa);
    transform: translateX(5px);
}

.copyright {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid #2a2a40;
    font-size: 14px;
    color: #888;
    font-family: 'Frutiger', sans-serif;
    font-weight: normal;
}

@media (max-width: 768px) {
    body { padding-top: 70px; }
    .encabezado { padding: 12px 20px; }
    .logo-header { height: 22px; } /* AÚN MÁS CHICO EN MÓVIL */
    .texto-banner { left: 20px; bottom: 25px; }
    .texto-banner h2 { font-size: 24px; }
    .btn-ver-boletos { padding: 12px 24px; font-size: 16px; }
    .banner-principal { border-radius: 16px; }
    .menu-lateral { max-width: 100%; border-radius: 0; }
    .tarjeta-destacada { min-width: 240px; }
    .tarjeta-evento { min-width: 180px; }
}
