/* 基础样式 */
body {
    font-family: 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff5f5;
    margin: 0;
    padding: 0;
    background-image: url('../images/background.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

.floating-copyright {
    position: fixed;
    bottom: 10px;
    right: 10px;
    font-size: 0.8em;
    color: #999;
    background-color: rgba(255,255,255,0.7);
    padding: 5px 10px;
    border-radius: 3px;
}

.signature-footer {
    text-align: right;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px dashed #e74c3c;
    color: #666;
    font-size: 0.9em;
}

.blessing-page {
    background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('../images/background.jpg');
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin-top: 30px;
    margin-bottom: 30px;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

h1 {
    color: #e74c3c;
    font-size: 2.5em;
}

h2, h3 {
    color: #e74c3c;
}

/* 介绍部分 */
.intro {
    margin-bottom: 30px;
    padding: 15px;
    background-color: #fdeaea;
    border-radius: 8px;
}

/* 祝福卡片 */
.wishes {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.wish-card {
    flex-basis: 48%;
    padding: 20px;
    margin-bottom: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.cake-img {
    max-width: 150px;
    height: auto;
    margin-bottom: 15px;
}

/* 记忆部分 */
.memory {
    padding: 20px;
    background-color: #f9f9f9;
    border-left: 5px solid #e74c3c;
    margin-bottom: 30px;
}

/* 祝福页面特定样式 */
.blessing-content {
    text-align: center;
    padding: 30px;
}

.blessing-message {
    text-align: left;
    margin-top: 30px;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.highlight {
    font-size: 1.2em;
    color: #e74c3c;
    font-weight: bold;
    margin: 20px 0;
}

.signature {
    text-align: right;
    margin-top: 40px;
    font-style: italic;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #e74c3c;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    margin: 20px 0;
}

.btn:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.next-page, .back-home {
    text-align: center;
    margin-top: 30px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .wish-card {
        flex-basis: 100%;
    }
    
    .container {
        margin: 10px;
        padding: 15px;
    }
    
    h1 {
        font-size: 2em;
    }
}

/* 艺术文字特效 */
.blessing-page .blessing-content h1 {
    font-family: 'Arial', sans-serif;
    font-size: 4em;
    background: linear-gradient(45deg, #e74c3c, #f39c12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    letter-spacing: 2px;
}

.blessing-page .blessing-text {
    font-family: 'Georgia', serif;
    font-size: 1.5em;
    line-height: 2;
    color: #555;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.05);
}

.blessing-page .highlight {
    font-size: 2em;
    color: #e74c3c;
    text-shadow: 1px 1px 3px rgba(231, 76, 60, 0.3);
    position: relative;
    display: inline-block;
}

.blessing-page .highlight:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #e74c3c, #f39c12);
}

/* 添加动画效果 */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.blessing-page .blessing-content h1 {
    animation: float 3s ease-in-out infinite;
    font-family: 'Brush Script MT', cursive;
    font-size: 4em;
    color: #e74c3c;
}

.blessing-page .blessing-text p {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: calc(var(--i) * 0.3s);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
