* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: var(--main-bg);
    color: var(--main-dark);
}

.header .container {
    max-width:100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.header {
    background-color: var(--main-blue);
    padding: 10px 0;
    box-shadow: 0 2px 8px rgba(27, 183, 110, 0.10);
}

.header__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.header__logo img {
    height: 45px;
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav__list a {
    color: var(--main-white);
    background: transparent;
    font-weight: 500;
    transition: color 0.3s, background 0.3s;
    padding: 8px 18px;
    border-radius: 8px;
    text-decoration: none;
}

.nav__list a:hover, .nav__list a.active {
    background: var(--accent-yellow);
    color: var(--main-blue);
}

.header__desktop-buttons {
    display: flex;
    gap: 15px;
}

.header__mobile-buttons {
    display: none;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    width: 100%;
}

.header__mobile-buttons .btn {
    width: 100%;
    text-align: center;
    border-radius: 8px;
}

.btn {
    padding: 12px 32px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    background: linear-gradient(90deg, var(--accent-green) 0%, var(--accent-green-light) 100%);
    color: var(--main-white);
    border: none;
    box-shadow: 0 4px 24px rgba(27, 183, 110, 0.15);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.btn:hover, .btn:focus {
    background: var(--accent-yellow);
    color: var(--main-blue);
    box-shadow: 0 6px 32px rgba(255, 214, 0, 0.18);
    transform: translateY(-2px) scale(1.04);
}

.btn--login {
    background: var(--main-white);
    color: var(--accent-green);
    border: 2px solid var(--accent-green);
}

.btn--login:hover {
    background: var(--accent-yellow);
    color: var(--main-blue);
    border: 2px solid var(--accent-yellow);
}

.btn--register {
    background: var(--accent-yellow);
    color: var(--main-blue);
    border: 2px solid var(--accent-yellow);
}

.btn--register:hover {
    background: linear-gradient(90deg, var(--accent-green) 0%, var(--accent-green-light) 100%);
    color: var(--main-white);
    border: 2px solid var(--accent-green);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px 0;
    transition: all 0.3s;
}

/* Banner Styles */
.banner {
    max-height: 100vh;
    overflow: hidden;
}

.banner__desktop {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner__mobile {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

/* Main Content Styles */
.main {
    padding: 50px 0;
    background: #183c2b;
    color: var(--main-dark);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(27, 183, 110, 0.10);
}

.main h1, .main h2, .main h3, .main p, .main ul li, .main ol li {
    color: var(--main-dark);
}

.main h1 {
    margin-bottom: 20px;
}

/* Footer Styles */
.footer {
    background: var(--main-blue);
    color: var(--main-white);
    padding: 30px 0;
    border-top: 4px solid var(--accent-yellow);
    box-shadow: 0 2px 12px rgba(27, 183, 110, 0.10);
}

.footer__top {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding: 30px 0 20px 0;
    flex-wrap: wrap;
    flex-direction: row;
}

.footer__info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 2;
}

.footer__icon {
    height: 65px;
    margin-right: 10px;
}

.footer__text {
    line-height: 1.5;
}

.footer__partners {
    display: flex;
    align-items: center;
    gap: 25px;
    flex: 3;
    flex-wrap: wrap;
    justify-content: center;
    margin-top:25px;
}

.footer__partners img {
    background: transparent;
    object-fit: contain;
    display: flex;
    align-items: center;
    max-width: 100%;
}

.footer__divider {
    border: none;
    border-top: 1px solid var(--accent-yellow);
    margin: 0 auto 20px auto;
    max-width: 1200px;
}

.footer__bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 30px 0 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer__logo {
    height: 50px;
    margin-bottom: 10px;
}

.footer__aware img {
    height: 20px;
    margin-bottom: 10px;
}

.footer__menu {
    list-style: none;
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.footer__menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.2s, background 0.2s;
    padding: 6px 14px;
    border-radius: 6px;
}

.footer__menu li a:hover {
    background: var(--accent-yellow);
    color: var(--main-blue);
}

.footer__copyright {
    color: var(--accent-yellow);
    font-size: 14px;
    margin-top: 10px;
}

.footer__img {
    display:flex;
}
a.btn {
    text-decoration: none;
}
ul.nav__list {
    margin:0px;
}
.nav__list li {
    margin:0px;
    font-size: 18px;
}
.page-button {
    margin:15px;
    display: flex;
    justify-content: center;
    gap: 25px;
}
main img {
    height: auto;
    margin-bottom: 20px;
    margin:0 auto;
    display: block;
    max-width:100%;
    max-height:500px;
}
/* Адаптив */
@media (max-width: 900px) {
    .footer__top {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    .footer__partners {
        margin-top: 10px;
        height: auto;
    }
    .footer__info {
        flex-direction: column;
        gap: 10px;
    }
    .footer__partners img {
        height: 32px;
    }
}

@media (max-width: 600px) {
    .footer__partners img {
        height: 24px;
    }
}

/* Mobile Styles */
@media (max-width:1000px) {
    .header__nav,
    .header__desktop-buttons {
        display: none;
    }

    .header__nav.active {
        display: block !important;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--main-blue);
        padding: 20px;
        z-index: 1000;
    }

    .header__nav.active .nav__list {
        flex-direction: column;
        gap: 15px;
    }

    .header__nav.active .header__mobile-buttons {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}
@media (max-width: 768px) {


    .footer__wrapper {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer__nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .banner {
        margin-top: 0;
        height: auto;
        display: block;
        position: relative;
        overflow: hidden;
    }

    .banner__desktop {
        display: none;
    }

    .banner__mobile {
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
        object-position: top;
        background: var(--main-blue);
    }
}

/* Base typography styles */
h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 32px 0 20px 0;
    line-height: 1.2;
}
h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 28px 0 18px 0;
    line-height: 1.25;
}
h3 {
    font-size: 1.4rem;
    font-weight: 500;
    margin: 24px 0 14px 0;
    line-height: 1.3;
}
p, ul li, ol li {
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 16px 0;
}
ul, ol {
    margin: 0 0 20px 24px;
    padding: 0 0 0 18px;
}
ul {
    list-style-type: disc;
}
ol {
    list-style-type: decimal;
}
ul li, ol li {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 8px;
}
ul li:last-child, ol li:last-child {
    margin-bottom: 0;
}

/* Table styles */
.table-wrapper {
    background: var(--main-blue);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(27, 183, 110, 0.08);
    padding: 12px;
    width: 100%;
    overflow-x: auto;
    margin-bottom: 24px;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
    background: var(--main-blue);
    color: var(--main-white);
    font-size: 1rem;
    border-radius: 12px;
    overflow: hidden;
}
th, td {
    padding: 14px 18px;
    border: 1px solid var(--accent-yellow);
    text-align: left;
}
th {
    background: var(--accent-yellow);
    color: var(--main-blue);
    font-weight: 700;
}
tr:nth-child(even) {
    background: var(--light-blue);
}
tr:nth-child(odd) {
    background: var(--main-blue);
}

@media (max-width: 768px) {
    .table-wrapper {
        -webkit-overflow-scrolling: touch;
        background: var(--main-blue);
    }
    table {
        font-size: 0.95rem;
    }
    th, td {
        padding: 10px 8px;
    }
} 

::-webkit-scrollbar {
    width: 10px;
    background: var(--main-blue);
}
::-webkit-scrollbar-thumb {
    background: var(--accent-yellow);
    border-radius: 8px;
}


@media (max-width: 768px) {
    .header__nav.active {
        background: var(--main-blue) !important;
    }
    .banner__mobile {
        background: var(--main-blue);
    }
    .table-wrapper {
        background: var(--main-blue);
    }
} 

:root {
    --main-blue: #10281c; /* глубокий тёмно-зелёный */
    --accent-yellow: #ffd600; /* золотой */
    --main-white: #fff;
    --main-bg: #101c1c; /* почти чёрный с зелёным оттенком */
    --light-blue: #183c2b; /* светло-зелёный для чередования строк */
    --main-dark: #eaf1fb; /* светлый текст */
    --accent-green: #1bb76e; /* ярко-зелёный для кнопок */
    --accent-green-light: #2ed47a; /* светло-зелёный для hover */
}
