
/* ===================================================
   FD_CRYPTO_QRIS_BUTTON_HOVER_V1
   Premium hover effects for Telegram & My Payments
   =================================================== */

/* Both buttons — preserve their existing layout. */

.fdpt--crypto a[href*="t.me/vip4download"],
.fdpt--crypto a[href*="/my-payments.html"],
.fdpt--qris a[href*="t.me/vip4download"],
.fdpt--qris a[href*="/my-payments.html"] {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    transition:
        transform .25s cubic-bezier(.2,.75,.25,1),
        box-shadow .25s ease,
        background-color .25s ease,
        border-color .25s ease,
        color .25s ease,
        filter .25s ease !important;

    will-change: transform;
}

/* Subtle premium light sweep. */

.fdpt--crypto a[href*="t.me/vip4download"]::after,
.fdpt--crypto a[href*="/my-payments.html"]::after,
.fdpt--qris a[href*="t.me/vip4download"]::after,
.fdpt--qris a[href*="/my-payments.html"]::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: -60%;
    left: -85%;
    width: 38%;
    height: 220%;
    pointer-events: none;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.27),
        transparent
    );

    transform: rotate(25deg);
    transition: left .55s ease;
}

/* Crypto — blue/cyan glow. */

@media (hover:hover) and (pointer:fine) {
    .fdpt--crypto a[href*="t.me/vip4download"]:hover,
    .fdpt--crypto a[href*="/my-payments.html"]:hover {
        transform: translateY(-3px);
        filter: brightness(1.07);

        box-shadow:
            0 11px 25px rgba(25,125,197,.22),
            0 3px 9px rgba(15,100,170,.10);
    }

    /* QRIS — Indonesia premium red glow. */

    .fdpt--qris a[href*="t.me/vip4download"]:hover,
    .fdpt--qris a[href*="/my-payments.html"]:hover {
        transform: translateY(-3px);
        filter: brightness(1.06);

        box-shadow:
            0 11px 25px rgba(183,45,65,.19),
            0 3px 9px rgba(142,30,49,.10);
    }

    .fdpt--crypto a[href*="t.me/vip4download"]:hover::after,
    .fdpt--crypto a[href*="/my-payments.html"]:hover::after,
    .fdpt--qris a[href*="t.me/vip4download"]:hover::after,
    .fdpt--qris a[href*="/my-payments.html"]:hover::after {
        left: 135%;
    }
}

/* Press feedback. */

.fdpt--crypto a[href*="t.me/vip4download"]:active,
.fdpt--crypto a[href*="/my-payments.html"]:active,
.fdpt--qris a[href*="t.me/vip4download"]:active,
.fdpt--qris a[href*="/my-payments.html"]:active {
    transform: translateY(0) scale(.985);
    box-shadow: none;
}

/* Accessible keyboard navigation. */

.fdpt--crypto a[href*="t.me/vip4download"]:focus-visible,
.fdpt--crypto a[href*="/my-payments.html"]:focus-visible {
    outline: 3px solid #48B9EA;
    outline-offset: 3px;
}

.fdpt--qris a[href*="t.me/vip4download"]:focus-visible,
.fdpt--qris a[href*="/my-payments.html"]:focus-visible {
    outline: 3px solid #E97989;
    outline-offset: 3px;
}

/* Maintain readability in dark mode. */

.dt-is-active .fdpt--crypto a[href*="t.me/vip4download"]:hover,
.dt-is-active .fdpt--crypto a[href*="/my-payments.html"]:hover {
    box-shadow:
        0 10px 26px rgba(52,177,227,.20);
}

.dt-is-active .fdpt--qris a[href*="t.me/vip4download"]:hover,
.dt-is-active .fdpt--qris a[href*="/my-payments.html"]:hover {
    box-shadow:
        0 10px 26px rgba(225,80,104,.22);
}

/* Accessibility: reduced motion. */

@media (prefers-reduced-motion:reduce) {
    .fdpt--crypto a[href*="t.me/vip4download"],
    .fdpt--crypto a[href*="/my-payments.html"],
    .fdpt--qris a[href*="t.me/vip4download"],
    .fdpt--qris a[href*="/my-payments.html"] {
        transition: none !important;
        will-change: auto;
    }

    .fdpt--crypto a[href*="t.me/vip4download"]:hover,
    .fdpt--crypto a[href*="/my-payments.html"]:hover,
    .fdpt--qris a[href*="t.me/vip4download"]:hover,
    .fdpt--qris a[href*="/my-payments.html"]:hover {
        transform: none !important;
    }

    .fdpt--crypto a[href*="t.me/vip4download"]::after,
    .fdpt--crypto a[href*="/my-payments.html"]::after,
    .fdpt--qris a[href*="t.me/vip4download"]::after,
    .fdpt--qris a[href*="/my-payments.html"]::after {
        display: none;
    }
}
