/* Futbolcu Test Oyunu CSS */

.futbolcu-test-wrapper {
    max-width: 800px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

/* Ekran Stilleri */
.game-screen {
    display: none;
    background: #2a2a2a;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    min-height: 80vh;
    border: 1px solid #404040;
}

.game-screen.active {
    display: block;
}

/* Başlık ve Açıklama */
.game-header {
    background: linear-gradient(135deg, #333333 0%, #404040 50%, #333333 100%);
    color: white;
    padding: 30px 20px;
    text-align: center;
    border-bottom: 1px solid #505050;
}

.game-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.game-description {
    font-size: 1.1rem;
    margin: 0;
    opacity: 0.9;
    line-height: 1.5;
}

/* İlerleme Çubuğu */
.progress-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #007acc;
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.question-counter {
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
}

/* Oyun İçeriği */
.game-content {
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    background: #2a2a2a;
    color: #ffffff;
}

/* Başlangıç İçeriği */
.start-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.game-preview {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    padding: 30px;
    background: #333333;
    border-radius: 15px;
    border: 1px solid #404040;
}

.preview-image {
    flex-shrink: 0;
}

.football-icon {
    font-size: 4rem;
    animation: bounce 2s infinite;
}

.preview-text {
    text-align: left;
}

.preview-text h3 {
    color: #ffffff;
    margin: 0 0 15px 0;
    font-size: 1.3rem;
}

.preview-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.preview-text li {
    color: #cccccc;
    margin: 8px 0;
    font-size: 1rem;
    line-height: 1.4;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Başlangıç Butonu */
.start-button-container {
    text-align: center;
}

.game-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 200px;
    justify-content: center;
}

.primary-button {
    background: linear-gradient(135deg, #007acc 0%, #005a9e 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 122, 204, 0.4);
    border: 1px solid #0099ff;
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 122, 204, 0.6);
    background: linear-gradient(135deg, #0099ff 0%, #007acc 100%);
}

.secondary-button {
    background: linear-gradient(135deg, #404040 0%, #333333 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #505050;
}

.secondary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #505050 0%, #404040 100%);
}

.button-icon {
    font-size: 1.2rem;
}

/* Soru Konteyneri */
.question-container {
    width: 100%;
    max-width: 600px;
}

.image-container {
    text-align: center;
    margin-bottom: 30px;
}

.player-image {
    max-width: 100%;
    max-height: 400px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    object-fit: contain;
    width: auto;
    height: auto;
    background: #1a1a1a;
}

/* Seçenek Butonları */
.options-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.option-button {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border: 2px solid #404040;
    border-radius: 15px;
    background: #333333;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
}

.option-button:hover {
    border-color: #007acc;
    background: #404040;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 122, 204, 0.3);
}

.option-button.selected {
    border-color: #007acc;
    background: #404040;
}

.option-button.correct {
    border-color: #00cc66;
    background: #00cc66;
    color: white;
}

.option-button.incorrect {
    border-color: #ff4444;
    background: #ff4444;
    color: white;
}

.option-letter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #007acc;
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.option-text {
    flex: 1;
}

/* Sonuç Ekranı */
.result-container {
    text-align: center;
    width: 100%;
    max-width: 500px;
}

.score-display {
    margin-bottom: 30px;
}

.score-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007acc 0%, #005a9e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(0, 122, 204, 0.3);
    border: 3px solid #0099ff;
}

.score-text {
    color: white;
    font-size: 2rem;
    font-weight: 700;
}

.message-text {
    font-size: 1.2rem;
    color: #ffffff;
    margin: 0 0 30px 0;
    line-height: 1.5;
}

.result-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

/* Yükleniyor Ekranı */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 400px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #404040;
    border-top: 4px solid #007acc;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loading-text {
    font-size: 1.1rem;
    color: #cccccc;
    margin: 0;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .futbolcu-test-wrapper {
        padding: 10px;
        min-height: 100vh;
    }
    
    .game-title {
        font-size: 2rem;
    }
    
    .game-description {
        font-size: 1rem;
    }
    
    .game-content {
        padding: 20px 15px;
    }
    
    .game-preview {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .preview-text {
        text-align: center;
    }
    
    .football-icon {
        font-size: 3rem;
    }
    
    .options-container {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .option-button {
        padding: 15px;
        font-size: 0.95rem;
    }
    
    .option-letter {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .player-image {
        max-height: 300px;
    }
    
    .score-circle {
        width: 120px;
        height: 120px;
    }
    
    .score-text {
        font-size: 1.5rem;
    }
    
    .result-buttons {
        width: 100%;
    }
    
    .game-button {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .game-header {
        padding: 20px 15px;
    }
    
    .game-title {
        font-size: 1.8rem;
    }
    
    .player-image {
        max-height: 250px;
    }
    
    .option-button {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    .option-letter {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
}

/* Animasyonlar */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.game-screen.active {
    animation: fadeIn 0.5s ease;
}

/* Erişilebilirlik */
.option-button:focus {
    outline: 3px solid #667eea;
    outline-offset: 2px;
}

.game-button:focus {
    outline: 3px solid #4CAF50;
    outline-offset: 2px;
}

/* Yüksek Kontrast Modu */
@media (prefers-contrast: high) {
    .futbolcu-test-wrapper {
        background: #000;
    }
    
    .game-screen {
        border: 2px solid #fff;
    }
    
    .option-button {
        border-width: 3px;
    }
}
