/* Import Google Fonts: Playfair Display for headings, Poppins for body */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Poppins:wght@400;500&display=swap');

/* Popup Overlay with Blur Effect */
#pdp-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); /* For Safari support */
    z-index: 100000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

#pdp-popup-overlay.pdp-visible {
    opacity: 1;
    visibility: visible;
}

/* Popup Content Box with 3D Effect */
#pdp-popup-content {
    background: #ffffff;
    padding: 35px 45px;
    border-radius: 12px;
    text-align: center;
    width: 90%;
    max-width: 420px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid #eee;
    transform: perspective(1200px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

#pdp-popup-overlay.pdp-visible #pdp-popup-content {
    transform: perspective(1200px) scale(1);
}

#pdp-popup-content h2 {
    font-family: 'Playfair Display', serif;
    color: #111;
    margin-top: 0;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
}

#pdp-popup-content p {
    font-family: 'Poppins', sans-serif;
    color: #555;
    font-size: 17px;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Claim Button - Styled like your theme */
#pdp-claim-button {
    background-color: #1E4D45; /* Dark Green from your theme */
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    border: none;
    padding: 14px 30px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px -5px #1E4D45;
}

#pdp-claim-button:hover {
    background-color: #14352f; /* Slightly darker green for hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px -5px #1E4D45;
}

#pdp-claim-button:active {
    transform: translateY(0);
}

/* Close Button (X) */
#pdp-close-button {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 32px;
    font-weight: 300;
    color: #999;
    text-decoration: none;
    line-height: 1;
    transition: color 0.3s ease;
}

#pdp-close-button:hover {
    color: #111;
}