* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(
        to bottom,
        #d4f0c1 0%,
        #e8f8d8 25%,
        #d4f0c1 50%,
        #e8f8d8 75%,
        #d4f0c1 100%
    );
    background-size: 100% 400%;
    animation: moveGradient 8s ease-in-out infinite;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 40px 20px;
}

@keyframes moveGradient {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 0% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}

.container {
    text-align: center;
    width: 100%;
    max-width: 600px;
}

.message-card {
    background: linear-gradient(135deg, #8fbc6b, #a8d18a);
    border-radius: 24px;
    padding: 60px 50px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(100, 140, 70, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.message-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(100, 140, 70, 0.3);
}

.title {
    color: #3a5a2f;
    font-size: 42px;
    font-weight: 600;
    margin: 0;
    letter-spacing: 1px;
}

.photo-placeholder {
    width: 70%;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.3);
    border: 3px dashed rgba(255, 255, 255, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.photo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.poem {
    color: #2d4a1e;
    font-size: 20px;
    line-height: 1.8;
    text-align: center;
    min-height: 60px;
    width: 100%;
}