/* --- PALETA OSCURA --- */
:root {
    --bg-color: #050505;
    --text-primary: #ffffff;
    --text-secondary: #dddddd;
    --font-grunge: 'Rubik Glitch', cursive;
    --font-base: 'Roboto Condensed', sans-serif;
}

body {
    font-family: var(--font-base);
    background-color: var(--bg-color);
    color: var(--text-primary);
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.bg-texture {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('image_0.png'); background-size: cover; background-position: center;
    opacity: 0.3; z-index: 0;
}

.main-content-wrapper {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-height: 100vh; text-align: center; padding: 20px; box-sizing: border-box;
    position: relative; z-index: 3;
    padding-bottom: 50px;
}

.logo-top {
    width: 500px; max-width: 95%; margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
}

/* --- CÁPSULA DE FECHA --- */
.date-capsule {
    display: inline-flex; align-items: center; gap: 15px;
    background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 30px; border-radius: 50px; margin-bottom: 2.5rem;
    backdrop-filter: blur(5px); box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}
.date-part { font-weight: 700; font-size: 1.3rem; letter-spacing: 1px; color: #fff; }
.separator { color: rgba(255,255,255,0.4); font-size: 1.3rem; }
.time-part { font-weight: 300; font-size: 1.3rem; letter-spacing: 2px; color: #ccc; }

/* --- ESTRELLAS --- */
.stars-container-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
@keyframes twinkle-bg { 0% { opacity: 0.3; } 50% { opacity: 1; } 100% { opacity: 0.3; } }
.star-layer { position: absolute; top: 0; left: 0; border-radius: 50%; background: white; }
.s-small { width: 1px; height: 1px; animation: twinkle-bg 3s infinite ease-in-out; opacity: 0.6; box-shadow: 12vw 15vh #fff, 35vw 42vh #fff, 82vw 12vh #fff, 55vw 85vh #fff, 92vw 55vh #fff, 45vw 25vh #fff, 72vw 75vh #fff, 25vw 65vh #fff, 5vw 5vh #fff, 98vw 95vh #fff, 50vw 50vh #fff, 80vw 30vh #fff, 15vw 75vh #fff, 60vw 15vh #fff, 40vw 92vh #fff, 18vw 22vh #fff, 62vw 68vh #fff, 38vw 88vh #fff, 95vw 18vh #fff, 7vw 48vh #fff, 24vw 9vh #fff, 76vw 58vh #fff, 31vw 33vh #fff, 89vw 44vh #fff, 11vw 61vh #fff, 53vw 27vh #fff, 69vw 81vh #fff, 4vw 99vh #fff, 48vw 2vh #fff, 99vw 38vh #fff; }
.s-medium { width: 2px; height: 2px; animation: twinkle-bg 5s infinite ease-in-out 1s; opacity: 0.7; box-shadow: 22vw 25vh #fff, 75vw 12vh #fff, 42vw 82vh #fff, 91vw 65vh #fff, 58vw 45vh #fff, 32vw 95vh #fff, 85vw 35vh #fff, 65vw 78vh #fff, 52vw 15vh #fff, 15vw 35vh #fff, 85vw 85vh #fff, 50vw 15vh #fff, 35vw 75vh #fff, 78vw 25vh #fff, 5vw 95vh #fff, 95vw 5vh #fff, 30vw 50vh #fff, 70vw 50vh #fff; }

.bright-stars-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.bright-star {
    position: absolute; width: 0; height: 0;
    box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.8); border-radius: 50%;
    animation: center-pulse 12s infinite ease-in-out var(--flare-delay, 0s); opacity: 0; 
}
.bright-star::before, .bright-star::after {
    content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0) 100%);
    height: 2px; width: 0px; animation: flare-stretch 12s infinite ease-in-out var(--flare-delay, 0s); filter: blur(0.5px);
}
.bright-star::after { transform: translate(-50%, -50%) rotate(90deg); }
@keyframes center-pulse { 0%, 100% { opacity: 0; transform: scale(0.5); } 10%, 90% { opacity: 0; } 50% { opacity: 1; transform: scale(1.5); box-shadow: 0 0 25px 5px white; } }
@keyframes flare-stretch { 0%, 100% { width: 0px; opacity: 0; } 10%, 90% { opacity: 0; } 50% { width: 140px; opacity: 1; } }

/* --- TEXTOS --- */
.section-title {
    font-size: 1.5rem; text-transform: uppercase; color: var(--text-primary); margin-bottom: 0.5rem; margin-top: 1rem;
    text-shadow: 0 0 10px rgba(255,255,255,0.3); font-weight: 700;
}
.cta-text {
    font-size: 0.95rem; color: #ddd; margin-bottom: 10px; margin-top: 0; text-align: center;
}

/* --- PANELES --- */
.dark-panel {
    background: rgba(10, 10, 10, 0.85); border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px); border-radius: 8px; padding: 20px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* --- COUNTDOWN --- */
.countdown-container { display: flex; gap: 15px; margin-bottom: 2rem; justify-content: center; flex-wrap: wrap; width: 100%; max-width: 600px; }
.time-box { padding: 15px 10px; min-width: 75px; flex: 1 1 75px; }
.time-box span { display: block; font-family: var(--font-grunge); font-size: 2.8rem; line-height: 1; color: var(--text-primary); text-shadow: 0 0 10px rgba(255,255,255,0.3); }
.label { font-size: 0.8rem; text-transform: uppercase; color: #aaa; margin-top: 8px; font-weight: bold; letter-spacing: 1px; }

/* --- TRACKER --- */
.ticket-tracker { width: 100%; max-width: 500px; margin-bottom: 2rem; box-sizing: border-box; }
.progress-bar { background: #222; height: 16px; border-radius: 8px; margin: 15px 0; overflow: hidden; position: relative; border: 1px solid #444; }
.fill { background: #fff; height: 100%; width: 0%; transition: width 0.8s ease-out; box-shadow: 0 0 10px #fff; }
.glitch-font { font-family: var(--font-grunge); font-size: 2.2rem; color: var(--text-primary); vertical-align: middle; }
.status-text { font-weight: 700; letter-spacing: 1px; font-size: 1rem; text-transform: uppercase; color: #ccc; }
.loading-msg { font-size: 0.85rem; color: #888; font-style: italic; margin-top: 5px; height: 1rem; }
.disclaimer-text { font-size: 0.75rem; color: #777; margin-top: 10px; font-style: italic; border-top: 1px solid #333; padding-top: 10px; }

/* --- BOTONES BLANCOS (ESTÁNDAR) --- */
.buttons-container { display: flex; gap: 15px; flex-wrap: wrap; justify-content: center; width: 100%; max-width: 500px; }

.btn-primary { 
    padding: 16px 20px; font-size: 1rem; font-weight: 700; text-decoration: none; 
    color: black; background-color: white; 
    transition: all 0.2s ease; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; flex: 1 1 auto; 
    text-transform: uppercase; border-radius: 4px; box-shadow: 0 0 10px rgba(255,255,255,0.2);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 15px rgba(255,255,255,0.4); filter: brightness(1.1); }
.btn-primary:active { transform: scale(0.98); }

.btn-full-width { width: 100%; }

/* --- GRID DE CONTACTOS --- */
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dos columnas */
    gap: 15px;
    width: 100%; max-width: 500px;
    margin-bottom: 2rem;
}
.btn-contact {
    /* Ajustes específicos para los botones de contacto si necesarios */
    font-size: 0.9rem; /* Un poco más pequeño para que quepan los nombres */
    padding: 14px 10px;
}
.btn-contact i {
    font-size: 1.2rem; /* Icono de WhatsApp un poco más grande */
}


/* --- BOTONES DE TRANSPORTE (ICONOS GRANDES) --- */
.ride-buttons-wrapper {
    display: flex; gap: 10px; margin-top: 0.5rem; justify-content: center; width: 100%;
}
.btn-ride {
    flex: 1; padding: 14px 0;
}
.ride-logo-centered {
    height: 35px; width: auto; object-fit: contain;
}
.uber-tweak { height: 45px; }

/* --- MAPA --- */
.location-container {
    width: 100%; max-width: 500px; margin-top: 3rem; text-align: center;
}
.location-title {
    margin-top: 0; color: var(--text-primary); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1rem; font-size: 1.2rem;
}
.map-responsive {
    overflow: hidden; padding-bottom: 56.25%; position: relative; height: 0; border-radius: 4px; border: 1px solid rgba(255,255,255,0.2); margin-bottom: 1rem;
}
.map-responsive iframe { left: 0; top: 0; height: 100%; width: 100%; position: absolute; }
.ios-disclaimer {
    font-size: 0.75rem; color: rgba(255, 255, 255, 0.6); margin-top: 15px; margin-bottom: 0;
    font-style: italic; line-height: 1.4; padding: 0 10px;
}

/* --- REDES --- */
.social-footer { margin-top: 3rem; margin-bottom: 1rem; text-align: center; }
.ig-minimal-btn {
    font-size: 2.5rem; color: rgba(255,255,255,0.8); transition: all 0.3s ease; display: inline-block;
}
.ig-minimal-btn:hover {
    color: #fff; transform: scale(1.2) rotate(5deg);
    text-shadow: 0 0 20px rgba(255,255,255,0.6);
}

/* Responsive */
@media (max-width: 480px) {
    .logo-top { width: 90%; } .date-capsule { padding: 8px 20px; gap: 10px; } .date-part, .time-part { font-size: 1.1rem; }
    .time-box { flex-basis: 40%; padding: 10px; } .time-box span { font-size: 2.2rem; } 
    .ticket-tracker { padding: 20px; } .btn-primary { width: 100%; padding: 15px; } 
}