#hamyargps-quick-access,
#hamyargps-quick-access * {
    box-sizing: border-box;
}

#hamyargps-quick-access {
    --hqa-bg: #090f19;
    --hqa-surface: #101b2b;
    --hqa-gold: #fbbf24;
    --hqa-gold-light: #fde68a;
    --hqa-gold-dark: #b7791f;
    --hqa-text: #ffffff;
    --hqa-muted: #cbd5e1;
    width: 100%;
    max-width: 100%;
    margin: 20px 0 25px;
    direction: rtl;
    color: var(--hqa-text);
    font-family: inherit;
}

#hamyargps-quick-access .hqa-inner {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    min-width: 0;
    padding: 18px 20px;
    overflow: hidden;
    border: 1px solid rgba(251, 191, 36, 0.4);
    border-right: 4px solid var(--hqa-gold);
    border-radius: 16px;
    background:
        radial-gradient(circle at 9% 12%, rgba(251, 191, 36, 0.13), transparent 31%),
        radial-gradient(circle at 93% 88%, rgba(56, 189, 248, 0.08), transparent 34%),
        linear-gradient(135deg, var(--hqa-surface) 0%, var(--hqa-bg) 62%, #060a11 100%);
    box-shadow: 0 10px 28px rgba(2, 6, 23, 0.2);
}

#hamyargps-quick-access .hqa-inner::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -72px;
    left: -48px;
    width: 175px;
    height: 175px;
    border: 1px solid rgba(251, 191, 36, 0.1);
    border-radius: 50%;
    background: rgba(251, 191, 36, 0.035);
    pointer-events: none;
}

#hamyargps-quick-access .hqa-inner::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.75), transparent);
    pointer-events: none;
}

#hamyargps-quick-access .hqa-message {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}

#hamyargps-quick-access .hqa-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    border: 1px solid rgba(251, 191, 36, 0.65);
    border-radius: 14px;
    color: var(--hqa-gold);
    background: linear-gradient(145deg, #151515, #030303);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 7px 18px rgba(0, 0, 0, 0.28),
        0 0 16px rgba(251, 191, 36, 0.1);
}

#hamyargps-quick-access .hqa-icon-wrap::after {
    content: "";
    position: absolute;
    right: -3px;
    bottom: -3px;
    width: 12px;
    height: 12px;
    border: 2px solid var(--hqa-bg);
    border-radius: 50%;
    background: var(--hqa-gold);
    animation: hqaGoldDotPulse 1.6s ease-out infinite;
}

#hamyargps-quick-access .hqa-main-icon {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.15;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 5px rgba(251, 191, 36, 0.35));
    animation: hqaIconFloat 1.4s ease-in-out infinite;
}

#hamyargps-quick-access .hqa-copy {
    display: block;
    min-width: 0;
}

#hamyargps-quick-access .hqa-eyebrow {
    display: block;
    margin: 0 0 2px;
    color: var(--hqa-gold);
    font-size: 10.5px;
    font-weight: 800;
    line-height: 1.7;
}

#hamyargps-quick-access .hqa-title {
    display: block;
    margin: 0 0 3px;
    color: var(--hqa-text);
    font-size: var(--hqa-title-size, 14.5px);
    font-weight: 800;
    line-height: 1.8;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
}

#hamyargps-quick-access .hqa-description {
    display: block;
    margin: 0;
    color: var(--hqa-muted);
    font-size: var(--hqa-description-size, 12px);
    font-weight: 400;
    line-height: 1.85;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
}

#hamyargps-quick-access .hqa-button {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: var(--hqa-button-height, 47px);
    padding: 11px 20px;
    flex: 0 0 auto;
    overflow: hidden;
    border: 1px solid rgba(251, 191, 36, 0.9);
    border-radius: var(--hqa-button-radius, 11px);
    color: var(--hqa-button-text, #ffffff);
    background: var(--hqa-button-bg, linear-gradient(145deg, #151515, #030303));
    box-shadow:
        0 0 0 0 rgba(251, 191, 36, 0.48),
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 8px 20px rgba(0, 0, 0, 0.28);
    font-size: var(--hqa-button-font-size, 14px);
    font-weight: 800;
    line-height: 1.7;
    text-align: center;
    text-decoration: none !important;
    animation: hqaButtonPulse 1.7s ease-out infinite;
    transition: transform 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
}

#hamyargps-quick-access .hqa-button::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: -25%;
    right: -175%;
    width: 145%;
    height: 150%;
    background: linear-gradient(
        to left,
        rgba(251, 191, 36, 0) 0%,
        rgba(251, 191, 36, 0.04) 16%,
        rgba(251, 191, 36, 0.12) 36%,
        rgba(255, 239, 184, 0.82) 52%,
        rgba(251, 191, 36, 0.25) 59%,
        rgba(251, 191, 36, 0.08) 76%,
        rgba(251, 191, 36, 0) 100%
    );
    filter: blur(0.35px);
    transform: skewX(-22deg);
    animation: hqaGoldShine 2.8s ease-in-out infinite;
    pointer-events: none;
}

/* هسته درخشان و دنباله ستارهای روی دکمه */
#hamyargps-quick-access .hqa-button::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 50%;
    right: -42%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff8d6;
    box-shadow:
        9px 0 8px 2px rgba(255, 237, 166, 0.65),
        24px 0 14px 3px rgba(251, 191, 36, 0.38),
        46px 0 22px 5px rgba(251, 191, 36, 0.16);
    opacity: 0;
    filter: drop-shadow(0 0 5px rgba(255, 244, 200, 0.85));
    transform: translateY(-50%);
    animation: hqaGoldComet 2.8s ease-in-out infinite;
    pointer-events: none;
}

#hamyargps-quick-access .hqa-button-text {
    position: relative;
    z-index: 1;
}

#hamyargps-quick-access .hqa-button:hover,
#hamyargps-quick-access .hqa-button:focus-visible {
    color: #ffffff;
    border-color: var(--hqa-gold-light);
    filter: brightness(1.12);
    text-decoration: none !important;
    transform: translateY(-2px);
}

#hamyargps-quick-access .hqa-button:focus-visible {
    outline: 3px solid rgba(251, 191, 36, 0.3);
    outline-offset: 3px;
}

#hamyargps-quick-access .hqa-button-icon {
    position: relative;
    z-index: 1;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    fill: none;
    stroke: var(--hqa-gold);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.32));
    animation: hqaArrowDown 0.9s ease-in-out infinite;
}

/* مقصد واقعی روی کانتینر اصلی باکس دانلود؛ مستقل از LuckyWP */
html body #pro-download-widget {
    scroll-margin-top: 95px;
}

@keyframes hqaIconFloat {
    0%, 100% {
        transform: translateY(-3px);
    }
    50% {
        transform: translateY(3px);
    }
}

@keyframes hqaArrowDown {
    0%, 100% {
        transform: translateY(-2px);
    }
    50% {
        transform: translateY(3px);
    }
}

@keyframes hqaButtonPulse {
    0% {
        box-shadow:
            0 0 0 0 rgba(251, 191, 36, 0.48),
            inset 0 1px 0 rgba(255, 255, 255, 0.06),
            0 8px 20px rgba(0, 0, 0, 0.28);
    }
    72% {
        box-shadow:
            0 0 0 11px rgba(251, 191, 36, 0),
            inset 0 1px 0 rgba(255, 255, 255, 0.06),
            0 8px 20px rgba(0, 0, 0, 0.28);
    }
    100% {
        box-shadow:
            0 0 0 0 rgba(251, 191, 36, 0),
            inset 0 1px 0 rgba(255, 255, 255, 0.06),
            0 8px 20px rgba(0, 0, 0, 0.28);
    }
}

@keyframes hqaGoldShine {
    0%, 58% {
        right: -175%;
    }
    80% {
        right: 180%;
    }
    100% {
        right: 180%;
    }
}

@keyframes hqaGoldComet {
    0%, 58% {
        right: -42%;
        opacity: 0;
    }
    61% {
        opacity: 1;
    }
    80% {
        right: 142%;
        opacity: 1;
    }
    84%, 100% {
        right: 142%;
        opacity: 0;
    }
}

@keyframes hqaGoldDotPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.5);
    }
    75% {
        box-shadow: 0 0 0 7px rgba(251, 191, 36, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0);
    }
}

@media (max-width: 720px) {
    #hamyargps-quick-access .hqa-inner {
        align-items: stretch;
        flex-direction: column;
        gap: 15px;
        padding: 16px;
        border-radius: 14px;
    }

    #hamyargps-quick-access .hqa-message {
        align-items: flex-start;
    }

    #hamyargps-quick-access .hqa-icon-wrap {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
        border-radius: 12px;
    }

    #hamyargps-quick-access .hqa-main-icon {
        width: 23px;
        height: 23px;
    }

    #hamyargps-quick-access .hqa-title {
        font-size: var(--hqa-mobile-title-size, 13.5px);
    }

    #hamyargps-quick-access .hqa-description {
        font-size: var(--hqa-mobile-description-size, 11.5px);
        line-height: 1.8;
    }

    #hamyargps-quick-access .hqa-button {
        width: var(--hqa-mobile-button-width, 100%);
        min-height: var(--hqa-mobile-button-height, 46px);
        padding: 10px 15px;
        font-size: var(--hqa-mobile-button-font-size, 13.5px);
    }
}

@media (max-width: 420px) {
    #hamyargps-quick-access {
        margin: 17px 0 21px;
    }

    #hamyargps-quick-access .hqa-inner {
        padding: 14px 12px;
    }

    #hamyargps-quick-access .hqa-message {
        gap: 10px;
    }

    #hamyargps-quick-access .hqa-eyebrow {
        font-size: 10px;
    }

    #hamyargps-quick-access .hqa-title {
        font-size: var(--hqa-mobile-title-size, 13px);
    }

    #hamyargps-quick-access .hqa-description {
        font-size: var(--hqa-mobile-description-size, 11px);
    }

    #hamyargps-quick-access .hqa-button {
        font-size: var(--hqa-mobile-button-font-size, 13px);
    }
}

@media (prefers-reduced-motion: reduce) {
    #hamyargps-quick-access .hqa-main-icon,
    #hamyargps-quick-access .hqa-button,
    #hamyargps-quick-access .hqa-button::before,
    #hamyargps-quick-access .hqa-button::after,
    #hamyargps-quick-access .hqa-button-icon,
    #hamyargps-quick-access .hqa-icon-wrap::after {
        animation: none !important;
    }
}


/* v2.3 admin-controlled overrides */
#hamyargps-quick-access{background:var(--hqa-bg,#0f1b3d);color:var(--hqa-text,#fff)}
#hamyargps-quick-access .hqa-title{font-size:var(--hqa-title-size,18px)}
#hamyargps-quick-access .hqa-description{font-size:var(--hqa-description-size,13px);color:var(--hqa-muted,#c8d3ea)}
#hamyargps-quick-access .hqa-button{min-height:var(--hqa-button-height,48px);padding-inline:20px;border-radius:var(--hqa-button-radius,10px);background:var(--hqa-button-bg,#2563eb);color:var(--hqa-button-text,#fff)!important;font-size:var(--hqa-button-font-size,14px)}
@media(max-width:640px){#hamyargps-quick-access .hqa-title{font-size:var(--hqa-mobile-title-size,16px)}#hamyargps-quick-access .hqa-description{font-size:var(--hqa-mobile-description-size,12px)}#hamyargps-quick-access .hqa-button{width:var(--hqa-mobile-button-width,100%);min-height:var(--hqa-mobile-button-height,52px);font-size:var(--hqa-mobile-button-font-size,15px)}}
