/* 案情介绍界面样式 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Noto Serif SC', serif;
    position: relative;
    min-height: 100vh;
    background: #1A1E28;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 59, 79, 0.9) 0%, rgba(26, 30, 40, 0.95) 100%);
    z-index: -2;
}

/* iOS状态栏 */
.ios-statusbar {
    height: 44px;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
}

.time {
    font-weight: 600;
}

.status-icons {
    display: flex;
    gap: 8px;
}

/* 主容器 */
.intro-container {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 44px);
    position: relative;
    padding: 20px;
    padding-bottom: 80px;
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
    background-image: url('../assets/images/events/overwork.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.intro-container::before {
    content: '';
    position: fixed;
    top: 44px;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(26, 30, 40, 0.6) 0%, 
        rgba(26, 30, 40, 0.4) 50%, 
        rgba(26, 30, 40, 0.85) 100%);
    pointer-events: none;
    z-index: 1;
}

.intro-container::-webkit-scrollbar {
    width: 0;
    background: transparent; /* Chrome/Safari/Webkit */
}

/* 标题区域 */
.title-area {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.case-badge {
    background: rgba(255, 160, 0, 0.8);
    color: white;
    font-size: 14px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.title-text {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-light);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8), 0 0 15px rgba(255, 160, 0, 0.4);
    margin: 0;
}

/* 故事内容区域 */
.story-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    z-index: 2;
    margin-top: 40px;
}

.story-section {
    display: none;
    margin-bottom: 20px;
}

.story-section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 对话框样式 */
.dialog-box {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px;
    color: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.narrator {
    background: rgba(30, 36, 50, 0.8);
    border-left: 3px solid var(--primary-accent);
}

.character {
    background: rgba(50, 50, 65, 0.8);
    border-left: 3px solid rgba(255, 255, 255, 0.4);
}

.highlight {
    background: rgba(80, 50, 20, 0.8);
    border-left: 3px solid var(--primary-accent);
    border-right: 3px solid var(--primary-accent);
}

.character-name {
    font-weight: 700;
    font-size: 17px;
    color: var(--primary-accent);
    margin-bottom: 8px;
}

.dialog-box p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

p.case-focus {
    font-weight: 600;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
}

/* 下一步按钮 */
.next-btn {
    width: 40px;
    height: 40px;
    background: var(--primary-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    margin-left: auto;
    margin-right: 20px;
    transition: all 0.3s ease;
}

.next-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.next-btn:active {
    transform: scale(0.95);
}

/* 行动按钮区域 */
.action-buttons {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 20px;
}

.start-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    background: var(--primary-accent);
    color: white;
    border: none;
    border-radius: 10px;
    font-family: 'Noto Serif SC', serif;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.start-btn:hover {
    background: rgba(255, 180, 20, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    animation: none;
}

.start-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* 底部返回按钮 */
.back-btn-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.back-btn:active {
    transform: translateY(2px);
}

/* 响应式样式 */
@media (min-width: 768px) {
    .dialog-box {
        max-width: 70%;
    }
    
    .narrator {
        margin-left: 10%;
        margin-right: auto;
    }
    
    .character {
        margin-left: 20%;
        margin-right: 10%;
    }
    
    .highlight {
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
} 