.header {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    padding: 5px 40px 0px 40px;
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    z-index: 10001;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--color-text);
    text-shadow: 0 0 10px rgba(255, 140, 0, .5);
    flex-shrink: 0;
    flex: 0 0 auto;
}


.logo-icon {
    font-size: 1.4rem
}

.logo-item {
    max-width: 135px
}

.header__menu {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header__menu-list {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header__menu-list li {
    margin-bottom: 0px;
}

.header__menu-link {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 6px;
    position: relative;
}

.header__menu-link:hover {
    color: var(--color-accent);
    background: rgba(255, 140, 0, 0.1);
}

.header__menu-link.active {
    color: var(--color-accent);
    background: rgba(255, 140, 0, 0.15);
    font-weight: 600;
}

.header__mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10000;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: var(--color-accent);
    border-radius: 2px;
}

.header__mobile-menu-toggle.active .hamburger-line:nth-child(1) {
}

.header__mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.header__mobile-menu-toggle.active .hamburger-line:nth-child(3) {
}

.header__mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 9999;
    padding-top: 130px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 768px) {
    .header__mobile-menu {
        pointer-events: auto;
    }
}

.header__mobile-menu.active {
    visibility: visible;
    opacity: 1;
}

.header__mobile-nav {
    padding: 20px;
}

.header__mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.header__mobile-menu-link {
    color: var(--color-text);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 8px;
    display: block;
    text-align: center;
}

.header__mobile-menu-link:hover {
    color: var(--color-accent);
    background: rgba(255, 140, 0, 0.1);
}

.header__mobile-menu-link.active {
    color: var(--color-accent);
    background: rgba(255, 140, 0, 0.15);
    font-weight: 600;
}
















.header__nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    flex: 0 0 auto;
}

.button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: .9rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap
}

.button--primary {
    background: linear-gradient(to bottom, #ffd238, #deb629);
    color: var(--color-text);
    box-shadow: 0 4px 8px rgba(255, 140, 0, .3)
}

.button--primary:hover {
    background: linear-gradient(to bottom, #ffd238, #deb629);
    box-shadow: 0 6px 12px rgba(255, 140, 0, .4)
}

.button--primary:active {
    box-shadow: 0 2px 4px rgba(255, 140, 0, .3)
}

.button--secondary {
    background-color: transparent;
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
    position: relative;
    overflow: hidden;
    z-index: 1
}

.button--secondary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-accent);
    z-index: -1
}

.button--secondary:hover {
    color: var(--color-text)
}

.button--secondary:hover::before {
    left: 0
}

.language-switcher {
    position: relative;
    flex-shrink: 0
}

.language-toggle {
    background: 0 0;
    border: 2px solid #eeaf02;
    color: #eeaf02;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font: 600 .9rem sans-serif;
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 80px;
    justify-content: center;
}

.language-toggle:hover {
    background: rgba(238, 175, 2, .1);
}

.language-toggle:focus {
    outline: 0;
    box-shadow: 0 0 5px rgba(238, 175, 2, .2)
}

.language-arrow {
    font-size: .8rem;
}

.language-switcher.active .language-arrow {
}

.language-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #1a1a3e;
    border: 2px solid #eeaf02;
    border-radius: 6px;
    padding: 5px 0;
    min-width: 120px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
    opacity: 0;
    visibility: hidden;
    z-index: 1000
}

.language-switcher.active .language-dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.language-option {
    display: block;
    padding: 8px 15px;
    color: #fff;
    font: 500 .9rem sans-serif;
    text-align: left;
    cursor: pointer;
    background: 0 0;
    border: none;
}

.language-option:hover {
    background: rgba(238, 175, 2, .1);
    color: #eeaf02
}

.language-option.active {
    background: rgba(238, 175, 2, .2);
    color: #eeaf02;
    font-weight: 600
}

@media (max-width:1024px) {
    .header__menu-list {
        gap: 20px;
    }

    .header__menu-link {
        font-size: 0.9rem;
        padding: 6px 10px;
    }

    .button {
        padding: 8px 12px
    }
}

@media (max-width:768px) {
    .header {
        padding: 15px 20px
    }

    .header__menu {
        display: none;
    }
}

@media (max-width:576px) {
    .header {
        padding: 10px 15px;
        height: auto;
        min-height: 60px
    }

    .header__container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        gap: 10px
    }

    .header__logo {
        width: 100%;
        display: flex;
        justify-content: center;
        font-size: 1.2rem;
        align-items: center;
    }

    .header__logo a {
        position: relative;
        z-index: 1;
    }

    .header__mobile-menu-toggle {
        position: absolute;
        right: 10px;
    }

    .header__mobile-menu-toggle {
        display: flex;
    }

    .language-switcher {
        flex: 0 0 auto;
        order: 3;
    }

    .header__nav {
        order: 4;
        flex: 1 1 auto;
        justify-content: flex-end;
        gap: 8px;
        max-width: 100%;
        width: 100%;
    }

    .button {
        flex: 1;
        padding: 6px 8px;
        font-size: .8rem
    }

    .language-toggle {
        padding: 6px 8px;
        font-size: .8rem;
        min-width: 60px
    }

    .language-dropdown-menu {
        min-width: 100px;
        right: 0
    }

    .language-option {
        padding: 6px 10px;
        font-size: .8rem
    }
}

@media (max-width:380px) {
    .header {
        padding: 8px 10px;
        min-height: 50px
    }

    .header__container {
        gap: 5px
    }

    .header__logo {
        font-size: 1rem;
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    .logo-icon {
        font-size: 1rem
    }


    .button {
        padding: 5px 6px
    }

    .language-toggle {
        padding: 5px 6px;
        font-size: .75rem;
        min-width: 50px
    }

    .language-dropdown-menu {
        min-width: 80px
    }

    .language-option {
        padding: 5px 8px;
        font-size: .75rem
    }
}

@media (max-width:320px) {
    .header {
        padding: 5px 8px;
        min-height: 45px
    }

    .header__container {
        gap: 3px
    }

    .header__logo {
        font-size: .9rem
    }

    .logo-icon {
        font-size: .9rem
    }


    .header__nav {
        max-width: 120px;
        gap: 4px
    }

    .button {
        padding: 4px 5px;
        border-radius: 4px
    }

    .language-toggle {
        padding: 4px 5px;
        font-size: .7rem;
        min-width: 45px
    }

    .language-dropdown-menu {
        min-width: 70px;
        right: -5px
    }

    .language-option {
        padding: 4px 6px;
        font-size: .7rem
    }
}

.main-content,
main {
    margin-top: 80px
}

@media (max-width:768px) {

    .main-content,
    main {
        margin-top: 70px
    }
}

@media (max-width:576px) {

    .main-content,
    main {
        margin-top: 60px
    }
}

@media (max-width:380px) {

    .main-content,
    main {
        margin-top: 50px
    }
}

@media (max-width:320px) {

    .main-content,
    main {
        margin-top: 45px
    }
}