#start-screen {
  text-align: center;
  max-width: 700px;
  margin: auto;
  padding: 3rem 2rem;
  background-color: #f7f7f7;
  border-radius: 1rem;
  box-shadow: 0 0 15px rgba(85, 55, 105, 0.1);
  color: #32203d;
}

#start-screen h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #553769;
}

#start-screen p {
  font-size: 1rem;
  margin-bottom: 2rem;
}

#start-button {
  background-color: #00c5cc;
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1.1rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s ease;
}

#start-button:hover {
  background-color: #553769;
}


#question-box {
  max-width: 700px;
  margin: auto;
  padding: 2rem;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;

  min-height: 450px;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  background-color: transparent;
  color: #32203d;
  text-align: center;
  max-width: 700px;
  margin: auto;
  box-shadow: 0 0 10px rgba(85, 55, 105, 0.2);
}

input[type=range] {
  width: 80%;
  margin: 1rem 0;
  accent-color: #00c5cc;
}

#slider-value {
  margin-top: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #553769;
}

button {
  background-color: transparent;
  border: 2px solid #553769;
  color: #553769;
  padding: 0.6rem 1rem;
  margin: 0.5rem;
  font-size: 1rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

button:hover {
  background-color: #fbbfec;
  color: #32203d;
  border-color: #32203d;
}

button:disabled {
  opacity: 0.4;
  cursor: default;
}

#slider-value {
  margin-top: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #553769;
}

input[type="range"] {
  -webkit-appearance: none;
  width: 80%;
  height: 8px;
  border-radius: 10px;
  background: linear-gradient(to right, #ff4d4f, #fbbfec, #00c5cc, #8be89b);
  outline: none;
  transition: background 0.3s ease;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  background: #553769;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid white;
  margin-top: -8px;
}

input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  background: #553769;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid white;
}

#slider-labels {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  font-size: 0.8rem;
  color: #553769;
  font-weight: 500;
  margin-bottom: 0.2rem;
  margin-top: 1rem;
  padding: 0 5%;
  text-align: center;
}

#progress-container {
  width: 100%;
  height: 1.5rem;
  background-color: #cfe4e4;
  border-radius: 3px;
  overflow: hidden;
  margin-top: 2rem;
}

#progress-bar {
  height: 1.5rem;
  width: 0%;
  background: linear-gradient(to right, #00c5cc, #553769);
  transition: width 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

#progress-text {
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  position: absolute;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right;
}

#result-screen {
    background-color: #ffffff;
    border-radius: 1rem;
    padding: 2rem;
    max-width: 700px;
    margin: 2rem auto;
    box-shadow: 0 0 20px rgba(85, 55, 105, 0.1);
    color: #32203d;
    font-family: 'Inter', sans-serif;
    text-align: left;
    line-height: 1.6;
}

#result-screen h2 {
    color: #553769;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    text-align: center;
}

#result-screen p {
    font-size: 1.1rem;
    font-weight: 500;
    color: #32203d;
    margin-bottom: 1.5rem;
    background-color: #cfe4e4;
    padding: 1rem;
    border-radius: 0.8rem;
}

#result-screen ul {
    list-style: none;
    padding: 0;
}

#result-screen li {
    margin: 0.8rem 0;
    font-size: 1rem;
    background-color: #f7f7f7;
    padding: 0.8rem 1rem;
    border-left: 5px solid #00c5cc;
    border-radius: 0.5rem;
}

#result-screen a {
    color: #00c5cc;
    font-weight: bold;
    text-decoration: none;
}

#result-screen a:hover {
    color: #553769;
    text-decoration: underline;
}
