/* Hangi Futbolcusun Frontend Styles */

/* Ana container stilleri */
.hf-test-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 100%;
    overflow-x: hidden;
}

/* Ekran geçişleri */
.hf-screen {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-in-out;
    padding: 20px;
    box-sizing: border-box;
}

.hf-screen.active {
    opacity: 1;
    transform: translateY(0);
}

/* Başlangıç ekranı geliştirmeleri */
.hf-start-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hf-logo {
    position: relative;
    margin-bottom: 20px;
}

.hf-logo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, #3498db, #2980b9);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    opacity: 0.1;
}

.hf-start-content h1 {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    font-size: 2.5em;
    margin-bottom: 20px;
    word-wrap: break-word;
}

.hf-features {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.hf-feature {
    position: relative;
    transition: transform 0.3s ease;
    flex: 1;
    min-width: 120px;
    max-width: 200px;
    text-align: center;
}

.hf-feature:hover {
    transform: translateY(-5px);
}

.hf-icon {
    position: relative;
    z-index: 2;
    font-size: 2em;
    margin-bottom: 10px;
}

.hf-feature::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #ecf0f1, #bdc3c7);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.3;
}

/* Test ekranı geliştirmeleri */
.hf-test-header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10;
    padding: 15px;
    margin: -20px -20px 20px -20px;
    border-bottom: 1px solid #ecf0f1;
}

.hf-progress-container {
    position: relative;
    margin-bottom: 15px;
}

.hf-progress-bar {
    position: relative;
    overflow: visible;
    height: 6px;
    background: #ecf0f1;
    border-radius: 3px;
}

.hf-progress-bar::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #3498db, #2980b9, #3498db);
    border-radius: 6px;
    z-index: -1;
    opacity: 0.3;
}

.hf-progress-fill {
    position: relative;
    background: linear-gradient(90deg, #3498db, #2980b9, #3498db);
    background-size: 200% 100%;
    animation: progressShine 2s ease-in-out infinite;
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease;
}

@keyframes progressShine {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.hf-question-counter {
    position: relative;
    overflow: hidden;
    text-align: center;
    font-weight: bold;
    color: #3498db;
    margin-bottom: 8px;
    font-size: 0.9em;
}

.hf-question-counter::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: counterShine 3s ease-in-out infinite;
}

@keyframes counterShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Süre gösterimi */
.hf-timer {
    text-align: center;
    font-size: 0.8em;
    color: #7f8c8d;
    margin-bottom: 10px;
    font-weight: 500;
}

.hf-timer .hf-time {
    color: #3498db;
    font-weight: bold;
}

/* Soru container geliştirmeleri */
.hf-question-container {
    position: relative;
    margin-bottom: 20px;
}

.hf-question-text {
    position: relative;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    border-left: 4px solid #3498db;
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.4;
    word-wrap: break-word;
    text-align: center;
}

.hf-question-text::before {
    content: '❓';
    position: absolute;
    top: -12px;
    left: 15px;
    background: #3498db;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* Şık seçenekleri geliştirmeleri */
.hf-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hf-option {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 50px;
}

.hf-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
    transition: left 0.5s ease;
}

.hf-option:hover::before {
    left: 100%;
}

.hf-option:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
    border-color: #3498db;
}

.hf-option.selected {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
    border-color: #27ae60;
    background: linear-gradient(135deg, #f0fff4, #e6fffa);
}

.hf-option.selected::after {
    content: '✓';
    position: absolute;
    top: 12px;
    right: 12px;
    background: #27ae60;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
    animation: checkmarkAppear 0.3s ease-out;
}

@keyframes checkmarkAppear {
    from {
        opacity: 0;
        transform: scale(0);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hf-option-text {
    position: relative;
    z-index: 2;
    flex: 1;
    font-size: 0.95em;
    line-height: 1.3;
    word-wrap: break-word;
}

.hf-option-trait {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.7em;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    flex-shrink: 0;
}

.hf-option:hover .hf-option-trait {
    transform: scale(1.05);
}

/* Navigasyon butonları geliştirmeleri */
.hf-navigation {
    position: relative;
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hf-navigation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ecf0f1, transparent);
    transform: translateX(-50%);
}

.hf-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.95em;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    min-height: 40px; /* Touch target için minimum yükseklik */
}

.hf-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.hf-btn:hover::before {
    width: 300px;
    height: 300px;
}

.hf-btn:active {
    transform: translateY(1px);
}

.hf-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.hf-btn.hf-btn-secondary {
    background: #6c757d;
}

.hf-btn.hf-btn-secondary:hover {
    background: #5a6268;
}

.hf-btn.hf-btn-success {
    background: #27ae60;
}

.hf-btn.hf-btn-success:hover {
    background: #229954;
}

/* Sonuç ekranı geliştirmeleri */
.hf-result-content {
    position: relative;
    text-align: center;
}

.hf-result-header h2 {
    position: relative;
    display: inline-block;
    font-size: 2em;
    margin-bottom: 25px;
    color: #2c3e50;
}

.hf-result-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #27ae60, #2ecc71);
    border-radius: 2px;
    transform: translateX(-50%);
}

.hf-player-result {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.hf-player-result::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: resultShine 4s ease-in-out infinite;
}

@keyframes resultShine {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hf-player-name {
    position: relative;
    z-index: 2;
    font-size: 1.8em;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 12px;
    word-wrap: break-word;
}

.hf-player-description {
    position: relative;
    z-index: 2;
    font-size: 1em;
    line-height: 1.5;
    color: #555;
    margin-bottom: 15px;
    word-wrap: break-word;
}

/* Player Image Styles */
.hf-player-image {
    text-align: center;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    /* Farklı boyutlardaki görseller için container */
    overflow: hidden;
}

.hf-player-image img {
    max-width: 150px;
    max-height: 150px;
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    border: 3px solid #fff;
    transition: all 0.3s ease;
    /* Sabit boyut - görsel uzamasını önler */
    min-width: 150px;
    min-height: 150px;
    /* Görsel kalitesini artır */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.hf-player-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* Puan detayları geliştirmeleri */
.hf-scores-container {
    position: relative;
    overflow: hidden;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.hf-scores-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.hf-score-item {
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hf-score-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
    transition: left 0.5s ease;
}

.hf-score-item:hover::before {
    left: 100%;
}

.hf-score-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.hf-score-item.hf-max-trait {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border-left-color: #27ae60 !important;
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.hf-score-item.hf-max-trait::after {
    content: '🏆';
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 16px;
    animation: trophyBounce 2s ease-in-out infinite;
}

@keyframes trophyBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

.hf-score-label {
    font-weight: 600;
    color: #2c3e50;
    flex: 1;
    font-size: 0.9em;
}

.hf-score-value {
    font-weight: bold;
    color: #3498db;
    font-size: 1em;
}

/* Loading ekranı geliştirmeleri */
.hf-loading-content {
    position: relative;
    text-align: center;
    padding: 40px 20px;
}

.hf-spinner {
    position: relative;
    width: 40px;
    height: 40px;
    border: 3px solid #ecf0f1;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

.hf-spinner::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 2px solid #ecf0f1;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

/* Hata ve başarı mesajları geliştirmeleri */
.hf-error, .hf-success {
    position: relative;
    overflow: hidden;
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-weight: 500;
    font-size: 0.9em;
}

.hf-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.hf-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.hf-error::before, .hf-success::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: messageShine 2s ease-in-out infinite;
}

@keyframes messageShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Trait renk kodlaması geliştirmeleri */
.hf-option-trait.leadership { 
    background: linear-gradient(135deg, #28a745, #20c997);
    box-shadow: 0 2px 6px rgba(40, 167, 69, 0.3);
}

.hf-option-trait.technique { 
    background: linear-gradient(135deg, #17a2b8, #20c997);
    box-shadow: 0 2px 6px rgba(23, 162, 184, 0.3);
}

.hf-option-trait.workrate { 
    background: linear-gradient(135deg, #ffc107, #ffca2c);
    color: #212529;
    box-shadow: 0 2px 6px rgba(255, 193, 7, 0.3);
}

.hf-option-trait.grit { 
    background: linear-gradient(135deg, #dc3545, #e74c3c);
    box-shadow: 0 2px 6px rgba(220, 53, 69, 0.3);
}

.hf-option-trait.speed { 
    background: linear-gradient(135deg, #6f42c1, #8e44ad);
    box-shadow: 0 2px 6px rgba(111, 66, 193, 0.3);
}

.hf-option-trait.creativity { 
    background: linear-gradient(135deg, #fd7e14, #e67e22);
    box-shadow: 0 2px 6px rgba(253, 126, 20, 0.3);
}

.hf-option-trait.vision { 
    background: linear-gradient(135deg, #20c997, #16a085);
    box-shadow: 0 2px 6px rgba(32, 201, 151, 0.3);
}

.hf-option-trait.risk { 
    background: linear-gradient(135deg, #e83e8c, #c0392b);
    box-shadow: 0 2px 6px rgba(232, 62, 140, 0.3);
}

.hf-option-trait.teamwork { 
    background: linear-gradient(135deg, #6c757d, #495057);
    box-shadow: 0 2px 6px rgba(108, 117, 125, 0.3);
}

.hf-option-trait.composure { 
    background: linear-gradient(135deg, #495057, #343a40);
    box-shadow: 0 2px 6px rgba(73, 80, 87, 0.3);
}

/* Responsive tasarım geliştirmeleri */
@media (max-width: 768px) {
    .hf-screen {
        padding: 15px;
    }
    
    .hf-test-header {
        position: relative;
        margin: -15px -15px 15px -15px;
        padding: 12px;
        background: #fff;
        border-bottom: 1px solid #ecf0f1;
        backdrop-filter: none;
    }
    
    .hf-start-content h1 {
        font-size: 1.8em;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .hf-description {
        font-size: 0.95em;
        line-height: 1.4;
        margin-bottom: 20px;
    }
    
    .hf-features {
        gap: 12px;
        flex-direction: column;
        align-items: center;
        margin: 20px 0;
    }
    
    .hf-feature {
        min-width: 80px;
        max-width: 120px;
    }
    
    .hf-icon {
        font-size: 1.5em;
    }
    
    .hf-question-text {
        padding: 15px;
        font-size: 1em;
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    .hf-question-text::before {
        top: -10px;
        left: 12px;
        width: 20px;
        height: 20px;
        font-size: 12px;
    }
    
    .hf-options {
        gap: 8px;
    }
    
    .hf-option {
        padding: 12px;
        flex-direction: column;
        text-align: center;
        gap: 8px;
        min-height: 60px;
    }
    
    .hf-option.selected::after {
        top: 8px;
        right: 8px;
        width: 18px;
        height: 18px;
        font-size: 10px;
    }
    
    .hf-option-text {
        font-size: 0.9em;
        text-align: center;
    }
    
    .hf-option-trait {
        font-size: 0.6em;
        padding: 3px 8px;
    }
    
    .hf-navigation {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
        padding-top: 12px;
    }
    
    .hf-btn {
        width: 100%;
        min-height: 45px;
        font-size: 1em;
        padding: 12px 20px;
    }
    
    .hf-player-name {
        font-size: 1.5em;
    }
    
    .hf-player-description {
        font-size: 0.9em;
    }
    
    .hf-scores-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .hf-score-item {
        padding: 10px;
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }
    
    .hf-score-label {
        font-size: 0.85em;
    }
    
    .hf-score-value {
        font-size: 0.9em;
    }
    
    .hf-result-header h2 {
        font-size: 1.6em;
        margin-bottom: 20px;
    }
    
    .hf-player-result {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .hf-scores-container {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .hf-screen {
        padding: 10px;
    }
    
    .hf-test-header {
        margin: -10px -10px 12px -10px;
        padding: 10px;
    }
    
    .hf-start-content h1 {
        font-size: 1.6em;
        margin-bottom: 12px;
    }
    
    .hf-description {
        font-size: 0.9em;
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    .hf-features {
        gap: 10px;
        margin: 15px 0;
    }
    
    .hf-feature {
        min-width: 70px;
        max-width: 100px;
    }
    
    .hf-icon {
        font-size: 1.3em;
    }
    
    .hf-btn {
        padding: 10px 15px;
        font-size: 0.95em;
        min-height: 42px;
    }
    
    .hf-question-text {
        font-size: 0.95em;
        padding: 12px;
        line-height: 1.2;
        margin-bottom: 12px;
    }
    
    .hf-question-text::before {
        top: -8px;
        left: 10px;
        width: 18px;
        height: 18px;
        font-size: 11px;
    }
    
    .hf-options {
        gap: 6px;
    }
    
    .hf-option {
        padding: 10px;
        min-height: 55px;
        gap: 6px;
    }
    
    .hf-option-text {
        font-size: 0.85em;
    }
    
    .hf-option-trait {
        font-size: 0.55em;
        padding: 2px 6px;
    }
    
    .hf-navigation {
        padding-top: 10px;
        gap: 6px;
    }
    
    .hf-player-name {
        font-size: 1.4em;
    }
    
    .hf-player-description {
        font-size: 0.85em;
    }
    
    .hf-result-header h2 {
        font-size: 1.4em;
        margin-bottom: 15px;
    }
    
    .hf-player-result {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .hf-scores-container {
        padding: 12px;
    }
    
    .hf-score-item {
        padding: 8px;
    }
    
    .hf-score-label {
        font-size: 0.8em;
    }
    
    .hf-score-value {
        font-size: 0.85em;
    }
}

/* Responsive player image */
@media (max-width: 768px) {
    .hf-player-image {
        min-height: 120px;
    }
    
    .hf-player-image img {
        max-width: 120px;
        max-height: 120px;
        width: 120px;
        height: 120px;
        min-width: 120px;
        min-height: 120px;
    }
}

@media (max-width: 480px) {
    .hf-player-image {
        min-height: 100px;
    }
    
    .hf-player-image img {
        max-width: 100px;
        max-height: 100px;
        width: 100px;
        height: 100px;
        min-width: 100px;
        min-height: 100px;
    }
}

/* Farklı boyutlardaki görseller için ek optimizasyonlar */
.hf-player-image img[src*=".jpg"],
.hf-player-image img[src*=".jpeg"],
.hf-player-image img[src*=".png"],
.hf-player-image img[src*=".gif"],
.hf-player-image img[src*=".webp"] {
    /* Görsel formatına özel optimizasyonlar */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Print stilleri */
@media print {
    .hf-test-container {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .hf-screen:not(.active) {
        display: none !important;
    }
    
    .hf-btn {
        display: none;
    }
    
    .hf-option {
        border: 1px solid #ccc;
        break-inside: avoid;
    }
}

/* High contrast mode desteği */
@media (prefers-contrast: high) {
    .hf-option {
        border-width: 3px;
    }
    
    .hf-btn {
        border-width: 2px;
    }
    
    .hf-progress-bar {
        border: 2px solid #000;
    }
}

/* Reduced motion desteği */
@media (prefers-reduced-motion: reduce) {
    .hf-screen,
    .hf-option,
    .hf-btn,
    .hf-progress-fill {
        transition: none;
        animation: none;
    }
    
    .hf-option:hover,
    .hf-option.selected {
        transform: none;
    }
}

/* Dark mode desteği (opsiyonel) */
@media (prefers-color-scheme: dark) {
    .hf-test-container {
        background: #1a1a1a;
        color: #e0e0e0;
    }
    
    .hf-screen {
        background: #1a1a1a;
    }
    
    .hf-question-text {
        background: #2d2d2d;
        color: #e0e0e0;
    }
    
    .hf-option {
        background: #2d2d2d;
        border-color: #404040;
        color: #e0e0e0;
    }
    
    .hf-option:hover {
        background: #404040;
        border-color: #3498db;
    }
    
    .hf-option.selected {
        background: #1e4d2b;
        border-color: #27ae60;
    }
    
    .hf-scores-container {
        background: #2d2d2d;
    }
    
    .hf-score-item {
        background: #404040;
        color: #e0e0e0;
    }
    
    .hf-test-header {
        background: #2d2d2d;
        color: #e0e0e0;
    }
}

/* Accessibility geliştirmeleri */
.hf-option:focus {
    outline: 3px solid #3498db;
    outline-offset: 2px;
}

.hf-btn:focus {
    outline: 3px solid #3498db;
    outline-offset: 2px;
}

/* Screen reader desteği */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Keyboard navigation geliştirmeleri */
.hf-option:focus-visible {
    outline: 3px solid #3498db;
    outline-offset: 2px;
}

.hf-btn:focus-visible {
    outline: 3px solid #3498db;
    outline-offset: 2px;
}

/* Touch device optimizasyonları */
@media (hover: none) and (pointer: coarse) {
    .hf-option:hover {
        transform: none;
        box-shadow: none;
    }
    
    .hf-option:active {
        transform: scale(0.98);
        background: #f8f9fa;
    }
    
    .hf-btn:hover {
        transform: none;
    }
    
    .hf-btn:active {
        transform: scale(0.98);
    }
}

/* Landscape orientation için ek optimizasyonlar */
@media (orientation: landscape) and (max-height: 500px) {
    .hf-screen {
        padding: 8px;
    }
    
    .hf-start-content h1 {
        font-size: 1.3em;
        margin-bottom: 8px;
    }
    
    .hf-features {
        flex-direction: row;
        gap: 8px;
        margin: 10px 0;
    }
    
    .hf-feature {
        min-width: 50px;
        max-width: 70px;
    }
    
    .hf-icon {
        font-size: 1em;
    }
    
    .hf-question-text {
        padding: 10px;
        margin-bottom: 10px;
        font-size: 0.9em;
    }
    
    .hf-options {
        gap: 5px;
    }
    
    .hf-option {
        padding: 8px;
        min-height: 40px;
    }
    
    .hf-navigation {
        flex-direction: row;
        gap: 8px;
        padding-top: 8px;
    }
    
    .hf-btn {
        padding: 6px 12px;
        min-height: 35px;
        font-size: 0.85em;
    }
    
    .hf-test-header {
        padding: 8px;
        margin: -8px -8px 10px -8px;
    }
    
    .hf-progress-container {
        margin-bottom: 8px;
    }
    
    .hf-question-counter {
        margin-bottom: 5px;
        font-size: 0.8em;
    }
}
