body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 1rem;
}

.container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    max-width: 800px;
    width: 100%;
}

h1 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: bold;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: bold;
    color: #4a5568;
    text-align: center;
    margin-bottom: 2rem;
}

.intro {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 12px;
    border-left: 5px solid #667eea;
}

.intro p {
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    line-height: 1.7;
    margin: 0 0 1rem 0;
}

.intro p.key-scale {
    font-size: clamp(1.05rem, 2.2vw, .95rem);
    line-height: 1.6;
}

.intro p:last-child {
    margin-bottom: 0;
}

.question {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-left: 5px solid #667eea;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    transition: border-left-color 0.3s ease;
}

.question:hover {
    border-left-color: #764ba2;
}

.question p {
    margin: 0 0 1rem 0;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    line-height: 1.6;
}

.radio-group {
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
}

.radio-group label {
    flex: 1;
    text-align: center;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    min-height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.radio-group input[type="radio"] {
    display: none;
}

.radio-group input[type="radio"]:checked + label {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.radio-group label:hover {
    border-color: #667eea;
    transform: translateY(-1px);
}

button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: block;
    margin: 2rem auto 0;
    max-width: 300px;
    width: 100%;
}

button:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.result {
    margin-top: 2rem;
    padding: 2rem;
    border-radius: 15px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.result h3 {
    font-size: clamp(1.3rem, 3vw, 1.75rem);
    font-weight: bold;
    color: #4a5568;
    margin-bottom: 1rem;
}

#score-breakdown .score-line {
    margin: 1rem 0;
    padding: 1rem;
    border-left: 5px solid #48bb78;
    border-radius: 10px;
    background: white;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
}

.chart-container {
    position: relative;
    height: 400px;
    width: 100%;
    max-width: 600px;
    margin: 2rem auto;
    background: white;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.scoring-scale {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f7fafc;
    border-radius: 12px;
}

.scoring-scale h3 {
    margin-top: 0;
    text-align: center;
    color: #4a5568;
}

.scale-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.scale-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.scale-color {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
}

.scale-color.strong {
    background-color: #48bb78;
}

.scale-color.neutral {
    background-color: #f6e05e;
}

.scale-color.weak {
    background-color: #f56565;
}

.interpretation {
    margin-top: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    border-left: 5px solid #667eea;
}

.interpretation h3 {
    color: #4a5568;
    margin-top: 0;
}

.interpretation p, .interpretation li {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.interpretation ul {
    margin-left: 1rem;
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .radio-group {
        gap: 0.5rem;
    }
    
    .radio-group label {
        font-size: 0.9rem;
        padding: 0.5rem;
    }
    
    .scale-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}
