/* CSS TIC TAC XPERIENCE - CÓDIGO PROTEGIDO POR DERECHOS DE AUTOR */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;900&display=swap');

:root {
    --color-amarillo: #ffd000;
    --color-amarillo-rgb: 255,208,0;
    --color-azul-oscuro: #061b40;
    --color-azul-brillante: #0d3b8e;
    --color-negro: #000;
    --color-blanco: #fff;
    --color-gris-claro: #d3d3d3;
    --fuente-principal: 'Montserrat', Arial, sans-serif;
    --shadow-amarillo: 0 0 10px var(--color-amarillo);
    --shadow-amarillo-fuerte: 0 0 20px var(--color-amarillo);
    --gradient-fondo: radial-gradient(circle at top, var(--color-azul-brillante), var(--color-negro));
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: var(--fuente-principal);
    background: var(--gradient-fondo);
    color: var(--color-blanco);
    overflow-x: hidden;
    line-height: 1.6;
    padding-top: 80px;
}

/* HEADER & NAVEGACIÓN */
header {
    position: fixed; top: 0; width: 100%; height: 80px; display: flex;
    justify-content: space-between; align-items: center; padding: 0 10px;
    background: var(--color-azul-oscuro); backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(var(--color-amarillo-rgb), .2); z-index: 1000;
}
.header-left { display: flex; align-items: center; gap: 20px; }
.logo-link { display: flex; align-items: center; height: 100%; text-decoration: none; }
.header-logo { height: 75px; width: auto; transition: transform .3s ease; filter: drop-shadow(0 0 5px rgba(var(--color-amarillo-rgb), .3)); }
.header-logo:hover { transform: scale(1.1); filter: drop-shadow(var(--shadow-amarillo)); }
nav { display: flex; gap: 15px; align-items: center; }
nav a { text-decoration: none; color: var(--color-blanco); font-weight: bold; font-size: .9rem; transition: .3s; }
nav a:hover { color: var(--color-amarillo); }
.btn-nav { background: var(--color-amarillo); color: var(--color-negro) !important; padding: 8px 20px; border-radius: 50px; }
.menu-toggle { display: none; color: var(--color-amarillo); font-size: 1.8rem; cursor: pointer; position: relative; z-index: 1100; }
.menu-toggle i { pointer-events: none; }

/* HERO SECTION */
.hero { position: relative; height: 100vh; width: 100%; overflow: hidden; display: flex; justify-content: center; align-items: center; }
.hero-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.45); z-index: 2; }
.hero-text { position: relative; z-index: 3; text-align: center; padding: 20px; }
.hero-text h2 { text-shadow: 0 0 20px rgba(0,0,0,.8); font-size: 3.5rem; font-weight: 900; line-height: 1.1; color: var(--color-blanco); margin-bottom: 20px; }
.hero-text h2 span { color: var(--color-amarillo); text-shadow: 0 0 20px var(--color-amarillo); }
.hero-poster { margin-bottom: 25px; display: flex; justify-content: center; opacity: 0.9; transition: transform 0.4s ease, opacity 0.4s ease; }
.hero-poster img { width: 280px; max-width: 80%; border-radius: 15px; border: none; box-shadow: none; }
.hero-poster:hover { transform: scale(1.05); opacity: 1; }

/* LAYOUT GENERAL */
section { text-align: center; }
.section-title { font-size: 2.5rem; font-weight: 900; margin-bottom: 50px; }
.section-title span { color: var(--color-amarillo); }
.eventos, .equipo, .entradas { padding: 80px 8%; text-align: center; }

/* CARDS EVENTOS */
.grid-fiesta { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.grid-fiesta a { display: block; text-decoration: none; color: inherit; }
.card {
    background: linear-gradient(145deg, #0a1f44, #050c1f); padding: 30px; border-radius: 25px;
    border: 1px solid var(--color-amarillo); box-shadow: 0 0 15px rgba(var(--color-amarillo-rgb), .2);
    transition: .4s; position: relative; overflow: hidden; height: 250px;
    display: flex; flex-direction: column; background-size: cover; background-position: center; justify-content: flex-end;
}
.card:hover { transform: translateY(-10px); box-shadow: 0 0 35px rgba(var(--color-amarillo-rgb), .5); border-width: 2px; }
.card h1 { color: var(--color-amarillo); letter-spacing: 1px; text-shadow: 2px 2px 4px rgba(0,0,0,.8); }
.card p { font-weight: bold; letter-spacing: 1px; color: var(--color-blanco); text-shadow: 2px 2px 4px rgba(0,0,0,.8); }

/* ENTRADAS */
.ticket { background: rgba(255,255,255,.05); padding: 30px; margin: 10px; border-radius: 20px; display: inline-block; width: 90%; max-width: 350px; vertical-align: top; position: relative; }
.vip { border: 2px solid var(--color-amarillo); background: rgba(var(--color-amarillo-rgb), .05); }
.vip-tag { position: absolute; top: -15px; right: 20px; background: var(--color-amarillo); color: var(--color-azul-oscuro); padding: 5px 15px; font-weight: 900; border-radius: 5px; }
button { background: var(--color-amarillo); border: none; padding: 15px 30px; width: 100%; margin-top: 20px; color: var(--color-negro); font-weight: bold; cursor: pointer; border-radius: 10px; transition: .3s; }
button:hover:not(:disabled) { transform: scale(1.05); box-shadow: var(--shadow-amarillo-fuerte); }
.btn-soldout { background: #444; color: #888; cursor: not-allowed; }

#cuenta, #entraditas { font-weight: bold; color: var(--color-blanco); margin-bottom: 30px; animation: pulse 2s infinite; }
#cuenta { font-size: 2rem; }
#entraditas { font-size: 1.2rem; }

/* TEXTOS LEGALES Y CONTACTO (Unificados desde HTML) */
.copy-container { display: flex; justify-content: center; align-items: center; padding: 100px 20px; }
.copy-box { max-width: 900px; background: rgba(0, 0, 0, .6); border: 1px solid var(--color-amarillo); border-radius: 20px; padding: 50px; box-shadow: 0 0 30px rgba(var(--color-amarillo-rgb), .3); animation: fade 1s ease; }
.copy-box h2 { font-size: 2.5rem; margin-bottom: 20px; }
.copy-box h2 span { color: var(--color-amarillo); }
.copy-box p { margin-bottom: 15px; text-align: justify; }
.copy-box a { color: var(--color-amarillo); text-decoration: none; font-weight: bold; }
.copy-box a:hover { text-decoration: underline; }

/* REDES SOCIALES */
.social-media { padding: 15px; background: transparent; }
.social-icons { display: flex; justify-content: center; gap: 40px; }
.icon-link { color: var(--color-amarillo); font-size: 35px; text-decoration: none; transition: .4s ease; filter: drop-shadow(0 0 5px rgba(var(--color-amarillo-rgb), .3)); }
.icon-link:hover { transform: translateY(-10px) scale(1.2); color: var(--color-blanco); filter: drop-shadow(0 0 15px var(--color-amarillo)); }

/* FOOTER */
footer { background: var(--color-azul-oscuro); padding: 40px; text-align: center; margin-top: 50px; border-top: 1px solid #222; }
footer a { color: var(--color-amarillo); text-decoration: none; }
footer a:hover { color: #fffacd; }
#aviso { color: var(--color-gris-claro); }

/* ANIMACIONES */
.luces { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; background: radial-gradient(circle, rgba(var(--color-amarillo-rgb), .1) 1px, transparent 2px); background-size: 50px 50px; animation: moveLights 20s linear infinite; z-index: -1; }
.reveal { opacity: 0; transform: translateY(50px); transition: 1s all ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
@keyframes moveLights { from { background-position: 0 0; } to { background-position: 0 -500px; } }
@keyframes fade { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }

/* RESPONSIVE */
@media (max-width: 768px) {
    .menu-toggle { display: block; margin-right: 20px; }
    .nav-menu { position: fixed; top: 80px; right: -100%; flex-direction: column; background: rgba(6,27,64,.95); width: 100%; height: calc(100vh - 80px); overflow-y: auto; text-align: center; transition: .4s; gap: 30px; padding-top: 50px; backdrop-filter: blur(10px); }
    .nav-menu.active { right: 0; }
    .nav-menu a { font-size: 1.2rem; }
    .hero-text h2 { font-size: 2rem; }
    .section-title { font-size: 1.8rem; }
    .hero-poster img { width: 200px; }
    .copy-container { padding: 60px 15px; }
    .copy-box { padding: 25px 18px; border-radius: 15px; }
    .copy-box h2 { font-size: 1.6rem; }
}
