/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #FFF5F5;
    color: #5D3A3A;
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}

/* ===== BACKGROUND PATTERN ===== */
#pattern-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.bg-icon {
    position: absolute;
    opacity: 0.15;
    pointer-events: none;
    animation: float 30s infinite ease-in-out;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* ===== MAIN CONTENT ===== */
.main-content {
    position: relative;
    z-index: 5;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.card {
    background: white;
    padding: 3rem;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(219, 112, 147, 0.15);
    text-align: center;
    max-width: 600px;
    width: 100%;
    position: relative;
}

/* ===== TYPOGRAPHY ===== */
.question {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #DB7093;
    margin-bottom: 3rem;
    line-height: 1.4;
}

/* ===== BUTTONS ===== */
.button-container {
    position: relative;
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    min-height: 60px;
    width: 100%;
    /* Full width for centering */
}

.btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 1rem 3rem;
    border: 2px solid;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    outline: none;
}

.yes-btn {
    border-color: #DB7093;
    color: #DB7093;
    position: absolute;
    left: 50%;
    transform: translateX(-100%) translateX(-0.5rem);
    z-index: 10;
}

.yes-btn:hover {
    background: #DB7093;
    color: white;
    transform: translateX(-100%) translateX(-0.5rem) translateY(-3px);
    box-shadow: 0 8px 25px rgba(219, 112, 147, 0.4);
}

.no-btn {
    position: absolute;
    left: 50%;
    transform: translateX(0.5rem);
    border-color: #FFB6C1;
    color: #FFB6C1;
}

/* ===== MODAL ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 245, 245, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    padding: 2rem;
}

.modal.visible {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: white;
    padding: 3rem;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(219, 112, 147, 0.3);
    text-align: center;
    max-width: 500px;
    width: 100%;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid #FFB6C1;
}

.modal.visible .modal-content {
    transform: scale(1);
}

.modal-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: #DB7093;
    margin-bottom: 1rem;
}

.modal-content p {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.close-btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.8rem 2.5rem;
    border: 2px solid #DB7093;
    border-radius: 50px;
    background: #DB7093;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: white;
    color: #DB7093;
    transform: translateY(-2px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .question {
        font-size: 2rem;
    }

    .card {
        padding: 2rem;
    }

    .btn {
        padding: 0.9rem 2.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .question {
        font-size: 1.75rem;
    }

    .btn {
        padding: 0.85rem 2rem;
        font-size: 0.95rem;
    }

    /* Stack buttons vertically on mobile */
    .button-container {
        min-height: 130px;
        /* Enough space for 2 buttons vertically */
    }

    .yes-btn {
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        /* Center YES button */
    }

    .yes-btn:hover {
        transform: translateX(-50%) translateY(-3px);
    }

    .no-btn {
        top: 60px;
        /* Position below YES */
        left: 50%;
        transform: translateX(-50%);
        /* Center NO button */
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}