:root {
    --bg-color: #faf9f6;
    --text-color: #2c2c2c;
    --accent-color: #d4a373;
    --font-serif: "Playfair Display", serif;
    --font-sans: "Inter", sans-serif;
    --transition-slow: 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    overflow: hidden; /* Prevents scrollbars during entry animations */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.main-container {
    width: 100%;
    max-width: 800px;
    padding: 2rem;
    opacity: 0;
    animation: fadeIn var(--transition-slow) forwards;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3rem;
}

.image-section {
    width: 100%;
    max-width: 400px;
    position: relative;
}

.special-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: block;
    background-color: #e0e0e0; /* Placeholder color before image loads */
    aspect-ratio: 4 / 5; /* Common portrait ratio */
    object-fit: cover;
}

.special-image:hover {
    transform: scale(1.03);
}

.message-section {
    max-width: 600px;
}

.message-text {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    line-height: 1.4;
    font-weight: 400;
    font-style: italic;
}

/* Animations */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.fade-in-up {
    opacity: 0;
    animation: fadeInUp var(--transition-slow) forwards;
}

.delay-1 {
    animation-delay: 0.4s;
}

.delay-2 {
    animation-delay: 1.5s;
}

.footer {
    position: fixed;
    bottom: 2rem;
    left: 0;
    width: 100%;
    text-align: center;
    pointer-events: none;
}

.footer-text {
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    color: rgba(0, 0, 0, 0.3);
    font-weight: 300;
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    .content-wrapper {
        gap: 2rem;
    }
    
    .image-section {
        max-width: 300px;
    }
}
