.trivia-card {
    min-height: 500px;
    background: var(--bg-card);
    border-radius: 20px;
}

.btn-option {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    text-align: left;
    transition: all 0.3s ease;
    border: 2px solid var(--input-border);
}

.btn-option:hover:not(:disabled) {
    transform: translateX(10px);
    background: var(--clima-gradient);
    color: white;
    border-color: var(--input-focus);
}

.btn-option:disabled {
    cursor: not-allowed;
}

.progreso-trivia {
    font-weight: 500;
    color: var(--text-dark);
}

.progress {
    background-color: var(--border-color);
}

.pregunta-actual {
    min-height: 80px;
    display: flex;
    align-items: center;
}

#textoPregunta {
    color: var(--text-dark);
    font-weight: 600;
}

#feedbackContainer {
    min-height: 80px;
}

.alert-success .fa-check-circle,
.alert-danger .fa-times-circle {
    color: inherit;
}

.resultado-final {
    padding: 2rem;
    background: var(--clima-gradient);
    border-radius: 15px;
    color: white;
    margin: 2rem 0;
}

#puntajeFinal {
    color: white;
    text-shadow: 2px 2px 4px var(--shadow);
}

#mensajePuntaje {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-top: 1rem;
}

#logrosDesbloqueados {
    animation: slideInUp 0.5s ease-out;
}

#logrosDesbloqueados .alert-success {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    border-radius: 10px;
}

#logrosDesbloqueados .fa-medal {
    color: #ffd700;
}

.fa-4x {
    font-size: 4rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-outline-light:hover {
    background: white;
    color: var(--bg-primary);
}

@media (max-width: 768px) {
    .trivia-card {
        min-height: 400px;
    }
    
    #textoPregunta {
        font-size: 1.1rem;
    }
    
    .btn-option {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }
    
    .fa-4x {
        font-size: 3rem;
    }
    
    .resultado-final {
        padding: 1.5rem;
    }
    
    #puntajeFinal {
        font-size: 3rem;
    }
}

.trivia-card {
    animation: fadeIn 0.5s ease-out;
}

[data-theme="dark"] .btn-option {
    background-color: var(--bg-card);
}

[data-theme="dark"] .btn-option:hover:not(:disabled) {
    background: var(--clima-gradient);
}

[data-theme="dark"] .progreso-trivia {
    color: var(--text-primary);
}

.stat-item {
    padding: 1.5rem;
}

.stat-item h4 {
    margin: 0.5rem 0;
    color: var(--text-dark);
}

.color-picker {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.color-option {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.color-option:hover {
    transform: scale(1.1);
}

.color-option.selected {
    border: 3px solid var(--text-dark);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
}

.logro-item {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.logro-item:hover:not(.locked) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow);
}

.logro-item.locked {
    opacity: 0.5;
}

.logro-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--clima-gradient);
    border-radius: 50%;
    color: white;
}

.logro-item.locked .logro-icon {
    background: var(--border-color);
    color: var(--text-muted);
}

.logro-icon.unlocked {
    animation: pulse 2s infinite;
}

@media (max-width: 768px) {
    .stat-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .color-option {
        width: 50px;
        height: 50px;
    }
    
    .logro-icon {
        width: 40px;
        height: 40px;
    }
}

