@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/*@font-face {*/
/*    font-family: Ruberoid;*/
/*    src: url('../fonts/ruberoid/Ruberoid-Regular.otf');*/
/*    font-display: swap;*/
/*}*/


::-webkit-scrollbar {
    background: transparent;
    width: 5px;
    height: 5px;
    border-radius: 5px;
}

::-webkit-scrollbar-button {
    display: none;
}

::-webkit-scrollbar-thumb {
    background: #323539;
    border-radius: 5px;
}

/* Для Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Для Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

:root {
    --store-bg: #151718;
    --store-warning: #F4981F;
    --store-gray: #2C3132;
    --store-dark-gray: #191B1C;
    --store-dark-gray-100: #1A1D1E;
    --store-dark-gray-90: #1D2021;
    --store-dark-gray-85: #232627;
    --store-dark-gray-80: #333637;
    --store-dark-gray-70: #2C3031;
    --store-light-gray: #727272;
    --store-light-gray-90: #A5A6A6;
    --store-success: #60D66A;
    --store-danger: #FF0000;
    --store-info: #0E7CFF;
    --store-text-danger: #D80027;
    --store-btn-success-bg: #20B038;
    --store-btn-danger-bg: #4C000E;
    --store-btn-dark-bg: #191B1C;
    --store-btn-gray-bg: #323539;
    --store-btn-info-bg: #0E7CFF;
    --store-badge-warning-color: #F7AB1D;
    --store-badge-warning-bg-color: #664515;
    --store-badge-success-color: #00FF16;
    --store-badge-success-bg-color: #2C8D34;
    --store-badge-danger-color: #FF264E;
    --store-badge-danger-bg-color: #4C000E;
}

body {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.cart {
    border-radius: 1rem;
    padding: 20px 20px;
    max-width: 100%;
    overflow: hidden;
    word-wrap: break-word;
    box-sizing: border-box;
}

.bg-socials {
    position: absolute;
    bottom: -150px;
    left: -10px;
    width: 250px;
    height: 150px;
    background: linear-gradient(90deg, #6A11CB 0%, #2575FC 100%);
    mix-blend-mode: screen;
    filter: blur(60px);
    pointer-events: none;
    z-index: 2;
}

.badge-discount {
    display: inline-block;
    color: var(--bs-light);
    background: var(--store-success);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8.65px);
    -webkit-backdrop-filter: blur(8.65px);
    border-radius: 1rem;
}

.badge-success {
    display: inline-block;
    color: var(--store-badge-success-color);
    background: var(--store-badge-success-bg-color);
    border: 1px solid var(--store-badge-success-bg-color);
    backdrop-filter: blur(8.65px);
    -webkit-backdrop-filter: blur(8.65px);
    border-radius: 1rem;
}

.badge-warning {
    display: inline-block;
    color: var(--store-badge-warning-color);
    background: var(--store-badge-warning-bg-color);
    border: 1px solid var(--store-badge-warning-bg-color);
    backdrop-filter: blur(8.65px);
    -webkit-backdrop-filter: blur(8.65px);
    border-radius: 1rem;
}

.badge-danger {
    display: inline-block;
    color: var(--store-badge-danger-color);
    background: var(--store-badge-danger-bg-color);
    border: 1px solid var(--store-badge-danger-bg-color);
    backdrop-filter: blur(8.65px);
    -webkit-backdrop-filter: blur(8.65px);
    border-radius: 1rem;
}

.badge-glass {
    display: inline-block;
    color: var(--bs-light);
    background: var(--store-dark-gray-90);
    border: 0.86px solid var(--store-dark-gray-90);
    backdrop-filter: blur(8.65px);
    -webkit-backdrop-filter: blur(8.65px);
    border-radius: 1rem;
    padding: 8px 10px;
}

.badge-light {
    display: inline-block;
    color: var(--bs-light);
    background: var(--store-dark-gray-80);
    border: 0.86px solid var(--store-dark-gray-80);
    backdrop-filter: blur(8.65px);
    -webkit-backdrop-filter: blur(8.65px);
    border-radius: 1rem;
    padding: 8px 10px;

    .icon {
        color: var(--bs-light);
    }
}

/*Colors*/
.text-light-gray {
    color: var(--store-light-gray);
}

.text-light-gray-90 {
    color: var(--store-light-gray-90);
}

/*Background*/
.bg-body {
    background-color: var(--store-bg) !important;
}

.bg-dark-gray {
    background-color: var(--store-dark-gray);
}

.bg-dark-gray-100 {
    background-color: var(--store-dark-gray-100);
}

.bg-dark-gray-90 {
    background-color: var(--store-dark-gray-90) !important;
}

.bg-dark-gray-80 {
    background-color: var(--store-dark-gray-80);
}

.bg-dark-gray-85 {
    background-color: var(--store-dark-gray-85);
}

.bg-dark-gray-70 {
    background-color: var(--store-dark-gray-70);
}

.bg-light-gray {
    background-color: var(--store-light-gray);
}

.bg-gray {
    background-color: var(--store-gray);
}

/*Gradient*/
.gradient {
    max-height: 300px;
    height: 250px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-position 1s ease-in-out, background-size 1s ease-in-out;
}

/* Анимация "живого" фона */
@keyframes animatedBackground {
    0% {
        background-position: center top;
    }

    50% {
        background-position: center bottom;
    }

    100% {
        background-position: center top;
    }
}

.gradient.animate {
    animation: animatedBackground 10s ease-in-out infinite;
}

/* Примеры модификаторов для разных картинок */
.gradient.bg-blogs {
    background-image: url('../images/gradients/blog-bg.png');
}

.gradient.bg-privacy-policy {
    background-image: url('../images/gradients/privacy-policy-bg.png');
}

.gradient.bg-user-agreement {
    background-image: url('../images/gradients/user-agreement-bg.png');
}

.gradient.bg-rules {
    background-image: url('../images/gradients/rules-bg.png');
}

.gradient.bg-steam {
    background-image: url('../images/gradients/steam-bg.png');
}

.gradient.bg-faqs {
    background-image: url('../images/gradients/faqs-bg.png');
}

/*Images*/
.logo {
    width: 100%;
    height: 28px;
}

.blog-big-img {
    max-height: 300px;
    height: 300px;
}

.qr-img {
    min-width: 300px;
    max-width: 300px;
}

.rank-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    aspect-ratio: 1/1;
    overflow: visible;
}

.store-logo {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.img-16-9 {
    aspect-ratio: 16/9;
}

.flag {
    width: 20px;
    height: 20px;
    border-radius: 1rem;
}

.bg-cover {
    max-height: 400px;
}

.product-inner-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.icon {
    color: var(--store-light-gray);
    width: 25px;
    height: 25px;
}

.icon.small {
    width: 20px;
    height: 20px;
}

.icon.small2xl {
    width: 10px;
    height: 10px;
}

.icon.user-status {
    width: 15px;
    height: 15px;
}

.icon.alert-icon {
    width: 60px;
    height: 60px;
}

.icon.large {
    width: 36px;
    height: 36px;
}

.icon.big {
    width: 48px;
    height: 48px;
}

.img-sm2x {
    max-height: 30px;
    max-width: 30px;
    min-height: 30px;
    min-width: 30px;
}

.img-sm {
    max-height: 40px;
    max-width: 40px;
    min-height: 40px;
    min-width: 40px;
}

.img-md {
    max-height: 100px;
    max-width: 100px;
    height: 100px;
    width: 100px;
}

.img-lg {
    max-height: 75px;
    max-width: 75px;
    min-height: 75px;
    min-width: 75px;
}

.img-xl {
    max-height: 150px;
    max-width: 150px;
    height: 150px;
    width: 150px;
}

/*Form*/
.form-control.with-icon {
    padding: 11px 11px 11px 45px !important;
}

/*Buttons*/
.btn-navigation {
    font-weight: 600;
    padding: 10px;
    background: var(--store-dark-gray-90);
    color: var(--store-light-gray);
    border: unset;
    transition: box-shadow 0.3s ease;
}

.btn-navigation.active,
.btn-navigation:hover {
    background-color: var(--store-dark-gray-70);
    color: var(--bs-light);

    .icon {
        color: var(--bs-light);
    }

    .icon.favorite {
        color: red;
    }
}

.rank-title {
    font-style: normal;
    font-weight: 700;
    font-size: 25px;
    line-height: 150%;
    letter-spacing: -0.02em;
    text-align: center;
}

/*Steps*/
.step-icon {
    bottom: -15px;
    right: -15px;
}

@media only screen and (max-width: 600px) {
    .step-icon {
        top: 24px;
        bottom: unset;
        right: 24px;
    }

    .step-icon img {
        width: 60px;
        height: 60px;
    }

    .cart {
        border-radius: 1rem;
        padding: 20px 15px;
    }

    .w-100-mobile {
        width: 100%;
    }
}

.border-dashed {
    border: 1px dashed var(--store-light-gray);
}

.border-bottom-dashed {
    border-bottom: 1px dashed var(--store-light-gray);
}

/*MENU*/
/* Левое меню */
.left-menu {
    width: 350px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

/* Правое меню */
.right-menu {
    flex-grow: 1; /* занимает все оставшееся пространство */
    border-radius: 8px;
}

/*MENU*/
.chat-container {
    .chat-list {
        min-height: 700px;
        max-height: 700px;
        overflow-y: auto;
    }

    .conversation-container {
        min-height: 535px;
        max-height: 535px;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .conversation-head {
        background-color: var(--store-dark-gray-100);;
    }
}

.mobile-nav {
    position: fixed;
    bottom: 2.5rem;
    left: 0;
    width: 100%;
    height: 60px; /* можешь изменить по дизайну */
    z-index: 1000;
}

.payments-container {
    min-height: 700px;
}

/*BLOG CONTENT*/
.blog-content {
    overflow-wrap: break-word;
}

.blog-content > *:first-child {
    margin-top: 0;
    padding-top: 0
}

.blog-content > *:last-child {
    margin-bottom: 0;
    padding-bottom: 0
}

.blog-content h1, .blog-content h2, .blog-content h3, .blog-content h4, .blog-content h5, .blog-content h6 {
    font-weight: 600
}

.blog-content h1 {
    font-size: 28px;
    margin-bottom: 24px
}

.blog-content h2 {
    font-size: 20px;
    margin-bottom: 16px
}

.blog-content h3 {
    font-size: 16px;
    margin-bottom: 16px
}

.blog-content h4, .blog-content h5, .blog-content h6 {
    font-size: 14px;
    margin-bottom: 16px
}

.blog-content p {
    margin-bottom: 24px;
    font-size: 14px
}

.blog-content ul, .blog-content ol {
    margin-bottom: 24px;
    padding-left: 20px
}

.blog-content li {
    font-size: 14px;
    list-style: initial;
    margin-bottom: 8px
}

.blog-content ol li {
    list-style: decimal
}

.blog-content ul li {
    list-style: outside
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
}

.blog-content blockquote {
    font-style: italic;
    border-left: 4px solid var(--store-warning, rgba(255, 153, 0, .64));
    padding: 10px 20px;
    margin: 20px 0;
    background: var(--store-warning, rgba(255, 153, 0, .16))
}

.blog-content a {
    color: var(--store-danger, rgba(16, 20, 28, 1));
    text-decoration-color: currentcolor;
    text-decoration: underline
}

.blog-content a:hover {
    color: var(--store-danger, rgba(244, 27, 21, .8)) !important;
    text-decoration-color: var(--store-danger, rgba(244, 27, 21, .8)) !important
}

.blog-content table {
    border-collapse: collapse
}

.blog-content th, .blog-content td {
    padding: 5px;
    border: 1px solid #ccc
}

.blog-content tr:nth-child(2n) {
    background-color: #f9f9f9
}

.blog-content tr:hover {
    background-color: #00000013
}

.blog-content .scroll-table {
    overflow-x: auto
}

.blog-content table {
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch
}

.blog-content .video-container {
    position: relative;
    width: 100%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000
}

.blog-content iframe {
    display: none
}

.blog-content .video-container iframe {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none
}

.blog-content code {
    font-family: Courier New, Courier, monospace;
    font-size: 14px;
    background-color: var(--store-bg, rgba(16, 20, 28, .04));
    color: var(--store-danger, rgba(244, 27, 21, .8));
    padding: 2px 5px;
    border-radius: 4px;
    border: 1px solid #ddd;
    white-space: pre-wrap
}

.blog-content hr {
    margin: 20px 0;
    border: 0;
    border-top: 1px solid var(--store-bg, rgba(16, 20, 28, .24))
}

.safe-html-wrapper {
    word-break: break-word;
    overflow-wrap: anywhere;
    max-width: 100%;
}

.safe-html-wrapper img,
.safe-html-wrapper iframe {
    max-width: 100%;
    height: auto;
}

.safe-html-wrapper table {
    width: 100%;
    display: block;
    overflow-x: auto;
}
