/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基本样式 */
body {
    font-family: 'Microsoft YaHei', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    background-color: #f5f5f5;
    color: #333;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* 班级选择区域 */
.class-selector {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.class-options {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.class-options label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.class-options input[type="checkbox"] {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

/* 结果显示区域 */
.result-section {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.result {
    font-size: 150px;
    font-weight: bold;
    color: #e74c3c;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.1);
    min-height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

/* 闪烁动画 */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.result.blink {
    animation: blink 0.5s ease-in-out 3;
}

/* 控制按钮组 */
.controls {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.control-btn {
    font-size: 28px;
    font-weight: bold;
    padding: 20px 50px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 250px;
    background-color: #2ecc71;
    color: white;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.control-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    background-color: #27ae60;
}

.control-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .result {
        font-size: 120px;
    }
}

@media (max-width: 992px) {
    .result {
        font-size: 100px;
    }
    
    .control-btn {
        font-size: 24px;
        padding: 15px 40px;
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .result {
        font-size: 80px;
    }
    
    .class-options {
        flex-direction: column;
        gap: 15px;
    }
    
    .control-btn {
        font-size: 20px;
        padding: 12px 30px;
        min-width: 180px;
    }
}