.air-scroll-top {
    position: fixed;
    right: 26px;
    bottom: 92px;
    z-index: 999999;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    outline: 0;
    cursor: pointer;

    background: linear-gradient(135deg, #2563eb, #38bdf8);
    color: #ffffff;

    border-radius: 50%;
    font-size: 14px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(14px) scale(0.9);

    box-shadow:
        0 14px 35px rgba(37, 99, 235, 0.32),
        0 0 0 8px rgba(56, 189, 248, 0.10);

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.air-scroll-top.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.air-scroll-top:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow:
        0 18px 45px rgba(37, 99, 235, 0.40),
        0 0 0 9px rgba(56, 189, 248, 0.13);
}

.air-scroll-top:active {
    transform: translateY(-1px) scale(0.96);
}

.air-scroll-top i {
    pointer-events: none;
}

/* Dark mode */
html[data-theme="dark"] .air-scroll-top {
    background: linear-gradient(135deg, #38bdf8, #2563eb);
    color: #ffffff;
}

/* Light mode */
html[data-theme="light"] .air-scroll-top {
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    color: #ffffff;
}

@media (max-width: 768px) {
    .air-scroll-top {
        right: 20px;
        bottom: 82px;
        width: 40px;
        height: 40px;
        font-size: 13px;
    }
}

@media (max-width: 420px) {
    .air-scroll-top {
        right: 16px;
        bottom: 76px;
        width: 38px;
        height: 38px;
        font-size: 12px;
    }
}