/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #00022A, #00044f);
    min-height: 100vh;
    color: white;
}

/* Header y banner */
.header {
    background-image: url(https://imagedelivery.net/JbZV-s9lWe345kCaod3GZg/back_20251023132422.jpg/public);
    background-size: cover;
    background-position: center;
    padding: 20px 0;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="30" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="60" cy="70" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 20s infinite linear;
}

/* =========================
   HEADER (solo logo)
========================== */
.site-header {
  position: relative;           /* Si quieres que sea sticky, cambia a: sticky y top:0 */
  /* position: sticky; top: 0;  z-index: 100;  <- opción sticky */
  background: linear-gradient(180deg, rgba(4,10,34,.95), rgba(4,10,34,.75));
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  text-align: center;
}

.site-logo {
  max-height: 64px;             /* asegura visibilidad en 1440+ */
  width: auto;
  display: inline-block;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.35));
}
.container-header{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@keyframes float {
    0% { transform: translateX(-100px); }
    100% { transform: translateX(100vw); }
}

.banner {
    background: linear-gradient(45deg, #06C5F8, #0079c4);
    color: white;
    text-align: center;
    padding: 15px;
    margin: 20px auto;
    max-width: 600px;
    border-radius: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
    transform: rotate(-2deg);
    border-style: double;
}

.banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255,255,255,0.1) 10px,
        rgba(255,255,255,0.1) 20px
    );
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.banner-top {
    text-align: center;
    padding: 10px 0 50px 0;
}

.banner-top img {
    border-radius: 20px;
    display: block;
}

.banner h1 {
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    position: relative;
    z-index: 2;
}

.banner .subtitle {
    font-size: 1.2rem;
    margin-top: 10px;
    position: relative;
    z-index: 2;
}

/* Container principal */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}
p span{
    color: #ffd700;
    font-weight: 600;
}
/* Formulario */
.prediction-form {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    color: #333;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #2c3e50;
    font-size: 1.1rem;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.3);
    transform: translateY(-2px);
}

/* Estilos específicos para los selectores de caballos */
.horse-select {
    background: white;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23666" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.horse-select:focus {
    border-color: #8B4513;
    box-shadow: 0 0 10px rgba(139, 69, 19, 0.3);
}

.horse-select option {
    padding: 10px;
    font-size: 1rem;
}

/* Botón de envío */
.submit-btn {
    background: linear-gradient(135deg, #ff6b35, #f7941d);
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 1.3rem;
    font-weight: bold;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 30px;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.6);
}

/* Logo */
.champions-logo {
    text-align: center;
    margin: 30px 0;
}

.champions-logo svg {
    width: 80px;
    height: 80px;
    fill: #ffd700;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

/* Stats */
.stats-banner {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 40px;
    margin: 30px 0;
    text-align: center;
    backdrop-filter: blur(10px);
}

.stats-banner h3 {
    margin-bottom: 10px;
    color: #ffd700;
}

/* Mensaje de error para selección duplicada */
.duplicate-error {
    border-color: #e74c3c !important;
    box-shadow: 0 0 10px rgba(231, 76, 60, 0.3) !important;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .banner h1 {
        font-size: 2rem;
    }

    .prediction-form {
        padding: 25px;
    }
}