﻿/* Memorial Page Styles */
body {
    font-family: 'Georgia', serif;
    background: linear-gradient(135deg, #f5f0ff 0%, #e8dcff 50%, #dbc9ff 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.memorial-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    flex: 1;
}

.memorial-content {
    max-width: 800px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    padding: 60px 50px;
    box-shadow: 0 20px 60px rgba(187, 150, 246, 0.3);
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .memorial-content::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(187, 150, 246, 0.1) 0%, transparent 70%);
        animation: float 20s infinite ease-in-out;
        z-index: 0;
    }

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(20px, 20px) rotate(180deg);
    }
}

.memorial-content > * {
    position: relative;
    z-index: 1;
}

.stars {
    font-size: 40px;
    color: #BB96F6;
    margin-bottom: 20px;
    opacity: 0.8;
    animation: twinkle 3s infinite;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.8;
    }

    50% {
        opacity: 0.3;
    }
}

.memorial-content h1 {
    font-size: 52px;
    color: #BB96F6;
    margin-bottom: 5px;
    font-weight: normal;
    letter-spacing: 3px;
}

.subtitle {
    font-size: 24px;
    color: #9b7bc9;
    margin-bottom: 30px;
    font-style: italic;
}

.photo-frame {
    width: 220px;
    height: 220px;
    margin: 30px auto;
    border-radius: 50%;
    border: 5px solid #BB96F6;
    background: linear-gradient(135deg, #f0e6ff 0%, #e6d9ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(187, 150, 246, 0.3);
    overflow: hidden;
}

    .photo-frame img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.message {
    font-size: 18px;
    line-height: 1.8;
    color: #6b5b8c;
    margin: 30px 0;
    padding: 0 20px;
}

.quote {
    font-size: 22px;
    color: #BB96F6;
    font-style: italic;
    margin: 35px 0;
    padding: 25px;
    border-left: 4px solid #BB96F6;
    border-right: 4px solid #BB96F6;
    background: rgba(187, 150, 246, 0.05);
    border-radius: 10px;
    font-weight: 600;
}

.animals {
    font-size: 50px;
    margin: 30px 0;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.animal {
    display: inline-block;
    animation: gentle-bounce 3s infinite ease-in-out;
    opacity: 0.8;
}

.elephant {
    animation-delay: 0s;
}

.bear {
    animation-delay: 1.5s;
}

@keyframes gentle-bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.footer {
    margin-top: 40px;
    font-size: 16px;
    color: #9b7bc9;
    font-style: italic;
}

.heart {
    color: #ff9ec9;
    font-size: 24px;
    margin: 0 5px;
    display: inline-block;
    animation: heartbeat 2s infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.1);
    }
}

.divider {
    margin: 20px auto;
    width: 60%;
    height: 2px;
    background: linear-gradient(to right, transparent, #BB96F6, transparent);
    opacity: 0.4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .memorial-container {
        padding: 30px 15px;
    }

    .memorial-content {
        padding: 40px 30px;
    }

        .memorial-content h1 {
            font-size: 38px;
        }

    .subtitle {
        font-size: 20px;
    }

    .photo-frame {
        width: 180px;
        height: 180px;
    }

    .animals {
        font-size: 40px;
        gap: 20px;
    }

    .message {
        font-size: 16px;
    }

    .quote {
        font-size: 20px;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .memorial-container {
        padding: 20px 10px;
    }

    .memorial-content {
        padding: 30px 20px;
        border-radius: 20px;
    }

        .memorial-content h1 {
            font-size: 32px;
            letter-spacing: 2px;
        }

    .subtitle {
        font-size: 18px;
    }

    .photo-frame {
        width: 160px;
        height: 160px;
    }

    .stars {
        font-size: 30px;
    }

    .animals {
        font-size: 35px;
        gap: 15px;
    }

    .message {
        font-size: 15px;
        padding: 0 10px;
    }

    .quote {
        font-size: 18px;
        padding: 15px;
    }

    .footer {
        font-size: 14px;
    }
}
