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

body {
    font-family: 'Noto Sans JP', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    padding: 20px;
}

.app-container {
    max-width: 800px;
    margin: 0 auto;
}

.header {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #3498db, #8e44ad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header p {
    font-size: 1.1rem;
    opacity: 0.8;
    font-weight: 300;
}

.score-section {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.score-item {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    min-width: 120px;
    transition: transform 0.2s ease;
}

.score-item:hover {
    transform: translateY(-2px);
}

.score-label {
    display: block;
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 0.5rem;
}

.score-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.question-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.question-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid #3498db;
}

.answer-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.answer-btn {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    min-width: 140px;
    font-family: inherit;
}

.answer-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.fact-btn {
    border-color: #3498db;
}

.fact-btn:hover {
    background: #3498db;
    color: white;
}

.opinion-btn {
    border-color: #e74c3c;
}

.opinion-btn:hover {
    background: #e74c3c;
    color: white;
}

.btn-icon {
    font-size: 1.5rem;
}

.btn-text {
    font-size: 1rem;
    font-weight: 600;
}

.btn-description {
    font-size: 0.8rem;
    opacity: 0.7;
    text-align: center;
}

.feedback {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: none;
    animation: slideIn 0.5s ease;
}

.feedback.show {
    display: block;
}

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

.feedback-content {
    text-align: center;
}

.feedback-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feedback-text {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feedback-explanation {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

.feedback.correct {
    border-left: 4px solid #27ae60;
}

.feedback.incorrect {
    border-left: 4px solid #e74c3c;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.control-btn {
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.control-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.next-btn {
    background: linear-gradient(45deg, #27ae60, #229954);
}

.next-btn:hover {
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

.generate-btn {
    background: linear-gradient(45deg, #8e44ad, #7d3c98);
}

.generate-btn:hover {
    box-shadow: 0 6px 20px rgba(142, 68, 173, 0.4);
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    
    .score-section {
        gap: 1rem;
    }
    
    .question-card {
        padding: 1.5rem;
    }
    
    .question-text {
        font-size: 1.1rem;
    }
    
    .answer-buttons {
        flex-direction: column;
    }
    
    .answer-btn {
        min-width: auto;
    }
}