.po {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;              /* Permite interacción debajo */
    z-index: 9999;
}

.po > .pc {
    pointer-events: all;               /* Solo el popup es clicable */
}

.pc {
    background: #ffebee;
    padding: 40px 30px 30px;
    border-radius: 24px;
    text-align: center;
    max-width: 320px;
    width: 90%;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.4s ease;
    position: relative;
    border: 2px solid #ffcdd2;
}

#pt:checked ~ .po .pc {
    transform: scale(1);
    opacity: 1;
}

.pc h3 {
    color: #c2185b;
    margin: 0 0 25px;
    font-size: 26px;
    font-weight: bold;
    font-style: italic;
    text-shadow: 1px 1px 3px rgba(236, 64, 122, 0.2);
    letter-spacing: 1px;
}

.pc h3::before {
    content: "💕 ";
    font-size: 30px;
}

.nicebutton {
    display: block;
    margin: 20px auto 0;
    padding: 14px 28px;
    font: bold 18px Arial, sans-serif;
    color: white;
    background: linear-gradient(135deg, #ec407a, #f06292);
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(236, 64, 122, 0.3);
    transition: all 0.3s ease;
}

.nicebutton:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(236, 64, 122, 0.4);
}

/* Botón X visible y bonito */
.px {
    position: absolute;
    top: 12px;
    right: 12px;
    background: white;
    border: 2px solid #ec407a;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 28px;
    line-height: 40px;
    color: #c2185b;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.px:hover {
    background: #ec407a;
    color: white;
    transform: scale(1.1);
}