/* 导入公共样式 */
@import url('index.css');

/* 特色页面专属样式 */
.banner {
    height: 400px;
}

.main-content {
    padding: 50px;
}

/* 特色部分通用样式 */
.feature-section {
    margin-bottom: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-section h2 {
    font-size: 36px;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.feature-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #e6c068;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.feature-content {
    display: block;
    position: relative;
    overflow: hidden;
}

.feature-content img {
    width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 左图右文布局 */
.survival-system .feature-content img,
.combat-system .feature-content img {
    float: left;
    margin-right: 40px;
}

/* 左文右图布局 */
.building-system .feature-content img,
.social-system .feature-content img {
    float: right;
    margin-left: 40px;
}

.feature-details {
    overflow: hidden;
}

.feature-item {
    margin-bottom: 30px;
}

.feature-item h3 {
    font-size: 24px;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* 特色部分hover效果 */
.feature-section:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.feature-item:hover h3 {
    color: #e6c068;
    transition: color 0.3s ease;
}

/* 响应式布局 */
@media screen and (max-width: 1200px) {
    .main-content {
        width: 95%;
        padding: 20px;
    }

    .feature-content img {
        width: 300px;
        height: 225px;
    }
}

@media screen and (max-width: 768px) {
    .feature-content img {
        float: none;
        display: block;
        margin: 0 auto 20px;
        width: 100%;
        max-width: 400px;
        height: auto;
    }

    .feature-details {
        clear: both;
    }

    .feature-section {
        padding: 20px;
    }
} 