/* 敌情分析页面专用样式 */

/* 页面容器设置 */
body {
    height: 100vh;
    overflow: hidden;
}

.main-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* 头部区域 */
header {
    width: 100%;
    text-align: center;
    position: relative;
    margin-bottom: 10px;
    flex-shrink: 0;
}

.back-button {
    position: absolute;
    top: 10px;
    left: 20px;
    background: rgba(230, 198, 108, 0.9);
    color: #000;
    border: 2px solid #e6c66c;
    padding: 10px 20px;
    border-radius: 25px;
    font-family: 'KaiTi', 'STKaiti', serif;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.back-button:hover {
    background: rgba(230, 198, 108, 1);
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}

/* 分析页面容器 */
.analysis-wrapper {
    position: relative;
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    overflow: visible; /* Allow dragon icon to be visible */
}

/* 龙头图标装饰 */
.dragon-icon {
    position: absolute;
    top: -40px;
    right: -40px;
    z-index: 10;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
}

.dragon-head {
    width: 120px;
    height: auto;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* 内容框 */
.content-box {
    background: rgba(25, 22, 18, 0.85);
    border-top: 2px solid #e6c66c;
    border-bottom: 2px solid #e6c66c;
    padding: 20px 40px;
    width: 100%;
    height: auto;
    min-height: 75vh;
    box-shadow: 0 8px 20px rgba(0,0,0,0.6);
    position: relative;
    display: flex;
}

.content-box::before {
    display: none;
}

/* 内容区域 */
.analysis-content {
    color: #fff;
    font-family: 'KaiTi', 'STKaiti', serif;
    display: flex;
    gap: 40px;
    width: 100%;
    height: 100%;
}

/* 左列样式 */
.left-column {
    flex: 1.2;
    display: flex;
    flex-direction: column;
}

/* 右列样式 */
.right-column {
    flex: 0.8;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 章节样式 */
.section {
    display: flex;
    flex-direction: column;
    background: none;
    padding: 0;
    border: none;
    border-radius: 0;
}

/* 左列中的section需要填满整个高度 */
.left-column .section {
    flex: 1;
}

/* 右列中的section平均分配高度 */
.right-column .section {
    flex: 1;
}

.section h2 {
    color: #e6c66c;
    font-size: 1.6em;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    border-bottom: 2px solid #e6c66c;
    padding-bottom: 10px;
    text-align: center;
    flex-shrink: 0;
}

/* 挑战类型样式 */
.challenge-type {
    margin-bottom: 15px;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.challenge-type:last-child {
    margin-bottom: 0;
}

.challenge-type h3 {
    color: #f4e4a6;
    font-size: 1.4em;
    margin-bottom: 8px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.challenge-type p {
    margin: 0;
    font-size: 1.3em;
    text-align: justify;
    line-height: 1.6;
    flex-grow: 1;
    text-indent: 2em;
}

/* 普通段落样式 for section 2 and 3 */
.section > p {
    font-size: 1.4em;
    text-align: justify;
    margin: 0;
    padding: 10px 0;
    background: none;
    border: none;
    border-radius: 0;
    line-height: 1.6;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-indent: 2em;
}

/* 右列section的段落样式优化 */
.right-column .section > p {
    padding: 20px 0;
    font-size: 1.4em;
    line-height: 1.7;
    text-indent: 2em;
} 