@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&family=Montserrat:wght@400;600&display=swap');

:root {
    --primary-color: #e91e63;
    /* Pink */
    --secondary-color: #880e4f;
    /* Darker Pink */
    --text-bg: rgba(255, 255, 255, 0.9);
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    --card-hover-shadow: 0 15px 40px rgba(233, 30, 99, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(45deg, #ff9a9e 0%, #fad0c4 99%, #fad0c4 100%);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    color: #333;
    overflow-x: hidden;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

h1,
h2,
h3 {
    font-family: 'Dancing Script', cursive;
    color: var(--secondary-color);
}

.photo {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 3/4;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 5px solid rgba(255, 255, 255, 0.8);
    position: relative;
    transition: transform 0.3s ease;
    background-color: #fff;
}

.photo:hover {
    transform: scale(1.02);
}

.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.text-box {
    margin-top: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 20px;
    max-width: 600px;
    width: 95%;
    font-size: 1.1rem;
    line-height: 1.6;
    box-shadow: var(--shadow);
    color: #4a148c;
    text-align: center;
}

.text-box strong {
    color: var(--secondary-color);
    font-weight: 600;
}

.nav {
    margin-top: 2.5rem;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.nav a,
.button {
    background: linear-gradient(to right, #ec407a, #d81b60);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.nav a:hover,
.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.6);
    background: linear-gradient(to right, #d81b60, #ec407a);
}

/* --- Choice Cards Section (New) --- */
.choice-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
    width: 100%;
    max-width: 900px;
}

.choice-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 25px;
    text-align: center;
    width: 280px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid transparent;
}

.choice-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--card-hover-shadow);
    border-color: #ff80ab;
}

.choice-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.choice-title {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    color: #c2185b;
    margin-bottom: 0.5rem;
}

.choice-desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.4;
}

/* Hearts Animation Container */
.hearts {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.heart {
    position: absolute;
    color: #e91e63;
    font-weight: bold;
    animation: floatUp 2s ease-out forwards;
    opacity: 0;
    user-select: none;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) scale(0.5);
        opacity: 0;
    }

    20% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-150vh) scale(1.5);
        opacity: 0;
    }
}

@media (max-width: 480px) {
    .photo {
        max-width: 90%;
    }

    .text-box {
        padding: 1.5rem;
        font-size: 1rem;
    }

    .nav a {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .choice-card {
        width: 100%;
        max-width: 300px;
    }
}