@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap');

body {
    margin: 0px;
    font-family: "Microsoft YaHei", Helvetica, Arial, sans-serif;
    background: #808080;
}

a {
    color: #da8a3b;
    text-decoration: none;
}

a:hover {
    color: #eeab69;
    text-decoration: none;
}

.row {
    width: 960px;
    margin: auto;
}

header {
    position: fixed;
    left: 0;
    width: 100%;
    height: 60px;
    background: #1d2125;
    opacity: 0.85;
    z-index: 10;
}

nav {
    display: flex;
    align-items: center;
    height: 60px;
}

img.anim:hover {
    filter: alpha (Opacity=95);
    opacity: 0.95;
}

.items {
    display: flex;
    margin: 0 0 0 100px;
}

.item {
    padding: 20.5px;
    font-size: 15px;
}

.item:hover,
.active .item:hover {
    transition: background-color 0.3s;
    background-color: rgba(108, 113, 119, 0.25);
    cursor: pointer;
}

.logo {
    margin: 0 0 0 0px;
    padding: 10px;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.items a {
    color: #fff;
    text-decoration: none;
}

.active .item {
    font-weight: 500;
    background: transparent;
    font-size: 15px;
}

section {
    min-height: 100vh;
    background: #a3a3a3;
    padding: 90px 0 50px 0;
    box-sizing: border-box;
}

.block {
    width: 100.5%;
    margin: 0 -2px 35px;
    padding: 15px;
    box-sizing: border-box;
    background: #626262;
    color: #ffe866;
    border-radius: 3px;
    box-shadow: 0px 0px 10px 0px rgb(38 44 49 / 0.2);
}

.codeks-naemnika {
    color: #e4cc99;
}

.codeks-naemnika .headline {
    color: #e4cc99;
}

.codeks-naemnika .bullet-point {
    margin: 2px 0;
}

.codeks-naemnika .bullet-point:before {
    content: '•';
    margin-right: 5px;
    color: #e4cc99;
}

.subscription-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 20px 0;
    align-items: stretch;
}

.subscription-card {
    background: #2e2b2b;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.subscription-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 5px 15px rgb(38 44 49 / 0.4);
}

.card-headline {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    margin-top: 25px;
}

.card-price {
    font-size: 16px;
    font-weight: 500;
    color: #e0d3b6;
    margin-bottom: 15px;
}

.card-text {
    flex-grow: 1;
    margin-bottom: 60px;
}

.card-text ul {
    list-style: none;
    padding: 0;
    font-size: 13px;
    text-align: center;
    margin: 0;
}

.card-text li {
    margin-bottom: 8px;
}

.support-button {
    display: inline-block;
    padding: 10px 20px;
    background: #a39880;
    color: #fff;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    box-sizing: border-box;
}

.support-button:hover {
    background: #e4cc99;
    color: #000000;
}

.hit-label {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: #ff8282;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 0;
    border-radius: 3px 3px 0 0;
    text-align: center;
    z-index: 1;
}

.online-bot-button {
    display: block;
    margin: 15px auto 0;
    padding: 10px 20px;
    background: #252525;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s;
    max-width: 300px;
    text-align: center;
}

.online-bot-button span {
    background: linear-gradient(to left, #33a03e 40%, #6aea77 50%, #33a03e 60%);
    background-size: 200% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.online-bot-button:hover {
    background: #3f3f3e;
}

.telegram-button {
    display: block;
    margin: 15px auto 0;
    padding: 10px 20px;
    background: #007bff;
    color: #ffffff;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s;
    max-width: 300px;
    text-align: center;
}

.telegram-button:hover {
    background: #0069da;
}

.block_faq {
    width: 100.5%;
    margin: 0 -2px 35px;
    padding: 15px;
    box-sizing: border-box;
    background: #626262;
    color: #ffe866;
    border-radius: 3px;
    box-shadow: 0px 0px 10px 0px rgb(38 44 49 / 0.2);
    border-left: solid 3px #629ef9;
}

.block_instruction {
    width: 100.5%;
    margin: 0 -2px 35px;
    padding: 15px;
    box-sizing: border-box;
    background: #808080;
    color: #FFFF00;
    border-radius: 3px;
    box-shadow: 0px 0px 10px 0px rgb(38 44 49 / 0.2);
    border-left: solid 3px #98ff82;
}

.block_description {
    width: 100.5%;
    margin: 0 -2px 35px;
    padding: 15px;
    box-sizing: border-box;
    background: #808080;
    color: #FFFF00;
    border-radius: 3px;
    box-shadow: 0px 0px 10px 0px rgb(38 44 49 / 0.2);
    border-left: solid 3px #98ff82;
}

.block_yoomoney {
    width: 100.5%;
    margin: 0 -2px 35px;
    padding: 15px;
    box-sizing: border-box;
    background: #808080;
    color: #FFFF00;
    border-radius: 3px;
    box-shadow: 0px 0px 10px 0px rgb(38 44 49 / 0.2);
    border-left: solid 3px #ffe782;
}

.block_qiwi {
    width: 100.5%;
    margin: 0 -2px 35px;
    padding: 15px;
    box-sizing: border-box;
    background: #808080;
    color: #FFFF00;
    border-radius: 3px;
    box-shadow: 0px 0px 10px 0px rgb(38 44 49 / 0.2);
    border-left: solid 3px #ffe782;
}

.block_cart {
    width: 100.5%;
    margin: 0 -2px 35px;
    padding: 15px;
    box-sizing: border-box;
    background: #808080;
    color: #FFFF00;
    border-radius: 3px;
    box-shadow: 0px 0px 10px 0px rgb(38 44 49 / 0.2);
    border-left: solid 3px #ffe782;
}

.block瞬 {
    width: 100.5%;
    margin: 0 -2px 35px;
    padding: 15px;
    box-sizing: border-box;
    background: #808080;
    color: #FFFF00;
    border-radius: 3px;
    box-shadow: 0px 0px 10px 0px rgb(38 44 49 / 0.2);
    border-left: solid 3px #ffe782;
}

.block_sberbank {
    width: 100.5%;
    margin: 0 -2px 35px;
    padding: 15px;
    box-sizing: border-box;
    background: #808080;
    color: #FFFF00;
    border-radius: 3px;
    box-shadow: 0px 0px 10px 0px rgb(38 44 49 / 0.2);
    border-left: solid 3px #98ff82;
}

.block_alfabank {
    width: 100.5%;
    margin: 0 -2px 35px;
    padding: 15px;
    box-sizing: border-box;
    background: #808080;
    color: #FFFF00;
    border-radius: 3px;
    box-shadow: 0px 0px 10px 0px rgb(38 44 49 / 0.2);
    border-left: solid 3px #ffe782;
}

.block_donationalerts {
    width: 100.5%;
    margin: 0 -2px 35px;
    padding: 15px;
    box-sizing: border-box;
    background: #808080;
    color: #FFFF00;
    border-radius: 3px;
    box-shadow: 0px 0px 10px 0px rgb(38 44 49 / 0.2);
    border-left: solid 3px #98ff82;
}

.block_moogold {
    width: 100.5%;
    margin: 0 -2px 35px;
    padding: 15px;
    box-sizing: border-box;
    background: #808080;
    color: #FFFF00;
    border-radius: 3px;
    box-shadow: 0px 0px 10px 0px rgb(38 44 49 / 0.2);
    border-left: solid 3px #ffe782;
}

.block_footer {
    width: 100.5%;
    margin: 0 -2px 0px;
    padding: 15px;
    box-sizing: border-box;
    background: #626262;
    color: #ffe866;
    border-radius: 3px;
    box-shadow: 0px 0px 10px 0px rgb(38 44 49 / 0.2);
    border-left: solid 3px #ff8282;
}

.block_dowload {
    width: 241px;
    margin: 0 auto 35px auto;
    padding: 15px;
    box-sizing: border-box;
    background: #1f120f;
    color: #FFFF00;
    border-radius: 3px;
    box-shadow: 0px 0px 10px 0px rgb(38 44 49 / 0.2);
    border-left: solid 3px #629ef9;
}

.block:nth-child(1) {
    border-left: solid 3px #ffe782;
}

.block:nth-child(2) {
    border-left: solid 3px #98ff82;
}

.block:nth-child(3) {
    border-left: solid 3px #ff8282;
}

.block:nth-child(4) {
    border-left: solid 3px #ffe782;
}

.block:nth-child(5) {
    border-left: solid 3px #98ff82;
}

.block:nth-child(6) {
    border-left: solid 3px #ff8282;
}

.block:nth-child(7) {
    border-left: solid 3px #ffe782;
}

.block:nth-child(8) {
    border-left: solid 3px #98ff82;
}

.block:nth-child(9) {
    border-left: solid 3px #ff8282;
}

.block:nth-child(10) {
    border-left: solid 3px #ffe782;
}

.block:nth-child(11) {
    border-left: solid 3px #98ff82;
}

.copyright {
    padding: 18px;
    font-size: 15px;
    color: #d4d3d3;
}

footer {
    display: flex;
    justify-content: center;
}

main {
    max-width: 1440px;
    position: relative;
    margin: auto;
}

.faq {
    width: 250px;
    min-height: 270px;
    margin: 0 auto 35px auto;
    box-sizing: border-box;
    background: #5b5b5b;
    border-radius: 3px;
}

.description {
    width: 250px;
    min-height: 300px;
    margin: 0 auto 35px auto;
    box-sizing: border-box;
    background: #5b5b5b;
    border-radius: 3px;
}

.faq__head {
    border-bottom: solid 1px #5b5b5b;
    padding: 12px 20px;
    font-weight: 500;
}

.list a {
    color: #565656;
    text-decoration: none;
    margin: -20px;
    font-size: 15px;
}

.list a:hover {
    color: #f3f3f3;
    text-decoration: none;
    margin: -20px;
}

.headline {
    font-size: 17px;
    font-weight: 500;
    margin: 0 0 5px 0;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 20;
}

.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #2e2a29;
    border-radius: 10px;
    padding: 20px;
    z-index: 21;
    max-width: 600px;
    width: 90%;
    box-sizing: border-box;
    color: #f8f8e9;
}

.modal-content {
    font-size: 14px;
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: #e4cc99 #2a1a17;
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: #2a1a17;
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #e4cc99;
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #d1b880;
}

.modal-content h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

.modal-content p {
    margin: 10px 0;
}

.modal-content ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.modal-content li {
    margin-bottom: 8px;
}

.modal-content a {
    color: #ad9051;
    text-decoration: none;
}

.modal-content a:hover {
    color: #e4cc99;
    text-decoration: none;
}

.modal-close {
    display: block;
    margin: 20px auto 0;
    padding: 10px 20px;
    background: #ad9051;
    color: #fff;
    border: none;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.modal-close:hover {
    background: #e4cc99;
    color: #000000;
}

.payment-container {
    display: flex;
    align-items: center; /* Center vertically for other elements */
    justify-content: center; /* Center horizontally */
    margin: 10px 0;
    flex-wrap: wrap;
    min-height: 0; /* Prevent flexbox from adding extra height */
}

.iframe-container {
    position: relative;
    min-width: 200px;
    max-width: 200px;
    margin-right: 10px;
    overflow: hidden;
}

.iframe-container iframe {
    border-radius: 10px;
}

.qr-container {
    flex: 1;
    min-width: 200px;
    max-width: 200px;
    text-align: center;
    align-self: flex-start; /* Align QR code to the top */
}

.qr-container img {
    width: 66%;
    max-width: 200px;
    height: auto;
    border-radius: 10px;
}

.qr-text.centered {
    text-align: center;
    margin: 10px auto;
    font-size: 14px;
    width: 100%;
}

@media (max-width: 960px) {
    .row {
        width: 100%;
    }

    .block {
        width: 100%;
        margin: 0 0px 35px;
        padding: 15px;
        box-sizing: border-box;
        background: #626262;
        border-radius: 3px;
        box-shadow: 0px 0px 10px 0px rgb(38 44 49 / 0.2);
    }

    .subscription-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hit-label {
        font-size: 10px;
        padding: 4px 0;
    }

    .card-headline {
        margin-top: 20px;
    }

    .online-bot-button {
        font-size: 13px;
        padding: 8px 16px;
        max-width: 250px;
    }

    .telegram-button {
        font-size: 13px;
        padding: 8px 16px;
        max-width: 250px;
    }
}

@media (max-width: 760px) {
    .modal {
        width: 95%;
        max-width: 550px;
    }

    .modal-content {
        max-height: 70vh;
        overflow-y: auto;
        overflow-x: hidden;
        padding-right: 10px;
        scrollbar-width: thin;
        scrollbar-color: #e4cc99 #2a1a17;
    }

    .modal-content::-webkit-scrollbar {
        width: 8px;
    }

    .modal-content::-webkit-scrollbar-track {
        background: #2a1a17;
        border-radius: 4px;
    }

    .modal-content::-webkit-scrollbar-thumb {
        background: #e4cc99;
        border-radius: 4px;
    }

    .modal-content::-webkit-scrollbar-thumb:hover {
        background: #d1b880;
    }

    .items a {
        display: none;
    }

    .mobile__button svg {
        width: 35px;
        color: #fff;
    }

    .nav {
        justify-content: space-between;
    }

    .items {
        display: block;
        margin: 0 25px;
    }

    .header {
        opacity: 1;
    }

    .subscription-grid {
        grid-template-columns: 1fr;
    }

    .modal {
        width: 95%;
    }

    .hit-label {
        font-size: 9px;
        padding: 3px 0;
    }

    .card-headline {
        margin-top: 18px;
    }

    .online-bot-button {
        font-size: 12px;
        padding: 6px 12px;
        max-width: 200px;
    }

    .telegram-button {
        font-size: 12px;
        padding: 6px 12px;
        max-width: 200px;
    }
}

@media (max-width: 600px) {
    .payment-container {
        flex-direction: column;
        align-items: center;
    }

    .iframe-container {
        margin-right: 0;
        margin-bottom: 10px;
        height: auto;
        /* На мобильных высота адаптируется */
    }

    .qr-container {
        margin-bottom: 10px;
    }
}

.mobile {
    position: absolute;
    width: 100%;
    height: 1000px;
    overflow: hidden;
    background: #3c3f42;
}

.mitems a {
    color: #fff;
    text-decoration: none;
}

.text {
    font-size: 13px;
}

.items .online-anim-text {
    height: 100%;
    padding: 0 20.5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.items .online-anim-text span {
    background: linear-gradient(to left,
            #33a03e 40%,
            #6aea77 50%,
            #33a03e 60%);
    background-size: 200% 100%;
    text-shadow: none;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    white-space: nowrap;
}

@keyframes shine {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}