.anniversary-popup {
    position: fixed;
    /* remove it from document flow */
    inset: 0;
    /* stretch full screen */
    margin: auto;
    /* center horizontally + vertically */
    width: 400px;
    max-width: 90%;
    padding: 2rem;

    border: none;
    border-radius: 20px;
    text-align: center;
    font-size: 20px;
    overflow: hidden;
    /* prevents scrollbars */
    word-wrap: break-word;
    /* forces long words to wrap */

    z-index: 9999;
}

/* .anniversary-popup a {
    color: #540404;
    font-weight: bold;
    text-decoration: underline;
}

.anniversary-popup a:hover {
    color: #540404;
    text-decoration: underline;
}

.anniversary-popup a:focus-visible {
    color: #540404;
    text-decoration: underline; 
    outline-offset: 4px;
} */

/* Make the form behave like it's not there */
.popup-actions form {
    display: contents;
}

/* Shared exact size */
.popup-actions button {
    width: 180px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* Your existing styles */
.learn-more-btn {
    border-radius: 20px 10px;
    border: none;
    background: linear-gradient(95deg, #F8CE46 0%, #c79904 100%);
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.popup-btn {
    border-radius: 20px 10px;
    border: none;
    background: linear-gradient(95deg, #D42C3D 0%, #540404 100%);
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.popup-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 20px;
}




/* Dark overlay */
dialog::backdrop {
    background: rgba(0, 0, 0, 0.7);
}

dialog:not([open]) {
    display: none;
}

.anniversary-popup {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}