/* CSS Document */

/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
}

body {
    background-color: #0f1a2b;
    color: #e0e0e0;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: #4a9eff;
    transition: color 0.3s;
}

a:hover {
    color: #6ab1ff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
header {
    background: linear-gradient(to right, #152642, #1c3457);
    padding: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo h1 {
    font-size: 2.8rem;
    color: #4a9eff;
    text-shadow: 0 0 10px rgba(74, 158, 255, 0.5);
    margin-bottom: 10px;
}

.logo p {
    font-size: 1.2rem;
    color: #a0c8ff;
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1.1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 180px;
}

.btn-primary {
    background: linear-gradient(to right, #4a9eff, #2a7de1);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(74, 158, 255, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(to right, #5aa9ff, #3a8df1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 158, 255, 0.6);
}

.btn-secondary {
    background: linear-gradient(to right, #2d4a6e, #1a2f4d);
    color: #c0d8ff;
    border: 1px solid #3a5a82;
}

.btn-secondary:hover {
    background: linear-gradient(to right, #3a5a82, #253a5a);
    transform: translateY(-2px);
}

/* 特性介绍部分 */
.features {
    padding: 80px 0;
    background-color: #0b1422;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2rem;
    color: #4a9eff;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #4a9eff;
    margin: 15px auto;
    border-radius: 2px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: #152642;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    color: #6ab1ff;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* 图片展示部分 */
.screenshots {
    padding: 80px 0;
    background-color: #0f1a2b;
}

.screenshot-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.screenshot-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.screenshot-item:hover {
    transform: scale(1.03);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* 功能设置部分 */
.settings {
    padding: 80px 0;
    background-color: #0b1422;
}

.settings-panel {
    background: #152642;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    margin: 0 auto;
}

.setting-group {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #2a3e5c;
}

.setting-group:last-child {
    border-bottom: none;
}

.setting-group h3 {
    color: #6ab1ff;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.option {
    background: #1c2f4d;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.option:hover {
    background: #243a5c;
}


.option.active {
    background: #4a9eff;
    color: white;
}

.slider-container {
    margin-top: 10px;
}

.slider {
    width: 100%;
    height: 6px;
    background: #1c2f4d;
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #4a9eff;
    border-radius: 50%;
    cursor: pointer;
}

/* 友情链接部分 */
.friendship-links {
    padding: 50px 0;
    background-color: #0f1a2b;
    border-top: 1px solid #1c2f4d;
}

.friendship-links h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #4a9eff;
}

.links-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.link-item {
    padding: 10px 20px;
    background: #152642;
    border-radius: 5px;
    transition: background 0.3s;
}

.link-item:hover {
    background: #1c3457;
}

/* 页脚 */
footer {
    background: #0a111f;
    padding: 30px 0;
    text-align: center;
    color: #6a7a94;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .logo h1 {
        font-size: 2.2rem;
    }
    
    .btn {
        padding: 12px 24px;
        min-width: 160px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .feature-grid, .screenshot-container {
        grid-template-columns: 1fr;
    }
}