@font-face {
    font-family: "SF";
    src: url(/fonts/SFProDisplay-Regular.woff);
}
@font-face {
   font-family: "SF";
   src: url("../../fonts/SFProDisplay-Regular.woff");
   font-weight: 700;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #0B090B;
    margin: 0;
    font-family: "SF", sans-serif;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
}

.wrapper {
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

.main {
    flex: 1;
    /*padding-bottom: 150px;*/
}

/*.header {*/
/*    font-family: "SF";*/
/*    font-weight: 500;*/
/*    font-size: 16px;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: space-between;*/
/*    padding: 25px 50px;*/
/*    background: #0B090BF2;*/
/*    border-bottom: 1px solid #121618;*/
/*    backdrop-filter: blur(10px);*/
/*    position: fixed;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    z-index: 1000;*/
/*    transform: translateZ(0);*/
/*    will-change: transform;*/
/*    backface-visibility: hidden;*/
/*    -webkit-backdrop-filter: blur(10px);*/
/*}*/

/*.logo img {*/
/*    height: auto;*/
/*    max-width: 100%;*/
/*}*/

/*.nav {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    flex-grow: 1;*/
/*    justify-content: space-between;*/
/*    max-width: 100%;*/
/*}*/

/*.header-center {*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    flex-grow: 1;*/
/*    margin: 0 15px;*/
/*}*/

/*.header-center-list {*/
/*    display: flex;*/
/*    list-style: none;*/
/*    margin: 0;*/
/*    padding: 0;*/
/*    gap: 15px;*/
/*}*/

/*.header-btn {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    text-decoration: none;*/
/*    color: #687894;*/
/*    background: #111111;*/
/*    border: 2px solid #151515;*/
/*    border-radius: 13px;*/
/*    padding: 13px 23px;*/
/*    transition: all 0.4s ease;*/
/*    white-space: nowrap;*/
/*}*/

/*.header-btn:hover {*/
/*    color: #fff;*/
/*    transform: scale(97%);*/
/*    background: #151515;*/
/*}*/

/*.header-btn:hover .header-btn-icon {*/
/*    color: #27CA8E;*/
/*}*/

/*.header-btn-icon {*/
/*    color: #687894;*/
/*    margin-right: 15px;*/
/*    transition: color 0.3s ease;*/
/*    width: 20px;*/
/*    height: 20px;*/
/*}*/

/*.header-free {*/
/*    color: #FFB932;*/
/*}*/

/*.header-right {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    gap: 10px;*/
/*}*/

/*.header-right-list {*/
/*    display: flex;*/
/*    list-style: none;*/
/*    margin: 0;*/
/*    padding: 0;*/
/*    gap: 10px;*/
/*}*/

/*.header-tech-btn,*/
/*.header-auth-btn {*/
/*    text-decoration: none;*/
/*    color: inherit;*/
/*    white-space: nowrap;*/
/*}*/

/*.header-tech-btn {*/
/*    font-weight: 400;*/
/*    padding: 13px 23px;*/
/*    color: #7793A1;*/
/*    border: 2px solid #0B090BF2;*/
/*    border-radius: 13px;*/
/*    transition: all 0.3s ease;*/
/*}*/

/*.header-tech-btn:hover {*/
/*    background: #111111;*/
/*    border: 2px solid #151515;*/
/*    color: #27CA8E;*/
/*    transform: scale(97%);*/
/*}*/

/*.header-auth-btn {*/
/*    font-weight: 700;*/
/*    padding: 13px 23px;*/
/*    color: #fff;*/
/*    background: linear-gradient(90deg, rgb(8, 187, 166) 0%, rgba(15,158,84,1) 100%);*/
/*    border-radius: 13px;*/
/*    border: 2px solid #0B090BF2;*/
/*    transition: all 0.3s ease;*/
/*}*/

/*.header-auth-btn:hover {*/
/*    transform: scale(97%);*/
/*}*/

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 25px;
    height: 22px;
    cursor: pointer;
    z-index: 1001;
    position: absolute;
    top: 27px;
    right: 30px;
}

.burger-line {
    width: 100%;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
    border-radius: 15px;
}

.burger-menu.open .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.open .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.open .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -80%;
    width: 70%;
    height: 200vh;
    background: #0B090BF2;
    backdrop-filter: blur(5px);
    border-left: 2px solid #151515;
    z-index: 1000;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.open {
    right: 0;
    opacity: 1;
    visibility: visible;
}

.mobile-menu-list {
    list-style: none;
    margin-left: 25px;
    padding: 0;
    margin-top: 80px;
}

.mobile-menu-link {
    color: #687894;
    text-decoration: none;
    font-size: 18px;
    margin: 15px 0;
    display: block;
    transition: color 0.3s ease;
}

.mobile-menu-link:hover {
    color: #27CA8E;
}

/* Hero-container */

.hero-container {
    touch-action: pan-y;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-info {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 100px;
}

.animate-out-down {
    animation: slideOutDown 0.5s forwards;
}

.animate-in-up {
    animation: slideInUp 0.5s forwards;
}

@keyframes slideOutDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(10%);
        opacity: 0;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(10%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.hero-image img {
    max-width: 100%;
    height: auto;
    z-index: 2;
    position: relative;
    transition: transform .7s ease-out;
}

.hero-text {
    font-family: "SF";
    font-weight: 900;
    font-size: 256px;
    position: absolute;
    top: 20%;
    left: 50%;
    background: linear-gradient(90deg, #00BF56, #00DDCB);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transform: translateX(-50%);
    z-index: 1;
    pointer-events: none;
    white-space: nowrap;
    letter-spacing: 12px;
    text-shadow: 2px 2px 214px rgba(39, 202, 142, 0.65);
}

.hero-slider-container {
    position: absolute;
    bottom: 35px;
    width: 100%;
    text-align: center;
    z-index: 3;
}

.slider-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.hero-slider {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    overflow-x: hidden;
    width: 423px;
    scroll-behavior: smooth;
}

.hero-btn:hover {
    transform: scale(0.97);
}

.hero-btn {
    font-family: "SF";
    font-size: 16px;
    font-weight: 600;
    padding: 18px 64px;
    border-radius: 13px;
    background: #1C181C;
    color: #fff;
    border-top: 2px solid #4D3E4D;
    transition: transform 400ms;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 200px;
    white-space: nowrap;
}

.free-btn {
    background: linear-gradient(90deg, #00BF56, #00DDCB);
}

.prime-btn {
    background: linear-gradient(90deg, #ffae00, #ffc400);
}

#hero-btn-active {
    color: #000;
    border: none;
}

.slider-prev,
.slider-next {
    background: #2D272D;
    border-radius: 9px;
    width: 62px;
    height: 36px;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, opacity 0.3s ease;
    max-width: 62px;
}

.slider-prev.active,
.slider-next.active {
    background: linear-gradient(90deg, #00BF56, #00DDCB);
}

.slider-prev:disabled,
.slider-next:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.slider-prev {
    transform: rotate(180deg);
}

.prime-container {
    height: 700px;
    background-image: url(/images/bgtopka.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.prime-title-container {
    position: relative;
    text-align: center;
}

.prime-title-inner {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 23px;
    margin-top: -4px;
    z-index: 1;
    background: linear-gradient(90deg, #CE8E28, #D19D0E);
    border-top: 2px solid #D19D0E;
    border-bottom: 2px solid #D19D0E;
}

.prime-title {
    font-family: "SF";
    font-weight: 500;
    font-size: 24px;
    color: #fff;
    position: relative;
    z-index: 1;
}

.prime-panel-title {
    font-family: "SF";
    font-weight: 500;
    font-size: 24px;
    color: #fff;
}

.prime-slider-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 50px auto 0;
    width: 1200px;
    margin: 0 20px; /* отступы от кнопок */
}

.prime-slider-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
    height: 525px;
    transition: transform 0.5s ease-in-out;
}

.prime-slider {
    position: relative;
    background: #141114;
    border-top: 2px solid #2C292C;
    border-radius: 17px;
    width: 382px;
    height: 382px;
    padding: 25px;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
    transform: scale(0.9);
    flex: 0 0 auto;
}

.prime-slider.center-slide {
    opacity: 1;
    transform: scale(1.1);
}

.prime-slider.center-slide .prime-buy-btn {
    background: linear-gradient(90deg, #F4AE3D, #FCC325);
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.slider-button {
    background: linear-gradient(90deg, #F4AE3D, #FCC325);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    border-radius: 9px;
    width: 62px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease, background 0.4s ease;
    opacity: 1;
}

.slider-button.disabled {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.slider-button:hover:not(.disabled) {
    opacity: 0.9;
}

.prev-button {
    transform: rotate(180deg);
    position: static;
    margin-right: 10px;
}

.next-button {
    position: static;
    margin-left: 10px;
}

.prime-info {
    display: flex;
    justify-content: space-between;
}

.prime-icon-container {
    width: 105px;
    height: 105px;
    background: linear-gradient(90deg, #F4AE3D, #FCC325);
    box-shadow: 0px 0px 55px #FABE2952;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.prime-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}
.prime-icon img {
    max-width: 67px;
    max-height: 67px;
}

.prime-hesh-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.prime-hesh {
    background: linear-gradient(90deg, #FF88E5, #EF00BB);
    box-shadow: 0px 0px 25px #F113BC4F;
    padding: 7px 15px;
    border-radius: 6px;
    font-size: 12px;
    color: #fff;
    transition: 400ms;
}

#prime-bg-1 {
    background: linear-gradient(90deg, #00BF56, #00DDCB);
    box-shadow: 0px 0px 25px #05D1A24D;
}

#prime-bg-2 {
    background: linear-gradient(90deg, #E79D0D, #FFBF44);
    box-shadow: 0px 0px 25px #FEBB3A4D;
}

#prime-bg-3 {
    background: linear-gradient(
        45deg,
        #556B2F 25%,
        #6B8E23 25%,
        #6B8E23 50%,
        #808000 50%,
        #808000 75%,
        #556B2F 75%,
        #556B2F 100%
    );
    box-shadow: 0px 0px 25px #6a8e2363;
}

#prime-bg-4 {
    background: linear-gradient(90deg, #FF0000, #FF4D4D);
    box-shadow: 0px 0px 25px #ff000046;
}

.prime-hesh.camouflage {
    background-image: url("/images/camouflage.png");
    background-size: 100px 100px;
    background-size: cover;
    background-position: center;
    padding: 5px 23px;
    border-radius: 6px;
    font-size: 12px;
    color: #fff;
    box-shadow: 0px 0px 25px #6b7d5a7c;
}

.prime-text-container {
    margin-top: 25px;
}

.prime-title {
    font-size: 21px;
    font-weight: 600;
}

.prime-title-span {
    color: #FFB932;
}

.prime-text {
    font-size: 14px;
    font-weight: 400;
    margin-top: 20px;
    color: #86939E;
}

.prime-price-container {
    display: flex;
    align-items: center;
    position: absolute;
    justify-content: space-between;
    bottom: 0;
    margin-bottom: 25px;
    width: 88%;
}

.prime-price {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    transition: opacity 0.5s ease;
}

.prime-buy-btn {
    display: flex;
    align-items: center;
    background: #1C181C;
    color: #fff;
    border: 1px solid #2D272D;
    border-radius: 14px;
    padding: 15px 80px;
    transition: all 400ms;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.prime-buy-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #F4AE3D, #FCC325);
    opacity: 0;
    transition: opacity 400ms ease;
    z-index: -1;
}

.prime-slider.center-slide .prime-buy-btn::before {
    opacity: 1;
}

.prime-buy-btn > * {
    position: relative;
    z-index: 1;
}

.prime-buy-btn:hover {
    transform: scale(97%);
}

.prime-buy-text {
    font-size: 16px;
    margin-right: 13px;
    font-weight: 500;
}

.free-mod-container {
    height: auto;
    min-height: 1000px;
    background-image: url(/images/free-mods-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding-bottom: 50px;
}

.free-mod-title-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 23px;
    margin-top: -4px;
    z-index: 1;
    background: linear-gradient(90deg, #07B555, #06AB9D);
    border-bottom: 1px solid #65FFEA;
}

.free-mod-title {
    font-family: "SF";
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mod-panel-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 30px;
    max-width: 1206px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 50px;
}

.mod-panel {
    width: 382px;
    height: 200px;
    background: #141114;
    border: 2px solid #2C292C;
    border-radius: 18px;
    padding: 20px;
    flex: 0 0 auto;
    transition: 400ms;
    position: relative;
}

.mod-panel:hover {
    transform: translateY(-5%);
    border-bottom: 2px solid #27CA8E;
    box-shadow: 0px 15px 25px #27ca8e11;
}

.mod-info {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.mod-icon-container {
    width: 55px;
    height: 55px;
    background: linear-gradient(90deg, #00BF56, #00DDCB);
    box-shadow: 0px 0px 55px #00CF9459;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-mod-container {
    /*background: url('/images/profile/test-img.png') no-repeat center center;*/

    width: 55px;
    height: 55px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.mod-download-container {
    display: flex;
    align-items: center;
}

.mod-downloads {
    font-size: 12px;
    color: #86939E;
    margin-right: 10px;
    transition: 400ms;
}

.mod-download-icon-container {
    width: 33px;
    height: 33px;
    border-radius: 6px;
    background: #1C181C;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.mod-download-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #86939E;
    transition: 400ms;
}
.mod-text-container-wrapper {

}
.mod-text-container-author-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.mod-text-container {
    margin-top: 13px;

}
.author-mod-title {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
}

.mod-title {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 12px;
}

.mod-text {
    font-size: 13px;
    font-weight: 400;
    color: #86939E;
}

.author-mod-avatar {
    width: 20px;
    height: 20px;
    border-radius: 100%;
}

.author-mod-username {
    font-family: "SF";
    font-weight: 600;
    font-size: 12px;
    line-height: 125%;
    letter-spacing: 0;

    color: white;
    padding-left: 6px;
}

.author-container-mod {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    padding-left: 14px;
}

.author-mod-ellipse {
    padding-left: 14px;
}

.prime-title-span {
    color: #FFB932;
    margin-left: 5px;
}

.mod-btn-more-container {
    width: 382px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
}

.mod-btn-more, .mod-btn-hide {
    font-size: 14px;
    color: #fff;
    background: #1C181C;
    border: 2px solid #2D272D;
    padding: 15px 25px;
    border-radius: 10px;
    width: 100%;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mod-btn-hide {
    display: none;
    background: #ff383831;
    border: none;
    color: #FF3B30;
}

.mod-btn-hide:hover {
    background: rgba(255, 59, 48, 0.2);
}

.mod-hidden {
    display: none;
    opacity: 0;
    transform: translateY(20px);
}

.show-hidden-mods .mod-hidden {
    display: flex;
    animation: fadeInUp 0.5s ease-out forwards;
}

.mod-hide-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.5);
    color: #86939E;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #2C292C;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mod-panel:hover .mod-download-icon-container::before,
.mod-panel:hover #active-download-container::before {
    opacity: 1;
}

.mod-download-icon,
#active-download-icon {
    position: relative;
    z-index: 2;
}

.mod-panel:hover .mod-download-icon,
.mod-panel:hover #active-download-icon {
    color: #000;
}

.mod-panel:hover .mod-downloads {
    color: #fff;
}

.mod-download-icon-container::before,
#active-download-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: opacity 300ms linear;
    opacity: 0;
}

.mod-download-icon-container::before {
    background: linear-gradient(90deg, #00BF56, #00DDCB);
}

#active-download-container::before {
    background: linear-gradient(90deg, #F4AE3D, #FCC325);
}

#active-download-container {
    background: #FFB93233;
}

#active-download-icon {
    color: #FFD266;
}

#mod-hidden {
    display: flex;
    flex-direction: column;
}

.history-container {
    height: 700px;
    background-image: url(/images/history-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    position: relative;
}

.history-title-container {
    position: relative;
    text-align: center;
}

.history-title {
    font-size: 24px;
    font-weight: 600;
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 23px;
    margin-top: -4px;
    z-index: 1;
    background: #1C181C;
    border-bottom: 1px solid #4D3E4D;
    color: #fff;
}

.history-content {
    display: flex;
    flex-direction: column;
    height: calc(100% - 70px);
    position: relative;
}

.history-slider-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin-top: 75px;
}

.history-slider-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    transition: transform 0.5s ease;
    will-change: transform;
    width: max-content;
}

.history-slider-wrapper:active {
    cursor: grabbing;
}

.history-slider {
    width: 240px;
    height: 240px;
    flex-shrink: 0;
    background: #110E11;
    border-radius: 16px;
    border: 1px solid #2D292D;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: all 0.5s ease;
    position: relative;
}

.history-slider.history-active {
    width: 350px;
    height: 350px;
    border-radius: 18px;
    border: 2px solid #2D292D;
    z-index: 2;
}

.history-slider.history-active .history-icon svg {
    width: 180px;
    height: 180px;
    color: #F4AF3B;
    margin-bottom: 20px;
}

.history-slider-soon {
    width: 240px;
    height: 240px;
    background: #110E11;
    border-radius: 16px;
    border: 1px dashed #2D292D;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex-shrink: 0;
    pointer-events: none;
    position: relative;
}

.history-soon-text {
    font-size: 14px;
    font-weight: 700;
    color: #272327;
}

.history-icon {
    color: #272327;
    display: flex;
    align-items: center;
    justify-content: center;
}

.history-icon img {
    width: 132px;
    height: 132px;
    transition: all 0.3s ease;
}

.history-btn {
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    background: #F4AF3B;
    border-radius: 11px;
    padding: 18px 70px;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: 20px;
    display: none;
    border: none;
    cursor: pointer;
}

.history-btn:hover {
    transform: scale(0.97);
    background: rgba(244, 175, 59, .15);
    color: #F4AF3B;
}

.history-slider.history-active .history-btn {
    display: block;
}

.history-slider.history-active .history-icon svg {
    filter: drop-shadow(0px 0px 35px #F4AF3B4D);
}

.history-date-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    margin-bottom: 50px;
    padding: 0 20px;
    position: relative;
    z-index: 3;
}

.history-date {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    padding: 18px 50px;
    background: #141114;
    border: 1px solid #1F1C1F;
    border-radius: 14px;
    margin-right: 15px;
    margin-left: 15px;
    min-width: 150px;
    text-align: center;
}

.history-prev {
    color: #fff;
    background: #F4AF3B;
    padding: 10px 30px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, background 400ms;
    transform: rotate(180deg);
}

.history-next {
    color: #fff;
    background: #F4AF3B;
    padding: 10px 30px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, background 400ms;
}

.history-prev:hover:not(:disabled),
.history-next:hover:not(:disabled) {
    transform: scale(0.97);
}

.history-prev:hover:not(:disabled) {
    transform: scale(0.97) rotate(180deg);
}

.history-prev:disabled,
.history-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    color: #86939E;
    background: #1C181C;
}

.history-prev:disabled {
    transform: rotate(180deg);
}

.history-popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    /*max-height: calc(100vh - 40px);*/
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    padding: 20px;
    box-sizing: border-box;
}

.history-popup-container.active {
    opacity: 1;
    visibility: visible;
}

.history-popup-container.active .history-popup {
    transform: translateY(0);
}

.history-popup {
    background: #110E11;
    border: 1px solid #2D292D;
    border-radius: 16px;
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(10%);
    transition: 400ms;
    overflow-y: auto;
}

.history-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1C181C;
    border-radius: 8px;
    transition: 400ms;
}

.history-close:hover {
    background: rgba(163, 13, 13, 0.15)
}

.history-close:hover .history-close-icon::before {
    background: rgb(163, 13, 13)
}

.history-close:hover .history-close-icon::after {
    background: rgb(163, 13, 13)
}

.history-close-icon {
    width: 17px;
    height: 17px;
    position: relative;
}

.history-close-icon::before,
.history-close-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: #767676;
    transition: 400ms;
}

.history-close-icon::before {
    transform: rotate(45deg);
}

.history-close-icon::after {
    transform: rotate(-45deg);
}

.history-image-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
    /*margin-bottom: 30px;*/
    margin-top: 30px;
}

.history-popup-text,
.notification-text,
.history-popup-subtext {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    hyphens: auto;
}

.history-popup-text {
    color: #FFFFFF;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 400px;
    margin-right: 50px;
}

.history-popup-subtext {
    color: #fff;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    margin-top: 25px;
}

.image-slider-container {
    position: relative;
    height: 100%;
    width: 400px;
    margin-left: auto;
}

.image-slider-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: #110E11;
    border: 1px solid #2D292D;
    width: 100%;
    height: 180px;
}

.image-slider {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    height: 100%;
    flex-shrink: 0;
    position: relative;
}

.slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-slider-controls {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.image-next,
.image-prev {
    width: 62px;
    height: 32px;
    background: #F4AF3B;
    color: #fff;
    border-radius: 9px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.image-next:hover,
.image-prev:hover {
    transform: scale(97%);
}

.image-prev:disabled,
.image-next:disabled {
    cursor: not-allowed;
    color: #86939E;
    background: #1C181C;
}

.image-next:not(:disabled),
.image-prev:not(:disabled) {
    background: #F4AF3B;
}

.history-popup-notification {
    display: flex;
    margin-top: 20px;
    background: rgba(13, 163, 102, 0.1);
    border-radius: 20px;
    padding: 15px;
    width: 100%;
    align-items: center;
}

.notification-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: #141114;
    flex-shrink: 0;
    box-sizing: border-box;
}

.notification-icon {
    font-size: 40px;
    font-weight: 700;
    color: #27CA8E;
}

.notification-title-container {
    display: flex;
    flex-direction: column;
    margin-left: 25px;
}

.notification-title {
    color: #27CA8E;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 5px;
}

.notification-text {
    color: #FFFFFF;
    font-size: 14px;
    line-height: 1.5;
}

.recomendation-container {
    height: 600px;
    background-image: url(/images/recomendation-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.recomendation-title-container {
    position: relative;
    text-align: center;
    width: 100%;
    margin: 0 auto;
    padding: 23px;
    margin-top: -4px;
    z-index: 1;
    background: #1C181C;
}

.recomendation-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.recomendation-slider-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-top: 85px;
    position: relative;
}

.recomendation-slider-viewport {
    width: calc(385px * 3 + 30px * 5);
    overflow: hidden;
    margin: 0 auto;
}

.recomendation-slider-track {
    display: flex;
    align-items: center;
    transition: transform 0.5s ease;
    gap: 30px;
    width: max-content;
    height: 365px;
}

.recomendation-slider {
    position: relative;
    width: 385px;
    height: 230px;
    background: linear-gradient(180deg, #191419, #141114);
    border-radius: 20px;
    padding-top: 100px;
    cursor: pointer;
    border: 2px solid #141114;
    transition: 400ms;
    flex-shrink: 0;
}

.recomendation-slider:hover {
    border: 2px dashed #27CA8E;
    transform: scale(97%);
    border-bottom: 2px solid #27CA8E;
    box-shadow: 0px 0px 40px #27ca8e13;
}

.recomendation-slider:hover .recomendation-link {
    color: #27CA8E;
}

.recomendation-link {
    position: absolute;
    right: 20px;
    top: 20px;
    color: #86939E;
    transition: 400ms;
}

.recomendation-avatar {
    position: absolute;
    width: 120px;
    height: 120px;
    left: 50%;
    top: -35px;
    transform: translateX(-50%);
}

.recomendation-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid #141114;
    object-fit: cover;
}

.recomendation-text-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.recomendation-nickname {
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    /*margin-bottom: 20px;*/
}

.recomendation-text {
    font-size: 14px;
    font-weight: 500;
    color: #86939E;
    max-width: 270px;
}

.recomendation-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.recomendation-next,
.recomendation-prev {
    color: #000;
    background: linear-gradient(90deg, #00BF56, #00DDCB);
    width: 62px;
    height: 36px;
    border-radius: 9px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 400ms;
}

.recomendation-next:hover,
.recomendation-prev:hover {
    transform: scale(0.97);
}

.recomendation-prev svg {
    transform: rotate(180deg);
}

.recomendation-next:disabled,
.recomendation-prev:disabled {
    cursor: not-allowed;
    background: #1C181C !important;
    color: #86939E;
    transition: 400ms;
}

.recomendation-next:disabled:hover,
.recomendation-prev:disabled:hover {
    transform: none !important;
}

.footer {
    position: relative;
    padding: 70px;
    background: #0B090B;
}

.footer-logo {
    width: 222px;
    height: auto;
}
.footer-nav-container {
    display: flex;
    position: absolute;
    top: 70px;
    right: 0;
}

.footer-nav {
    font-family: "SF";
    font-weight: 400;
    display: flex;
    flex-direction: column;
    margin-right: 90px;
    line-height: 40px;
}

.footer-title {
    font-weight: 500;
    color: #fff;
    margin-bottom: 25px;
}

.footer-btn {
    color: #86939E;
    position: relative;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-btn::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background-color: #27CA8E;
    transition: width 0.5s ease;
}

.footer-btn:hover {
    color: #fff;
}

.footer-btn:hover::after {
    width: 100%;
}

.footer-right {
    font-family: "SF";
    font-weight: 400;
    color: #86939E;
    margin-top: 25px;
}

.footer-social-container {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.footer-social-btn {
    transition: 400ms;
    margin-right: 20px;
    color: #27CA8E;
}

.footer-social-btn:hover {
    color: #fff;
    transform: scale(115%);
}

/* div {
    border: 1px solid red;
} */

@media (max-width: 1210px) {
    #mod-hidden {
        display: none;
    }

    .mod-panel-container {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .mod-btn-more-container {
        display: flex;
    }

    #mod-hidden {
        display: none;
        opacity: 0;
        transform: translateY(20px);
    }

    .show-hidden-mods #mod-hidden {
        display: flex;
        animation: fadeInUp 0.5s ease-out forwards;
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    #mod-hidden:nth-child(1) { animation-delay: 0.1s; }
    #mod-hidden:nth-child(2) { animation-delay: 0.2s; }
    #mod-hidden:nth-child(3) { animation-delay: 0.3s; }
    #mod-hidden:nth-child(4) { animation-delay: 0.4s; }

    .mod-btn-more.active {
        display: none;
    }

    .mod-btn-more-container {
        display: flex;
    }
}

@media (max-width: 1400px) {
    .prime-slider-container {
        margin: 0;
    }

    .slider-button {
        display: none;
    }
}

@media(max-width: 1000px) {
    .hero-info {
        margin-top: 175px;
    }

    .hero-text {
        top: -10%;
    }
}

@media (max-width: 800px) {
    .recomendation-controls {
        display: none;
    }

    .history-popup {
        display: flex;
        flex-direction: column;
        padding: 20px;
        align-items: flex-start;
        max-width: 500px;
        margin: 0 auto;
    }

    .history-image-container {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }

    .image-slider-container {
        width: 100%;
    }

    .history-popup-text,
    .history-popup-subtext {
        width: 100%;
        text-align: left;
        padding: 0;
        margin-left: 0;
        margin-right: 0;
    }

    .history-popup-text {
        margin-bottom: 20px;
    }

    .history-popup-subtext {
        margin-top: 25px;
    }

    .history-popup-notification {
        width: 100%;
        text-align: left;
        margin-top: 20px;
    }
}

@media (max-width: 600px) {
    .slider-prev,
    .slider-next {
        display: none;
    }
}

@media (max-width: 490px) {
    .prime-slider {
        width: 320px;
        height: 320px;
    }

    .prime-icon-container {
        width: 75px;
        height: 75px;
    }

    .prime-icon {
        width: 50px;
        height: 50px;
    }

    .prime-text {
        font-size: 13px;
    }

    .prime-buy-text {
        font-size: 14px;
    }

    .prime-buy-btn {
        padding: 15px 50px;
    }

    .prime-hesh {
        font-size: 8px;
    }

    .history-slider.history-active {
        width: 260px;
        height: 260px;
    }

    .history-slider {
        width: 210px;
        height: 210px;
    }

    .history-date-container {
        margin-top: 75px;
    }

    .history-icon {
        width: 100px;
        height: 100px;
    }

    .history-btn {
        border-radius: 7px;
    }

    .history-date {
        border-radius: 7px;
    }

    .history-slider-soon {
        width: 160px;
        height: 160px;
    }
}

@media (max-width: 460px) {
    .notification-text {
        font-size: 13px;
    }

    .hero-btn {
        font-size: 11px;
        width: 140px;
    }

    .hero-slider {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 400px) {
    .prime-slider {
        width: 260px;
        height: 260px;
    }

    .prime-icon-container {
        width: 72px;
        height: 72px;
        border-radius: 11px;
    }

    .prime-panel-title {
        font-size: 14px;
    }

    .prime-text {
        font-size: 9px;
        margin-top: 10px;
    }

    .prime-buy-text {
        font-size: 12px;
    }

    .prime-buy-btn {
        padding: 10px 40px;
        border-radius: 10px;
    }

    .prime-price {
        font-size: 14px;
    }

    .prime-hesh {
        font-size: 6px;
    }

    .mod-panel {
        width: 352px;
        height: 185px;
    }

    .mod-title {
        font-size: 14px;
    }

    .mod-btn-more,
    .mod-btn-hide {
        width: 352px;
    }
}

/* Адаптация header и footer */

@media (max-width: 1460px) {
    .burger-menu {
        display: flex;
    }

    .header-center,
    .header-right {
        display: none;
    }

    .mobile-menu {
        display: flex;
    }
}

@media (max-width: 1065px) {
    .footer-nav-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 10px;
    }

    .footer-nav-container > *:nth-child(1),
    .footer-nav-container > *:nth-child(2) {
        grid-row: 1;
    }

    .footer-nav-container > *:nth-child(3) {
        grid-column: span 2;
        grid-row: 2;
    }
}

@media (max-width: 780px) {
    .footer {
        background: #000;
    }

    .footer-nav-container {
        position: static;
        margin-top: 55px;
    }

    .footer-nav {
        margin-right: 75px;
    }
}

@media (max-width: 440px) {
    .logo {
        width: 200px;
        height: auto;
    }

    .footer {
        padding: 30px;
    }
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0B090B;
}

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

::-webkit-scrollbar-thumb:hover {
  background: #27CA8E;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #2D272D #0B090B;
}










#promo-code-input.active {
   border: 1px solid #1C181C;
}

#apply-promo-btn.active {
   background: #4CAF50;
   color: white;
   cursor: pointer;
}

#apply-promo-btn.invalid {
   background: #ff5252;
   color: white;
   content: "Неактивно";
}

.payment-methods {
   display: grid;
   grid-template-rows: repeat(1, 1fr);
   gap: 10px;
   margin-bottom: 20px;
}

.payment-method {
   border: 1px solid rgba(28, 24, 28, 1);
   background: rgba(28, 24, 28, 1);
   border-radius: 8px;
   display: flex;
   align-items: center;
   gap: 10px;
   cursor: pointer;
   transition: all 0.2s;
   position: relative;
}

.payment-method.selected {
   border-color: #4CAF50;
   background: rgba(28, 24, 28, 1);
}

.method-icon {
   width: 30px;
   height: 30px;
   background: none;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   font-weight: bold;
   color: white;
   object-fit: cover;
}

.payment-summary {
   margin: 20px 4px;
   text-align: center;
}

.original-price {
   margin-top: 6.5px;
   font-size: 24px;
   font-weight: bold;
   color: #ffffff;
   font-weight: 600;
   font-size: 20px;
   line-height: 12.8px;
   letter-spacing: 0px;
}

.discounted-price {
   font-size: 24px;
   font-weight: bold;
   color: #ffffff;
   margin-top: 6.5px;
}

.original-price.with-discount {
   text-decoration: line-through;
   color: #999;
   font-size: 18px;
}

.security-info {
   margin-top: 10px;
   font-size: 12px;
   color: #ffffff;

   font-weight: 500;
   font-size: 9.6px;
   line-height: 19.2px;
   letter-spacing: 0.08px;
   vertical-align: middle;
}

.pay-button {
   width: 100%;
   padding: 15px;
   background: linear-gradient(90deg, #00BF56, #00DDCB, #00BF56);
   background-size: 200% 100%;
   /* Увеличиваем градиент в 2 раза */
   color: white;
   border: none;
   border-radius: 8px;
   font-size: 16px;
   font-weight: bold;
   cursor: pointer;
   transition: background-position 0.4s linear;
}

.pay-button:hover {
   background-position: 100% 0;
   /* Сдвигаем градиент */
}

.payment-footer {
   margin-top: 20px;
   font-size: 12px;
   color: #999;
   text-align: center;
}

.hidden {
   display: none;
}

.payment-trigger-btn {
   padding: 12px 24px;
   background: #4CAF50;
   color: white;
   border: none;
   border-radius: 6px;
   font-size: 16px;
   font-weight: bold;
   cursor: pointer;
   transition: all 0.2s ease;
   box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.payment-trigger-btn:hover {
   background: #3d8b40;
   transform: translateY(-2px);
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.payment-trigger-btn:active {
   transform: translateY(0);
}



/* Основные стили pop-up */
.payment-popup-overlay {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: rgba(0, 0, 0, 0.7);
   border: 0.8px solid #2C292C;
   display: flex;
   justify-content: center;
   align-items: center;
   z-index: 1000;
   opacity: 0;
   visibility: hidden;
   transition: all 0.3s ease;
}

.payment-popup-overlay.active {
   opacity: 1;
   visibility: visible;
}




.method-icon {
   font-weight: bold;
   font-size: 16px;
}

/* Остальные стили (оставьте без изменений) */
.close-popup-btn {
   position: absolute;
   top: 15px;
   right: 15px;
   background: none;
   border: none;
   font-size: 24px;
   cursor: pointer;
   color: #777;
}

.payment-summary {
   margin: 20px 0;
   text-align: start;
}

.original-price {
   font-size: 24px;
   font-weight: bold;
}

.payment-footer {
   margin-top: 15px;
   font-size: 12px;
   color: #999;
   text-align: center;
}


.pop-up-footer-help {
   width: 100%;
   height: 123px;
   background: rgba(28, 24, 28, 1);
   border-radius: 7px;
   color: white;

}

.pop-up-footer-help span {
   color: rgb(244, 174, 61);
}

.pop-up-footer-help h3 {
   padding-top: 19.5px;
   padding-left: 19px;

   font-weight: 600;
   font-size: 14px;
   line-height: 16px;
   letter-spacing: 0px;
   margin-top: 19.4px;
   margin-bottom: 21px;
}

.footer-help-btn {
   cursor: pointer;
   margin-left: 19px;
   width: 164px;
   height: 32.2px;
   border-radius: 7px;
   color: white;
   background: rgb(244, 174, 61);
   border: 0.8px solid rgb(248, 162, 23)
}


.method-icon {
   display: flex;
   flex-direction: column;
   justify-content: start;
   align-items: start;
}

.method-icon p {
   font-family: "SF";
   font-weight: 500;
   font-size: 10px;
   line-height: 10px;
   letter-spacing: -0.5px;
   position: absolute;
      bottom: 10.2px;
}

.method-icon {
   margin-top: 10.8px;
   margin-left: 10.2px;
}

/* супорт поп ап */
.support-popup-overlay {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: rgba(0, 0, 0, 0.7);
   display: flex;
   justify-content: center;
   align-items: center;
   z-index: 1001;
   /* Выше основного pop-up */
   opacity: 0;
   visibility: hidden;
   transition: all 0.3s ease;
}

.support-popup-overlay.active {
   opacity: 1;
   visibility: visible;
}

.support-popup-container {
   background: #141114;
   border-radius: 18px;
   width: 400px;
   padding: 25px;
   position: relative;
}

.support-popup-container h3 {
   font-family: "SF";
   font-weight: 700;
   font-size: 22px;
   color: white;
   margin-bottom: 20px;
   text-align: center;
}

.support-links {
   display: flex;
   flex-direction: column;
   gap: 15px;
}

.support-link {
   color: #00BF56;
   font-family: "SF";
   font-size: 16px;
   text-decoration: none;
   transition: color 0.2s;
   text-align: center;
   transition: all 0.4s;

}

.support-link:hover {
   color: #ececec;
}

.close-support-popup-btn {
   position: absolute;
   top: 15px;
   right: 15px;
   background: none;
   border: none;
   font-size: 24px;
   cursor: pointer;
   color: #777;
}


.support-link {
   width: 100%;
   height: 64px;
   border-radius: 16px;
   background: rgba(40, 132, 249, 1);
   border: none;
   color: white;
   cursor: pointer;
   display: flex;
   justify-content: center;
   align-items: center;
}

.support-link img {
   margin-right: 30px;
}

.support-link span {
   margin-left: 30px;
}

.success-popup-overlay {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: rgba(0, 0, 0, 0.7);
   display: flex;
   justify-content: center;
   align-items: center;
   z-index: 1002;
   /* Выше других pop-up */
   opacity: 0;
   visibility: hidden;
   transition: all 0.3s ease;
}

.success-popup-overlay.active {
   opacity: 1;
   visibility: visible;
}

.success-popup-container {
   background: #141114;
   border-radius: 12px;
   width: 500px;
   padding: 30px;
   text-align: center;
}

.success-content img {

   margin-bottom: 24px;
}

.success-message p:first-child {
   font-family: "SF";
   font-weight: 600;
   font-size: 20px;
   color: rgba(101, 255, 234, 1);
   margin-bottom: 10px;
   font-family: "SF";
   font-weight: 700;
   font-size: 24px;
   line-height: 28px;
   letter-spacing: 0%;
   text-align: center;
}

.success-message p:last-child {
   font-weight: 400;
   font-size: 16px;
   line-height: 25px;
   letter-spacing: 0%;
   text-align: center;
   font-family: "SF";
   font-size: 16px;
   color: white;
   margin-bottom: 30px;
}

.continue-btn {
   width: 100%;
   background: linear-gradient(90deg, #00BF56 0%, #00DDCB 100%);
   color: white;
   border: none;
   border-radius: 8px;
   padding: 15px 30px;
   font-size: 16px;
   font-weight: bold;
   cursor: pointer;
   transition: all 0.3s;
}

.continue-btn:hover {
   transform: translateY(-2px);
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.prime-buy-btn {
   cursor: pointer;
}
.close-popup-btn img,
.close-support-popup-btn img {
   transition: opacity 0.2s linear;
}

.close-popup-btn:hover img,
.close-support-popup-btn:hover img {
   content: url('../../images/icons/close-ico.png');
   opacity: 1;
   visibility: visible;
}



/* АДАПТАЦИЯ ПОЛЬЗОВАТЕЛЯ */

@media (max-width: 520px) and (min-width: 320px) {
   .payment-popup-container {
      width: 92vw !important;
      height: 85vh !important;
   }

   .payment-method {
      width: 100px;
      height: 100px;
      position: relative;
   }
      .payment-methods {
         display: flex;
         flex-wrap: wrap;
         justify-content: start;
      }
}

@media (max-width: 375px) and (min-width: 320px) {
   .payment-popup-container {
         width: 96vw !important;
         height: 94vh !important;
      }
   .payment-method {
      width: 120px;
      height: 80px;
      position: relative;

   }
       .payment-methods {
          /*justify-content: space-between;*/
       }
            .pop-up-footer-help h3 {
               margin-bottom: 7px;
            }
   #apply-promo-btn {
      padding: 10px 5px;
   }
   #promo-code-input {
      padding: 5px;
   }
   .pop-up-footer-help {
      height: 140px;
   }
   .payment-popup-header h3 {
      font-size: 18px;
   }
}




@font-face {
   font-family: "SF";
   src: url("../../fonts/SFProDisplay-Regular.woff");
   font-weight: 700;
}

@font-face {
   font-family: "SF-opt";
   src: url("../../fonts/SFProDisplay-Regular.woff");

}

.download-popup-overlay {
   position: fixed;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background: rgba(0, 0, 0, 0.7);
   background-color: rgba(0, 0, 0, 0.7);
   backdrop-filter: blur(5px);
   display: none;
   justify-content: center;
   align-items: center;
   z-index: 1000;
}

.download-popup-overlay.active {
   display: flex;
}

.download-popup-container {
   background-color: #141114;
   border-radius: 20px;
   padding: 30px;
   width: 90%;
   max-width: 500px;
   position: relative;
    border: 1px solid #141114;
}

.donwload-popup-title h3 {
   color: white;
   text-align: center;
   margin-bottom: 30px;
   font-family: "SF-opt";
   font-size: 24px;
   font-weight: 600;
   line-height: 128%;
}



.donwload-popup-btns,
.donwload-popup-btns__forge-optifine {
   display: flex;
   justify-content: center;
   align-items: center;
   margin-bottom: 30px;
   overflow: hidden;
}

.donwload-popup-btns__forge-optifine {
   margin-bottom: 25px;
}

.download-popup-btn-left,
.donwload-popup-btn-right,
.download-popup-btn-left__forge-optifine,
.donwload-popup-btn-right__forge-optifine {
   cursor: pointer;
   padding: 10px 20px;
   width: 9px;
   height: 17px;
}





.download-popup-btn__download {
   background: #39BB7E;
   border: none;
   border-radius: 10px;
   color: white;

   display: flex;
   align-items: center;
   justify-content: center;
   margin: 0 auto 20px;
   cursor: pointer;
   width: 100%;
   font-weight: bold;
   transition: all 0.4s linear;
   height: 50px;

   &:hover {
      background: #2b8d5f;
   }

   & p {
      font-size: 16px;
      font-family: "SF";
   }

   & img {
      width: 16px;
      margin-right: 6px;
   }
}

.donwload-popup-chekbox {
   display: flex;
   align-items: center;
   color: white;
   font-size: 12px;
   margin-top: 20px;
}

.download-popup-checkbox {
   display: flex;
   justify-content: center;
}

.download-popup-checkbox input[type="checkbox"] {
   -webkit-appearance: none;
   -moz-appearance: none;
   appearance: none;
   width: 19px;
   height: 19px;
   border-radius: 3px;
   margin-right: 19px;
   border: 1px solid #6A6A6A;
   cursor: pointer;
   position: relative;
   outline: none;
}

.download-popup-checkbox input[type="checkbox"]:checked {
   background-color: #39BB7E;
   /* или другой цвет, если на фото он отличается */
   border-color: #39BB7E;
}

.download-popup-checkbox input[type="checkbox"]:checked::after {
   content: "";
   position: absolute;
   left: 6px;
   top: 1px;
   width: 4px;
   height: 10px;
   border: 0.1px solid white;
   border-width: 0 2px 2px 0;
   transform: rotate(45deg);

}

.download-popup-checkbox label {
   display: flex;
   align-items: center;
   cursor: pointer;
   font-family: inherit;
   /* укажите нужный шрифт */
   font-size: 14px;
   /* размер как на фото */
   color: #848484;
   /* цвет текста как на фото */
   width: 70%;

}

.close-popup-btn {
   position: absolute;
   top: 15px;
   right: 15px;
   background: none;
   border: none;
   cursor: pointer;
}




.donwload-slider-version,
.donwload-slider-version__forge-optifine {
   display: flex;
   gap: 10px;
   justify-content: center;
   align-items: center;
}

.donwload-slider-version p {
   font-family: "SF-opt";
   color: #39BB7E;
   font-weight: 900;
   font-size: 62px;
   line-height: 126%;
}

.donwload-slider-version__forge-optifine p {
   font-family: "SF-opt";
   font-weight: lighter;
   font-size: 34px;
   color: white;
}




.donwload-slider-version {
   width: 180px;
   height: 90px;
}



/* Добавим анимацию для плавного переключения слайдов */

.donwload-slider-version__forge-optifine {
   position: relative;
   overflow: hidden;
   width: 120px;
   height: 50px;
}

.donwload-slider-version>div,
.donwload-slider-version__forge-optifine>div {
   position: absolute;
   width: 100%;
   height: 100%;
   display: flex;
   justify-content: center;
   align-items: center;
   transition: transform 0.3s ease-in-out;
}

/* Стили для активного и неактивного состояния */
.donwload-slider-version p.active,
.donwload-slider-version__forge-optifine p.active {
   color: #39BB7E;

}

.donwload-slider-version p:not(.active),
.donwload-slider-version__forge-optifine p:not(.active) {
   color: #39BB7E;

}

.donwload-slider-version__forge-optifine p:not(.active) {
   color: white;
}

/* Для версий Minecraft */
.slide-1-16-5,
.slide-1-21 {
   opacity: 0;
   transform: translateX(100%);
}

.slide-1-16-5.active,
.slide-1-21.active {
   opacity: 1;
   transform: translateX(0);
}

/* Для модификаций (Forge/Optifine) */
.forge,
.optifine {
   opacity: 0;
   transform: translateX(100%);
}

.forge.active,
.optifine.active {
   opacity: 1;
   transform: translateX(0);
}














/* Стили для кнопок слайдера версий (большие и жирные) */
.download-popup-btn-left,
.donwload-popup-btn-right {
   cursor: pointer;
   padding: 15px 15px;
   /* Увеличиваем размер кликабельной области */
   width: auto;
   /* Убираем фиксированную ширину */
   height: auto;
   /* Убираем фиксированную высоту */
   display: flex;
   align-items: center;
   justify-content: center;
   background: rgba(57, 187, 126, 0);
   /* Легкий фон для видимости */


   transition: background 0.2s;
}

.download-popup-btn-left:hover,
.donwload-popup-btn-right:hover {
   background: rgba(57, 187, 126, 0);
}

.download-popup-btn-left svg,
.donwload-popup-btn-right svg {
   width: 30px;
   /* Увеличиваем размер стрелок */
   height: 25px;
   stroke-width: 3px;
   /* Делаем стрелки толще */
}

/* Стили для кнопок слайдера модификаций (поменьше) */
.download-popup-btn-left__forge-optifine,
.donwload-popup-btn-right__forge-optifine {
   cursor: pointer;
   padding: 1px 15px;
   /* Меньше, чем у версий */
   width: auto;
   height: auto;
   display: flex;
   align-items: center;
   justify-content: center;
   background: rgba(57, 187, 126, 0);
   border-radius: 6px;
   margin: 0 8px;
   transition: background 0.2s;
}

.download-popup-btn-left__forge-optifine svg,
.donwload-popup-btn-right__forge-optifine svg {
   width: 10px;
   /* Увеличиваем размер стрелок */
   height: 16px;
   stroke-width: 3px;
   /* Делаем стрелки толще */
}

.download-popup-btn-left__forge-optifine:hover,
.donwload-popup-btn-right__forge-optifine:hover {
   background: rgba(57, 187, 126, 0);
}

.download-popup-btn-left,
.donwload-popup-btn-right,
.download-popup-btn-left__forge-optifine,
.donwload-popup-btn-right__forge-optifine {
   position: relative;
   z-index: 10;
   /* Чтобы кнопки были поверх других элементов */
}

/* Упрощенная анимация для слайдеров */
.donwload-slider-version,
.donwload-slider-version__forge-optifine {
   position: relative;
   overflow: hidden;
}

.donwload-slider-version>div,
.donwload-slider-version__forge-optifine>div {
   position: absolute;
   width: 100%;
   height: 100%;
   display: flex;
   justify-content: center;
   align-items: center;
   transition: opacity 0.3s ease-in-out;
}

/* Простая анимация - только изменение прозрачности */
.slide-1-16-5,
.slide-1-21,
.forge,
.optifine {
   opacity: 0;
}

.slide-1-16-5.active,
.slide-1-21.active,
.forge.active,
.optifine.active {
   opacity: 1;
}

/* Остальные стили остаются без изменений */
.donwload-slider-version {
   width: 180px;
   height: 90px;
}

.donwload-slider-version__forge-optifine {
   width: 120px;
   height: 50px;
}

.donwload-slider-version p {
   font-family: "SF-opt";
   color: #39BB7E;
   font-weight: 900;
   font-size: 62px;
   line-height: 126%;
}

.donwload-slider-version__forge-optifine p {
   font-family: "SF-opt";
   font-weight: lighter;
   font-size: 34px;
   color: white;
}

/* Стили для активного и неактивного состояния */
.donwload-slider-version p.active,
.donwload-slider-version__forge-optifine p.active {
   color: #39BB7E;
}

.donwload-slider-version p:not(.active),
.donwload-slider-version__forge-optifine p:not(.active) {
   color: #39BB7E;
}

.donwload-slider-version__forge-optifine p:not(.active) {
   color: white;
}

/* Стили для кнопок остаются без изменений */
.download-popup-btn-left,
.donwload-popup-btn-right {
   cursor: pointer;
   padding: 15px 15px;
   width: auto;
   height: auto;
   display: flex;
   align-items: center;
   justify-content: center;
   background: rgba(57, 187, 126, 0);
   transition: background 0.2s;
}

.download-popup-btn-left:hover,
.donwload-popup-btn-right:hover {
   background: rgba(57, 187, 126, 0);
}

.download-popup-btn-left svg,
.donwload-popup-btn-right svg {
   width: 30px;
   height: 25px;
   stroke-width: 3px;
}

.download-popup-btn-left__forge-optifine,
.donwload-popup-btn-right__forge-optifine {
   cursor: pointer;
   padding: 1px 15px;
   width: auto;
   height: auto;
   display: flex;
   align-items: center;
   justify-content: center;
   background: rgba(57, 187, 126, 0);
   border-radius: 6px;
   margin: 0 8px;
   transition: background 0.2s;
}

.download-popup-btn-left__forge-optifine svg,
.donwload-popup-btn-right__forge-optifine svg {
   width: 10px;
   height: 16px;
   stroke-width: 3px;
}

.download-popup-btn-left,
.donwload-popup-btn-right,
.download-popup-btn-left__forge-optifine,
.donwload-popup-btn-right__forge-optifine {
   position: relative;
   z-index: 10;
}

@media (max-width: 520px) {
   .donwload-popup-title h3 {
      font-size: 18px;
   }
}

@media (max-width: 400px) {
   .donwload-popup-title h3 {
      font-size: 14px;
   }

   .donwload-popup-btns {
      height: 60px;
   }

   .donwload-slider-version {
      width: 120px;
   }

   .donwload-slider-version p {
      font-size: 46px;
   }

   .donwload-slider-version__forge-optifine {
      width: 60px;
   }

   .donwload-slider-version__forge-optifine p {
      font-size: 16px;
   }

   .download-popup-btn-left,
   .donwload-popup-btn-right {
      padding: 10px;
   }

   .donwload-popup-btn-right__forge-optifine,
   .download-popup-btn-left__forge-optifine {
      padding: 0;
   }

   .download-popup-checkbox label {
      font-size: 10px;
   }
}

@media (max-width: 350px) {
   .donwload-popup-title h3 {
      font-size: 12px;
   }
}



