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

@font-face { font-family: c0mplex;
    src: url("/assets/fonts/MonaspaceArgon-WideExtraBold.woff") format("woff");
    font-display: swap;
}

@font-face {
    font-family: 'Darling Letter';
    src: url('DarlingLetter.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Verandah Reverie';
    src: url('VerandahReverie_PERSONAL_USE_ONLY.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

.name-text {
    font-family: 'Verandah Reverie', cursive, sans-serif;
    font-size: 2.5rem;
    color: #ff4757;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 3px rgba(255, 71, 87, 0.2);
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    min-height: 100dvh; /* For mobile browsers */
    background: linear-gradient(135deg, #ffdde1 0%, #ee9ca7 100%);
    font-family: 'Outfit', sans-serif;
    text-align: center;
    overflow-x: hidden;
    overflow-y: auto;
    padding-top: 5vh;
    padding-bottom: 5vh;
}

.container {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 600px;
    width: 100%;
    z-index: 10;
}

#main-gif {
    max-width: 250px;
    width: 80%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(238, 156, 167, 0.4);
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

h3 {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
    margin-bottom: 1rem;
}

.buttons-container {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.btn {
    padding: 14px 32px;
    font-size: 1.2rem;
    font-family: inherit;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.btn:active {
    transform: scale(0.95);
}

.yes {
    background-color: #ff4757;
    color: white;
}

.no {
    background-color: #ffffff;
    color: #ff4757;
}

/* Animations for JS logic */
.celebrate-bg {
    background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%) !important;
}

/* Desktop enhancements */
@media (min-width: 768px) {
    h1 {
        font-size: 3rem;
    }
    #main-gif {
        max-width: 350px;
    }
    .btn {
        font-size: 1.5rem;
        padding: 18px 45px;
    }
    .btn:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    }
}

.spinning-disc {
    will-change: transform;
    position: fixed;
    z-index: 10;
    top: 20px;
    right: 20px;
    width: 60px;
    height: auto;
    animation: rotateImage 3s linear infinite;
    pointer-events: none;
}

@keyframes rotateImage {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hidden {
    display: none !important;
}

#extra-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
    animation: fadeIn 1.5s ease-in-out;
}

.arrow-down {
    font-size: 3rem;
    color: #fff;
    animation: bounce 2s infinite;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

.lorem-text {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    color: #333;
    font-family: 'Darling Letter', cursive, sans-serif;
    font-size: 1.4rem;
    line-height: 1.6;
    text-align: left;
    max-width: 100%;
}

.lorem-text p {
    margin-bottom: 1rem;
}

.lorem-text p:last-child {
    margin-bottom: 0;
}

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