/* Full screen background */
#buyPopup {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

/* Popup panel */
#buyPopup .buy-popup {
    position: relative;
    background: #111;
    color: #fff;
    padding: 40px 30px;
    border: 2px solid white;
    border-radius: 12px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.buy-popup h2 {
    font-size: 42px;
    margin: 0 0 15px;
}

.buy-popup p {
    font-size: 18px;
    line-height: 1.5;
}

.buy-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
}

.buy-popup-button {
    display: inline-block;
    padding: 12px 40px;
    margin-top: 15px;
    background: white;
    color: black;
    border-radius: 6px;
    font-size: 26px;
    text-decoration: none;
}

.buy-popup-button:hover {
    background: #ccc;
}

.buy-popup-dismiss {
    margin-top: 20px;
    color: #aaa;
    cursor: pointer;
    font-size: 15px;
}