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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #191303, #170f01);
    min-height: 100vh;
    color: white;
}

/* Header y banner */
.headerlogo {
    background: linear-gradient(to bottom, #00092F, #081659); 
    height: 120px; 
    display: flex; 
    align-items: center; 
    justify-content: center;
}
.header {
    background-image: url(https://imagedelivery.net/JbZV-s9lWe345kCaod3GZg/header_mdc_pronosticos_20250709152157.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;
}

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

.banner {
    background: linear-gradient(45deg, #E2A425, #bc7d00);
    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);
}

.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);
}

/* Selección de equipos (escritorio) */
.team-selection {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    margin-top: 15px;
    align-items: center;
}

.vs-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #e74c3c;
    background: linear-gradient(135deg, #ff6b35, #f7941d);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.team-button {
    padding: 20px;
    border: 3px solid #e0e0e0;
    border-radius: 15px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.team-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.team-button.selected {
    border-color: #e0871a;
    background: linear-gradient(135deg, #f7941d, #f7941d);
    color: white;
    transform: scale(1.05);
}

.team-button .team-name {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.team-button .team-flag {
    font-size: 2rem;
    margin-bottom: 10px;
}

/* Selector de goles */
.goals-selector {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.goal-button {
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
}

.goal-button:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.goal-button.selected {
    border-color: #e0871a;
    background: linear-gradient(135deg, #E2A425, #f7941d);
    color: white;
}

/* Botón de envío */
.submit-btn {
    background: linear-gradient(135deg, #E2A425, #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;
}

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

    .team-selection {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .team-button {
        width: 100%;
        max-width: 320px;
        min-height: 160px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .vs-separator {
        font-size: 1.6rem;
        margin: 0;
    }

    .goals-selector {
        grid-template-columns: repeat(3, 1fr);
    }

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