@font-face {
    font-family: ActayWide;
    src: url(../fonts/ActayWide-Bold.woff2) format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: ActayWide;
    src: url(../fonts/Actay-Regular.woff2) format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: ActayWide;
    src: url(../fonts/ActayCondensed-Thin.woff2) format("woff2");
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Цвета */
    --background-color: #1e0342;
    --text-color: #ffffff;
    --accent-color: #46abf9;
    --dark-accent-color: #29104c;
    --light-accent-color: #b98cf4;
    --gradient-color: linear-gradient(90deg, #eb57ea 0%, #46abf9 100%);

    /* Размеры */
    --border-radius: 1.25rem; /* 20px */

    /* Отступы */
    --button-padding-horizontal: 1.875rem; /* 30px */
    --button-padding-vertical: 0.625rem; /* 10px */

    /* Типографика */
    --button-font-size: 1.125rem; /* 18px */
    --heading-font-size: 3rem; /* 48px */
    --body-font-size: 1.5rem; /* 24px */
    --link-font-size: 1.125rem; /* 18px */
    --small-text-size: 0.875rem; /* 14px */
    --input-text-size: 1.125rem; /* 18px */
}

@media screen and (395px < width <= 1050px) {
    body {
        overflow-x: hidden;
    }
    :root {
        --heading-font-size: calc(1.625rem + (1vw - 3.75px)); /* Плавное изменение */
        --body-font-size: calc(0.875rem + (1vw - 3.75px));
        --link-font-size: calc(0.875rem + (0.5vw - 1.875px));
        --small-text-size: calc(0.5625rem + (0.5vw - 1.875px));
        --input-text-size: calc(0.875rem + (0.5vw - 1.875px));
        --border-radius: 0.625rem; /* 10px */
        --button-font-size: 0.875rem; /* 14px */
    }
}

@media screen and (width <= 395px) {
    body {
        overflow-x: hidden;
    }
    :root {
        --heading-font-size: 1.625rem; /* 26px */
        --body-font-size: 0.875rem; /* 14px */
        --link-font-size: 0.875rem; /* 14px */
        --small-text-size: 0.5625rem; /* 9px */
        --border-radius: 0.625rem; /* 10px */
        --button-font-size: 0.875rem; /* 14px */
        --input-text-size: 0.875rem; /* 14px */
    }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: ActayWide;
}
button:focus {
    outline: none;
}
html {
    overflow-x: hidden;
}
body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: ActayWide, sans-serif;
    font-size: var(--body-font-size);
    font-weight: 400;
}
header{
    position: relative;
    z-index: 12;
}
h1 {
    font-size: var(--heading-font-size);
}
h2 {
    font-size: var(--body-font-size);
}

a {
    text-decoration: none;
    color: inherit;
}
button {
    border: none;
}
a:hover {
    cursor: pointer;
}

a:visited {
    color: var(--text-color);
}

a:focus {
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

input {
    background: var(--dark-accent-color);
    border-radius: 20px;
    outline: none;
    border: none;
    color: var(--text-color);
    padding-left: 20px;
    font-size: var(--input-text-size);
}
/* Убираем фон автозаполнения для input */
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px #1e0342 inset; /* Фон, совпадающий с вашим стилем */
    box-shadow: 0 0 0px 1000px #1e0342 inset;
    -webkit-text-fill-color: white; /* Цвет текста */
    transition: background-color 5000s ease-in-out 0s;
}

/* При фокусе для consistency */
input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px #1e0342 inset;
    box-shadow: 0 0 0px 1000px #1e0342 inset;
    -webkit-text-fill-color: white;
}
input:focus {
    border: none !important;
    background-clip: padding-box;
    box-shadow: 0 0 0 1px #eb57ea, 0 0 0 2px #46abf9;
}

/* Устанавливаем ширину скроллбара */
::-webkit-scrollbar {
    width: 5px; /* Для вертикального скролла */
    height: 5px; /* Для горизонтального скролла */
}

/* Фон скроллбара */
::-webkit-scrollbar-track {
    background: var(--background-color);
    border-radius: 6px; /* Закругление углов */
}

/* Ползунок скроллбара */
::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 10px; /* Закругление углов */
}

/* Ползунок при наведении */
::-webkit-scrollbar-thumb:hover {
    background: #2f8cd7; /* Более тёмный оттенок при наведении */
}
/* Ползунок при активном состоянии */
::-webkit-scrollbar-thumb:active {
    background: #eb57ea;
}

.hidden-mobile {
    display: block; /* Скрывает на мобильных */
}

.hidden-desktop {
    display: none; /* Скрывает на десктопах */
}

footer {
    margin-top: 150px;
    padding-bottom: 40px;
}

.footer__content {
    display: flex;
    justify-content: center;
}

.footer__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#footer-author {
    opacity: 0.5;
    font-size: var(--link-font-size);
}

.footer__nav-item {
    font-size: var(--link-font-size);
    transition: color 0.2s;
    line-height: 150%;
}
.footer__nav-item:focus,
.footer__nav-item:hover {
    color: var(--accent-color);
}

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

.footer__nav-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 60px;
}

.footer__nav-icons a {
    background: var(--dark-accent-color);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    filter: brightness(90%);
    transition: all ease 0.2s;
}

.footer__nav-icons a:hover,
.footer__nav-icons a:focus {
    background: linear-gradient(90deg, #eb57ea 0%, #46abf9 100%);
}

.footer__nav-icons .icons svg {
    width: 27px;
}

.footer__nav-icons .icons path {
    transition: all ease 0.2s;
}

.footer__nav-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 23px;
}

.logo-block {
    display: flex;
    gap: 20px;
    flex-direction: row;
    align-content: center;
    align-items: center;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hidden {
    visibility: hidden;
}
#author-text {
    flex-shrink: 0;
    font-size: 1.875rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    background: linear-gradient(90deg, #eb57ea 0%, #46abf9 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#slogan-text {
    color: #fff;
    font-size: 0.75rem;
}

.header__content .content__wrapper {
    height: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header__content {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    height: 105px;
}
.header__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header__nav-container {
    display: flex;
    gap: 20px;
    align-items: center;
}
.header__nav-container .nav-item {
    position: relative;
}
.lang__select-container {
    cursor: pointer;
    position: relative;
}
.lang__select-content {
    height: 50px;
    padding: 0 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    color: #fff;
    background: transparent;
    transition: color 0.1s, fill 0.2s;
}
#lang-dropdown {
    top: 30px;
}
#lang-dropdown .dropdown-menu-content {
    width: 6.5625rem;
}
.lang-item {
    display: flex;
    gap: 10px;
    font-size: var(--link-font-size);
    font-weight: 700;
    align-items: center;
}
.nav-link {
    position: relative;
    display: flex;
    gap: 10px;
    font-size: var(--link-font-size);
    font-weight: 700;
    transition: color 0.1s, fill 0.2s;
    align-items: center;
    z-index: 90;
}
.lang__select-container:hover .lang__select-content {
    cursor: pointer;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.lang__select-container:hover .lang__select-content svg path {
    fill: var(--accent-color);
}

.nav-link:focus,
.nav-link:hover {
    cursor: pointer;
    color: var(--accent-color);
}

.nav-link:focus svg path,
.nav-link:hover svg path {
    fill: var(--accent-color);
}

.dropdown-menu {
    z-index: 20;
    position: absolute;
    top: 0px;
    left: 0;
    padding-top: 40px;
    transform: translateY(-10px);
    transition: 0.3s transform ease, visibility 0.15s;
}
.dropdown-menu-content {
    display: flex;
    flex-direction: column;
    gap: 19px;
    max-width: 12.1875rem;
    width: 12.1875rem;
    height: auto;
    padding: var(--border-radius);
    font-weight: 700;
    background: var(--text-color);
    border-radius: var(--border-radius);
}
.dropdown-menu a:nth-child(n + 2) {
    padding-top: 16px;
    border-top: 1px solid #e4e5e6;
}
.dropdown-menu.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}
.nav-dropdown-toggle svg:last-child {
    transition: transform 0.3s ease;
}
.dropdown-menu a {
    font-size: 0.875rem;
    cursor: pointer;
    color: #1c1d14;
    font-weight: 700;
    transition: color 0.1s, font-weight 0.2s;
}
.dropdown-menu a:focus,
.dropdown-menu a:hover {
    font-weight: 700;
    color: var(--accent-color);
}
.lang__select-containter {
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    height: 50px;
    display: flex;
    align-items: center;
    padding: 0 var(--border-radius);
}

.header__separator {
    opacity: 0.15;
    font-size: 0.75rem;
    color: #fff;
    height: 20px;
    width: 1px;
    transform: rotate(35deg);
}
span.rainbow,
a.rainbow {
    background: linear-gradient(90deg, #eb57ea 0%, #46abf9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
}
.header__auth {
    font-size: var(--link-font-size);
    font-weight: 700;
    align-items: center;
    display: flex;
    flex-direction: row;
    gap: 15px;
    transition: color 0.2s;
}

.header__auth a:hover {
    color: var(--accent-color);
}
.logout__wrapper{
    display: flex;
    gap: 4px;
    align-items: center;
}
.user-info__logout.rainbow:focus,
.user-info__logout.rainbow:hover,
.header__auth a.rainbow:hover {
    background-clip: border-box;
    -webkit-background-clip: border-box;
    -webkit-text-fill-color: var(--accent-color);
    color: var(--accent-color);
    background: none;
}

.header__user {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}
.offer img.bg {
    width: 90%;
    height: auto;
}
.header__user-name {
    color: var(--text-color);
    text-align: right;
    font-size: var(--link-font-size);
    font-weight: 700;
    transition: color 0.2s;
    letter-spacing: 0.18px;
}
.header__user-name:focus,
.header__user-name:hover {
    color: var(--accent-color);
}
.header__user-plan{
    display: flex;
    max-width: 85px;
    height: 27px;
    justify-content: center;
    align-items: center;
    border-radius: var(--border-radius);
    background: var(--gradient-color);
    box-shadow: 0px 0px 40px 0px rgba(70, 171, 249, 0.25);
    padding: 6px 12px;
    color: var(--text-color);
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0.18px;
    transition: box-shadow 0.3s, transform 0.3s;
}
.header__user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}
.user-info__logout,
.user-info__text {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-color);
    font-size: var(--small-text-size);
    font-weight: 700;
    line-height: 150%; /* 21px */
    letter-spacing: 0.14px;
}

.content__wrapper {
    max-width: 1290px;
    width: 100%;
    position: relative;
    margin: 0 1.25rem;
}

.logo-icon img {
    display: block;
    max-width: 80px;
    height: auto;
}

.gradient__border::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-color);
    border-radius: var(--border-radius);
    padding: 2px; /* Ширина градиентной границы */
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); /* Маска для создания рамки */
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    z-index: -1; /* Градиент под содержимым */
    opacity: 0; /* Градиент невидим изначально */

}
.gradient__border:hover::before {
    opacity: 1; /* Градиент появляется при наведении */
}
.gradient__border:focus::before {
    opacity: 1; /* Градиент появляется при наведении */
}
.footer__adaptive__nav {
    flex-direction: column;
    text-align: center;
    gap: var(--border-radius);
    margin-bottom: 23px;
}

.form__block-input {
    display: flex;
    flex-direction: column;
    gap: 7px;
}
label {
    color: var(--text-color);
    font-size: var(--small-text-size);
    line-height: 100%; /* 14px */
    letter-spacing: 0.14px;
    white-space: nowrap;
}
.form__block-input span {
    margin-left: 0.3125rem;
}
.form__block-input input {
    width: 100%;
    height: 60px;
}
.form__block-input.error input {
    border: 1px solid #ff0000;
}

.form_input_choser_container {
    display: flex;
    gap: 20px;
}

.form_input_choser {
    display: flex;
    align-items: center;
    border-radius: 20px;
    height: 60px;
    font-size: var(--input-text-size);
    font-weight: 400;
    color: var(--text-color);
    padding: 20px;
    background: var(--dark-accent-color);
    cursor: pointer;
    text-align: center;
    user-select: none;
}

.form_input_choser.active {
    background-color: var(--accent-color);
}
.input__icon-container {
    position: relative;
    display: flex;
    align-items: center;
}
.input__icon-container input {
    padding-right: 40px;
}
.input__icon {
    cursor: pointer;
    position: absolute;
    right: 20px;
}
.error-message {
    font-size: 0.75rem;
    color: #ff00008c;
    display: none;
    margin-top: 5px;
}
.header__funcs {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 65px;
}

.burger {
    overflow-y: scroll;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    z-index: 100;
    background: rgba(0, 0, 0, 0.3); /* Небольшое затемнение */
    padding: 45px 15px 50px;
    transform: translateX(0);
    transition: 0.3s all ease;
    visibility: hidden;
    pointer-events: none;

}
.burger::-webkit-scrollbar {
    display: none;
}

/* Скрыть полосу прокрутки для Firefox */
.burger {
    scrollbar-width: none; /* Firefox */
}
.burger.active {
    display: flex !important;
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}
#close-icon {
    width: 40px;
    height: 48px;
}
.burger_head {
    display: flex;
    align-items: center;
    padding-bottom: 23px;
    height: 40px;
    width: 100%;
    justify-content: flex-end;
}
.burger .links {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
}
.burger .links a {
    font-size: 16px;
    font-weight: bold;
    padding: 22px 0;
    width: 100%;
    border-radius: 20px;
    font-weight: bold;
    height: 60px;
    text-align: center;
    background: linear-gradient(90deg, #eb57ea 0%, #46abf9 100%);

}
.burger .links a.active {
    font-weight: 700;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0.01em;
    background: linear-gradient(90deg, #eb57ea 0%, #46abf9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}
.burger .lang__select-content{
   height: 60px;
}
.burger  .lang-item{
    font-size: 18px;
}
.burger .dropdown-menu-content{
    width: 100% !important;
    border: 1px solid var(--accent-color);
    max-width: 100% !important ;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(60px);
    -webkit-backdrop-filter: blur(24px);

}
.burger .dropdown-menu{
    width: 100%;
}
.burger .dropdown-menu-content a{
    color: #fff;
    font-size: 16px;
}
.burger_line {
    margin: 0 10px;
    opacity: 0.15;
    color: #fff;
    height: 20px;
    width: 1px;
    transform: rotate(35deg);
}
.burger_links {
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.2);
    padding: 16px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 17px;
}
.burger_links .link_head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: bold;
}
.burger_links .link_head.active {
    color: var(--accent-color);
}
.link_head.active svg path {
    fill: var(--accent-color);
}
.link_head.active .toggle__icon {
    transition: all 0.2s;
    transform: rotate(0deg) !important;
}
.burger_links .link_body {
    margin-left: 30px;
    margin-top: 20px;
    display: none;
    flex-direction: column;
    gap: 19px;
}
.link_body.active {
    display: flex;
}
.burger_links .link_body a {
    font-size: 14px;
    font-weight: bold;
}
.burger_links .link_body a:focus,
.burger_links .link_body a:active,
.burger_links .link_body a:hover {
    color: var(--accent-color);
}
.burger_links .burger_item:not(:last-child) {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.burger__icon {
    width: 40px;
    margin-right: -5px;
}

.horo__popup-text {
    color: var(--text-color);
    font-size: 18px;
    margin-bottom: 20px;
}
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);;
}

.breadcrumb-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s;
}

.breadcrumb-link:hover,
.breadcrumb-link:focus {
    color: var(--light-accent-color);
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.3);
}

.breadcrumb-current {
    color: rgba(255, 255, 255, 0.9);;
    font-weight: 700;
}
.under-development__popup-text p{
    font-size: 14px;
    color: var(--text-color);
}
.back__button-title{
    font-size: 48px;
    font-weight: bold;
}
.burger_lang_section{
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    flex-direction: column;
}
.page-title__text{
    font-weight: bold;
    font-size: 48px;
    
}
.general__horotext_wrapper{
    margin-top: 32px;
    border-radius: 40px;
    gap: 40px;
    display: flex;
    flex-direction: column;
    padding: 40px;
    background: rgb(255, 255, 255, 0.05);
    border: 2px solid rgb(255, 255, 255, 0.2)
}
.general__horotext_title p{
    font-weight: bold;
    font-size: 32px;
    line-height: 1.3;
    color: #fff;
}
.general__horoorder_text,
.general__horotext_text p{
    font-size: 18px;
    color: #fff;
}
.general__horoorder_wrapper{
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero__button{
    max-width: 435px !important;
}
.tariffs__wrapper{
    display: flex;
    gap: 8px;
    align-items: center;
}
.tariffs__wrapper p{
    color: #EB57EA;
    font-size: 18px;
}
.header__user-profile{
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}
@media screen and (width <= 1050px) {
    .breadcrumbs {
        font-size: var(--link-font-size);
        flex-wrap: wrap;
        gap: 5px;
    }

    .breadcrumb-link {
        font-size: var(--link-font-size);
    }
}
@media screen and (width <= 1050px) {
    .dropdown-menu {
        width: 150px;
        gap: 10px;
    }
    .header__content {
        height: 70px;
    }
    .header__content #author-text {
        font-size: var(--link-font-size);
    }
    .header__content .content__wrapper {
        border-bottom: none;
    }
    .header__content #slogan-text {
        font-size: 0.345rem;
    }
    .burger {
        display: flex;
        flex-direction: column;
    }
    .header__funcs {
        gap: 6vw;
    }
    .lang__select-content {
        height: 40px;
        padding: 15px;
    }
}
@media screen and (1050px < width <= 1400px) {
    .header__funcs {
        gap: 15px;
    }
}
@media screen and (width <= 1050px) {
    footer {
        margin-top: 56px;
        padding-bottom: 23px;
    }

    .footer__nav {
        flex-direction: column-reverse;
        gap: 27px;
    }

    .logo-block img {
        width: 50px;
        height: 100%;
    }

    #author-text {
        font-size: var(--heading-font-size);
    }

    #slogan-text {
        font-size: var(--small-text-size);
    }

    .footer__nav-logo {
        align-items: center;
    }
    .logo-block {
        gap: 13px;
    }
    .form__block-input input {
        height: clamp(40px, 40px, 60px);
    }
    .form_input_choser {
        height: clamp(40px, 40px, 60px);
    }
    #lang-dropdown {
        top: 40px;
    }
    .general__horoorder_text,
    .general__horotext_text p{
        font-size: 16px;
        opacity: 0.7;
        color: #fff;
    }
    .general__horoorder_text{
        text-align: center;
    }
    .general__horotext_wrapper{
        margin-top: 32px;
        border-radius: 40px;
        gap: 40px;
        display: flex;
        flex-direction: column;
        padding: 25px;
        background: rgb(255, 255, 255, 0.05);
        border: 2px solid rgb(255, 255, 255, 0.2)
    }
    .general__horotext_title p{
        font-weight: bold;
        font-size: 28px;
        color: #fff;
    }
    .hero__button{
        font-size: 12px !important;
    }
    .general__wrapper{
        margin-top: -95px;
    }

} 

/* Медиазапросы */
@media screen and (width <= 1050px) {
    .hidden-mobile {
        display: none; /* Показывает на десктопах */
    }

    .hidden-desktop {
        display: flex; /* Скрывает на десктопах */
    }
}
