/* ZP Purchase Gate — kullanım şartı onay kutusu (site gaming-glassmorphism dili) */

.zppg {
    margin: 18px 0;
    padding: 16px 18px 16px 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 14px;
    background: rgba(255, 255, 255, .025);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 0 1px rgba(254, 1, 0, .06), 0 12px 34px rgba(0, 0, 0, .35);
    animation: zppg-in .45s cubic-bezier(.2, .8, .25, 1) both;
}

/* sol kırmızı vurgu şeridi */
.zppg::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #FE0100, #c40000);
    box-shadow: 0 0 14px rgba(254, 1, 0, .55);
}

.zppg-note { margin-bottom: 13px; }

.zppg-badge {
    display: inline-block;
    margin-bottom: 9px;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #ff5a5a;
    border: 1px solid rgba(254, 1, 0, .35);
    border-radius: 999px;
    background: rgba(254, 1, 0, .08);
}

.zppg-text {
    margin: 4px 0 9px;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, .82);
}
.zppg-text strong { color: #fff; }

.zppg-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #ff5a5a;
    text-decoration: none;
    transition: color .18s ease, gap .18s ease;
}
.zppg-link:hover { color: #fff; gap: 9px; }
.zppg-arrow { transition: transform .18s ease; }
.zppg-link:hover .zppg-arrow { transform: translateX(2px); }

.zppg-check {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    padding: 12px 14px;
    border-radius: 11px;
    border: 1px solid rgba(255, 255, 255, .10);
    background: rgba(255, 255, 255, .02);
    transition: border-color .2s ease, background .2s ease;
}
.zppg-check:hover {
    border-color: rgba(254, 1, 0, .40);
    background: rgba(254, 1, 0, .04);
}

.zppg-cb {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: 0;
    pointer-events: none;
}

.zppg-box {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    position: relative;
    border: 2px solid rgba(255, 255, 255, .30);
    border-radius: 6px;
    background: rgba(0, 0, 0, .25);
    transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.zppg-box::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform .16s cubic-bezier(.2, .9, .3, 1.4);
}
.zppg-cb:checked + .zppg-box {
    background: linear-gradient(135deg, #FE0100, #c40000);
    border-color: #FE0100;
    box-shadow: 0 0 12px rgba(254, 1, 0, .55);
}
.zppg-cb:checked + .zppg-box::after { transform: rotate(45deg) scale(1); }
.zppg-cb:focus-visible + .zppg-box {
    outline: 2px solid #ff5a5a;
    outline-offset: 2px;
}

.zppg-label {
    font-size: 13.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .85);
}
.zppg-label strong { color: #fff; }

.zppg-warn {
    margin: 10px 0 0;
    font-size: 12.5px;
    font-weight: 600;
    color: #ff7a7a;
}

/* Sepete Ekle butonu görsel kilidi (mantık pg.js'te) */
.zppg-locked .single_add_to_cart_button {
    opacity: .5;
    cursor: not-allowed;
}

@keyframes zppg-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes zppg-shake {
    10%, 90% { transform: translateX(-1px); }
    20%, 80% { transform: translateX(2px); }
    30%, 50%, 70% { transform: translateX(-4px); }
    40%, 60% { transform: translateX(4px); }
}
.zppg-shake {
    animation: zppg-shake .5s both;
    border-color: rgba(254, 1, 0, .55);
}
