/* 龙霏舞生日网页样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
}

.container {
    max-width: 800px;
    margin: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.header {
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    color: white;
    text-align: center;
    padding: 40px 20px;
    position: relative;
}

.header::before {
    content: '🀄';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 30px;
    opacity: 0.7;
}

.header::after {
    content: '🀄';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    opacity: 0.7;
}

.birthday-title {
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3), 0 0 10px rgba(255, 255, 255, 0.5); }
    to { text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.8); }
}

.name {
    font-size: 1.8em;
    margin-bottom: 15px;
    font-weight: bold;
}

.age-info {
    font-size: 1.2em;
    opacity: 0.9;
}

.content {
    padding: 40px;
}

.birthday-info {
    text-align: center;
    margin-bottom: 40px;
}

.birth-date {
    font-size: 1.5em;
    color: #ff6b6b;
    margin-bottom: 20px;
    font-weight: bold;
}

.age-calculation {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 30px;
}

.mahjong-section {
    background: linear-gradient(45deg, #4ecdc4, #44a08d);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
    text-align: center;
    position: relative;
}

.mahjong-title {
    font-size: 1.8em;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.mahjong-tiles {
    font-size: 2em;
    margin: 20px 0;
    letter-spacing: 10px;
}

.mahjong-wish {
    font-size: 1.3em;
    line-height: 1.6;
    margin-top: 20px;
}

.wishes {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
}

.wishes h3 {
    color: #ff6b6b;
    font-size: 1.6em;
    margin-bottom: 20px;
    text-align: center;
}

.wish-list {
    list-style: none;
    padding: 0;
}

.wish-list li {
    background: white;
    margin: 15px 0;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    font-size: 1.1em;
    line-height: 1.6;
    position: relative;
    padding-left: 50px;
}

.wish-list li::before {
    content: '🎂';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
}

.wish-list li:nth-child(2)::before { content: '🀄'; }
.wish-list li:nth-child(3)::before { content: '🌟'; }
.wish-list li:nth-child(4)::before { content: '💖'; }
.wish-list li:nth-child(5)::before { content: '🎉'; }

.celebration {
    text-align: center;
    padding: 30px;
    background: linear-gradient(45deg, #ffeaa7, #fdcb6e);
    border-radius: 15px;
    margin-top: 30px;
}

.celebration h3 {
    color: #d63031;
    font-size: 2em;
    margin-bottom: 20px;
}

.balloons {
    font-size: 3em;
    margin: 20px 0;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.footer {
    background: #2d3436;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 1.1em;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .birthday-title {
        font-size: 2em;
    }
    
    .name {
        font-size: 1.5em;
    }
    
    .content {
        padding: 20px;
    }
    
    .mahjong-tiles {
        font-size: 1.5em;
        letter-spacing: 5px;
    }
}

/* 飘落的麻将牌动画 */
.mahjong-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.falling-tile {
    position: absolute;
    font-size: 30px;
    opacity: 0.1;
    animation: fall linear infinite;
}

@keyframes fall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 0.1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}