/* Fondo oscuro con gradiente */
body.fondo {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
    font-family: 'Segoe UI', sans-serif;
    color: white;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}
body.fondo {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
    font-family: 'Segoe UI', sans-serif;
    color: white;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
}

/* Contenedor principal totalmente centrado */
.contenedor-principal {
    background: #111;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(255,255,255,0.05);
    width: 95%;
    max-width: 700px;
    animation: aparecerFuma 1.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Imagen del concierto */
.imagen-banner {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 0 25px rgba(255,255,255,0.1);
    margin: 20px 0;
}

/* Tabla de entradas centrada */
.tabla-evento {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
}

.tabla-evento th, .tabla-evento td {
    padding: 12px;
    border-bottom: 1px solid #333;
}

.tabla-evento th {
    color: #e91e63;
    text-align: center;
}

.tabla-evento td {
    text-align: center;
    color: #fff;
}

.disponible {
    color: #2ecc71;
    font-weight: bold;
}

.agotado {
    color: #e74c3c;
    font-weight: bold;
}

.boton {
    background: #e91e63;
    color: white;
    padding: 14px 30px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    margin-top: 30px;
    box-shadow: 0 0 20px #e91e63;
    transition: all 0.3s ease;
    display: inline-block;
    animation: beat 1.2s infinite alternate;
}

.boton:hover {
    background: #ff4081;
    box-shadow: 0 0 30px #ff4081;
    transform: scale(1.05);
}

/* Animación suave */
@keyframes beat {
  0% { transform: scale(1); }
  100% { transform: scale(1.04); }
}


/* Contenedor centrado tipo tarjeta */
.contenedor-principal {
    background: #111;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(255,255,255,0.05);
    max-width: 800px;
    width: 95%;
    animation: aparecerFuma 1.2s ease;
}

/* Título central con efecto neon */
.titulo {
    color: white;
    font-size: 28px;
    text-shadow: 0 0 5px #e91e63;
    margin-bottom: 25px;
    text-align: center;
}

/* Tabla general */
.tabla-evento {
    width: 100%;
    border-collapse: collapse;
}

/* Etiquetas del formulario */
th {
    color: #ccc;
    text-align: right;
    padding-right: 15px;
    width: 35%;
    font-weight: 500;
}

/* Campos del formulario */
td {
    padding: 10px;
    color: white;
}

/* Estilo base de inputs y textareas */
input, select, textarea {
    width: 100%;
    padding: 12px;
    margin-top: 6px;
    border-radius: 8px;
    border: none;
    background-color: #2e2e2e;
    color: white;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.5);
    font-size: 14px;
    animation: slideIn 0.5s ease-out forwards;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

/* Efecto de hover en campos */
input:hover, select:hover, textarea:hover {
    background-color: #3a3a3a;
    box-shadow: 0 0 8px #ff4081;
    transform: scale(1.01);
    cursor: pointer;
}

/* Efecto de foco al hacer clic */
input:focus, select:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 10px #e91e63, 0 0 20px #e91e63;
    transform: scale(1.02);
}

/* Botón de envío */
input[type="submit"], .boton {
    background: #e91e63;
    color: white;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: bold;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 0 15px rgba(233, 30, 99, 0.4);
    animation: resplandor 2s ease-in-out infinite alternate, beat 1s infinite alternate;
}

/* Hover del botón */
input[type="submit"]:hover, .boton:hover {
    transform: scale(1.05);
    background: #ff4081;
    box-shadow: 0 0 20px rgba(255, 64, 129, 0.6);
}

/* Círculos animados de fondo */
.circulo {
    position: absolute;
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.02);
    border-radius: 50%;
    animation: flotar 12s ease-in-out infinite;
    top: 5%;
    left: 10%;
    z-index: 0;
}

.circulo2 {
    width: 180px;
    height: 180px;
    top: 80%;
    left: 75%;
    animation-duration: 18s;
}

/* ----------- ANIMACIONES ----------- */

@keyframes aparecerFuma {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
        filter: blur(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes resplandor {
    0% { box-shadow: 0 0 10px #e91e63; }
    100% { box-shadow: 0 0 25px #ff4081; }
}

@keyframes beat {
    0% { transform: scale(1); }
    100% { transform: scale(1.04); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes flotar {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}
