@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;800&family=Inter:wght@400;500&family=Pacifico&display=swap');

:root {
    --primary-color: #ff4d6d;
    --secondary-color: #ff8fa3;
    --accent-color: #fff0f3;
    --text-color: #590d22;
    --white-glass: rgba(255, 255, 255, 0.85);
    --shadow-light: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    --transition-speed: 0.3s;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 99%, #fecfef 100%);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.background-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.blob {
    position: absolute;
    filter: blur(50px);
    opacity: 0.6;
    animation: floatBlob 10s infinite alternate;
}

.blob:nth-child(1) {
    top: 10%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: #ffb3c6;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
}

.blob:nth-child(2) {
    bottom: 20%;
    right: 10%;
    width: 250px;
    height: 250px;
    background: #ffc2d1;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation-duration: 12s;
}

.container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 600px;
    padding: 20px;
}

.card {
    background: var(--white-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-light);
    padding: 3rem 2rem;
    transition: transform var(--transition-speed) ease, opacity var(--transition-speed) ease;
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hidden {
    display: none;
    opacity: 0;
    transform: translateY(20px);
}

.visible {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

h1 {
    font-family: 'Pacifico', cursive; /* Playful font for headers */
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.8);
    transform: rotate(-2deg);
}

p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.list-options {
    text-align: left;
    background: rgba(255, 240, 243, 0.6);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    list-style: none;
}

.list-options li {
    margin-bottom: 0.8rem;
    padding-left: 24px;
    position: relative;
    font-size: 1.1rem;
}

.list-options li::before {
    content: '✨';
    position: absolute;
    left: 0;
    top: 2px;
}

.btn-group {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    position: relative; /* For absolute positioning of 'No' button */
    min-height: 80px; /* Space for buttons */
    align-items: center;
}

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #ff3355;
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 77, 109, 0.3);
}

.btn-secondary {
    background-color: white;
    color: #999;
    border: 2px solid #eee;
}

.btn-secondary:hover {
    background-color: #f0f0f0;
    color: #666;
}

.btn-secondary.runaway {
    position: absolute; /* Will be manipulated by JS */
    transition: all 0.2s ease-out; /* Faster transition for jumping */
}

/* Success Page Styling */
.certificate {
    background: white;
    border: 4px double var(--primary-color);
    border-radius: 12px;
    padding: 2rem;
    margin: 1.5rem 0;
    position: relative;
}

.certificate h2 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.4rem;
}

.signature {
    margin-top: 2rem;
    font-family: 'Pacifico', cursive;
    color: var(--text-color);
    font-size: 1.5rem;
    opacity: 0.8;
}

.social-links {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 1rem;
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    color: var(--primary-color);
}

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

@keyframes floatBlob {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -30px) scale(1.1); }
}

.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 999;
    overflow: hidden;
}

.emoji-particle {
    position: absolute;
    user-select: none;
    pointer-events: none;
    animation: fall linear forwards;
}

@keyframes fall {
    to { transform: translateY(110vh) rotate(360deg); }
}

@media (max-width: 600px) {
    h1 { font-size: 2.2rem; }
    .card { padding: 1.5rem; }
    .btn { padding: 0.8rem 1.5rem; font-size: 1rem; }
    .btn-group { flex-direction: column; gap: 1rem; min-height: auto;} /* Allow stacking on mobile */
    .btn-secondary.runaway { position: relative; } /* Hard to catch on mobile, maybe disable runaway? Or Keep it fun. */
}
