* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: #18182c;
    color: var(--main-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 2;
}

/* Header Styles */
.header {
    background-color: #16162b;
    padding: 10px 0;
    box-shadow: 0 2px 8px rgba(34, 34, 34, 0.10);
}

.header__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.header__logo img {
    height: 50px;
    filter: drop-shadow(0 2px 8px #ffe06633);
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 0px;
}

.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(--main-green-light);
    color: #000;
}

.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: 8px 14px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    background: #ffe066;
    color: #000;
    border: 2px solid #ff3c00;
    box-shadow: 0 2px 8px rgba(255, 60, 0, 0.10);
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.btn:hover,
.btn:focus {
    background: #ffe066;
    color: #000;
    border: 2px solid #ff6a3d;
    box-shadow: 0 4px 16px rgba(255, 60, 0, 0.18);
}

.btn--login {
    background: #ffe066;
    color: #000;
    border: 2px solid #ffe066;
}

.btn--login:hover {
    background: #ffe066;
    color: #000;
    border: 2px solid #ff6a3d;
}

.btn--register {
    background: #ffe066;
    color: #000;
    border: 2px solid #ffe066;
}

.btn--register:hover {
    background: #ffe066;
    color: #000;
    border: 2px solid #ff6a3d;
}

.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 {
    position: relative;
    height: auto;
    min-height: 180px;
    max-height: none;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: transparent;
    margin-bottom: 0;
    overflow: hidden;
    border-radius: 0;
    z-index: 1;
}

.banner__gradient {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 180px;
    padding-top: 36px;
    padding-bottom: 36px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    background: #23233a;
}

.banner__content {
    position: static;
    text-align: center;
    z-index: 2;
    color: #fff;
    width: 100%;
    max-width: 1200px;
}

.banner__content h2 {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 24px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.banner__cta {
    display: flex;
    gap: 18px;
    justify-content: center;
}

.banner__wave {
    position: relative;
    display: block;
    width: 100%;
    margin-top: -8px;
    z-index: 3;
    pointer-events: none;
    height: 80px;
    min-height: 40px;
}

.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: 30px 0;
    background: transparent;
    color: #e6e6f0;
    border-top: none;
    box-shadow: none;
    margin-top: 0;
    position: relative;
    z-index: 1;
}

.main h1,
.main h2,
.main h3,
.main p,
.main ul li,
.main ol li {
    color: #e6e6f0;
}

.main h1 {
    margin-bottom: 20px;
}

/* Footer Styles */
.footer {
    background: #23233a;
    color: #fff;
    padding: 30px 0;
    border-top: 4px solid var(--main-green-light);
    box-shadow: 0 2px 12px rgba(26, 127, 55, 0.10);
}

.footer__top {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding: 30px 0 20px 0;
    flex-wrap: wrap;
    flex-direction: column;
}

.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(--main-green-light);
    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: #ffe066;
    color: #23233a;
}

.footer__copyright {
    color: #fff;
    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;
    border-radius: 10px;
}

/* Адаптив */
@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:1200px) {

    .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);
    }

    .header__lang-switcher {
        display: none !important;
    }

    .header__lang-switcher--mobile {
        display: block !important;
        margin: 18px 0 0 0;
        width: 100%;
    }

    .header__lang-switcher--mobile .lang-dropdown {
        display: none;
    }

    .header__lang-switcher--mobile .lang-dropdown.open {
        display: flex;
    }

    .header__lang-switcher--mobile .lang-btn {
        width: 100%;
        padding: 12px 0;
        font-size: 1.07rem;
        border-radius: 0;
        text-align: center;
        background: transparent;
        color: var(--main-white);
        border: none;
        opacity: 0.95;
    }

    .header__lang-switcher--mobile .lang-btn.active {
        background: #2d2d44;
        color: var(--main-green-light);
        font-weight: 600;
    }

    .header__lang-switcher--mobile .lang-btn:hover {
        background: var(--main-green-light);
        color: var(--main-green);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .footer__wrapper {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer__nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .banner {
        min-height: 110px;
    }

    .banner__content {
        top: 10%;
        max-width: 98vw;
        padding: 0 8px;
    }

    .banner__content h2 {
        font-size: 1.05rem;
        margin-bottom: 10px;
    }

    .banner__cta {
        gap: 8px;
        align-items: center;
    }

    .banner__wave {
        height: 40px;
        min-height: 24px;
    }

    .banner__desktop {
        display: none;
    }

    .banner__mobile {
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
        object-position: top;
        background: var(--main-blue);
    }

    .banner__gradient {
        min-height: 110px;
        padding-top: 18px;
        padding-bottom: 18px;
    }
}

/* 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(--card-bg);
    box-shadow: 0 2px 12px rgba(26, 127, 55, 0.08);
    width: 100%;
    overflow-x: auto;
    margin-bottom: 24px;
    border: 1px solid var(--card-border);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
    color: var(--main-dark);
    font-size: 1rem;
    overflow: hidden;
}

th,
td {
    padding: 14px 18px;
    border: 1px solid var(--main-green-light);
    text-align: left;
}

th {
    background: var(--main-green-light);
    color: var(--main-green);
    font-weight: 700;
}

tr:nth-child(even) {
    background: #222222;
}

tr:nth-child(odd) {
    background: var(--card-bg);
}

@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(--main-green-light);
    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-black: #18182c;
    /* глубокий темно-фиолетовый */
    --main-white: #e6e6f0;
    /* светло-серый */
    --main-orange: #ffe066;
    /* мягкий желтый */
    --main-bg: #18182c;
    /* фон */
    --main-dark: #e6e6f0;
    /* текст */
    --accent-orange: #ffe066;
    /* акцентный желтый */
    --accent-grey: #23233a;
    /* чуть светлее фон блока */
    --card-bg: #23233a;
    /* фон карточек */
    --card-border: #23233a;
    /* убираем яркую границу */
    --main-blue: #18182c;
    /* глубокий темно-фиолетовый */
    --main-green: #ffe066;
    /* желтый для кнопок */
    --main-green-light: #ffe066;
    /* светло-желтый */
}

.header__nav .has-submenu {
    position: relative;
}

.header__nav .submenu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background: #fff;
    min-width: 180px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
    border-radius: 0 0 10px 10px;
    z-index: 100;
    padding: 10px 0;
}

.header__nav .submenu li {
    width: 100%;
}

.header__nav .submenu li a {
    color: var(--main-black);
    padding: 10px 24px;
    display: block;
    text-decoration: none;
    font-size: 1rem;
    transition: background 0.2s, color 0.2s;
}

.header__nav .submenu li a:hover {
    background: var(--main-orange);
    color: #fff;
}

.header__nav .has-submenu:hover>.submenu,
.header__nav .has-submenu:focus-within>.submenu {
    display: block;
}

.submenu li {
    list-style-type: none;
}

table td p {
    margin: 0px;
    color: #fff !important;
}

.content {
    background: #23233a;
    border-radius: 18px;
    box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.18);
    padding: 32px 28px 28px 28px;
    color: #e6e6f0;
    margin-bottom: 32px;
    border: none;
    font-size: 1.11rem;
    line-height: 1.7;
    transition: background 0.2s;
}

.content h2,
.content h3,
.content h1 {
    color: #ffe066;
    text-shadow: none;
    font-weight: 800;
    margin-bottom: 18px;
    font-size: 1.5rem;
}

.content h1 {
    font-size: 2rem;
}

.content p,
.content ul li,
.content ol li {
    color: #e6e6f0;
    font-size: 1.11rem;
    line-height: 1.7;
}

.content ul,
.content ol {
    margin-left: 24px;
}

.page-button .btn {
    background: #ffe066;
    color: #23233a;
    border: none;
}

.page-button .btn:hover {
    background: #edce51;
    color: #18182c;
}

@media (max-width: 768px) {
    .content {
        padding: 10px;
        font-size: 1rem;
    }

    .content h2,
    .content h3,
    .content h1 {
        font-size: 1.1rem;
    }

    .content h1 {
        font-size: 1.3rem;
    }
}

.header__lang-switcher {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0 12px;
    z-index: 20;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 5px;
    font-weight: 500;
    font-size: 0.97rem;
    color: var(--main-white);
    background: #23233a;
    border: 1.5px solid #444;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border 0.2s;
    box-shadow: none;
    opacity: 0.95;
    min-width: 60px;
}

.lang-current.open,
.lang-current:focus {
    background: #2d2d44;
    border: 1.5px solid var(--main-green-light);
    color: var(--main-green-light);
}

.lang-dropdown {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 110%;
    left: 0;
    min-width: 90px;
    background: #23233a;
    border-radius: 7px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
    padding: 4px 0;
    z-index: 100;
    border: 1.5px solid #444;
    animation: fadeInLang 0.18s;
}

.lang-dropdown.open {
    display: flex;
}

@keyframes fadeInLang {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lang-dropdown .lang-btn {
    background: transparent;
    color: var(--main-white);
    border: none;
    border-radius: 0;
    font-weight: 400;
    font-size: 0.97rem;
    padding: 7px 18px;
    text-align: left;
    width: 100%;
    opacity: 0.85;
    transition: background 0.18s, color 0.18s;
    text-decoration: none;
}

.lang-dropdown .lang-btn:hover {
    background: var(--main-green-light);
    color: var(--main-green);
    opacity: 1;
}

/* FAQ Block Styles */
.faq-block {
    background: var(--card-bg);
    border-radius: 18px;
    box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.13);
    padding: 32px 28px 28px 28px;
    margin-bottom: 32px;
    color: var(--main-white);
}

.faq-title {
    color: var(--main-green-light);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 22px;
    text-align: left;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: #23233a;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(34, 34, 34, 0.08);
    overflow: hidden;
    border: 1px solid #23233a;
    transition: box-shadow 0.2s;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    color: var(--main-green-light);
    font-size: 1.08rem;
    font-weight: 600;
    padding: 18px 18px 16px 18px;
    text-align: left;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
    position: relative;
    border-bottom: 1px solid #23233a;
}

.faq-question.active,
.faq-question:focus {
    background: #23233a;
    color: #ffe066;
}

.faq-question::after {
    content: '\25BC';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    transition: transform 0.2s;
    color: var(--main-green-light);
    font-size: 1.1em;
}

.faq-question.active::after {
    transform: translateY(-50%) rotate(180deg);
    color: #ffe066;
}

.faq-answer {
    background: #23233a;
    color: #e6e6f0;
    font-size: 1.05rem;
    padding: 0 18px;
    border-top: none;
    display: none;
    opacity: 0;
    transition: opacity 0.25s;
}

.faq-item.open .faq-answer {
    display: block;
    padding: 12px 18px 16px 18px;
    opacity: 1;
    animation: fadeInFaq 0.25s;
}

@keyframes fadeInFaq {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .faq-block {
        padding: 10px;
    }

    .faq-title {
        font-size: 1.08rem;
    }

    .faq-question {
        font-size: 1rem;
        padding: 12px 10px 10px 10px;
    }

    .faq-answer {
        font-size: 0.97rem;
        padding: 0 10px;
    }

    .faq-item.open .faq-answer {
        padding: 10px 10px 12px 10px;
    }
}

.faq-question-heading {
    margin: 0;
    padding: 0;
    font-size: 1.08rem;
    font-weight: 600;
    line-height: 1.2;
}

.faq-question-heading h3,
.faq-question-heading {
    display: block;
    margin: 0;
    padding: 0;
}

.content .faq-question-heading {
    margin-bottom: 0;
}

.flex-container-left {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.flex-container-right {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex-direction: row-reverse;
}

.flex-container {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex-direction: column;
}

.flex-container .flex-content {
    width: 100%;
}

.flex-content {
    width: 50%;
}

@media (max-width: 768px) {
    .flex-container-right, .flex-container-left {
        flex-direction: column;
    }

    .flex-content {
        width: 100%;
    }
}