* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    padding: 20px 16px 40px;
    min-height: 100vh;
    color: #2c3e50;
}

.container {
    max-width: 560px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    padding: 32px 24px 40px;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.hero {
    text-align: center;
    margin-bottom: 32px;
    border-bottom: 1px solid #e8eef5;
    padding-bottom: 20px;
}

.hero h1 {
    font-size: 2.5rem;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-weight: 700;
}

.hero p {
    font-size: 0.9rem;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    display: inline-block;
    padding: 6px 16px;
    margin-top: 12px;
    font-weight: 600;
}

.slogan {
    font-size: 0.85rem;
    margin-top: 10px;
    color: #95a5a6;
    font-weight: 400;
}

.quiz-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    background: #f8f9fa;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.9rem;
    font-weight: 500;
}

.progress {
    background: #e8eef5;
    border-radius: 20px;
    height: 8px;
    flex: 1;
    margin: 0 16px;
    overflow: hidden;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    transition: width 0.3s ease;
}

.q-counter {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    padding: 4px 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.question-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px 20px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0;
}

.question-text {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 24px;
    color: #2c3e50;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 14px 18px;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.option:hover {
    background: #fff;
    transform: translateY(-2px);
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.option-letter {
    font-weight: bold;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.option-text {
    font-size: 1rem;
    line-height: 1.4;
    flex: 1;
    color: #2c3e50;
}

.nav-buttons {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 12px;
}

button {
    background: #f8f9fa;
    border: none;
    color: #2c3e50;
    font-weight: 600;
    padding: 14px 24px;
    border-radius: 16px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    flex: 1;
    font-family: inherit;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

button:active {
    transform: scale(0.98);
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #fff;
    border: 2px solid #e8eef5;
}

.btn-secondary:hover:not(:disabled) {
    border-color: #667eea;
    background: #f8f9fa;
}

.result-card {
    text-align: center;
    padding: 24px 16px 32px;
}

.result-icon {
    font-size: 5rem;
    margin-bottom: 12px;
}

.result-title {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin: 16px 0;
}

.result-desc {
    background: #f8f9fa;
    padding: 24px;
    border-radius: 20px;
    font-size: 1rem;
    line-height: 1.6;
    margin: 24px 0;
    text-align: left;
    border-left: 4px solid;
    border-image: linear-gradient(180deg, #667eea 0%, #764ba2 100%) 1;
}

.share-hint {
    font-size: 0.8rem;
    color: #95a5a6;
    margin-top: 16px;
}

footer {
    text-align: center;
    font-size: 0.75rem;
    margin-top: 28px;
    color: #bdc3c7;
}

.hide {
    display: none;
}

.option-selected {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%) !important;
    border-color: #667eea !important;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.option-selected .option-letter {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

@media (max-width: 480px) {
    .container {
        padding: 24px 16px 32px;
        border-radius: 20px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .question-text {
        font-size: 1.2rem;
    }
    
    .option {
        padding: 12px 14px;
    }
    
    button {
        padding: 12px 18px;
        font-size: 0.9rem;
    }
}
