@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

body {
    background: #161617;
    padding-bottom: 160px;
    position: relative;
    min-height: calc(100vh - 23px);
    height: 100%;
}
.line-bg {
    position: absolute;
    bottom: 0;
    left: 0;
}
.figure-bg {
    position: absolute;
    right: 10px;
    top: calc(50% - 200px);
}
.green-star-bg {
    position: absolute;
    right: 20%;
    top: 20%;
}
.yellow-star-bg {
    position: absolute;
    left: 10%;
    top: 30%;
}
.red-flower-bg {
    position: absolute;
    right: 15%;
    bottom: 20%;
}

.header {
    margin: 23px auto;
    max-width: 1144px;
    width: 100%;
}

.head-progress-wrapper {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    margin: 0 auto;
}
.head-progress {
    width: 100%;
    background: #1C1C1C;
    height: 8px;
    border-radius: 10px;
}
.head-progress-line {
    background: #FF9AE2;
    height: 100%;
    width: 5%;
    border-radius: 10px;
    transition: all .30s;
}
.head-back-btn {
    height: 40px;
    width: 40px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: #1C1C1C;
    cursor: pointer;
    display: none;
}



.quiz {
    margin-top: 48px;
}

.quiz-items-wrapper {
    max-width: 590px;
    width: 100%;
    margin: 0 auto;
}

.quiz-item {
    text-align: center;
    display: none;
    position: relative;
}

.first-step {
    display: block;
}

.question-title {
    font-size: 32px;
    color: #fff;
    font-weight: 600;
}

.quiz-item-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    margin-top: 8px;
}

.search-field {
    position: relative;
    margin-top: 32px;
    margin-bottom: 20px;
}
.search-field input {
    display: block;
    width: 100%;
    font-family: inherit;
    font-size: 16px;
    padding: 14px 16px 14px 44px;
    border-radius: 40px;
    color: rgba(255, 255, 255, 0.6);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.search-field svg {
    position: absolute;
    top: 15px;
    left: 14px;
}


.lang-item {
    opacity: 1;
    transform: translateY(0);
    height: auto;
    transition: opacity 0.25s ease, transform 0.25s ease, height 0.25s ease;
    position: relative !important;
}

.lang-item.hidden {
    opacity: 0;
    transform: translateY(5px);
    height: 0;
    overflow: hidden;
    position: absolute !important;
}

#languagesList {
    max-height: 547px;
    overflow: auto;
}
/* Контейнер, де прокрутка */
 #languagesList {
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #444 transparent;
}

/* Chrome, Edge, Safari */
#languagesList::-webkit-scrollbar {
    width: 6px;
}

#languagesList::-webkit-scrollbar-track {
    background: transparent;
}

#languagesList::-webkit-scrollbar-thumb {
    background-color: #444;
    border-radius: 10px;
    transition: background-color 0.2s ease;
}

#languagesList::-webkit-scrollbar-thumb:hover {
    background-color: #666;
}


.answers-wrapper {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.answers-wrapper .item {
    position: relative;
    flex: 1 1 30%;
    background: #1C1C1C;
    border-radius: 12px;
    border: 2px solid #1C1C1C;
    padding: 24px;
    cursor: pointer;
    transition: all .30s;
    max-width: 184px;
}
.answers-wrapper .item input {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    width: 0;
    height: 0;
}
.answers-wrapper .item img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 20px
}
.answers-wrapper .item p {
    margin-top: 16px;
    color: #fff;
}

.answers-wrapper .item.active {
    border: 2px solid #A6FE5A;
}

.answers-wrapper .item.active p {
    color: #A6FE5A;
}

.buttons-wrapper {
    position: fixed;
    bottom: 15px;
    left: 50%;
    width: 100%;
    transform: translateX(-50%);
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    gap: 12px;
}
.buttons-wrapper .next-step, .send-email {
    color: #111111;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 16px;
    background: #fff; 
    border-radius: 40px;
    padding: 16px;
    max-width: 220px;
    width: 100%;
    font-weight: 600;
}
.buttons-wrapper .skip-step {
    color: rgba(255, 255, 255, 0.7);
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 16px;
    background: #1C1C1C; 
    border-radius: 40px;
    padding: 14px;
    max-width: 220px;
    width: 100%;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.buttons-wrapper .next-step:disabled, .send-email:disabled {
    background: #1C1C1C;
    color: rgba(255, 255, 255, 0.4);
}

.regular-answers {
    margin-top: 32px;
}
.four-in-line .item {
    flex: 1 1 20%;
    padding: 12px;
}
.two-in-line .item {
    flex: 1 1 45%;
    max-width: 100%;
}
.img-question {
    margin-top: 32px;
}
.img-question img {
    max-width: 375px;
    width: 100%;
    height: auto;
} 
.words-list {
    gap: 8px; 
}
.words-list .item {
    padding: 10px 16px;
    max-width: 100%;
    flex: 0 1 auto;
    border: none;
} 
.words-list .item p {
    margin-top: 0;
}
.yellow-active .item.active {
    background: #FEE300; 
    border: none; 
}
.yellow-active .item.active p {
    color: #111;
}
.green-active .item.active {
    background: #A6FE5A; 
    border: none; 
}
.green-active .item.active p {
    color: #111;
}
.pink-active .item.active {
    background: #FF9AE2; 
    border: none; 
}
.pink-active .item.active p {
    color: #111;
}
.interests-list {
    gap: 8px; 
    max-width: 386px;
    margin: 32px auto 0;
}
.interests-list .item {
    padding: 8px;
    max-width: 100%;
    flex: 0 1 auto;
    border: none;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    gap: 8px;
    align-items: center; 
    border-radius: 20px;
}
.interests-list .item p {
    margin-top: 0;
}
.interests-list .item img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.blue-active .item.active {
    background: #01DBEE; 
    border: none; 
}
.blue-active .item.active p {
    color: #111;
}

.audio-test {
    max-width: 260px;
    margin: 32px auto 0;
    gap: 8px; 
}
.audio-test .item {
    padding: 4px;
    flex: 1 1 45%;
}
.audio-test .item img {
    width: 100%;
    height: 100%; 
    border-radius: 8px; 
}

.audio-buttons {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    margin-bottom: 32px;
} 
.audio-buttons .play {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background: #363636;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    align-items: center;
}
.audio-help {
    text-align: center;
    color: #FBFBFB;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    margin-top: 16px;
    transition: all .30s;
}
.audio-help.active {
    visibility: visible;
    opacity: 1;
    transition: all .30s;
}
.cant-listen {
    border-radius: 8px;
    background: #363636;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FBFBFB;
    height: 40px;
    padding: 12px;
    cursor: pointer;
}
#quizAudio {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.timer {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    gap: 8px;
    align-items: center;
    display: none;
}
.timer-items {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    align-items: center;
    color: #F7580E;
    font-weight: 500;
}
.timer .icon {
    height: 40px;
    width: 40px;
    background: #1C1C1C;
    border-radius: 50%;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    align-items: center;
}
.timer-words-list .word {
    cursor: pointer;
    transition: 0.2s ease;
}


.select-words-timer {
    max-width: 264px;
    margin: 32px auto 0; 
}
.select-words-timer .words-count {
    color: #F7580E;
    font-weight: bold;
    font-size: 72px; 
}
.select-words-timer .current-word {
    width: 100%;
    background: #FBFBFB;
    font-weight: 500;
    font-size: 24px;
    color: #111;
    padding: 12px;
    border-radius: 8px; 
}
.select-words-timer .timer-words-list {
    margin-top: 24px;
}
.select-words-timer .timer-words-list .word {
    width: 100%;
    background: #1C1C1C;
    font-weight: 500;
    font-size: 24px;
    color: #FBFBFB;
    padding: 10px;
    border-radius: 8px; 
    margin-bottom: 8px; 
    transition: all .30s;
    border: 2px solid #1C1C1C;
}

/*.select-words-timer .timer-words-list .word.active {
    border: 2px solid #A6FE5A;
    transition: all .30s;
}
.select-words-timer .timer-words-list .word.error {
    border: 2px solid red;
    transition: all .30s;
}
*/

.audio-test .item.true {
    border: 2px solid #A6FE5A;
}
.audio-test .item.false {
    border: 2px solid red;
}


.word-game {
    text-align: center;
    margin-top: 40px;
}

.target-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.cell {
    width: 60px;
    height: 60px;
    background: #222;
    border-radius: 10px;
    border: 3px solid transparent;
}

.cell.filled {
    background: #444;
}

.cell.correct {
    border-color: #A6FE5A; 
}
.cell.wrong {
    border-color: #EF1B2D; 
}

.letters-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    max-width: 300px;
    margin: 0 auto;
}

.letter {
    width: 54px;
    height: 54px;
    background: #FEE300;
    border-radius: 8px;
    font-size: 32px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
}

.letter.dragging {
    opacity: 0.5;
}

.text-question-wrapper {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    gap: 8px;
    align-items: center;
    max-width: 354px;
    width: 100%;
    margin: 32px auto 0; 
    justify-content: center;
    color: #FBFBFB;
    border-radius: 8px;
    border: 2px solid #1C1C1C; 
    padding: 16px;
    font-size: 20px;
    font-weight: 500;
}
.text-btns-answers {
    flex-direction: column;
    max-width: 354px;
    margin: 32px auto 0px;
    gap: 8px; 
}
.text-btns-answers .item {
    flex: 1 1 100%;
    padding: 16px 12px;  
    max-width: 100%;
}
.text-btns-answers .item p {
    margin-top: 0; 
}

.text-btns-answers .item.true { 
    color: #A6FE5A; 
    border: 2px solid #A6FE5A;
}
.text-btns-answers .item.false {
    color: #EF1B2D; 
    border: 2px solid #EF1B2D;
}


.loader-box {
    position: relative;
    height: 200px;
    width: 200px;
    margin: 24px auto;
}

.loader-box img {
    animation: rotateClockwise 5s linear infinite;
    height: 200px;
    width: 200px;
}

@keyframes rotateClockwise {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.loading-text {
    color: #fff;
    font-weight: 500;
    font-size: 42px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    height: 42px;
}

.check-list ul li {
    list-style: none;
    position: relative;
    color: #fff;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 16px;
    padding-left: 34px;
}
.check-list ul li:before {
    content: '';
    position: absolute;
    background: url(icon-check.svg) center / cover no-repeat;
    height: 24px;
    width: 24px;
    left: 0;
    top: 0;
}


.email-wrapper {
    margin-top: 32px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
}
.email-wrapper input {
    max-width: 386px;
    width: 100%;
    display: block;
    padding: 18px 16px;
    font-family: inherit;
    font-size: 16px;
    outline: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 28px;
    color: #fff;
    background: transparent;
}
.email-input.valid { border: 2px solid #00c853; }
.email-input.invalid { border: 2px solid #ff5252; }


/*
.outlined-number {
    font-size: 120px; 
    font-weight: 900;
    color: #ffe600;  
    text-shadow: 
        3px 3px 0 #ff6700,
        -3px 3px 0 #ff6700,
        3px -3px 0 #ff6700,
        -3px -3px 0 #ff6700,
        0 3px 0 #ff6700,
        3px 0px 0 #ff6700,
        0 -3px 0 #ff6700,
        -3px 0px 0 #ff6700;
}
*/




.check-list {
    max-width: 400px;
    margin: 0 auto;
    text-align: left;
}

.check-list ul {}

.check-list ul li {
    list-style: none;
    position: relative;
    color: #fff;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 16px;
    padding-left: 34px;
}

.check-list ul li:before {
    content: '';
    position: absolute;
    background: url(icon-check.svg) center/cover no-repeat;
    height: 24px;
    width: 24px;
    left: 0;
    top: 0;
}



.h-sub {
    font-size: 20px;
    color: #fff;
    font-weight: 500;
}

.user-name-wrapper {
    max-width: 400px;
    margin: 24px auto;
}

.user-name-wrapper input {
    width: 100%;
    background: #202021;
    border: 1px solid #393939;
    outline: none;
    border-radius: 12px;
    padding: 12px;
    font-family: inherit;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
}

.check-name:disabled {
    background: #585858 !important;
    color: #818181;
    border: 2px solid #585858 !important;
    cursor: not-allowed;
}

.user-data-wrapper {
    max-width: 400px;
    margin: 24px auto;
}
.user-data-wrapper h3 {
    text-align: center;
    color: #fff;
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: normal;
}

/*******************************/

/*******************************/

.logading-box {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00000069;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: all .30s;
    z-index: 9999;
}

.loading-box__wrapper {
    height: 100px;
    width: 100px;
}

.loading-box__wrapper svg {
    width: 100%;
    height: 100%;
}

.logading-box__active {
    visibility: visible;
    opacity: 1;
    transition: all .30s;
}

.loader-box {
    position: relative;
    height: 200px;
    width: 200px;
    margin: 24px auto;
}

