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

body{
background:#eef3ff;
display:flex;
justify-content:center;
align-items:center;
min-height:100vh;
padding:20px;
}

.welcome-screen{
width:100%;
max-width:900px;
}

.welcome-card{
background:#fff;
border-radius:24px;
padding:50px;
text-align:center;
box-shadow:0 20px 60px rgba(0,0,0,.12);
}

.welcome-card h1{
font-size:42px;
color:#2563eb;
margin-bottom:10px;
}

.subtitle{
font-size:20px;
color:#666;
margin-bottom:40px;
}

.info{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:20px;
margin-bottom:40px;
}

.info-box{
background:#f8f9ff;
padding:30px;
border-radius:18px;
transition:.3s;
}

.info-box:hover{
transform:translateY(-8px);
box-shadow:0 15px 35px rgba(37,99,235,.18);
}

.info-box h3{
margin:15px 0 8px;
font-size:22px;
}

.info-box p{
color:#666;
}

#startBtn{
background:#2563eb;
color:#fff;
border:none;
padding:18px 45px;
font-size:20px;
font-weight:bold;
border-radius:12px;
cursor:pointer;
transition:.3s;
}

#startBtn:hover{
background:#1d4ed8;
transform:translateY(-3px);
}

@media(max-width:768px){

.info{
grid-template-columns:1fr;
}

.welcome-card{
padding:30px;
}

.welcome-card h1{
font-size:32px;
}

.subtitle{
font-size:18px;
}

}

body{
  margin:0;
  background:#f4f6fb;
  font-family:Arial,sans-serif;
}

.container{
  max-width:900px;
  margin:40px auto;
  background:#fff;
  border-radius:20px;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
  padding:30px;
}

.header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:20px;
}

.logo{
  font-size:30px;
  font-weight:bold;
  color:#4f46e5;
}

.timer{
  font-size:28px;
  font-weight:bold;
}

.progress{
  width:100%;
  height:10px;
  background:#ddd;
  border-radius:20px;
  overflow:hidden;
  margin:20px 0;
}

.progress-fill{
    height:100%;
    background:linear-gradient(90deg,#2563eb,#7c3aed);
    transition:width .5s ease;
}

.question{
  font-size:34px;
  font-weight:bold;
  margin:25px 0;
}

.answers button{
  width:100%;
  padding:18px;
  margin:12px 0;
  font-size:20px;
  background:#fff;
  border:2px solid #ddd;
  border-radius:12px;
  cursor:pointer;
  transition:.3s;
}

.answers button:hover{
  border-color:#4f46e5;
  background:#eef2ff;
}

.next-btn{
  margin-top:25px;
  background:#4f46e5;
  color:#fff;
  border:none;
  padding:15px 35px;
  border-radius:10px;
  font-size:18px;
  cursor:pointer;
}

.next-btn:hover{
  background:#4338ca;
}
.iq-circle{
    width:180px;
    height:180px;
    margin:25px auto;
    border-radius:50%;
    background:conic-gradient(#4f46e5 0deg,#4f46e5 var(--deg),#e5e7eb var(--deg));
    display:flex;
    align-items:center;
    justify-content:center;
    animation:pop .5s ease;
}

.iq-inner{
    width:140px;
    height:140px;
    background:#fff;
    border-radius:50%;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
}

.iq-number{
    font-size:46px;
    font-weight:700;
    color:#4f46e5;
}

.iq-label{
    color:#666;
    font-size:14px;
}

.badge{
    display:inline-block;
    margin-top:20px;
    padding:10px 22px;
    border-radius:999px;
    background:#4f46e5;
    color:#fff;
    font-weight:600;
}

@keyframes pop{
    from{
        transform:scale(.6);
        opacity:0;
    }
    to{
        transform:scale(1);
        opacity:1;
    }
}
.score-box{
    margin:25px 0;
    text-align:center;
}

.score-box h3{
    font-size:22px;
    margin-bottom:10px;
}

.score-number{
    font-size:40px;
    font-weight:700;
    color:#4f46e5;
}
.question-header{
    display:flex;
    justify-content:center;
    margin:15px 0 25px;
}

.question-badge{
    background:linear-gradient(135deg,#4f46e5,#7c3aed);
    color:#fff;
    padding:10px 24px;
    border-radius:999px;
    font-size:18px;
    font-weight:700;
    box-shadow:0 10px 25px rgba(79,70,229,.25);
}
.answers button{
    transition:.25s;
}

.answers button:hover{
    transform:translateY(-3px);
}

.answers button:active{
    transform:scale(.97);
}
.result-subtitle{
    color:#666;
    font-size:18px;
    margin:10px 0 25px;
    text-align:center;
}
.iq-description{
    max-width:650px;
    margin:0 auto 25px;
    padding:16px 20px;
    background:linear-gradient(135deg,#f8faff,#eef4ff);
    border-left:5px solid #4f46e5;
    border-radius:14px;
    color:#444;
    font-size:17px;
    line-height:1.7;
    text-align:center;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}
.achievement-card{
    margin:25px auto;
    padding:20px;
    max-width:320px;
    background:linear-gradient(135deg,#4f46e5,#7c3aed);
    color:#fff;
    border-radius:18px;
    text-align:center;
    box-shadow:0 15px 35px rgba(79,70,229,.35);
    animation:popIn .5s ease;
}

.medal{
    font-size:60px;
    margin-bottom:10px;
}

.achievement-title{
    font-size:24px;
    font-weight:700;
    letter-spacing:1px;
}

@keyframes popIn{
    from{
        opacity:0;
        transform:scale(.8);
    }
    to{
        opacity:1;
        transform:scale(1);
    }
}
.certificate-btn{
    display:block;
    width:100%;
    margin:20px 0 12px;
    padding:16px;
    border:none;
    border-radius:14px;
    background:linear-gradient(135deg,#f59e0b,#f97316);
    color:#fff;
    font-size:18px;
    font-weight:700;
    cursor:pointer;
    transition:.3s;
}

.certificate-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 25px rgba(249,115,22,.35);
}
.analytics-card{
    margin:30px auto;
    max-width:420px;
    padding:22px;
    background:linear-gradient(135deg,#ffffff,#f8fafc);
    border-radius:18px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    border:1px solid #e5e7eb;
    text-align:left;
}

.analytics-card h3{
    text-align:center;
    color:#4f46e5;
    margin-bottom:18px;
    font-size:24px;
}

.analytics-card p{
    margin:12px 0;
    font-size:17px;
    color:#374151;
}

.analytics-card strong{
    color:#111827;
}
.rank-card{
    margin:30px auto;
    max-width:420px;
    padding:25px;
    border-radius:20px;
    background:linear-gradient(135deg,#2563eb,#7c3aed);
    color:#fff;
    text-align:center;
    box-shadow:0 15px 35px rgba(37,99,235,.35);
    animation:popIn .6s ease;
}

.rank-card h3{
    margin-bottom:15px;
    font-size:24px;
}

.rank-number{
    font-size:60px;
    font-weight:700;
    margin:10px 0;
}

.rank-text{
    font-size:22px;
    font-weight:600;
    opacity:.95;
}