:root {
    --primary-background: #222127;
    --primary-radius: 8px;
}

ul.pagination {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.trading {
    margin-bottom: 24px;
}

.trading .product {
    display: flex;
    width: 100%;
    background-color: var(--primary-background);
    border-radius: var(--primary-radius);
    padding: 12px 24px 12px 24px;
    height: 80px;
    align-items: center;
    font-size: 16px;
    margin-bottom: 16px;
}

.trading .product .view img {
    width: 48px;
    height: 48px;
    border-radius: var(--primary-radius);
}

.trading .product .name {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-height: 1.3em;
    width: 39%;
}

.trading .product .add {
    width: 8%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.trading .product .add button.btn svg.bi.bi-bag-heart-fill {
    width: 24px;
    height: 24px;
    color: gray;
}

.trading .product .add button.btn svg.bi.bi-bag-heart-fill:hover {
    color: #d1e52d;
}

.trading .product .add button.btn {
    background-color: transparent;
    margin-bottom: 0;
}

.trading .product .view {
    width: 8%;
    margin-right: 12px;
}

.trading .product .price,
.trading .product .availability,
.trading .product .market {
    width: 15%;
}


.trading .table {
    display: flex;
    padding: 0 24px 0 24px;
    font-size: 12px;
}

.trading .table svg {
    margin-right: 8px;
}

.trading .table .name,
.trading .table .price,
.trading .table .market,
.trading .table .view,
.trading .table .availability {
    display: flex;
    align-items: center;
}

.trading .table .name {
    width: 39%;
}

.trading .table .add {
    width: 8%;
}

.trading .table .view {
    width: 8%;
    margin-right: 12px;
}

.trading .table .price,
.trading .table .availability,
.trading .table .market {
    width: 15%;
}

.product:hover {
    box-shadow: 3px 3px #6c97d4, -4px 0 .4em #40787d;
    transition: box-shadow 0.3s ease-in-out;
}

.jconfirm-cell {
    background-color: rgba(0, 0, 0, .40);
}

.jconfirm-box-container {
    color: #484848;
}

#items .card.active {
    border-color: rgba(65, 137, 91, .64);
    background-color: rgba(36, 62, 45, .25);
}

#items .card.active:hover {
    border-color: transparent;
    background-color: var(--primary-background);
}

#items .card {
    cursor: pointer;
    background-color: var(--primary-background);
}

#items .card .card-header {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#items .card .card-body {
    height: 150px !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: 50% !important;
    margin: 12px 8px 12px 8px !important;
}

#items .card:hover {
    box-shadow: 3px 3px #6c97d4, -4px 0 .4em #40787d;
    transition: box-shadow 0.3s ease-in-out;
    transition: border-color 0.3s ease-in-out;
}

@media (max-width: 600px) {
    .trading .product {
        padding: 8px;
    }

    .trading .product .view img {
        width: 32px;
        height: 32px;
    }

    .trading .table .name {
        width: 30%;
    }

    .trading .product .name {
        width: 30%;
    }

    .trading .table .add {
        width: 17%;
    }

    .trading .product .add {
        width: 17%;
    }
}

#green_circle_online {
    display: inline-block;
    background-color: green;
    width: 10px;
    border-radius: 20px;
    height: 10px;
    margin-left: 10px;
    margin-bottom: 1px;
    box-shadow: 0 0 15px rgba(255, 255, 255, .4);
    -webkit-animation: mymove 3s infinite;
    animation: mymove .4s ease-in infinite alternate;
}

@keyframes mymove {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.3);
    }
}

.smart-roulette__gift_left {
    left: 15px;
}

.smart-roulette__gift {
    border: none;
    padding: 0;
    margin: 0;
    background: 0 0;
    position: fixed;
    cursor: pointer;
    outline: 0;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
    bottom: 15px;
    -webkit-animation: 2.2s ease-in-out 0s normal none infinite running shake-animation;
    animation: 2.2s ease-in-out 0s normal none infinite running shake-animation;
    z-index: 999;
}

.smart-roulette__gift {

    -moz-animation: cycle 4s linear infinite;
    -webkit-animation: cycle 4s linear infinite;

}

.smart-roulette__gift {
    color: white;
    min-height: 30px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

@-moz-keyframes cycle {
    35% {
        transform: rotate(0) translate(0, 0);
    }

    40% {
        transform: rotate(5deg) translate(0, -2px);
    }

    45% {
        transform: rotate(-3deg) translate(0, -2px);
    }

    50% {
        transform: rotate(5deg) translate(0, -2px);
    }

    55% {
        transform: rotate(-3deg) translate(0, -2px);
    }

    60% {
        transform: rotate(5deg) translate(0, -2px);
    }

    65% {
        transform: rotate(-3deg) translate(0, -2px);
    }

    70% {
        transform: rotate(0) translate(0, 0);
    }
}

@-webkit-keyframes cycle {
    35% {
        transform: rotate(0) translate(0, 0);
    }

    40% {
        transform: rotate(5deg) translate(0, -2px);
    }

    45% {
        transform: rotate(-3deg) translate(0, -2px);
    }

    50% {
        transform: rotate(5deg) translate(0, -2px);
    }

    55% {
        transform: rotate(-3deg) translate(0, -2px);
    }

    60% {
        transform: rotate(5deg) translate(0, -2px);
    }

    65% {
        transform: rotate(-3deg) translate(0, -2px);
    }

    70% {
        transform: rotate(0) translate(0, 0);
    }
}

#soffline {
    display: inline-block;
    background-color: #d85752;
    width: 8px;
    border-radius: 20px;
    height: 8px;
    margin-left: 10px;
    margin-bottom: 1px;
    margin-right: 6px;
    box-shadow: 0 0 15px #dc3545;
    animation: mymove 0.0s ease-in infinite alternate;
}

#sonline {
    display: inline-block;
    background-color: green;
    width: 10px;
    border-radius: 20px;
    height: 10px;
    margin-left: 10px;
    margin-right: 6px;
    margin-bottom: 1px;
    box-shadow: 0 0 15px rgb(96 151 208 / 62%);
    animation: mymove 0.8s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
    filter: none;
}

#sonline:hover {
    display: inline-block;
    background-color: #6c97d4;
    width: 10px;
    border-radius: 20px;
    height: 10px;
    filter: blur(1px);
    cursor: none;
    margin-left: 10px;
    margin-right: 6px;
    margin-bottom: 1px;
    box-shadow: 0 0 15px rgb(96 151 208 / 62%);
    animation: mymove 0.8s;
}

.h-top-link,
.h-top-link:hover {
    display: none;
    cursor: pointer;
    width: 38px;
    height: 150px;
    text-align: center;
    background-image: url(../img/up-top.png);
    color: #fff;
    position: fixed;
    right: 30px;
    bottom: 30px;
}

/* Animations for Group Styles */
@keyframes animBlinkColor {
    0% {
        color: #ff0000;
    }

    33% {
        color: #00ff00;
    }

    66% {
        color: #0000ff;
    }

    100% {
        color: #ff0000;
    }
}

@keyframes animRainbowText {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes animNeonPulse {
    from {
        text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #ff00de, 0 0 30px #ff00de, 0 0 40px #ff00de;
    }

    to {
        text-shadow: 0 0 2px #fff, 0 0 5px #fff, 0 0 10px #ff00de, 0 0 15px #ff00de, 0 0 20px #ff00de;
    }
}

@keyframes animNeonGreen {
    from {
        text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #0f0, 0 0 30px #0f0;
    }

    to {
        text-shadow: 0 0 2px #fff, 0 0 5px #fff, 0 0 10px #0f0, 0 0 15px #0f0;
    }
}

@keyframes animNeonBlue {
    from {
        text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #00f, 0 0 30px #00f;
    }

    to {
        text-shadow: 0 0 2px #fff, 0 0 5px #fff, 0 0 10px #00f, 0 0 15px #00f;
    }
}

@keyframes animShake {
    0% {
        transform: translate(1px, 1px) rotate(0deg);
    }

    10% {
        transform: translate(-1px, -2px) rotate(-1deg);
    }

    20% {
        transform: translate(-3px, 0px) rotate(1deg);
    }

    30% {
        transform: translate(3px, 2px) rotate(0deg);
    }

    40% {
        transform: translate(1px, -1px) rotate(1deg);
    }

    50% {
        transform: translate(-1px, 2px) rotate(-1deg);
    }

    60% {
        transform: translate(-3px, 1px) rotate(0deg);
    }

    70% {
        transform: translate(3px, 1px) rotate(-1deg);
    }

    80% {
        transform: translate(-1px, -1px) rotate(1deg);
    }

    90% {
        transform: translate(1px, 2px) rotate(0deg);
    }

    100% {
        transform: translate(1px, -2px) rotate(-1deg);
    }
}

@keyframes animPulseScale {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes animGlowBg {
    0% {
        background-color: #ff0000;
    }

    33% {
        background-color: #00ff00;
    }

    66% {
        background-color: #0000ff;
    }

    100% {
        background-color: #ff0000;
    }
}

@keyframes animBgSlide {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: -100% 0;
    }
}

@keyframes animFlip {
    0% {
        transform: perspective(400px) rotateY(0);
    }

    100% {
        transform: perspective(400px) rotateY(360deg);
    }
}

@keyframes animWobble {

    0%,
    100% {
        transform: translateX(0%);
    }

    15% {
        transform: translateX(-10%) rotate(-5deg);
    }

    30% {
        transform: translateX(8%) rotate(3deg);
    }

    45% {
        transform: translateX(-6%) rotate(-3deg);
    }

    60% {
        transform: translateX(4%) rotate(2deg);
    }

    75% {
        transform: translateX(-2%) rotate(-1deg);
    }
}

@keyframes animBlur {
    0% {
        filter: blur(0);
    }

    50% {
        filter: blur(2px);
    }

    100% {
        filter: blur(0);
    }
}

@keyframes animLetterSpacing {
    0% {
        letter-spacing: normal;
    }

    50% {
        letter-spacing: 5px;
    }

    100% {
        letter-spacing: normal;
    }
}

@keyframes animTypewriter {
    from {
        clip-path: inset(0 100% 0 0);
    }

    to {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes animShadowPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 69, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 69, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 69, 0, 0);
    }
}

@keyframes animShadowPulseBlue {
    0% {
        box-shadow: 0 0 0 0 rgba(30, 144, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(30, 144, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(30, 144, 255, 0);
    }
}
@keyframes animGlitch { 0% { transform: translate(0) } 20% { transform: translate(-2px, 2px) } 40% { transform: translate(-2px, -2px) } 60% { transform: translate(2px, 2px) } 80% { transform: translate(2px, -2px) } 100% { transform: translate(0) } }
@keyframes animFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes animSpin3D { 0% { transform: rotateY(0deg); } 100% { transform: rotateY(360deg); } }
@keyframes animSwing { 20% { transform: rotate3d(0, 0, 1, 15deg); } 40% { transform: rotate3d(0, 0, 1, -10deg); } 60% { transform: rotate3d(0, 0, 1, 5deg); } 80% { transform: rotate3d(0, 0, 1, -5deg); } to { transform: rotate3d(0, 0, 1, 0deg); } }
@keyframes animRubberBand { from { transform: scale3d(1, 1, 1); } 30% { transform: scale3d(1.25, 0.75, 1); } 40% { transform: scale3d(0.75, 1.25, 1); } 50% { transform: scale3d(1.15, 0.85, 1); } 65% { transform: scale3d(0.95, 1.05, 1); } 75% { transform: scale3d(1.05, 0.95, 1); } to { transform: scale3d(1, 1, 1); } }
@keyframes animStrokePulse { from { -webkit-text-stroke-width: 0px; } to { -webkit-text-stroke-width: 1.5px; } }
@keyframes animJello { from, 11%, to { transform: translate3d(0, 0, 0); } 22% { transform: skewX(-12.5deg) skewY(-12.5deg); } 33% { transform: skewX(6.25deg) skewY(6.25deg); } 44% { transform: skewX(-3.125deg) skewY(-3.125deg); } 55% { transform: skewX(1.5625deg) skewY(1.5625deg); } 66% { transform: skewX(-0.78125deg) skewY(-0.78125deg); } 77% { transform: skewX(0.390625deg) skewY(0.390625deg); } 88% { transform: skewX(-0.1953125deg) skewY(-0.1953125deg); } }
@keyframes animGlowBreath { 0% { text-shadow: 0 0 5px currentColor; } 100% { text-shadow: 0 0 20px currentColor, 0 0 30px currentColor; } }
@keyframes animColorMorph { 0% { color: #ff0000; } 25% { color: #00ff00; } 50% { color: #0000ff; } 75% { color: #ff00ff; } 100% { color: #ff0000; } }
@keyframes animBorderSlide { 0% { border-bottom-width: 0; } 50% { border-bottom-width: 4px; } 100% { border-bottom-width: 0; } }
@keyframes animTada { from { transform: scale3d(1, 1, 1); } 10%, 20% { transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg); } 30%, 50%, 70%, 90% { transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg); } 40%, 60%, 80% { transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg); } to { transform: scale3d(1, 1, 1); } }
@keyframes animHeartbeat { 0% { transform: scale(1); } 14% { transform: scale(1.3); } 28% { transform: scale(1); } 42% { transform: scale(1.3); } 70% { transform: scale(1); } }
@keyframes animSkewX { 0% { transform: skewX(-20deg); } 100% { transform: skewX(20deg); } }
@keyframes animPerspective { 0% { transform: perspective(100px) rotateX(0deg); } 50% { transform: perspective(100px) rotateX(30deg); } 100% { transform: perspective(100px) rotateX(0deg); } }
@keyframes animShinePattern { 0% { color: #00CCFF; text-shadow: 0 0 5px rgba(0,204,255,0.5); } 50% { color: #4169E1; text-shadow: 0 0 5px rgba(65,105,225,0.5); } 100% { color: #00CCFF; text-shadow: 0 0 5px rgba(0,204,255,0.5); } }
@keyframes animFlash { 0%, 50%, 100% { opacity: 1; } 25%, 75% { opacity: 0; } }
@keyframes animBounce { 0%, 20%, 53%, 80%, 100% { transform: translate3d(0,0,0); } 40%, 43% { transform: translate3d(0, -10px, 0); } 70% { transform: translate3d(0, -5px, 0); } 90% { transform: translate3d(0, -2px, 0); } }
@keyframes animVibrate { 0% { transform: translate(0); } 20% { transform: translate(-1px, 1px); } 40% { transform: translate(-1px, -1px); } 60% { transform: translate(1px, 1px); } 80% { transform: translate(1px, -1px); } 100% { transform: translate(0); } }
@keyframes animZoomRotate { 0% { transform: scale(1) rotate(0); } 100% { transform: scale(1.3) rotate(5deg); } }
@keyframes animInvertC { 0% { background-color: #000; color: #fff; } 100% { background-color: #fff; color: #000; box-shadow: 0 0 5px #000; } }

/* Sky-Themed Animations for Nebesny Proekt */
@keyframes animSkyRainbow { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes animSkyFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes animStarTwinkle { 0%, 100% { opacity: 0.4; text-shadow: 0 0 2px #fff; } 50% { opacity: 1; text-shadow: 0 0 8px #00BFFF, 0 0 15px #fff; } }
@keyframes animLightning { 0%, 94%, 98%, 100% { color: #E0F7FA; text-shadow: 0 0 5px #00BFFF; } 95%, 97% { color: #FFF; text-shadow: 0 0 15px #FFF, 0 0 30px #00FFFF; } }
@keyframes animAurora { 0% { transform: skewX(-3deg) scale(1); text-shadow: 0 0 5px #00FFFF, 0 0 10px #00FF7F; } 100% { transform: skewX(3deg) scale(1.05); text-shadow: 0 0 15px #00FFFF, 0 0 25px #00FF7F; } }
@keyframes animSunsetBreath { 0% { color: #FF69B4; text-shadow: 0 0 4px #8A2BE2; } 100% { color: #BA55D3; text-shadow: 0 0 12px #FF69B4, 0 0 20px #8A2BE2; } }
@keyframes animCosmicPulse { 0% { transform: scale(1); text-shadow: 0 0 4px #8A2BE2; } 50% { transform: scale(1.08); text-shadow: 0 0 15px #8A2BE2, 0 0 25px #00FFFF; } 100% { transform: scale(1); text-shadow: 0 0 4px #8A2BE2; } }
@keyframes animFog { 0%, 100% { filter: blur(0px); opacity: 1; } 50% { filter: blur(1.5px); opacity: 0.6; } }
@keyframes animComet { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@keyframes animSkyWind { 0%, 100% { transform: rotate(0deg); } 25% { transform: rotate(1.5deg) translateX(0.5px); } 75% { transform: rotate(-1.5deg) translateX(-0.5px); } }


