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

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

/* ===== BODY ===== */
body{
  background:radial-gradient(circle at center, #2a240c 0%, #0c0b08 70%);
  min-height:100svh;
  display:flex;
  justify-content:center;
  align-items:center;
    font-family:'Alexandria', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  color:#fff;
}

/* ===== APP ===== */
.app{
  max-width:390px;
  width:100%;
  height:100dvh;
  position:relative;
  overflow:hidden;
  border-radius:26px;
}

/* ===== BACKGROUND ===== */
.bg{
  position:absolute;
  inset:0;
  background:linear-gradient(120deg,#000,#000,#dca550a3);
  background-size:300% 300%;
  animation:bgMove 3s ease infinite;
  z-index:-1;
  border:1px solid #dca550a3;
}
@keyframes bgMove{
  0%{background-position:0% 50%}
  50%{background-position:100% 50%}
  100%{background-position:0% 50%}
}

/* ===== LOGO ===== */
.toppMainLogoDiv{
  text-align:center;
  margin:10px auto 15px;
}
.toppMainLogo{
  max-height:90px;
}

/* ===== SCREENS ===== */
.screen{
  display:none;
  padding:10px 26px; 
  flex-direction:column;
  justify-content:center;
  text-align:center;
}
.screen label{
  text-align:left;
}
.screen.active{display:flex}
.centerScreen{height:100%}
.thanqScreen{
  position:absolute;inset:0;

  padding:10px 26px; 
  flex-direction:column;
  justify-content:center;
  text-align:center;

}

/* ===== TEXT ===== */
h1{font-size:28px}
.questionText,
.langsQuestionText{
  font-size:20px;
  font-weight:500;
  margin-bottom:14px;
}
p{opacity:.85;margin-top:8px}

/* ===== BUTTONS ===== */
.commanBtn,
.startBtn{
  margin-top:26px;
  padding:16px;
  background:#dca550;
  color:#fff;
  font-size:15px;
  font-weight:500;
  border-radius:30px;
  cursor:pointer;
}

.langs{
  display:flex;
  gap:12px;
}
.commanBtn{flex:1}

/* ===== PROGRESS ===== */
.progress{
  text-align:center;
  margin:30px auto;
  display:none;
}
.topText{
  font-size:22px;
  font-weight:700;
  margin-bottom:20px;
}
.progressRow{
  display:flex;
  justify-content:center;
  gap:10px;
}
.dot{
  width:15px;
  height:15px;
  border-radius:50%;
  background:rgba(255,255,255,.35);
}
.dot.active{
  background:#dca550;
  transform:scale(1.4);
}

/* ===== FOOTER ===== */
.screenfooter{
  position:absolute;
  bottom:0;
  width:100%;
  display:none;
}
.screenfooter .actionBtn{
  flex:1;
  padding:16px;
  font-weight:800;
  font-size:16px;
  cursor:pointer;
}
.nextBtn{
  background:#ffc83d;
  color:#000;
  border-radius:35px 0 0 0;
}
.backBtn{
  background:rgba(0,0,0,.6);
  color:#fff;
  border-radius:0 35px 0 0;
}

/* ===== RATING ===== */
.smiley{
  font-size:80px;
  margin-bottom:6px;
  transition:.3s;
}
.smiley.poor{transform:scale(.9)}
.smiley.acceptable{transform:scale(1)}
.smiley.excellent{transform:scale(1.2)}

.scale{
  display:flex;
  justify-content:space-between;
  margin-top:10px;
  font-size:11px;
}
.scale span{
  opacity:.7;
  cursor:pointer;
  transition:.3s;
}
.scale span.active{
  opacity:1;
  color:#ffc83d;
  transform:scale(1.3);
}

/* ===== RANGE ===== */
input[type=range]{
  width:100%;
  margin-top:20px;
  appearance:none;
  height:15px;
  border-radius:16px;
  background:#fff;
  overflow:hidden;
}
input[type=range]::-webkit-slider-thumb{
  appearance:none;
  width:15px;
  height:15px;
  border-radius:50%;
  background:#fff;
  border:2px solid #ffc83d;
  box-shadow:-400px 0 0 390px #ffc83d;
}

/* ===== RADIO (FIXED) ===== */
.radioLabel{
  display:flex;
  margin-bottom:16px;
}
.radioLabel input{
  position:absolute;
  opacity:0;
}
.radioLabel label{
  position:relative;
  padding-left:34px;
  font-size:15px;
  /* font-weight:600; */
  cursor:pointer;
  line-height:1.4;
  width:100%;
}
.radioLabel label::before{
  content:'';
  position:absolute;
  left:0;
  top:2px;
  width:20px;
  height:20px;
  border:2px solid #dca550;
  border-radius:50%;
}
.radioLabel label::after{
  content:'';
  position:absolute;
  left:5px;
  top:7px;
  width:10px;
  height:10px;
  background:#ffc83d;
  border-radius:50%;
  opacity:0;
  transform:scale(0);
  transition:.2s;
}
.radioLabel input:checked + label::after{
  opacity:1;
  transform:scale(1);
}

/* ===== RTL SUPPORT ===== */
body[dir="rtl"]{
  text-align:right;
}
body[dir="rtl"] .radioLabel label{
  padding-left:0;
  padding-right:34px;
}
body[dir="rtl"] .radioLabel label::before{
  left:auto;
  right:0;
}
body[dir="rtl"] .radioLabel label::after{
  left:auto;
  right:5px;
}
body[dir="rtl"] .screen label{
  text-align:right;
}
h1.title {
    margin-bottom: 39px;
}