﻿
        :root {
            --primary: #4361ee;
            --primary-light: #4895ef;
            --secondary: #3f37c9;
            --success: #4cc9f0;
            --danger: #f72585;
            --warning: #f8961e;
            --light: #f8f9fa;
            --dark: #212529;
            --gray: #6c757d;
            --border-radius: 12px;
            --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            --transition: all 0.3s ease;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
        }
        
        body {
            background-image: url('image.jpg');
            background-repeat: no-repeat;
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            color: var(--dark);
            line-height: 1.6;
            min-height: 100vh;
            padding: 20px;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .container {
            width: 100%;
            max-width: 900px;
            background: white;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            overflow: hidden;
            margin: 20px 0;
        }
        
        .header {
            background: linear-gradient(to right, var(--primary), var(--secondary));
            color: white;
            padding: 30px;
            text-align: center;
            position: relative;
        }
        
        .header h1 {
            font-size: 2.2rem;
            margin-bottom: 10px;
            font-weight: 700;
        }
        
        .header p {
            font-size: 1.1rem;
            opacity: 0.9;
        }
        
        .header::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(to right, var(--success), var(--warning));
        }
        
        .content {
            padding: 30px;
        }
        
        .progress-container {
            margin-bottom: 30px;
            background-color: #e9ecef;
            border-radius: 50px;
            height: 12px;
            overflow: hidden;
            position: relative;
        }
        
        .progress-bar {
            height: 100%;
            background: linear-gradient(to right, var(--primary-light), var(--primary));
            width: 0%;
            transition: width 0.5s ease;
            border-radius: 50px;
        }
        
        .progress-text {
            position: absolute;
            top: -25px;
            right: 0;
            font-weight: 600;
            color: var(--primary);
        }
        
        .question-container {
            margin-bottom: 25px;
        }
        
        .question {
            background: var(--light);
            border-radius: var(--border-radius);
            padding: 25px;
            margin-bottom: 20px;
            border-left: 5px solid var(--primary);
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
            transition: var(--transition);
        }
        
        .question:hover {
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }
        
        .question-title {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 20px;
            color: var(--dark);
            display: flex;
            align-items: flex-start;
        }
        
        .question-number {
            background: var(--primary);
            color: white;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 12px;
            flex-shrink: 0;
        }
        
        .options {
            display: grid;
            grid-template-columns: 1fr;
            gap: 12px;
        }
        
        .option {
            padding: 15px 20px;
            background: white;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
        }
        
        .option:hover {
            border-color: var(--primary-light);
            background-color: #f0f7ff;
        }
        
        .option.selected {
            border-color: var(--primary);
            background-color: #e6f2ff;
            box-shadow: 0 2px 8px rgba(67, 97, 238, 0.2);
        }
        
        .option-icon {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            border: 2px solid #cbd5e0;
            margin-right: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            transition: var(--transition);
        }
        
        .option.selected .option-icon {
            background-color: var(--primary);
            border-color: var(--primary);
            color: white;
        }
        
        .option-text {
            font-size: 1rem;
        }
        
        .submit-btn {
            display: block;
            width: 100%;
            padding: 16px;
            background: linear-gradient(to right, var(--primary), var(--secondary));
            color: white;
            border: none;
            border-radius: 10px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            margin-top: 10px;
            box-shadow: 0 4px 6px rgba(67, 97, 238, 0.3);
        }
        
        .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 8px rgba(67, 97, 238, 0.4);
        }
        
        .submit-btn:disabled {
            background: #a0aec0;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }
        
        .result-container {
            display: none;
            margin-top: 30px;
            padding: 30px;
            background: var(--light);
            border-radius: var(--border-radius);
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
        }
        
        .result-title {
            text-align: center;
            margin-bottom: 25px;
            color: var(--dark);
            font-size: 1.8rem;
            font-weight: 700;
        }
        
        .result-card {
            background: white;
            border-radius: var(--border-radius);
            padding: 25px;
            margin-bottom: 25px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }
        
        .result-type {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 15px;
            color: var(--primary);
            text-align: center;
        }
        
        .result-analysis {
            line-height: 1.8;
            color: var(--dark);
        }
        
        .chart-container {
            margin-top: 30px;
        }
        
        .chart-title {
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 20px;
            color: var(--dark);
            text-align: center;
        }
        
        .chart-bar {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .chart-label {
            width: 100px;
            font-weight: 600;
            color: var(--dark);
        }
        
        .chart-bar-inner {
            flex-grow: 1;
            height: 30px;
            background: #e2e8f0;
            border-radius: 6px;
            overflow: hidden;
            position: relative;
        }
        
        .chart-bar-fill {
            height: 100%;
            border-radius: 6px;
            transition: width 1s ease;
            display: flex;
            align-items: center;
            padding-left: 10px;
            color: white;
            font-weight: 600;
            font-size: 0.9rem;
        }
        
        .chart-value {
            width: 50px;
            text-align: right;
            margin-left: 15px;
            font-weight: 600;
            color: var(--dark);
        }
        
        .restart-btn {
            display: block;
            width: 200px;
            margin: 30px auto 0;
            padding: 14px;
            background: white;
            color: var(--primary);
            border: 2px solid var(--primary);
            border-radius: 10px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            text-align: center;
        }
        
        .restart-btn:hover {
            background: var(--primary);
            color: white;
        }
        
        @media (max-width: 768px) {
            .container {
                margin: 10px;
            }
            
            .header {
                padding: 20px;
            }
            
            .header h1 {
                font-size: 1.8rem;
            }
            
            .content {
                padding: 20px;
            }
            
            .question {
                padding: 20px;
            }
            
            .question-title {
                font-size: 1.1rem;
            }
            
            .result-container {
                padding: 20px;
            }
            
            .result-title {
                font-size: 1.5rem;
            }
        }
        
        @media (max-width: 480px) {
            .question-number {
                width: 26px;
                height: 26px;
                font-size: 0.9rem;
            }
            
            .option {
                padding: 12px 15px;
            }
            
            .option-text {
                font-size: 0.95rem;
            }
            
            .chart-label {
                width: 80px;
                font-size: 0.9rem;
            }
        }
 @media (max-width: 600px) {
                body {
                    transform: scale(0.75);
                    transform-origin: top center;
                    width: 133.333%; /* 100% / 0.75 = 133.333% */
                    height: auto;
                    min-height: 133.333vh;
                    position: relative;
                    left: -16.6665%; /* (133.333% - 100%) / 2 */
                    overflow-x: hidden;
                }
            }