*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

* {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

body {
    font-family: 'Gotham', 'Montserrat', sans-serif;
    background: #1d1d1e;
    color: #ffffff;
    line-height: 1.5;
    overflow-x: hidden;
}

@font-face {
    font-family: 'Gotham Light';
    src: url('fonts/gotham_light.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #ff0000;
    border-radius: 10px;
}

.container {
    max-width: 1554px;
    margin-left: 180px;
    margin-right: 180px;
    height: 100px;
}

::selection {
    background-color: #ff0000;
    color: #2b2b2b;
}

::-moz-selection {
    background-color: #ff0000;
    color: #0a0a0a;
}

/* ========== КНОПКИ ========== */
.btn {
    font-family: 'Montserrat', sans-serif;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn--pay {
    font-family: 'Unbounded', sans-serif;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0px;
    padding: 12px 24px;
    color: #ff1111;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    outline: none;
}

.btn--pay:hover {
    background: rgba(0, 0, 0, 0.178);
}

.desktop-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    margin-left: 3px;
}

/* ========== ХЕДЕР (ПК) — ИСПРАВЛЕННАЯ ВЕРСИЯ ========== */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    margin-top: 15px;
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
}

/* ЛОГОТИП — ПРИЖАТ К ЛЕВОМУ КРАЮ */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    position: absolute;
    left: 40px;
    flex-shrink: 0;
}

.logo img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.logo__name {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo__top {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
}

.logo__bottom {
    font-size: 14px;
    font-weight: 800;
    color: #ff0000;
}

/* МЕНЮ — СТРОГО ПО ЦЕНТРУ, НЕ ДВИГАЕТСЯ */
.nav {
    display: flex;
    align-items: center;
}

.nav__list {
    display: flex;
    gap: 60px;
    list-style: none;
    margin: 0;
    padding: 0;
}

@import url('https://fonts.googleapis.com/css2?family=Agency+FB&display=swap');

.nav__link {
    font-family: 'Agency FB', 'Arial Narrow', 'Impact', sans-serif;
    color: rgba(255, 255, 255, 0.322);
    text-decoration: none;
    margin-right: 25px;
    font-size: 15px;
    font-weight: 600;
    transition: 0.3s;
    white-space: nowrap;
    cursor: pointer;
}

.nav__link:hover {
    color: #ff0000;
}

.nav__link.active {
    color: #ffffff;
}

.btn--pay {
    position: absolute;
    right: 1px;
    margin-top: -23px;
    margin-left: 0;
}

/* ========== ФУТЕР ========== */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 32px 32px 80px;
    max-width: 1950px;
    margin: 0 auto;
    margin-top: 1000px;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
}

.footer__container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
    gap: 40px;
}

/* Компания (лого + реквизиты) */
.footer__company {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer__logo {
    height: 32px;
    width: 120px;
    margin-bottom: 16px;
}

.footer__company p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 9px;
    line-height: 1.5;
    font-weight: 400;
}

.footer__logo-wrapper .logo-icon {
    position: relative;
    width: 60px;
    height: 70px;
    overflow: hidden;
    margin-left: 200px;
}

.footer__logo-wrapper .logo-icon img {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 90%;
    height: 90%;
    object-fit: contain;
    transition: opacity 0.4s ease;
}

.footer__logo-wrapper .logo-img-gray {
    opacity: 1;
}

.footer__logo-wrapper .logo-img-color {
    opacity: 0;
}

.footer__logo-wrapper .logo:hover .logo-img-gray {
    opacity: 0;
}

.footer__logo-wrapper .logo:hover .logo-img-color {
    opacity: 1;
}

/* Навигация */
.footer__nav {
    margin: 0 auto;
    padding: 0 32px;
}

.footer__nav > ul {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 45px;
}

.footer__nav-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer__nav-title {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer__nav-block ul {
    display: flex;
    list-style: none;
    flex-direction: column;
    gap: 8px;
}

.footer__nav-link {
    color: rgba(255, 255, 255, 0.39);
    font-size: 12px;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer__nav-link:hover {
    color: #ff4848;
}

/* Платежки */
.footer__payments {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 24px;
}

.footer__payment-list {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
}

.footer__payment-list li {
    background: #181818;
    border-radius: 4px;
    padding: 0 12px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer__payment-list li span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer__status {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    font-weight: 600;
    position: relative;
    white-space: nowrap;
}

.footer__status::before {
    content: "";
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #89de5d;
    border-radius: 50%;
    animation: heartbeat 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(137, 222, 93, 0.5);
}

@keyframes heartbeat {
    0% {
        transform: translateY(-50%) scale(1);
        box-shadow: 0 0 8px rgba(137, 222, 93, 0.3);
    }
    14% {
        transform: translateY(-50%) scale(1.4);
        box-shadow: 0 0 15px rgba(137, 222, 93, 0.7);
    }
    28% {
        transform: translateY(-50%) scale(1);
        box-shadow: 0 0 8px rgba(137, 222, 93, 0.3);
    }
    42% {
        transform: translateY(-50%) scale(1.4);
        box-shadow: 0 0 15px rgba(137, 222, 93, 0.7);
    }
    70% {
        transform: translateY(-50%) scale(1);
        box-shadow: 0 0 8px rgba(137, 222, 93, 0.3);
    }
    100% {
        transform: translateY(-50%) scale(1);
        box-shadow: 0 0 8px rgba(137, 222, 93, 0.3);
    }
}

/* Адаптив */
@media (max-width: 1280px) {
    .footer {
        padding: 32px 32px 64px;
    }
    .footer__company {
        margin-right: 96px;
    }
}

@media (max-width: 900px) {
    .footer {
        flex-direction: column;
        gap: 32px;
        padding: 24px;
    }
    .footer__company {
        margin-right: 0;
        width: 100%;
    }
    .footer__nav {
        margin: 0;
        padding: 0;
        width: 100%;
    }
    .footer__nav > ul {
        flex-direction: column;
        gap: 24px;
    }
    .footer__nav-block {
        width: 100%;
    }
    .footer__payments {
        align-items: flex-start;
        width: 100%;
    }
    .footer__payment-list {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    .footer__status {
        padding-left: 20px;
    }
    .footer__status::before {
        right: calc(100% - 8px);
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 24px;
    }
    .footer__nav > ul {
        flex-direction: column;
        gap: 20px;
    }
}