body {
    font-family: 'Dancing Script', cursive;
    margin: 0;
    padding: 0;
    background-image: url('https://i.imgur.com/YGdL4Re.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    color: #fff;
    overflow-x: hidden;
}

.hero {
    text-align: center;
    padding: 100px 20px;
    background: rgba(255, 255, 255, 0.1);
    animation: fadeIn 2s ease-in;
}

.hero h1 {
    font-size: 4rem;
    font-family: 'Great Vibes', cursive;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero .hearts {
    font-size: 2rem;
    margin-top: 20px;
}

.reveal-btn {
    background: #d32f2f;
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-family: 'Dancing Script', cursive;
    border-radius: 25px;
    cursor: pointer;
    margin-top: 30px;
    transition: background 0.3s;
}

.reveal-btn:hover {
    background: #b71c1c;
}

.photos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.photo {
    display: none;
    max-width: 30%;
    min-width: 200px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    animation: fadeIn 1s ease-in;
}

.messages {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 50px 20px;
    gap: 20px;
}

.card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 20px;
    width: 300px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    color: #d32f2f;
    animation: slideUp 1s ease-out;
    transition: transform 0.3s;
}

.card:hover {
    transform: scale(1.05);
}

.card h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.card p {
    font-size: 1.1rem;
    line-height: 1.5;
    font-family: Raleway;
}

.footer {
    text-align: center;
    padding: 30px 20px;
    background: rgba(0,0,0,0.2);
    font-size: 1.2rem;
}

.footer .heart {
    animation: pulse 1.5s infinite;
}

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

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

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .messages {
        flex-direction: column;
        align-items: center;
    }
    .card {
        width: 90%;
    }
    .photo {
        max-width: 90%;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .photo {
        max-width: 45%;
    }
}