@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body{
    color:#fff;
    background: black;
    overflow-y: scroll;
    overflow-x: hidden;
}

.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 5%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
}

.navbar{
    transform: translate(0px, 5px);
}

.logo img{
    transform: translate(-5px,8px);
    max-width: 60px;
    max-height: 60px;
    width: auto;
    height: auto;
}

.logo a{
    font-size: clamp(16px, 2.5vw, 20px);
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    text-shadow: 0 0 10px #09001d;
}

.navbar a{
    font-size: clamp(14px, 2vw, 20px);
    color:#fff;
    text-decoration: none;
    font-weight: 500;
    margin-left: clamp(15px, 3vw, 35px);
    transition: .3s;
}

.navbar a:hover, .navbar a.active{
    color:#8c00ff;
}

.main{
    min-height: 100vh;
    background: #09001d;
    background-size: cover;
    background-position: center;
    transition: .3s ease;
    pointer-events: auto;
}

.main.active{
    filter: blur(15px);
    pointer-events: none;
}

.container{
    display: flex;
    height: 100vh;
    width: 200%;
}

.home{
    position: relative;
    left: -50%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.home-content{
    max-width: min(90vw, 600px);
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.home-content h1{
    font-size: clamp(32px, 6vw, 50px);
    font-weight: 700;
    text-align: center;
    text-shadow: 0 0 10px rgba(0, 0, 0, .3);
    color: #9c22ff;
    margin-bottom: 20px;
}

.home-content p{
    font-size: clamp(16px, 2.5vw, 20px);
    text-align: center;
    text-shadow: 0 0 10px rgba(0, 0, 0, .3);
    margin-bottom: 30px;
    line-height: 1.5;
}

.home-content .start-btn{
    width: clamp(160px, 25vw, 190px);
    height: clamp(45px, 7vh, 55px);
    background:#8c00ff;
    border: 2px solid #fff;
    outline: none;
    border-radius: 6px;
    box-shadow: 0 0 10px #8c00ff;
    font-size: clamp(14px, 2.2vw, 18px);
    color:#fff;
    letter-spacing: 1px;
    font-weight: 600;
    cursor: pointer;
    transition: .5s;
}

.home-content .start-btn:hover{
    background: #09001d;
    box-shadow: none;
}

.popup-info{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: min(90vw, 500px);
    max-width: 500px;
    background: #fff;
    border-radius: 6px;
    padding: 20px 25px;
    opacity: 0;
    pointer-events: none;
    transition: .3s ease;
}

.popup-info.active{
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.popup-info h2{
    font-size: clamp(32px, 6vw, 50px);
    color: #8c00ff;
    margin-bottom: 15px;
}

.popup-info .info{
    display: inline-block;
    font-size: clamp(14px, 2vw, 16px);
    color: #333;
    font-weight: 500;
    margin: 4px 0;
    line-height: 1.4;
}

.popup-info .btn-group{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #999;
    margin-top: 15px;
    padding: 15px 0 7px;
    gap: 10px;
}

.popup-info .btn-group .info-btn{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: clamp(110px, 20vw, 130px);
    height: clamp(40px, 6vh, 45px);
    background: #8c00ff;
    border: 2px solid;
    outline: none;
    border-radius: 6px;
    text-decoration: none;
    font-size: clamp(14px, 2vw, 16px);
    color: #fff;
    font-weight: 600;
    box-shadow:0 0 10px rgba(0, 0, 0, .1);
    cursor: pointer;
    transition: .5s;
}

.popup-info .btn-group .info-btn:nth-child(1){
    background: transparent;
    color: #8c00ff;
}
.popup-info .btn-group .info-btn:nth-child(1):hover{
    background: #8c00ff;
    color: #fff;
}

.popup-info .btn-group .info-btn:nth-child(2):hover{
    background: #55009b;
    color: #fff;
}

.quiz-section{
    position: relative;
    opacity: 0;
    left:-50%;
    width: 100%;
    background: #09001d;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .8s ease-in-out;
    transition-delay: .25s;
    z-index: 100;
    padding: 20px;
}

.quiz-section.active{
    left: 0;
    opacity: 1;
}

.quiz-section .quiz-box{
    position: relative;
    width: min(95vw, 800px);
    max-width: 800px;
    background: transparent;
    border: 2px solid #8c00ff;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    padding: clamp(15px, 3vw, 30px);
    opacity: 0;
    pointer-events: none;
    transform: scale(0.9);
    transition: .3s ease;
    transition-delay: 0s;
}

.quiz-section .quiz-box.active{
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
    transition: 1s ease;
    transition-delay: 1s;
}

.quiz-box h1{
    font-size: clamp(24px, 4vw, 32px);
    text-align: center;
    background: linear-gradient(45deg, transparent, #8c00ff, transparent);
    border-radius: 6px;
    padding: 10px;
}

.quiz-box .quiz-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 2px solid #8c00ff;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.quiz-header span{
    font-size: clamp(14px, 2.2vw, 18px);
    font-weight: 500;
}

.quiz-box .question-text{
    font-size: clamp(18px, 3vw, 24px);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 20px;
}

.option-list .option{
    width: 100%;
    padding: clamp(10px, 2vw, 12px);
    background: transparent;
    border: 2px solid rgba(255, 255, 255, .2);
    border-radius: 3px;
    font-size: clamp(14px, 2.2vw, 17px);
    margin: 15px 0;
    cursor: pointer;
    transition: .3s;
    line-height: 1.3;
}

.option-list .option:hover{
    background: rgba(255, 255, 255, .2);
    background-color: rgba(255, 255, 255, .2);
}

.option-list .option.selected{
    background: rgba(255, 255, 255, .2);
    background-color: rgba(255, 255, 255, .2);
}

.option-list .option.disabled{
    pointer-events: none;
}

.quiz-box .quiz-footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 2px solid #8c00ff;
    padding-top: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.quiz-footer .question-total{
    font-size: clamp(14px, 2vw, 16px);
    font-weight: 600;
}

.quiz-footer .next-btn{
    width: clamp(80px, 15vw, 100px);
    height: clamp(40px, 6vh, 45px);
    background: rgba(255, 255, 255, .1);
    border: 2px solid rgba(255, 255, 255, .1);
    outline: none;
    border-radius: 6px;
    font-size: clamp(14px, 2vw, 16px);
    color: rgba(255, 255, 255, .3);
    font-weight: 600;
    cursor: pointer;
    pointer-events: none;
    transition: .5s;
}

.quiz-footer .next-btn:hover{
    background: #55009b;
    border-color: #55009b;
}

.quiz-footer .next-btn.active{
    pointer-events: auto;
    background: #8c00ff;
    border-color: #8c00ff;
    color: #fff;
}

.quiz-section .result-box{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(.9);
    width: min(90vw, 500px);
    max-width: 500px;
    background: transparent;
    border: 2px solid #8c00ff;
    border-radius: 6px;
    padding: clamp(15px, 3vw, 20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: .3s ease;
}

.quiz-section .result-box.active{
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.result-box h2{
    font-size: clamp(32px, 6vw, 52px);
    text-align: center;
    margin-bottom: 20px;
}

.result-box .percentage-container{
    width: 100%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0 40px;
}

.percentage-container .circular-progress{
    position: relative;
    width: clamp(180px, 30vw, 250px);
    height: clamp(180px, 30vw, 250px);
    background: conic-gradient(#8c00ff, 3.6deg, rgba(255, 255, 255, .1) 0deg);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.percentage-container .circular-progress::before{
    content: '';
    position: absolute;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    background: #09001d;
    border-radius: 50%;
}

.circular-progress .progress-value{
    position: relative;
    font-size: clamp(28px, 5vw, 45px);
    font-weight: 600;
}

.percentage-container .score-text{
    font-size: clamp(20px, 4vw, 30px);
    font-weight: 600;
    margin-top: 20px;
    text-align: center;
}

.result-box .buttons{
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.buttons button{
    width: clamp(110px, 20vw, 130px);
    height: clamp(40px, 6vh, 47px);
    background: #8c00ff;
    border: 2px solid #8c00ff;
    outline: none;
    border-radius: 6px;
    font-size: clamp(14px, 2vw, 16px);
    color: #fff;
    font-weight: 600;
    margin-bottom: 10px;
    cursor: pointer;
}

.buttons button:nth-child(1):hover{
    background: #55009b;
    border-color: #55009b;
}

.buttons button:nth-child(2){
    background: transparent;
    color: #8c00ff;
}

.buttons button:nth-child(2):hover{
    background: #8c00ff;
    color: #fff;
}

.team-section{
    width: 90%;
    max-width: 1200px;
    padding: clamp(15px, 3vw, 25px);
    margin: auto;
    text-align: center;
}

.team-section h2{
    font-size: clamp(28px, 5vw, 45px);
    color: #9c22ff;
    margin-bottom: 30px;
}