@import url('https://fonts.googleapis.com/css2?family=Encode+Sans+SC&family=Ruda:wght@400;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Encode+Sans+SC:wght@900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.font1 {
    font-family: 'Ruda', sans-serif;
    font-size: 24px;
    font-weight: 900;
    line-height: 24px;
    text-align: center;
}
.font2 {
    font-family: 'Ruda', sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 18px;

}
.font3 {
    font-family: 'Encode Sans SC', sans-serif;
    font-size: 23px;
    font-weight: 900;
    line-height: 23px;
    color: rgba(255, 255, 255, 1);
    text-align: center;
    letter-spacing: 0.08em;
}
.font4{
    font-family: 'Ruda', sans-serif;
    font-size: 18px;
    font-weight: 900;
    line-height: 18px;
    text-align: center;
}
.font5 {
    font-family: 'Encode Sans SC', sans-serif;
    font-size: 20px;
    font-weight: 900;
    line-height: 23px;
    color: rgba(255, 255, 255, 1);
    text-align: center;

}
body {
    background: #C1272D;
    background-image: 
        radial-gradient(circle at 30% 40%, rgba(0, 98, 51, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(0, 98, 51, 0.06) 0%, transparent 50%);
    direction: rtl;
    position: relative;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background-image: 
        linear-gradient(135deg, transparent 30%, rgba(0, 98, 51, 0.1) 30%, rgba(0, 98, 51, 0.1) 35%, transparent 35%),
        linear-gradient(225deg, transparent 30%, rgba(0, 98, 51, 0.1) 30%, rgba(0, 98, 51, 0.1) 35%, transparent 35%),
        linear-gradient(45deg, transparent 65%, rgba(0, 98, 51, 0.1) 65%, rgba(0, 98, 51, 0.1) 70%, transparent 70%),
        linear-gradient(315deg, transparent 65%, rgba(0, 98, 51, 0.1) 65%, rgba(0, 98, 51, 0.1) 70%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    opacity: 0.3;
}
.container {
    z-index: 3;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;

}
.container__img {
    margin: 0 auto;
    align-items: center;
    height: 300px;
    display: flex;
}
.container__quiz {
    padding: 21px 0 41px;
    display: flex;
    flex-direction: column;
    background: rgba(241, 241, 241, 1);
    width: 100%;
    box-shadow: 0px 0px 4px 3px rgba(0, 0, 0, 0.51);
}
.container__quiz__title {
    text-align: center;
    padding: 10px 30px;
}
.container__quiz__title2 {
    text-align: center;
    padding: 14px 30px 0;
}
.container__quiz__ul {
    display: flex;
    flex-direction: column;
    padding: 5px 30px 0;
    gap: 13px ;
}
.container__quiz__li {
    display: flex;
    flex-direction: row-reverse;
    padding: 10px;
    gap: 10px;
    border-radius: 24px;
    background: rgba(217, 217, 217, 1);
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.container__quiz__li:hover {
    background: rgba(200, 200, 200, 1);
}

.container__quiz__li.active {
    background: rgba(200, 230, 210, 1);
}


.container__quiz__button{
    margin: 12px auto 0;
    background: linear-gradient(0deg, #20A73E, #20A73E), linear-gradient(0deg, #F7F6F4, #F7F6F4);
    width: 260px;
    height: 71px;
    border-radius: 14px;
    box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.31);
    border: 2px solid rgba(247, 246, 244, 1);
    cursor: pointer;
    transition: all 0.2s;
}
.container__quiz__button:hover:not(.disabled) {
    opacity: 0.9;
    transform: scale(1.02);
}
.container__quiz__button.disabled {
    background: linear-gradient(0deg, #48e66b, #4fe371), linear-gradient(0deg, #F7F6F4, #F7F6F4);
    cursor: not-allowed;
    opacity: 0.6;
}

.container__quiz__a{
    margin: 15px auto 0;
    text-decoration: none;
}
.container__quiz__button2{
    background: linear-gradient(0deg, #2481CC, #2481CC),
    linear-gradient(0deg, #F7F6F4, #F7F6F4);
    width: 260px;
    height: 71px;
    border-radius: 14px;
    box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.31);
    border: 2px solid rgba(247, 246, 244, 1);
    cursor: pointer;
    transition: all 0.2s;
}
.container__quiz__button2:hover {
    opacity: 0.9;
    transform: scale(1.02);
}
.container__quiz__button3{

    background: linear-gradient(0deg, #7A7A7A, #7A7A7A),
    linear-gradient(0deg, #F7F6F4, #F7F6F4);
    width: 260px;
    height: 71px;
    border-radius: 14px;
    box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.31);
    border: 2px solid rgba(247, 246, 244, 1);
    cursor: pointer;
    transition: all 0.2s;
}
.container__quiz__button3:hover {
    opacity: 0.9;
    transform: scale(1.02);
}
li {
    list-style-type: none;
}


.progress {
    width: 296px;
    height: 26px;
    margin: 40px auto 0;
    border-radius: 35px;
    background: rgba(217, 217, 217, 1);
}

.progress__inner {
    height: 100%;
    border-radius: 35px;
    width: 80%;
    transition: all 0.3s ease-in-out;
    background: rgba(69, 69, 69, 1);
}

.progress:before,
.progress:after {
    content: '';
    display: block;
    height: 50px;
    border-bottom-left-radius: 35px;
    border-bottom-right-radius: 35px;
    position: absolute;
    left: 50%;
    right: 50%;
    transform: translateX(-50%);
}

.img3{
    margin-right: -10px;
    margin-left: 0;
    margin-top: 10px;
}
.img1{
    height: 330px;
}
.img2{
    height: 300px;
}
.container__quiz__telegram{
    margin: 20px auto 0;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
}
.container__quiz__telegram_h2{
    margin-top: 5px;
}

.final-page {
    min-height: 100vh;
    justify-content: flex-start;
    padding-top: 20px;
}

.final-page__photo-container {
    width: 100%;
    max-width: 400px;
    height: 250px;
    border-radius: 20px;
    margin: 0 auto 20px;
    padding: 0 20px;
    overflow: hidden;
    position: relative;
}

.final-page__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.container__quiz__button2 {
    background: linear-gradient(135deg, #009C3B 0%, #007A30 50%, #005823 100%);
    width: 280px;
    height: 75px;
    border-radius: 18px;
    box-shadow: 0 4px 15px rgba(0, 156, 59, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.container__quiz__button2::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.container__quiz__button2:hover::before {
    left: 100%;
}

.container__quiz__button2:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 156, 59, 0.5);
}

.container__quiz__button {
    background: linear-gradient(135deg, #CE1126 0%, #A00E1F 50%, #7A0817 100%);
    width: 280px;
    height: 75px;
    border-radius: 18px;
    box-shadow: 0 4px 15px rgba(206, 17, 38, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.container__quiz__button:hover:not(.disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(206, 17, 38, 0.5);
}

.container__quiz__li {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.container__quiz__li:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-color: #009C3B;
    transform: translateX(-5px);
}

.container__quiz__li.active {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-color: #009C3B;
    transform: translateX(-5px);
}

.progress {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border: 2px solid #009C3B;
}

.progress__inner {
    background: linear-gradient(135deg, #009C3B 0%, #007A30 100%);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}



