/* sport-selection.css - Modern Sport Selection Styles for Juegos de la Unidad */

/* Sport Selection Container */
.sport-selection {
    padding: 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    margin: 20px;
}

/* Selection Steps - Modern Card Design */
.selection-step {
    margin-bottom: 30px;
    padding: 30px;
    border-radius: 20px;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border: none;
    box-shadow: 
        0 20px 40px rgba(211, 47, 47, 0.08),
        0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.selection-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d32f2f 0%, #ffd700 100%);
}

.selection-step:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 25px 50px rgba(211, 47, 47, 0.12),
        0 15px 30px rgba(0, 0, 0, 0.08);
}

.selection-step h3 {
    color: #d32f2f;
    margin-bottom: 25px;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    position: relative;
}

.selection-step h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #d32f2f 0%, #ffd700 100%);
    border-radius: 2px;
}

/* Modern Dropdown Filters */
.sport-filters,
.modality-filters,
.category-filters {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    justify-content: center;
}

.sport-filters .form-select,
.modality-filters .form-select,
.category-filters .form-select {
    min-width: 280px;
    font-size: 1.1rem;
    padding: 20px 25px;
    text-align: center;
    font-weight: 600;
    border: 3px solid transparent;
    border-radius: 15px;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.06),
        inset 0 2px 4px rgba(255, 255, 255, 0.9);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    color: #333;
}

.sport-filters .form-select:hover,
.modality-filters .form-select:hover,
.category-filters .form-select:hover {
    transform: translateY(-2px);
    border-color: #d32f2f;
    box-shadow: 
        0 12px 30px rgba(211, 47, 47, 0.15),
        inset 0 2px 4px rgba(255, 255, 255, 0.9);
}

.sport-filters .form-select:focus,
.modality-filters .form-select:focus,
.category-filters .form-select:focus {
    outline: none;
    border-color: #d32f2f;
    background: linear-gradient(145deg, #ffffff 0%, #fff5f5 100%);
    box-shadow: 
        0 0 0 4px rgba(211, 47, 47, 0.1),
        0 12px 30px rgba(211, 47, 47, 0.2);
}

/* Modern Option Styling */
.form-select option {
    padding: 15px;
    background: #ffffff;
    color: #333;
    font-weight: 500;
}

/* Sports Grid - Hidden since using dropdown only */
.sports-grid {
    display: none;
}

/* Modern Selected Sport Display */
.selected-sport-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-bottom: 25px;
    padding: 25px;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.05),
        inset 0 2px 4px rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(211, 47, 47, 0.1);
    transition: all 0.3s ease;
}

.selected-sport-display:hover {
    transform: translateY(-1px);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.08),
        inset 0 2px 4px rgba(255, 255, 255, 0.9);
}

/* Logo Sizing - Proper centered sizing */
.sport-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
    border-radius: 15px;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    padding: 10px;
    box-shadow: 
        0 8px 20px rgba(211, 47, 47, 0.1),
        inset 0 2px 4px rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.sport-logo:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 
        0 12px 30px rgba(211, 47, 47, 0.15),
        inset 0 2px 4px rgba(255, 255, 255, 0.9);
}

/* Logo Container for controlled sizing */
.sport-logo-container {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    padding: 15px;
    box-shadow: 
        0 12px 30px rgba(211, 47, 47, 0.1),
        inset 0 3px 6px rgba(255, 255, 255, 0.9);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    overflow: hidden;
}

.sport-logo-large {
    max-width: 50px;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sport-logo-large:hover {
    transform: scale(1.08) rotate(-2deg);
    box-shadow: 
        0 18px 40px rgba(211, 47, 47, 0.15),
        inset 0 3px 6px rgba(255, 255, 255, 0.9);
}

.selected-sport-display h4 {
    color: #d32f2f;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
    text-align: center;
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

/* Modern Final Selection Display */
.final-selection-display {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.08),
        0 15px 30px rgba(211, 47, 47, 0.05);
    margin-bottom: 30px;
    border: 1px solid rgba(211, 47, 47, 0.1);
    position: relative;
    overflow: hidden;
}

.final-selection-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #d32f2f 0%, #ffd700 50%, #d32f2f 100%);
}

.selection-card {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
    margin-bottom: 35px;
    padding: 30px;
    background: linear-gradient(145deg, #fff5f5 0%, #ffffff 100%);
    border-radius: 20px;
    box-shadow: 
        0 10px 25px rgba(211, 47, 47, 0.08),
        inset 0 2px 4px rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    text-align: left;
}

.selection-card:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 15px 35px rgba(211, 47, 47, 0.12),
        inset 0 2px 4px rgba(255, 255, 255, 0.9);
}

.selection-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.selection-details h4 {
    color: #d32f2f;
    font-size: 2rem;
    font-weight: 800;
    margin: 0;
    text-align: center;
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.selection-details h5 {
    color: #495057;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    text-align: center;
}

.category-badge {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4a 100%);
    color: #1a1a1a;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 
        0 8px 20px rgba(255, 215, 0, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(211, 47, 47, 0.2);
}

/* Modern Sport Info Grid */
.sport-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
    margin-bottom: 25px;
}

.info-card {
    text-align: center;
    padding: 25px 20px;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #d32f2f 0%, #ffd700 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.info-card:hover::before {
    transform: scaleX(1);
}

.info-card:hover {
    background: linear-gradient(145deg, #fff5f5 0%, #ffffff 100%);
    transform: translateY(-5px);
    border-color: rgba(211, 47, 47, 0.2);
    box-shadow: 
        0 15px 35px rgba(211, 47, 47, 0.1),
        0 8px 20px rgba(0, 0, 0, 0.05);
}

.info-card .info-label {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.info-card .info-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: #d32f2f;
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Modern Team Information */
.team-info {
    background: linear-gradient(145deg, #fff3cd 0%, #ffeaa7 100%);
    color: #1a1a1a;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    margin-top: 25px;
    border: 3px solid #ffd700;
    box-shadow: 
        0 15px 35px rgba(255, 215, 0, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.team-info::before {
    content: '⚠️';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    background: #ffd700;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 3px solid #ffffff;
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}

.team-info h4 {
    font-size: 1.3rem;
    margin: 20px 0 15px 0;
    color: #b71c1c;
    font-weight: 800;
}

.team-info p {
    margin: 15px 0;
    font-weight: 600;
    line-height: 1.6;
    font-size: 1rem;
}

.team-info strong {
    color: #b71c1c;
    font-weight: 800;
}

/* Responsive Design */
@media (max-width: 768px) {
    .selection-card {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }
    
    .sport-info-grid {
        grid-template-columns: 1fr;
    }
    
    .sport-filters,
    .modality-filters,
    .category-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .sport-filters .form-select,
    .modality-filters .form-select,
    .category-filters .form-select {
        min-width: 250px;
        width: 100%;
        max-width: 350px;
    }
    
    .sport-selection {
        padding: 25px 15px;
        margin: 10px;
    }
    
    .selection-step {
        padding: 25px 20px;
        margin-bottom: 25px;
    }
    
    .selected-sport-display {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .final-selection-display {
        padding: 25px 20px;
    }
    
    /* Mobile logo sizing */
    .sport-logo {
        width: 55px;
        height: 55px;
        padding: 8px;
    }
    
    .sport-logo-large {
        width: 70px;
        height: 70px;
        padding: 12px;
    }
    
    .selection-details h4 {
        font-size: 1.6rem;
    }
    
    .selection-details h5 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .sport-info-grid {
        gap: 20px;
    }
    
    .selection-card {
        padding: 20px 15px;
    }
    
    .final-selection-display {
        padding: 20px 15px;
    }
    
    .info-card {
        padding: 20px 15px;
    }
    
    .team-info {
        padding: 25px 20px;
    }
    
    .selection-details h4 {
        font-size: 1.4rem;
    }
    
    .selection-details h5 {
        font-size: 1.1rem;
    }
    
    /* Smaller mobile logo sizing */
    .sport-logo {
        width: 50px;
        height: 50px;
        padding: 6px;
    }
    
    .sport-logo-large {
        width: 65px;
        height: 65px;
        padding: 10px;
    }
    
    .sport-filters .form-select,
    .modality-filters .form-select,
    .category-filters .form-select {
        min-width: 200px;
        font-size: 1rem;
        padding: 18px 20px;
    }
}