@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(0.5deg);
    }

    /* Reducido de -20px y 1deg para más sutileza */
    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

@keyframes pulse-neon {
    0% {
        box-shadow: 0 0 10px var(--primary-neon), 0 0 20px var(--primary-neon);
    }

    50% {
        box-shadow: 0 0 25px var(--primary-neon), 0 0 50px var(--primary-neon);
    }

    100% {
        box-shadow: 0 0 10px var(--primary-neon), 0 0 20px var(--primary-neon);
    }
}

@keyframes shine {
    from {
        left: -100%;
    }

    to {
        left: 200%;
    }
}

@keyframes grain {

    0%,
    100% {
        transform: translate(0, 0)
    }

    10% {
        transform: translate(-5%, -10%)
    }

    30% {
        transform: translate(3%, -15%)
    }

    50% {
        transform: translate(12%, 9%)
    }

    70% {
        transform: translate(9%, 4%)
    }

    90% {
        transform: translate(-1%, 7%)
    }
}

.bg-animate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0.3;
    pointer-events: none;
}

:root {
    /* Paleta de Colores Retro-Futurista */
    --primary-neon: #FF00FF;
    /* Rosa Neón */
    --secondary-neon: #00FFFF;
    /* Cian Eléctrico */
    --accent-yellow: #FFFF00;
    /* Amarillo Neón */
    --bg-dark: #050505;
    /* Negro Profundo */
    --bg-card: rgba(15, 15, 15, 0.8);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);

    /* Tipografía */
    --font-body: 'Inter', sans-serif;
    --font-header: 'Orbitron', 'Montserrat', sans-serif;

    /* Efectos de Resplandor */
    --glow-pink: 0 0 15px rgba(255, 0, 255, 0.5);
    --glow-cyan: 0 0 15px rgba(0, 255, 255, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    background-color: var(--bg-dark);
    color: white;
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Tipografía */
h1,
h2,
h3 {
    font-family: var(--font-header);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Contenedor General */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Glassmorphism Reusable */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
}

/* Botones Neón */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-family: var(--font-header);
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    border: none;
}

.btn-primary {
    background: var(--primary-neon);
    color: white;
    box-shadow: var(--glow-pink);
    animation: pulse-neon 3s infinite;
    /* Añadido pulso neón */
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 0 30px var(--primary-neon), 0 0 60px var(--primary-neon);
}

.btn-pink {
    background: var(--primary-neon);
    color: white;
    box-shadow: var(--glow-box-pink);
}

.btn-pink:hover {
    box-shadow: 0 0 25px var(--primary-neon);
    transform: translateY(-2px);
}

.btn-cyan {
    background: var(--secondary-neon);
    color: var(--bg-dark);
    box-shadow: var(--glow-box-cyan);
}

.btn-cyan:hover {
    box-shadow: 0 0 25px var(--secondary-neon);
    transform: translateY(-2px);
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Utility classes */
.text-glow-pink {
    text-shadow: var(--glow-pink);
}

.text-glow-cyan {
    text-shadow: var(--glow-cyan);
}

/* Navegación */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    /* Por defecto */
}

.navbar-scrolled {
    background: rgba(5, 5, 5, 0.9) !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 50px;
    border-radius: 5px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-family: var(--font-header);
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--secondary-neon);
    text-shadow: var(--glow-cyan);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.menu-toggle .bar {
    width: 30px;
    height: 3px;
    background: white;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.parallax-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.parallax-bg {
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 120%;
    background: linear-gradient(rgba(5, 5, 5, 0.4), rgba(5, 5, 5, 0.7)), url('hero-bg-clean.png');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.parallax-logo {
    position: absolute;
    top: 48%;
    /* Bajado de 40% para que no choque con el menú en PC */
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 90%;
    max-width: 900px;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-layer {
    width: 100%;
    height: auto;
    display: block;
}

.infinity-layer {
    max-width: 800px;
    margin-bottom: 40px;
    /* Aumentado para mayor separación en PC */
    filter: drop-shadow(0 0 30px rgba(255, 0, 255, 0.8));
    animation: float 6s ease-in-out infinite;
    z-index: 3;
}

.glow-layer {
    max-width: 900px;
    filter: drop-shadow(0 0 20px rgba(255, 0, 255, 0.4));
    z-index: 2;
    margin-bottom: 60px;
    /* Más espacio por debajo del glow en PC */
}

.hero-content {
    position: relative;
    z-index: 10;
    margin-top: 750px;
    /* Reducido de 1000px para que los años sean visibles en PC */
    width: 100%;
}

.hero-content p {
    font-size: 1.5rem;
    font-family: var(--font-header);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.hero-years {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    font-size: 2rem;
    font-weight: 900;
    font-family: var(--font-header);
}

.year.pink {
    color: var(--primary-neon);
    text-shadow: var(--glow-pink);
}

.year.yellow {
    color: var(--accent-yellow);
    text-shadow: 0 0 10px var(--accent-yellow);
}

.year.cyan {
    color: var(--secondary-neon);
    text-shadow: var(--glow-cyan);
}

/* Secciones Generales */
section {
    padding: 60px 0;
    /* Reducido de 100px */
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 25px;
    /* Reducido de 40px */
}

/* Event & Countdown */
.section-desc {
    max-width: 800px;
    margin: 20px auto 40px;
    text-align: center;
    font-size: 1.2rem;
}

.countdown-container {
    margin: 20px auto 40px;
    /* Reducido de 30px / 70px */
    padding: 30px;
    /* Reducido de 40px */
    max-width: 800px;
    text-align: center;
    border: 2px solid var(--secondary-neon);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2), inset 0 0 20px rgba(0, 255, 255, 0.1);
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.time-block {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    min-width: 100px;
    border: 1px solid rgba(0, 255, 255, 0.1);
}

.time-block span {
    font-size: 3rem;
    font-family: var(--font-header);
    color: var(--primary-neon);
    text-shadow: var(--glow-pink);
}

/* Iconos Neón Mejorados */
.event-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.event-card {
    padding: 50px 30px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.event-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-neon);
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.2);
}

.icon-neon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-neon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 8px currentColor);
}

.icon-neon.pink {
    color: var(--primary-neon);
}

.icon-neon.cyan {
    color: var(--secondary-neon);
}

/* Acceso Seguro */
.secure-box {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
    padding: 40px;
    /* Reducido de 60px */
    border: 1px solid var(--primary-neon);
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.1), inset 0 0 20px rgba(255, 0, 255, 0.05);
}

.secure-list {
    list-style: none;
    margin-top: 30px;
}

.secure-list li {
    margin-bottom: 20px;
    font-size: 1.1rem;
    display: grid;
    grid-template-columns: 40px 1fr;
    align-items: center;
    gap: 10px;
}

.secure-list li strong {
    display: inline-block;
    min-width: 130px;
    color: var(--secondary-neon);
}

.secure-info-text {
    flex: 1;
}

.status-icon {
    font-size: 1.4rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.red {
    background: #ff4444;
    box-shadow: 0 0 10px #ff4444;
}

.phone-frame {
    width: 280px;
    padding: 12px;
    background: #000;
    border-radius: 40px;
    border: 4px solid #222;
    box-shadow: 0 0 40px rgba(255, 0, 255, 0.2);
}

.phone-frame img {
    width: 100%;
    border-radius: 30px;
}

/* Tickets */
.tickets-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    /* Aumentado de 40px para más aire en PC */
}

.ticket-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 10px;
    color: var(--secondary-neon);
    filter: drop-shadow(0 0 8px var(--secondary-neon));
}

.ticket-icon svg {
    width: 100%;
    height: 100%;
}

.ticket-card {
    padding: 40px 30px;
    /* Reducido de 60px / 40px */
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.price {
    font-size: 4rem;
    font-family: var(--font-header);
    color: var(--secondary-neon);
    margin: 10px 0 20px;
    text-shadow: var(--glow-cyan);
}

.ticket-features-clean {
    list-style: none;
    margin-bottom: 30px;
    padding: 0;
    text-align: center;
}

.ticket-features-clean li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.ticket-note {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: -15px;
    margin-bottom: 20px;
    font-style: italic;
}

.ticket-action {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.community-logo {
    width: 120px;
    /* Aumentado considerablemente para PC */
    height: 120px;
    margin: 0 auto 25px;
    color: #25D366;
    filter: drop-shadow(0 0 20px #25D366);
}

.promo h3 {
    margin-bottom: 15px;
    font-size: 1.8rem;
    color: var(--secondary-neon);
}

.promo p {
    margin-bottom: 25px;
    opacity: 0.9;
}

.promo .btn {
    width: 100%;
    max-width: 300px;
    display: block;
    margin: 0 auto;
    /* Asegurar centrado absoluto */
}

/* Location */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.location-info {
    text-align: center;
}

.location-details {
    margin-top: 20px;
    font-size: 1.4rem;
    line-height: 1.8;
}

.location-details p {
    margin-bottom: 5px;
    opacity: 0.9;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.15);
    border: 1px solid rgba(0, 255, 255, 0.1);
    height: 350px;
    /* Reducido según petición */
}

/* Footer */
.footer {
    padding: 50px 0;
    /* Reducido de 80px */
    text-align: center;
    background: rgba(0, 0, 0, 0.8);
    border-top: 1px solid var(--glass-border);
}

.footer-logo {
    height: 70px;
    margin-bottom: 30px;
}

/* Mobile Sticky */
.whatsapp-sticky {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
    width: 90%;
    max-width: 450px;
    display: none;
}

/* DJ Section */
.dj-section {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(255, 0, 255, 0.05) 50%, rgba(0, 0, 0, 0) 100%);
}

.dj-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.dj-image-container {
    position: relative;
}

.dj-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--primary-neon);
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.3);
}

.dj-photo {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.dj-frame:hover .dj-photo {
    transform: scale(1.05);
}

.dj-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.dj-logo-img {
    max-width: 250px;
    margin-bottom: 20px;
    display: block;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.5));
}

.dj-bio {
    font-size: 1.2rem;
    margin: 20px 0 30px;
    opacity: 0.9;
}

.dj-tags {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--secondary-neon);
    padding: 8px 15px;
    border-radius: 50px;
    font-family: var(--font-header);
    font-size: 0.8rem;
    color: var(--secondary-neon);
    text-transform: uppercase;
}

/* Menu Section */
.menu-section {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 255, 255, 0.05) 50%, rgba(0, 0, 0, 0) 100%);
}

.menu-container {
    max-width: 900px;
    margin: 40px auto 0;
    padding: 40px;
    border-radius: 30px;
}

.menu-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.menu-list li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.menu-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.menu-item-text h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
    color: var(--secondary-neon);
    text-transform: none;
    letter-spacing: 1px;
}

.menu-item-text p {
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.4;
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }

    .secure-box {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px;
    }

    .secure-list li {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 5px;
    }

    .secure-list li strong {
        display: block;
        min-width: 0;
        font-size: 1.2rem;
        text-transform: uppercase;
        margin-bottom: 2px;
    }

    .secure-list li span {
        font-size: 1rem;
        opacity: 0.8;
    }

    .status-icon {
        margin-bottom: 5px;
    }

    .phone-frame {
        margin: 0 auto;
    }

    .dj-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .dj-image-container {
        max-width: 400px;
        margin: 0 auto;
    }

    .dj-tags {
        justify-content: center;
    }

    .dj-logo-img {
        margin: 0 auto 20px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 40px 0;
        /* Reducido de 60px */
    }

    .hero-content {
        margin-top: 380px;
        /* Reducido para compactar en móvil */
    }

    .infinity-layer {
        margin-bottom: -10px !important;
        /* Juntar con el glow en móvil */
    }

    .glow-layer {
        margin-top: 0;
        margin-bottom: 10px;
        /* Reducir espacio inferior en móvil */
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        padding: 40px;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--glass-border);
        z-index: 1001;
        /* Asegurar que está sobre el contenido */
    }

    .nav-links.active {
        display: flex !important;
    }

    .menu-toggle {
        display: flex;
    }

    .event-grid,
    .tickets-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        /* Asegurar separación clara entre tarjetas en móvil */
    }

    .countdown {
        gap: 10px;
        flex-wrap: wrap;
    }

    .parallax-logo {
        top: 38% !important;
        /* Ajustado de 35% (punto medio del ajuste anterior) */
        max-width: 450px;
        /* Ajustado ligeramente de 500px */
    }

    .time-block {
        min-width: 80px;
        padding: 15px;
    }

    .time-block span {
        font-size: 2rem;
    }

    .mobile-only {
        display: block;
    }

    .btn {
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .community-logo {
        width: 90px;
        height: 90px;
    }

    .location-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .location-info {
        text-align: center;
    }

    .menu-list {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .menu-container {
        padding: 25px;
    }
}

/* Modal Shop */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.open {
    display: flex;
    opacity: 1;
}

.modal-container {
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    padding: 20px;
    position: relative;
    overflow-y: auto;
    box-shadow: 0 0 50px rgba(0, 255, 255, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #ff4444;
    /* Cambiado de blanco a rojo suave vibrante */
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
    transition: color 0.3s, transform 0.3s;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    /* Añadido resplandor rojo */
}

.close-btn:hover {
    color: #ff0000;
    /* Rojo puro en hover */
    transform: scale(1.1);
    text-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
}

@media (max-width: 768px) {
    .modal-container {
        width: 95%;
        padding: 60px 10px 20px;
    }
}

/* Legal Footer & Sections */
.footer-legal {
    margin-top: 20px;
    font-size: 0.8rem;
    opacity: 0.7;
}

.legal-link {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.legal-link:hover {
    color: var(--secondary-neon);
}

.legal-link-inline {
    color: var(--secondary-neon);
    text-shadow: 0 0 5px var(--secondary-neon);
    text-decoration: underline;
}

.legal-text {
    line-height: 1.6;
    text-align: left;
}

.legal-section h3 {
    margin-bottom: 20px;
    font-family: var(--font-header);
}

.legal-section p {
    margin-bottom: 15px;
    font-size: 0.95rem;
}

/* Cookies Banner */
.cookies-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 3000;
    background: rgba(0, 0, 0, 0.9);
    padding: 20px;
    display: none;
    /* Se activa por JS */
}

.cookies-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 15px 30px;
}

@media (max-width: 768px) {
    .cookies-content {
        flex-direction: column;
        text-align: center;
    }
}