/* ============================================
   设置 Modal
   盲盒易拉罐 - 一只打工猫的逆袭故事
   ============================================ */

.settings-modal {
    text-align: center;
}

.settings-list {
    flex: 1;
    overflow-y: auto;
    padding: 4px;
}

.setting-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
}

/* Toggle开关 */
.toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    transition: 0.3s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: white;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle input:checked + .toggle-slider {
    background: var(--accent-gold);
}

.toggle input:checked + .toggle-slider:before {
    transform: translateX(20px);
}

.setting-version {
    font-size: 12px;
    color: var(--text-secondary);
    opacity: 0.5;
}

/* 剧情事件 Modal */
.story-event-modal {
    text-align: center;
}

.story-event-character {
    font-size: 60px;
    margin-bottom: 15px;
}

.story-event-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.story-event-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.btn-event-close {
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
    color: var(--bg-primary);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-event-close:hover {
    transform: translateY(-2px);
}

/* 成就 Modal */
.achievement-modal {
    text-align: center;
}

.achievement-icon {
    font-size: 60px;
    margin-bottom: 15px;
}

.achievement-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 10px;
}

.achievement-desc {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.achievement-reward {
    font-size: 18px;
    color: var(--accent-gold);
    font-weight: 700;
    margin-bottom: 15px;
}
