* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 40px;
    text-align: center;
}

header h1 {
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.subtitle {
    font-size: 1.3em;
    opacity: 0.95;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 40px;
    background: #f8f9fa;
    flex-wrap: wrap;
}

.stat-card {
    text-align: center;
    padding: 20px 40px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 200px;
}

.stat-number {
    font-size: 3em;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1.1em;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contributors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    padding: 60px 40px;
    min-height: 300px;
}

.loading {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 1.2em;
    color: #666;
    padding: 40px;
}

.contributor-card {
    background: white;
    border: 2px solid #e1e4e8;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contributor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.contributor-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid #667eea;
    transition: transform 0.3s ease;
}

.contributor-card:hover .contributor-avatar {
    transform: scale(1.1);
}

.contributor-name {
    font-size: 1.3em;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    word-break: break-word;
}

.contributor-stats {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 15px;
    font-size: 0.9em;
    color: #666;
}

.contributor-stat {
    display: flex;
    align-items: center;
    gap: 5px;
}

.contributor-link {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 20px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9em;
    transition: background 0.3s ease;
}

.contributor-link:hover {
    background: #764ba2;
}

footer {
    background: #2d3748;
    color: white;
    text-align: center;
    padding: 40px;
}

footer p {
    margin-bottom: 15px;
}

footer a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #764ba2;
}

.footer-links {
    font-size: 0.9em;
    opacity: 0.9;
}

.error-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #e74c3c;
    font-size: 1.1em;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }
    
    .subtitle {
        font-size: 1em;
    }
    
    .contributors-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        padding: 30px 20px;
    }
    
    .stats {
        flex-direction: column;
        align-items: center;
    }
}
