.asanroid-tg-gaming,
.asanroid-tg-gaming * {
    box-sizing: border-box;
}

.asanroid-tg-gaming {
    --asanroid-tg-neon: #19B5FE;
    --asanroid-tg-purple: #8b5cf6;
    --asanroid-tg-deep: #050b18;
    position: fixed;
    bottom: 24px;
    z-index: 999999;
    width: min(390px, calc(100vw - 32px));
    min-height: 72px;
    display: block;
    direction: rtl;
    isolation: isolate;
    border-radius: 22px;
    color: #fff !important;
    text-decoration: none !important;
    font-family: inherit;
    transform: translateZ(0);
    -webkit-tap-highlight-color: transparent;
    transition: transform .32s cubic-bezier(.2,.8,.2,1), filter .32s ease;
}

.asanroid-tg-gaming:hover,
.asanroid-tg-gaming:focus-visible {
    color: #fff !important;
    text-decoration: none !important;
    transform: translateY(-7px) scale(1.025);
    filter: saturate(1.18) brightness(1.08);
    outline: none;
}

.asanroid-tg-border,
.asanroid-tg-glow {
    position: absolute;
    pointer-events: none;
    border-radius: 24px;
}

.asanroid-tg-border {
    inset: -2px;
    z-index: -2;
    background:
        radial-gradient(circle at 12% 18%, #ffffff 0 1.5%, transparent 12%),
        radial-gradient(circle at 88% 76%, #ffffff 0 1.2%, transparent 11%),
        linear-gradient(105deg,
            var(--asanroid-tg-neon) 0%,
            #dff8ff 20%,
            var(--asanroid-tg-purple) 48%,
            #79ddff 72%,
            var(--asanroid-tg-neon) 100%
        );
    background-size: 100% 100%;
    box-shadow:
        0 0 11px color-mix(in srgb, var(--asanroid-tg-neon) 95%, transparent),
        0 0 27px color-mix(in srgb, var(--asanroid-tg-neon) 58%, transparent),
        0 0 48px color-mix(in srgb, var(--asanroid-tg-purple) 28%, transparent);
    filter: saturate(1.22) brightness(1.08);
    animation: asanroidTgBorderPulse 1.65s ease-in-out infinite;
}

.asanroid-tg-glow {
    inset: -8px;
    z-index: -3;
    background: radial-gradient(circle at 70% 50%, color-mix(in srgb, var(--asanroid-tg-neon) 48%, transparent), transparent 55%),
                radial-gradient(circle at 18% 35%, rgba(139,92,246,.40), transparent 48%);
    filter: blur(15px);
    opacity: .9;
    animation: asanroidTgGlow 1.85s ease-in-out infinite;
}

.asanroid-tg-panel {
    position: relative;
    z-index: 2;
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
    padding: 10px 12px 10px 14px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 21px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.08), transparent 42%),
        repeating-linear-gradient(90deg, rgba(255,255,255,.023) 0 1px, transparent 1px 12px),
        linear-gradient(115deg, #07111f 0%, #09182d 52%, #0a1022 100%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.13),
        inset 0 -1px 0 rgba(0,0,0,.65),
        0 14px 32px rgba(0,0,0,.42),
        0 0 24px color-mix(in srgb, var(--asanroid-tg-neon) 28%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.asanroid-tg-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, transparent 0 48%, rgba(255,255,255,.07) 50%, transparent 52%),
        radial-gradient(circle at 92% 50%, color-mix(in srgb, var(--asanroid-tg-neon) 25%, transparent), transparent 33%);
    opacity: .85;
}

.asanroid-tg-panel::after {
    content: "";
    position: absolute;
    right: 74px;
    left: 46px;
    bottom: 7px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--asanroid-tg-neon), rgba(255,255,255,.85), transparent);
    box-shadow: 0 0 8px var(--asanroid-tg-neon);
    opacity: .55;
}

.asanroid-tg-icon-shell {
    position: relative;
    z-index: 3;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: grid;
    place-items: center;
    overflow: visible;
    border-radius: 17px;
    color: #fff;
    background:
        linear-gradient(145deg, rgba(255,255,255,.28), rgba(255,255,255,.04)),
        linear-gradient(145deg, color-mix(in srgb, var(--asanroid-tg-neon) 95%, #fff), color-mix(in srgb, var(--asanroid-tg-neon) 55%, #005f9e));
    border: 1px solid rgba(255,255,255,.48);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.55),
        inset 0 -9px 18px rgba(0,54,99,.22),
        0 0 18px color-mix(in srgb, var(--asanroid-tg-neon) 80%, transparent),
        0 8px 18px rgba(0,0,0,.35);
    animation: asanroidTgIcon 2.1s ease-in-out infinite;
}

.asanroid-tg-icon-shell::before {
    content: "";
    position: absolute;
    inset: 4px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 13px;
}

.asanroid-tg-icon-shell svg {
    position: relative;
    z-index: 2;
    width: 30px;
    height: 30px;
    display: block;
    filter: drop-shadow(0 3px 5px rgba(0,0,0,.25));
    transform: translate(-1px, 1px);
}

.asanroid-tg-radar {
    position: absolute;
    inset: -8px;
    z-index: -1;
    border: 1px solid color-mix(in srgb, var(--asanroid-tg-neon) 65%, transparent);
    border-radius: 22px;
    opacity: 0;
    animation: asanroidTgRadar 2s ease-out infinite;
}

.asanroid-tg-copy {
    position: relative;
    z-index: 3;
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}

.asanroid-tg-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: max-content;
    max-width: 100%;
    color: #aee9ff;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: .15px;
    opacity: .9;
}

.asanroid-tg-live i {
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    border-radius: 50%;
    background: #42ff9e;
    box-shadow: 0 0 8px #42ff9e;
    animation: asanroidTgLive 1.1s ease-in-out infinite;
}

.asanroid-tg-text {
    display: block;
    max-width: 100%;
    overflow: hidden;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.55;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-shadow: 0 1px 0 rgba(0,0,0,.65), 0 0 12px rgba(25,181,254,.20);
}

.asanroid-tg-arrow {
    position: relative;
    z-index: 3;
    width: 28px;
    height: 40px;
    flex: 0 0 28px;
    display: grid;
    place-items: center;
    color: #dff7ff;
    opacity: .9;
    animation: asanroidTgArrow 1.5s ease-in-out infinite;
}

.asanroid-tg-arrow svg {
    width: 21px;
    height: 21px;
    transform: rotate(180deg);
    filter: drop-shadow(0 0 6px var(--asanroid-tg-neon));
}

.asanroid-tg-scan {
    position: absolute;
    top: 2px;
    bottom: 2px;
    left: -24%;
    z-index: 4;
    width: 18%;
    pointer-events: none;
    border-radius: 99px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.62), transparent);
    filter: blur(1px);
    opacity: .5;
    transform: skewX(-18deg);
    animation: asanroidTgScan 3.1s ease-in-out infinite;
}

.asanroid-tg-particles {
    position: absolute;
    inset: -18px;
    z-index: 1;
    pointer-events: none;
    overflow: visible;
}

.asanroid-tg-particles i {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 8px var(--asanroid-tg-neon), 0 0 16px var(--asanroid-tg-neon);
    opacity: 0;
    animation: asanroidTgSpark 2.8s ease-in-out infinite;
}

.asanroid-tg-particles i:nth-child(1) { top: 8%; right: 18%; animation-delay: 0s; }
.asanroid-tg-particles i:nth-child(2) { top: 22%; left: 8%; animation-delay: .45s; }
.asanroid-tg-particles i:nth-child(3) { bottom: 5%; right: 34%; animation-delay: .9s; }
.asanroid-tg-particles i:nth-child(4) { bottom: 12%; left: 22%; animation-delay: 1.35s; }
.asanroid-tg-particles i:nth-child(5) { top: 42%; right: -1%; animation-delay: 1.8s; }
.asanroid-tg-particles i:nth-child(6) { top: -1%; left: 42%; animation-delay: 2.2s; }

.asanroid-tg-motion-gaming {
    animation: asanroidTgBody 3.2s ease-in-out infinite;
}

.asanroid-tg-motion-soft .asanroid-tg-border,
.asanroid-tg-motion-soft .asanroid-tg-scan,
.asanroid-tg-motion-soft .asanroid-tg-particles i,
.asanroid-tg-motion-soft .asanroid-tg-arrow,
.asanroid-tg-motion-soft .asanroid-tg-radar {
    animation-duration: 6s;
}

.asanroid-tg-motion-none,
.asanroid-tg-motion-none * {
    animation: none !important;
}

@keyframes asanroidTgBorderPulse {
    0%, 100% {
        opacity: .76;
        filter: saturate(1.12) brightness(.98);
        box-shadow:
            0 0 9px color-mix(in srgb, var(--asanroid-tg-neon) 82%, transparent),
            0 0 21px color-mix(in srgb, var(--asanroid-tg-neon) 45%, transparent),
            0 0 38px color-mix(in srgb, var(--asanroid-tg-purple) 20%, transparent);
    }
    48% {
        opacity: 1;
        filter: saturate(1.42) brightness(1.25);
        box-shadow:
            0 0 15px color-mix(in srgb, var(--asanroid-tg-neon) 100%, transparent),
            0 0 38px color-mix(in srgb, var(--asanroid-tg-neon) 76%, transparent),
            0 0 66px color-mix(in srgb, var(--asanroid-tg-purple) 38%, transparent);
    }
}

@keyframes asanroidTgGlow {
    0%, 100% { opacity: .56; transform: scale(.985); filter: blur(15px) brightness(.95); }
    50% { opacity: 1; transform: scale(1.055); filter: blur(18px) brightness(1.28); }
}

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

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

@keyframes asanroidTgRadar {
    0% { opacity: .58; transform: scale(.72); }
    75%, 100% { opacity: 0; transform: scale(1.28); }
}

@keyframes asanroidTgLive {
    0%, 100% { opacity: .42; transform: scale(.86); }
    50% { opacity: 1; transform: scale(1.18); }
}

@keyframes asanroidTgArrow {
    0%, 100% { transform: translateX(0); opacity: .55; }
    50% { transform: translateX(-4px); opacity: 1; }
}

@keyframes asanroidTgScan {
    0%, 15% { left: -25%; opacity: 0; }
    26% { opacity: .62; }
    62% { left: 112%; opacity: .45; }
    70%, 100% { left: 112%; opacity: 0; }
}

@keyframes asanroidTgSpark {
    0%, 100% { opacity: 0; transform: translate(0, 8px) scale(.2); }
    35% { opacity: 1; }
    70% { opacity: .25; transform: translate(-10px, -14px) scale(1.15); }
}

@media (hover: hover) {
    .asanroid-tg-gaming:hover .asanroid-tg-panel {
        box-shadow:
            inset 0 1px 0 rgba(255,255,255,.18),
            inset 0 -1px 0 rgba(0,0,0,.65),
            0 18px 40px rgba(0,0,0,.48),
            0 0 34px color-mix(in srgb, var(--asanroid-tg-neon) 48%, transparent);
    }

    .asanroid-tg-gaming:hover .asanroid-tg-icon-shell {
        transform: scale(1.08) rotate(-4deg);
    }

    .asanroid-tg-gaming:hover .asanroid-tg-text {
        text-shadow: 0 1px 0 rgba(0,0,0,.65), 0 0 16px color-mix(in srgb, var(--asanroid-tg-neon) 55%, transparent);
    }
}

@media (max-width: 640px) {
    .asanroid-tg-gaming {
        bottom: 15px;
        width: min(350px, calc(100vw - 24px));
        min-height: 64px;
        border-radius: 19px;
    }

    .asanroid-tg-border,
    .asanroid-tg-glow {
        border-radius: 21px;
    }

    .asanroid-tg-panel {
        min-height: 64px;
        gap: 9px;
        padding: 8px 9px 8px 11px;
        border-radius: 18px;
    }

    .asanroid-tg-icon-shell {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
        border-radius: 15px;
    }

    .asanroid-tg-icon-shell svg {
        width: 27px;
        height: 27px;
    }

    .asanroid-tg-text {
        font-size: 12.2px;
    }

    .asanroid-tg-live {
        font-size: 9px;
    }

    .asanroid-tg-arrow {
        width: 20px;
        flex-basis: 20px;
    }
}

@media (max-width: 390px) {
    .asanroid-tg-live {
        display: none;
    }

    .asanroid-tg-copy {
        justify-content: center;
    }

    .asanroid-tg-text {
        font-size: 11.5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .asanroid-tg-gaming,
    .asanroid-tg-gaming * {
        animation: none !important;
        transition: none !important;
    }
}
