:root {
    --primary-color: #f8bbd0;
    --secondary-color: #81d4fa;
    --bg-gradient: linear-gradient(135deg, #fce4ec, #e0f7fa);
    --card-bg: rgba(255, 255, 255, 0.95);
    --progress-color: #b3e5fc;
    --text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

    --animation-duration: 0.3s;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: '微软雅黑', '幼圆', sans-serif;
    border-radius: 15px;
    transition: all var(--animation-duration) ease;
}

body {
    min-height: 100vh;
    background: var(--bg-gradient);
    overflow: hidden;
}

.container {
    flex: 1;
    display: none;
    padding: 20px;
    justify-content: center;
    align-items: center;
}

.active {
    display: flex;
}

.title {
    font-family: 'Comic Sans MS',  cursive;
    font-size: 32px;
    text-align: center;
    margin-top: 140px;
    color: #333;
    text-shadow: var(--text-shadow);
}

.progress-bar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--progress-color);
    height: 4px;
    width: calc(100% - 40px);
    border-radius: 2px;
}

.progress-text {
    position: fixed;
    top: 28px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 13px;
    color: #666;
    text-shadow: var(--text-shadow);
}

.question-card {
    background: var(--card-bg);
    padding: 30px 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.option-btn {
    background: #fff;
    border: 2px solid #eee;
    padding: 15px 20px;
    margin: 10px 0;
    text-align: left;
    font-size: 18px;
    cursor: pointer;
    display: block;
    width: 100%;
}

.option-btn:hover {
    transform: scale(1.02);
}

.option-btn:active {
    transform: scale(0.98);
    background: var(--primary-color);
    color: white;
}

.result-container {
    text-align: center;
    padding: 40px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.result-title {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.result-text {
    font-size: 24px;
    margin-bottom: 30px;
    line-height: 1.5;
}

.retry-btn {
    background: white;
    color: #333;
    padding: 15px 40px;
    border: none;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

.fireworks {
    position: fixed;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle,
    rgba(255, 192, 203, 0.8),
    rgba(138, 203, 255, 0.8));
    animation: firework 3s linear infinite;
    opacity: 0;
}

@keyframes firework {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: scale(30) rotate(360deg);
        opacity: 0;
    }
}
.linklist{display:inline-flex;}
.linklist li{margin-right:10px;}
.linklist li a{opacity:0.3;}
.linklist li:last-child{margin-right:0px;}
