/**
 * CSS for Game Ranking - View Results Page
 * 
 * Styles für die Ergebnisanzeige mit Charts und Teilnehmerlisten
 * Author: GameRanking Team
 * Version: 1.0
 */

/* Reset und Basis-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

/* Header-Bereich */
.header {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 30px;
    text-align: center;
    position: relative;
}

.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 20"><defs><radialGradient id="a" cx="50%" cy="40%"><stop offset="0%" stop-color="%23fff" stop-opacity=".1"/><stop offset="100%" stop-color="%23fff" stop-opacity="0"/></radialGradient></defs><rect width="100" height="20" fill="url(%23a)"/></svg>');
    opacity: 0.3;
}

.header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.header p {
    opacity: 0.9;
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
}

/* Content-Bereich */
.content {
    padding: 40px;
}

/* Teilnehmer-Sektion */
.participants-section {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 2px solid #10b981;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
}

.participants-section h2 {
    color: #065f46;
    font-size: 1.4rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.participants-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    list-style: none;
}

.participant-item {
    background: white;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #10b981;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #065f46;
}

/* Chart-Sektion */
.chart-section {
    margin-bottom: 30px;
}

.chart-section h2 {
    color: #1f2937;
    font-size: 1.6rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chart-container {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    height: 600px;
}

/* Navigation */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4f46e5;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 20px;
    background: white;
    border-radius: 10px;
    border: 2px solid #4f46e5;
    transition: all 0.3s ease;
}

.back-link:hover {
    background: #4f46e5;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .content {
        padding: 20px;
    }
    
    .chart-container {
        padding: 20px;
        height: 500px;
    }
    
    .participants-list {
        grid-template-columns: 1fr;
    }
    
    .header h1 {
        font-size: 1.8rem;
    }
}
