@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;800&display=swap');

:root {
    --naranja: #FF6A00;
    --naranja-hover: #ff8833;
    --azul-electrico: #0044cc;
    --azul-oscuro: #070d1f;
    --azul-panel: #0a152e; /* Nuevo color para los formularios (Futbolero) */
    --blanco: #ffffff;
    --rojo-error: #ff4d4d;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Poppins', sans-serif;
    /* Fondo que simula estadio nocturno oscuro para resaltar el contenedor */
    background: radial-gradient(circle at top, #0d1b3e, #030612);
    color: var(--blanco);
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 30px 10px;
}

/* CONTENEDOR PRINCIPAL: Ocupa casi toda la pantalla */
.container {
    width: 100%;
    max-width: 1300px;
    background: linear-gradient(145deg, #002b80, var(--azul-electrico));
    border: 4px solid var(--naranja);
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
}

@media (max-width: 950px) {
    body { padding: 0; }
    .container {
        border-radius: 0;
        border-left: none;
        border-right: none;
        padding: 20px 15px;
    }
}

.header-logo { text-align: center; margin-bottom: 20px; }
.logo-main { width: 100%; max-width: 350px; filter: drop-shadow(0 8px 15px rgba(0,0,0,0.6)); }
h1 { text-align: center; font-weight: 800; font-size: 32px; text-transform: uppercase; margin-bottom: 20px; text-shadow: 0 5px 15px rgba(0,0,0,0.5); }

/* ZONA DE IDENTIFICACIÓN */
.identificacion-section { text-align: center; margin-bottom: 35px; background: rgba(0,0,0,0.3); padding: 25px; border-radius: 20px; border: 1px dashed var(--naranja); }
.step-label { color: var(--naranja); font-size: 20px; font-weight: 800; display: block; margin-bottom: 15px; text-transform: uppercase; }

/* ESTILO FUTBOLERO PARA INPUTS */
.input-cedula-main {
    width: 100%; max-width: 500px; margin: 0 auto; text-align: center;
    font-size: 22px; font-weight: bold; letter-spacing: 3px;
    background: var(--azul-oscuro); color: white; border: 3px solid var(--naranja);
    border-radius: 15px; padding: 15px; box-shadow: inset 0 0 15px rgba(0,0,0,0.8);
}
.input-cedula-main:focus { outline: none; border-color: #00ebff; box-shadow: 0 0 20px rgba(0, 235, 255, 0.5); }

.error-text-main { display: inline-block; color: white; background: var(--rojo-error); padding: 8px 15px; border-radius: 10px; margin-top: 15px; font-weight: bold; }

.check-extranjero { display: inline-flex; align-items: center; justify-content: center; margin-top: 20px; cursor: pointer; font-size: 15px; color: #cbd5e1; }
.check-extranjero input { width: 20px; height: 20px; margin-right: 10px; accent-color: var(--naranja); cursor: pointer; }
.check-extranjero input:disabled + span { color: #555; text-decoration: line-through; }
.info-text { display: block; color: #00ebff; font-size: 14px; margin-top: 15px; font-weight: 600; }

/* LAYOUT DE 2 COLUMNAS */
.dashboard-layout { display: grid; grid-template-columns: 380px 1fr; gap: 30px; }
@media (max-width: 950px) { .dashboard-layout { grid-template-columns: 1fr; } }

/* COLUMNA IZQ: ESTILO PANEL DE CONTROL PREMIUM */
.panel-izquierdo {
    background: var(--azul-panel);
    padding: 30px; border-radius: 25px; border: 2px solid #002b80;
    box-shadow: 0 15px 30px rgba(0,0,0,0.5); height: fit-content;
}

.badge-container { text-align: center; margin-bottom: 25px; }
.badge-status { padding: 10px 20px; border-radius: 30px; font-weight: 800; font-size: 14px; text-transform: uppercase; display: block; width: 100%; box-shadow: 0 5px 15px rgba(0,0,0,0.4); }
.badge-cliente { background: var(--azul-oscuro); border: 2px solid #00ebff; color: white; }
.badge-invitado { background: linear-gradient(90deg, var(--naranja), #ff8833); color: white; border: none; }

.input-group { margin-bottom: 18px; }
input[type="text"], input[type="email"], select {
    width: 100%; padding: 18px; background-color: var(--azul-oscuro);
    border: 2px solid var(--naranja); border-radius: 15px; color: var(--blanco);
    font-family: 'Poppins', sans-serif; font-size: 15px; font-weight: 600; transition: 0.3s;
}
input:focus, select:focus { outline: none; border-color: #00ebff; box-shadow: 0 0 15px rgba(0, 235, 255, 0.4); background-color: #001f5c; }
.campo-bloqueado { background-color: rgba(0,0,0,0.5) !important; border-color: #333 !important; color: #999 !important; }

.input-error { border-color: var(--rojo-error) !important; background-color: rgba(255,77,77,0.1) !important; }
.error-text { color: #ff8888; font-size: 13px; font-weight: bold; display: none; margin-top: 5px; }

/* COLUMNA DER: PARTIDOS EN GRID */
.partidos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 25px; margin-bottom: 30px; }

.partido-box {
    background: var(--azul-panel); border: 2px solid #001f5c; border-radius: 25px;
    padding: 25px; box-shadow: inset 0 0 30px rgba(0,0,0,0.6), 0 10px 20px rgba(0,0,0,0.3);
    display: flex; flex-direction: column; justify-content: space-between; transition: 0.3s;
}
.partido-box:hover { border-color: var(--naranja); transform: translateY(-5px); }

.partido-card { text-align: center; margin-bottom: 20px; }
.img-partido { width: 100%; height: 200px; object-fit: cover; border-radius: 15px; border: 3px solid var(--naranja); margin-bottom: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.5); }
.partido-card h3 { font-size: 22px; color: white; margin-bottom: 5px; }
.vs { color: var(--naranja); font-size: 18px; margin: 0 10px; }
.fecha-cierre { color: #00ebff; font-size: 14px; background: rgba(0,0,0,0.4); padding: 5px 10px; border-radius: 10px; display: inline-block;}

.select-prediction { border-width: 3px; border-color: #00ebff; font-size: 15px; }
.select-prediction:focus { border-color: var(--naranja); box-shadow: 0 0 20px rgba(255, 106, 0, 0.5); }

.alerta-exito { text-align: center; background: rgba(40, 167, 69, 0.15); border: 2px dashed #28a745; padding: 15px; border-radius: 15px; color: #55ff77; font-size: 15px; margin-top: auto; }

.btn-enviar {
    background: linear-gradient(135deg, var(--naranja), #ff8833); color: white; border: none; padding: 22px; width: 100%; border-radius: 20px; font-size: 20px; font-weight: 800; cursor: pointer; text-transform: uppercase; transition: 0.3s; box-shadow: 0 15px 30px rgba(255, 106, 0, 0.5);
}
.btn-enviar:hover:not(:disabled) { transform: scale(1.02); box-shadow: 0 20px 40px rgba(255, 106, 0, 0.7); }
.btn-enviar:disabled { background: #333; color: #777; cursor: not-allowed; box-shadow: none; }

/* PUBLICIDAD */
.coverflow-container { position: relative; width: 100%; height: 250px; perspective: 1000px; display: flex; justify-content: center; align-items: center; margin-bottom: 30px; overflow: hidden; }
.coverflow-card { position: absolute; width: 180px; height: 240px; background: #000; border-radius: 20px; border: 3px solid var(--naranja); box-shadow: 0 15px 35px rgba(0,0,0,0.8); transition: all 0.5s; cursor: pointer; }
.coverflow-card img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.card-center { transform: translateX(0) translateZ(0) rotateY(0); z-index: 3; opacity: 1; box-shadow: 0 0 40px rgba(255, 106, 0, 0.6); }
.card-left { transform: translateX(-130px) translateZ(-100px) rotateY(35deg); z-index: 2; opacity: 0.4; }
.card-right { transform: translateX(130px) translateZ(-100px) rotateY(-35deg); z-index: 2; opacity: 0.4; }
.card-hidden { transform: translateX(0) translateZ(-250px) rotateY(0); z-index: 1; opacity: 0; pointer-events: none; }
