@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;900&family=Playfair+Display:wght@400;700&display=swap');

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

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1414 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
}

#hearts-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.container {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    max-width: 600px;
    animation: fadeIn 1s ease-in;
}

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

.hidden {
    display: none;
}

.title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ff6b6b, #c92a2a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.question {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 3rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Photo Gallery Styles */
.photo-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin: 2rem auto 3rem;
    max-width: 100%;
    flex-wrap: wrap;
}

.photo-frame {
    position: relative;
    width: 160px;
    height: 160px;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid rgba(201, 42, 42, 0.5);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    animation: photoFadeIn 1s ease-out backwards;
}

.photo-frame:nth-child(1) {
    animation-delay: 0.2s;
}

.photo-frame:nth-child(2) {
    animation-delay: 0.4s;
}

.photo-frame:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes photoFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.photo-frame:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: rgba(255, 107, 107, 0.8);
    box-shadow: 0 12px 30px rgba(201, 42, 42, 0.3);
}

.gallery-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.btn-yes {
    background: linear-gradient(135deg, #c92a2a, #a61e1e);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.btn-yes:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(201, 42, 42, 0.4);
}

.btn-yes:active {
    transform: translateY(-1px);
}

.btn-no {
    background: linear-gradient(135deg, #333, #1a1a1a);
    color: #999;
    position: absolute;
    transition: all 0.2s ease;
}

.btn-no:hover {
    background: linear-gradient(135deg, #444, #222);
}

/* Reveal Container Styles */
.reveal-content {
    animation: revealIn 0.8s ease-out;
}

@keyframes revealIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.reveal-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #ff6b6b, #ffd93d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.reveal-message {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #e0e0e0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.heart-icon {
    font-size: 5rem;
    margin-top: 2rem;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1);
    }
    75% {
        transform: scale(1.15);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .title {
        font-size: 2rem;
    }

    .photo-gallery {
        gap: 1rem;
        margin: 1.5rem auto 2rem;
    }

    .photo-frame {
        width: 120px;
        height: 120px;
    }

    .question {
        font-size: 1.8rem;
    }

    .btn {
        font-size: 1.2rem;
        padding: 1rem 2rem;
    }

    .buttons {
        gap: 1rem;
    }

    .reveal-title {
        font-size: 2.5rem;
    }

    .reveal-message {
        font-size: 1.1rem;
    }
}
