/* 重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 页面基础样式 */
body {
    font-family: 'Microsoft YaHei', 'SimSun', Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background: linear-gradient(135deg, #ff0000 0%, #e5ff00 100%);
    min-height: 100vh;
    line-height: 1.6;
}

/* 容器样式 */
.container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

/* 标题样式 */
h1 {
    color: #2c3e50;
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 30px;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* 诗词内容样式 */
.poem-content {
    font-size: 1.2em;
    color: #34495e;
    text-align: center;
    line-height: 2;
    font-family: 'SimSun', serif;
}

.poem-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #2c3e50;
}

.poem-author {
    font-style: italic;
    margin-bottom: 25px;
    color: #7f8c8d;
}

.poem-line {
    margin: 8px 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .container {
        padding: 20px;
    }
    
    h1 {
        font-size: 2em;
    }
    
    .poem-content {
        font-size: 1.1em;
    }
}

/* 动画效果 */
.container {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}