* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    scrollbar-width: none;
    scroll-behavior: smooth;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 0;
    height: 0;
}

body {
    background: #0C0C0C;
    color: #fff;
    font-family: var(--ui-font);
    opacity: 0;
    transition: opacity .6s ease;
}

:root {
    --ui-font: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body.loaded {
    opacity: 1;
}

::-webkit-scrollbar {
    width: 0;
    height: 0;
    background: transparent;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #BAFF00;
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
    background: #d4ff4d;
    background-clip: content-box;
}

::-webkit-scrollbar-button,
::-webkit-scrollbar-button:start,
::-webkit-scrollbar-button:end,
::-webkit-scrollbar-button:single-button,
::-webkit-scrollbar-button:vertical:start:decrement,
::-webkit-scrollbar-button:vertical:end:increment {
    display: none;
    width: 0;
    height: 0;
    background: transparent;
}

.custom-scrollbar {
    position: fixed;
    top: 0;
    right: 2px;
    width: 6px;
    height: 100vh;
    z-index: 10000;
    pointer-events: none;
}

.custom-scrollbar__thumb {
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    min-height: 42px;
    border-radius: 999px;
    background: #BAFF00;
}


.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 8%;
    margin-bottom: 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    user-select: none;
}

.logo img {
    height: 55px;
    width: auto;
    display: block;
    user-select: none;
    pointer-events: none;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    user-select: none;
}

.logo-text span {
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.logo-text span:first-child {
    color: #BAFF00;
}

.logo-text span:last-child {
    color: #fff;
}

nav {
    display: flex;
    gap: 30px;
}

a {
    text-decoration: none;
}

nav a {
    position: relative;
    font-family: var(--ui-font);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ddd;
    text-decoration: none;
    transition: .3s;
}

nav a:hover {
    color: #fff;
}

nav a::after {
    display: none;
}

nav a:hover::after {
    display: none;
}


.right-panel {
    display: flex;
    align-items: center;
    gap: 24px;
}

.socials {
    display: flex;
    gap: 16px;
    align-items: center;
}

.socials a {
    color: #ddd;
    text-decoration: none;
    transition: .2s;
    display: flex;
    align-items: center;
}

.socials a i {
    font-size: 24px;
}

.socials a:hover {
    color: #BAFF00;
}

.donate-container {
    max-width: 1100px;
    margin: 0 auto 80px;
    padding: 120px 20px 0;
    position: relative;
    z-index: 1;
}

.donate-title {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 50px;
    font-family: var(--ui-font);
    position: relative;
}

.donate-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.donate-card {
    background: #101211;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-subtitle {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.donate-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

select {
    background: #161817;
    color: #fff;
}

select option {
    background: #161817;
    color: #fff;
}

.input-group input,
.input-group select {
    width: 100%;
    height: 60px;
    background: #161817;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 0 20px 0 55px;
    color: #fff;
    font-size: 16px;
    font-family: inherit;
    outline: none;
    transition: all 0.25s ease;
    appearance: none;
}

.input-group input::placeholder {
    color: #5d605e;
}

.input-group input:focus,
.input-group select:focus {
    border-color: #BAFF00;
    box-shadow: 0 0 10px rgba(186, 255, 0, 0.15);
}

.input-icon {
    position: absolute;
    left: 20px;
    font-size: 18px;
}

.green-icon {
    color: #BAFF00;
}

.select-arrow {
    position: absolute;
    right: 20px;
    color: #5d605e;
    pointer-events: none;
    font-size: 14px;
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 35px;
}

.method-item {
    cursor: pointer;
}

.method-item input[type="radio"] {
    display: none;
}

.method-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 80px;
    background: #161817;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    font-size: 16px;
    color: #a3a3a3;
    transition: all 0.2s ease;
    user-select: none;
    gap: 4px;
}

.method-box i {
    font-size: 20px;
}

.method-item input[type="radio"]:checked+.method-box {
    background: rgba(186, 255, 0, 0.03);
    color: #fff;
}

.method-img {
    height: 26px;
    max-width: 90%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.text-logo {
    height: 22px;
}

.sbp-img {
    height: 32px;
}

.sub-label {
    font-size: 9px;
    text-transform: uppercase;
    color: #666;
    margin-top: 2px;
    display: block;
    letter-spacing: 0.3px;
}

.brand-text {
    font-size: 16px;
    text-transform: uppercase;
}

.font-italic {
    font-style: italic;
    font-weight: 700;
}

.font-bold {
    font-weight: 700;
}

/* ! дон */
.checkout-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
    padding-top: 25px;
    margin-bottom: 25px;
    font-family: var(--ui-font);
    font-size: 14px;
    font-weight: 600;
    color: #a3a3a3;
}

.total-price {
    font-size: 20px;
    color: #fff;
    font-weight: 700;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #BAFF00;
    color: #111;
    padding: 14px 24px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
}

.btn-submit {
    width: 100%;
    height: 65px;
    background: #BAFF00;
    color: #000000;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
}

.terms-text {
    text-align: center;
    font-size: 15px;
    color: #5d605e;
    line-height: 1.5;
    margin-top: 25px;
}

.terms-text a {
    color: #555c55;
    text-decoration: none;
}

.terms-text a:hover {
    color: #BAFF00;
}

/* ! футер */
.footer {
    background: #0C0C0C;
    padding: 56px 8% 34px;
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(280px, 1.6fr) repeat(3, minmax(150px, 0.8fr)) minmax(220px, 1fr);
    align-items: flex-start;
    gap: 36px 44px;
    margin-bottom: 0;
}

.footer-info {
    max-width: 360px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo img {
    height: 45px;
}

.footer-desc {
    color: #555c55;
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 0;
}

.footer-partners {
    width: auto;
    max-width: none;
    margin: 0;
    justify-self: end;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 14px 14px;
    margin-top: 0;
    justify-items: stretch;
    justify-content: end;
}

.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 62px;
    height: 36px;
    padding: 0 12px;
    border-radius: 6px;
    background: linear-gradient(180deg, #202020 0%, #161616 100%);
    color: rgba(255,255,255,0.92);
}

.partner-item img {
    height: 20px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    display: block;
    filter: grayscale(1) brightness(1.5);
    opacity: .9;
}

.partner-item img[src*="sbp"] {
    height: 20px;
}

.footer-column {
    min-width: 0;
}

.footer-title {
    margin: 0 0 18px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

.footer-top > .footer-column .footer-title,
.footer-top > .footer-column .footer-links-column a {
    color: transparent;
    font-size: 0;
}

.footer-top > .footer-column .footer-title::before,
.footer-top > .footer-column .footer-links-column a::before {
    font-size: 14px;
    line-height: 1.4;
}

.footer-top > .footer-column .footer-title::before {
    color: #fff;
}

.footer-top > .footer-column .footer-links-column a::before {
    color: #555c55;
}

.footer-top > .footer-column:nth-child(2) .footer-title::before { content: 'Игрокам'; }
.footer-top > .footer-column:nth-child(2) .footer-links-column a:nth-child(1)::before { content: 'Начать играть'; }
.footer-top > .footer-column:nth-child(2) .footer-links-column a:nth-child(2)::before { content: 'Форум'; }
.footer-top > .footer-column:nth-child(3) .footer-title::before { content: 'Важная информация'; }
.footer-top > .footer-column:nth-child(3) .footer-links-column a:nth-child(1)::before { content: 'Пользовательское соглашение'; }
.footer-top > .footer-column:nth-child(3) .footer-links-column a:nth-child(2)::before { content: 'Правила оплаты'; }
.footer-top > .footer-column:nth-child(3) .footer-links-column a:nth-child(3)::before { content: 'Политика обработки персональных данных'; }
.footer-top > .footer-column:nth-child(4) .footer-title::before { content: 'Контакты'; }
.footer-top > .footer-column:nth-child(4) .footer-links-column a:nth-child(1)::before { content: 'Канал поддержки в Discord'; }
.footer-top > .footer-column:nth-child(4) .footer-links-column a:nth-child(2)::before { content: 'support_wise@wise.games'; }

.legal-text {
    font-size: 10px;
    line-height: 1.5;
    color: #3a3f3a;
    max-width: 360px;
    margin-top: 24px;
}

.footer-links-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.copyright {
    font-size: 10px;
    color: #3a3f3a;
}

.footer-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.footer-links a {
    font-size: 14px;
    color: #555c55;
    text-decoration: none;
    transition: 0.2s;
    white-space: normal;
    line-height: 1.4;
}

.footer-links a:hover {
    color: #BAFF00;
}

.footer-status {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
    color: #95a18f;
    font-size: 13px;
    white-space: nowrap;
}

.footer-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #7ed957;
}

.footer-partners::after {
    content: 'Все системы в порядке';
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
    color: #95a18f;
    font-size: 13px;
    white-space: nowrap;
}

.footer-partners::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #7ed957;
    margin: 26px 0 -16px auto;
}

.footer-line,
.footer-socials,
.footer-bottom {
    display: none;
}

/* ! скрытие */
.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.burger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.burger-btn.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.burger-btn.active span:nth-child(2) {
    opacity: 0;
}

.burger-btn.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin: 20px 0;
}

.footer-socials a {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ddd;
    font-size: 20px;
    transition: .25s ease;
    backdrop-filter: blur(10px);
}

.footer-socials a:hover {
    color: var(--green);
    transform: translateY(-2px);
    background: rgba(186,255,0,0.08);
}

/* ! адаптация на моб */

@media (max-width: 1024px) {
    .donate-container {
        margin: 30px auto 60px;
        padding: 0 30px;
    }
    
    .donate-title {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    .donate-card {
        padding: 30px;
    }
}


@media (max-width: 900px) {
    .donate-wrapper {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .donate-card {
        padding: 30px;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-partners {
        margin-left: 0;
        max-width: 100%;
    }
    
    .partners-grid {
        justify-items: start;
        gap: 20px 40px;
    }
    
    .right-panel .btn {
        padding: 10px 18px;
        font-size: 14px;
    }
    
    .socials a i {
        font-size: 20px;
    }

    .burger-btn {
        display: flex;
        position: relative;
        z-index: 10001;
    }

    .right-panel {
        display: none;
    }

    nav {
        position: fixed;
        inset: 0;
        background: #BAFF00;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 35px;
        z-index: 10000;
        opacity: 0;
        visibility: hidden;
        transform: scale(1.05);
        transition: opacity .35s ease, transform .35s ease, visibility .35s ease;
    }

    nav.active {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
    }

    nav a {
        font-family: var(--ui-font);
        font-size: 24px;
        font-weight: 700;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: #000;
        opacity: 0;
        transform: translateY(25px);
        transition: opacity .4s ease, transform .4s ease;
    }

    nav.active a {
        opacity: 1;
        transform: translateY(0);
    }

    nav a:nth-child(1) { transition-delay: .1s; }
    nav a:nth-child(2) { transition-delay: .2s; }
    nav a:nth-child(3) { transition-delay: .3s; }
    nav a:nth-child(4) { transition-delay: .4s; }

    nav a::after {
        display: none;
    }

    .burger-btn.active span {
        background: #000;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 16px 5%;
        flex-wrap: wrap;
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .logo img {
        height: 45px;
    }
    
    .logo-text span {
        font-size: 16px;
    }
    
    .right-panel {
        gap: 15px;
    }
    
    .socials {
        gap: 12px;
    }
    
    .donate-container {
        margin: 20px auto 40px;
        padding: 0 15px;
    }
    
    .donate-title {
        font-size: 26px;
        margin-bottom: 25px;
    }
    
    .donate-card {
        padding: 20px;
        border-radius: 12px;
    }
    
    .card-subtitle {
        font-size: 12px;
        margin-bottom: 20px;
    }
    
    .input-group input,
    .input-group select {
        height: 52px;
        font-size: 14px;
        padding: 0 15px 0 48px;
    }
    
    .input-icon {
        font-size: 16px;
        left: 16px;
    }
    
    .select-arrow {
        right: 15px;
    }
    
    .methods-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        margin-bottom: 25px;
    }
    
    .method-box {
        height: 70px;
        font-size: 14px;
    }
    
    .method-box i {
        font-size: 18px;
    }
    
    .method-img {
        height: 22px;
    }
    
    .sbp-img {
        height: 28px;
    }
    
    .text-logo {
        height: 18px;
    }
    
    .checkout-summary {
        font-size: 13px;
        padding-top: 20px;
        margin-bottom: 20px;
    }
    
    .total-price {
        font-size: 18px;
    }
    
    .btn-submit {
        height: 55px;
        font-size: 14px;
        border-radius: 10px;
    }
    
    .terms-text {
        font-size: 12px;
        margin-top: 18px;
    }
    
    .footer {
        padding: 35px 5% 20px;
    }
    
    .footer-desc {
        font-size: 11px;
    }
    
    .partner-item img {
        height: 24px;
    }
    
    .partner-item img[src*="sbp"] {
        height: 36px;
    }
    
    .legal-text {
        font-size: 9px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .footer-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .copyright {
        order: 1;
    }

    .footer-links {
        order: 2;
        display: flex;
        flex-direction: column;
        gap: 6px;
        align-items: center;
    }

    .footer-links a {
        font-size: 11px;
        padding: 0;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 12px 4%;
    }
    
    .logo img {
        height: 38px;
    }
    
    .logo-text span {
        font-size: 14px;
    }
    
    .logo {
        gap: 8px;
    }
    
    nav {
        gap: 15px;
    }
    
    nav a {
        font-size: 10px;
    }
    
    .right-panel {
        gap: 10px;
    }
    
    .right-panel .btn {
        padding: 6px 12px;
        font-size: 11px;
    }
    
    .socials a i {
        font-size: 18px;
    }
    
    .donate-title {
        font-size: 22px;
    }
    
    .donate-card {
        padding: 16px;
    }
    
    .card-subtitle {
        font-size: 11px;
        margin-bottom: 16px;
    }
    
    .donate-form {
        gap: 14px;
    }
    
    .input-group input,
    .input-group select {
        height: 48px;
        font-size: 13px;
        padding: 0 12px 0 42px;
    }
    
    .input-icon {
        font-size: 14px;
        left: 14px;
    }
    
    .methods-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .method-box {
        height: 65px;
        padding: 8px;
    }
    
    .method-box i {
        font-size: 16px;
    }
    
    .method-img {
        height: 20px;
    }
    
    .sbp-img {
        height: 26px;
    }
    
    .checkout-summary {
        font-size: 12px;
        padding-top: 16px;
        margin-bottom: 16px;
    }
    
    .total-price {
        font-size: 16px;
    }
    
    .btn-submit {
        height: 50px;
        font-size: 13px;
    }
    
    .terms-text {
        font-size: 10px;
        margin-top: 14px;
    }
    
    .footer {
        padding: 25px 4% 15px;
    }
    
    .footer-logo img {
        height: 35px;
    }
    
    .footer-desc {
        font-size: 10px;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px 25px;
    }
    
    .partner-item img {
        height: 22px;
    }
    
    .partner-item img[src*="sbp"] {
        height: 32px;
    }
    
    .legal-text {
        font-size: 8px;
    }
    
    .copyright {
        font-size: 9px;
    }
    
    .footer-links a {
        font-size: 9px;
    }
}


@media (max-width: 360px) {
    .donate-title {
        font-size: 20px;
    }
    
    .methods-grid {
        gap: 8px;
    }
    
    .method-box {
        height: 58px;
        font-size: 12px;
    }
    
    .method-box i {
        font-size: 14px;
    }
    
    .partners-grid {
        gap: 12px 20px;
    }
    
    .partner-item img {
        height: 20px;
    }
    
    .partner-item img[src*="sbp"] {
        height: 28px;
    }
}

/* Mobile polish */
@media (max-width: 900px) {
    .header {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        padding: 16px 20px;
        gap: 14px 18px;
    }

    .logo img {
        height: 42px;
    }

    .logo-text span {
        font-size: 15px;
        letter-spacing: 0;
    }

    .donate-container {
        margin: 0 auto 44px;
        padding: 104px 20px 0;
    }

    .donate-title {
        font-size: clamp(28px, 7vw, 34px);
        line-height: 1.05;
        margin-bottom: 24px;
    }

    .donate-wrapper {
        gap: 18px;
    }

    .donate-card {
        padding: 22px 18px;
        border-radius: 14px;
    }

    .card-subtitle {
        margin-bottom: 18px;
        font-size: 12px;
        letter-spacing: 1px;
    }

    .donate-form {
        gap: 14px;
    }

    .input-group input,
    .input-group select {
        height: 52px;
        font-size: 15px;
        padding: 0 16px 0 48px;
        border-radius: 10px;
    }

    .input-icon {
        left: 16px;
    }

    .methods-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-bottom: 22px;
    }

    .method-box {
        height: 72px;
        font-size: 13px;
        border-radius: 10px;
    }

    .checkout-summary {
        padding-top: 18px;
        margin-bottom: 18px;
        font-size: 13px;
    }

    .total-price {
        font-size: 18px;
    }

    .btn-submit {
        height: 54px;
        border-radius: 10px;
        font-size: 15px;
    }

    .terms-text {
        margin-top: 16px;
        font-size: 12px;
        line-height: 1.5;
    }
}

@media (max-width: 560px) {
    .header {
        padding: 14px 16px;
    }

    .logo img {
        height: 36px;
    }

    .logo-text span {
        font-size: 13px;
    }

    nav {
        gap: 22px;
        padding: 24px 18px;
    }

    nav a {
        font-size: 19px;
        letter-spacing: 1px;
    }

    .donate-container {
        padding: 92px 16px 0;
    }

    .donate-title {
        font-size: 24px;
    }

    .donate-card {
        padding: 18px 14px;
    }

    .methods-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .method-box {
        height: 66px;
        font-size: 12px;
    }

    .method-box i {
        font-size: 16px;
    }

    .method-img {
        height: 20px;
    }

    .sbp-img {
        height: 26px;
    }

    .text-logo {
        height: 16px;
    }

    .btn-submit {
        height: 50px;
        font-size: 14px;
    }
}

/* Shared header/footer with index */
.header {
    position: absolute;
    top: 12px;
    left: 0;
    right: 0;
    z-index: 5;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 24px 8%;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 28px;
}

.header__online {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 6px;
    background: linear-gradient(180deg, #272727 0%, #1d1d1d 100%);
    color: #fff;
    font-family: var(--ui-font);
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.header__online--icon {
    flex: 0 0 auto;
    opacity: .75;
}

.header__online_text {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

.header__online_count {
    color: #fff;
    font-weight: 600;
}

nav {
    justify-self: center;
}

.right-panel {
    justify-self: end;
    gap: 16px;
}

.socials {
    gap: 18px;
}

.socials a {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(180deg, #272727 0%, #1d1d1d 100%);
    justify-content: center;
    color: #ddd;
    font-size: 20px;
    transition: .25s ease;
    backdrop-filter: blur(10px);
}

.socials a i {
    font-size: 20px;
}

.socials a:hover {
    color: var(--green);
    transform: translateY(-2px);
    background: linear-gradient(180deg, #2f2f2f 0%, #222 100%);
}

.right-panel .btn {
    background: #BAFF00;
    color: #111;
    padding: 14px 24px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 18px;
    transition: .2s;
}

.right-panel .btn:hover {
    opacity: .85;
    transform: translateY(-2px);
}

.majestic-footer {
    width: min(100%, 1520px);
    min-height: 235px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 300px 1fr 240px;
    column-gap: 84px;
    align-items: start;
    margin: 0 auto;
    padding: 48px 56px 42px;
    background: #0C0C0C;
    color: #fff;
    font-family: var(--ui-font);
}

.majestic-footer *,
.majestic-footer *::before,
.majestic-footer *::after {
    box-sizing: border-box;
}

.majestic-footer .company {
    min-width: 0;
}

.majestic-footer .footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    padding: 0;
    user-select: none;
    pointer-events: none;
}

.majestic-footer .footer-logo img {
    width: 75px;
    height: auto;
    display: block;
}

.majestic-footer .footer-logo .logo-text {
    display: flex;
    flex-direction: column;
    line-height: .85;
}

.majestic-footer .footer-logo .logo-text span {
    font-size: 20px;
    font-weight: 800;
    line-height: .9;
}

.majestic-footer .company p {
    margin: 0;
    color: #868686;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.55;
}

.majestic-footer nav {
    position: static;
    inset: auto;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    display: block;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
}

.majestic-footer nav > ul {
    list-style: none;
    display: grid;
    grid-template-columns: 112px 282px 220px;
    column-gap: 46px;
    align-items: start;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.majestic-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.majestic-footer .nav-block .title {
    display: block;
    margin: 3px 0 18px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap;
}

.majestic-footer .nav-block ul {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.majestic-footer .nav-link {
    display: inline;
    padding: 0;
    margin: 0;
    color: #8d8d8d;
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: 0;
    text-transform: none;
    text-decoration: none;
    white-space: nowrap;
    opacity: 1;
    transform: none;
    transition: color .2s ease;
}

.majestic-footer .nav-link::after {
    display: none;
}

.majestic-footer .nav-link:hover {
    color: #ffffff;
}

.majestic-footer .footer-mail {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.majestic-footer .payments {
    justify-self: end;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-top: 0;
    min-width: 240px;
}

.majestic-footer .payment-method-list {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.majestic-footer .payment-method-list li {
    width: 75px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: linear-gradient(180deg, #242424 0%, #1b1b1b 100%);
    color: rgba(255, 255, 255, .55);
}

.majestic-footer .payment-method-list svg {
    display: block;
    max-width: 52px;
    height: 16px;
}

.majestic-footer .payment-method-list li[aria-label="Mastercard"] svg {
    height: 20px;
}

.majestic-footer .payment-method-list li[aria-label="СБП"] svg {
    height: 18px;
}

.majestic-footer .system-status {
    position: relative;
    margin-top: 26px;
    padding-left: 20px;
    color: #8d8d8d;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
}

.majestic-footer .system-status::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #7ed957;
    transform: translateY(-50%);
}

@media (max-width: 900px) {
    #mainNav {
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100dvh;
        padding: 104px 24px 36px;
        justify-content: center;
        align-items: center;
        gap: 22px;
        background: #BAFF00;
        overflow-y: auto;
        justify-self: stretch;
    }

    #mainNav a {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }

    .burger-btn {
        justify-self: end;
    }

    .header {
        grid-template-columns: 1fr auto;
        padding: 16px 20px;
        gap: 14px 18px;
        margin-bottom: 12px;
    }

    .header-left {
        min-width: 0;
        gap: 12px;
    }

    .logo img {
        height: 42px;
    }

    .logo-text span {
        font-size: 15px;
        letter-spacing: 0;
    }

    .header__online {
        padding: 8px 10px;
        font-size: 11px;
        gap: 5px;
    }

    .majestic-footer {
        grid-template-columns: 1fr;
        row-gap: 30px;
        width: min(100%, 1180px);
        padding: 42px 32px 38px;
    }

    .majestic-footer nav > ul {
        grid-template-columns: repeat(3, minmax(0, max-content));
        column-gap: 48px;
        justify-content: start;
    }

    .majestic-footer .payments {
        justify-self: start;
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    #mainNav {
        padding: 92px 20px 28px;
        gap: 18px;
    }

    #mainNav a {
        max-width: 260px;
        font-size: 17px;
    }

    .header {
        padding: 14px 16px;
    }

    .header-left {
        gap: 10px;
    }

    .logo img {
        height: 36px;
    }

    .logo-text span {
        font-size: 13px;
    }

    .header__online {
        max-width: 124px;
        padding: 7px 8px;
        font-size: 10px;
    }

    .majestic-footer {
        width: 100%;
        padding: 28px 16px 32px;
        row-gap: 24px;
    }

    .majestic-footer nav > ul {
        grid-template-columns: 1fr;
        row-gap: 24px;
    }

    .majestic-footer .footer-logo img {
        width: 62px;
    }

    .majestic-footer .footer-logo .logo-text span {
        font-size: 17px;
    }

    .majestic-footer .nav-block .title {
        margin-bottom: 12px;
        font-size: 15px;
    }

    .majestic-footer .payment-method-list {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .majestic-footer .payment-method-list li {
        width: 68px;
    }

    .majestic-footer .system-status {
        margin-top: 18px;
        white-space: normal;
    }
}
    .footer-top {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-partners {
        justify-self: start;
    }

    .partners-grid {
        justify-content: start;
    }

    .footer-status {
        justify-content: flex-start;
    }
