/* Selected Athletes Page Styles */

/* Hero Section */
.selected-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 0 80px;
    color: white;
    text-align: center;
}

.selected-hero .hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out;
}

.selected-hero .hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 0.2s;
    animation-fill-mode: both;
}

/* Championships Section */
.championships-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.championship-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.championship-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.championship-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.championship-card h4 {
    color: #1a1f2c;
    margin-bottom: 15px;
}

.championship-card .location,
.championship-card .date {
    color: #718096;
    margin-bottom: 10px;
}

.championship-card .location i,
.championship-card .date i {
    margin-right: 8px;
    color: #667eea;
}

.countdown {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    font-size: 1.25rem;
    font-weight: 600;
    color: #667eea;
}

.countdown .days {
    font-size: 2rem;
    display: block;
    margin-bottom: 5px;
}

/* Athletes Section */
.athletes-section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1f2c;
    margin-bottom: 50px;
}

.athletes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.athlete-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.athlete-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.athlete-image {
    position: relative;
    height: 300px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.athlete-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.athlete-placeholder {
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

.athlete-placeholder.female {
    background: rgba(255,182,193,0.3);
}

.athlete-belt {
    position: absolute;
    bottom: 20px;
    right: 20px;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    color: white;
}

.athlete-belt.white { background: #f0f0f0; color: #333; }
.athlete-belt.yellow { background: #ffd700; color: #333; }
.athlete-belt.orange { background: #ff8c00; }
.athlete-belt.green { background: #228b22; }
.athlete-belt.blue { background: #0066cc; }
.athlete-belt.brown { background: #8b4513; }
.athlete-belt.black { background: #000000; }

.athlete-info {
    padding: 30px;
}

.athlete-info h3 {
    color: #1a1f2c;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.athlete-info .category {
    color: #718096;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.athlete-achievements {
    margin-bottom: 20px;
}

.athlete-achievements h5 {
    color: #667eea;
    font-size: 1rem;
    margin-bottom: 10px;
}

.athlete-achievements ul {
    list-style: none;
    padding: 0;
}

.athlete-achievements li {
    padding: 5px 0;
    color: #4a5568;
}

.athlete-achievements i {
    margin-right: 8px;
}

.athlete-achievements i.gold { color: #ffd700; }
.athlete-achievements i.silver { color: #c0c0c0; }
.athlete-achievements i.bronze { color: #cd7f32; }

.athlete-message {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-style: italic;
    color: #4a5568;
}

.athlete-goals {
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    color: #2d3748;
}

/* Impact Section */
.impact-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.impact-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.impact-card:hover {
    transform: translateY(-5px);
}

.impact-number {
    font-size: 3rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 10px;
}

.impact-label {
    color: #718096;
    font-size: 1.1rem;
}

.donation-progress {
    max-width: 800px;
    margin: 0 auto;
}

.progress {
    height: 30px;
    border-radius: 15px;
    background: #e2e8f0;
}

.progress-bar {
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 1s ease;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1f2c, #2d3748);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section .lead {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.btn-donate-lg {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 20px 50px;
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.btn-donate-lg:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
    color: white;
}

.btn-donate-lg i {
    margin-right: 10px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for cards */
.athlete-card:nth-child(1) { transition-delay: 0.1s; }
.athlete-card:nth-child(2) { transition-delay: 0.2s; }
.athlete-card:nth-child(3) { transition-delay: 0.3s; }
.athlete-card:nth-child(4) { transition-delay: 0.4s; }
.athlete-card:nth-child(5) { transition-delay: 0.5s; }
.athlete-card:nth-child(6) { transition-delay: 0.6s; }

/* Image lazy loading */
.athlete-image img {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.athlete-image img.loaded {
    opacity: 1;
}

/* Countdown expired state */
.countdown.expired {
    background: #fed7d7;
    color: #c53030;
}

/* Progress bar animation */
.progress-bar {
    transition: width 1.5s ease-in-out;
}

/* Responsive */
@media (max-width: 768px) {
    .selected-hero .hero-title {
        font-size: 2rem;
    }
    
    .athletes-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .athlete-image {
        height: 200px;
    }
    
    .impact-number {
        font-size: 2rem;
    }
    
    .btn-donate-lg {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
}