/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 全局样式 - NASA地球背景图片 */
body {
    font-family: 'Consolas', 'Courier New', monospace;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(rgba(245, 247, 250, 0.85), rgba(195, 207, 226, 0.85)),
        url('https://images.unsplash.com/photo-1418065460487-3e41a6c84dc5?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
    padding: 20px;
}

/* 内容容器样式 */
.content-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 40px;
    margin-top: 20px;
    margin-bottom: 20px;
    backdrop-filter: blur(8px);
}

/* 标题样式 */
h1 {
    text-align: center;
    color: #2c5530;
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #4CAF50, #2c5530);
    border-radius: 2px;
}

/* 段落样式 */
p {
    font-size: 1.1rem;
    color: #555;
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.8;
    padding: 0 20px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    body {
        padding: 10px;
        background-attachment: scroll;
    }

    .content-container {
        padding: 20px;
        margin: 10px;
    }

    h1 {
        font-size: 2rem;
    }

    p {
        font-size: 1rem;
        padding: 0 10px;
    }
}

/* 悬停效果 */
h1:hover {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}

/* 打印样式 */
@media print {
    body {
        background: white;
        box-shadow: none;
        margin: 0;
        padding: 20px;
    }

    .content-container {
        background: white;
        box-shadow: none;
        backdrop-filter: none;
    }
}