body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  background-color: #fffaf0;
  color: #795548;
  margin: 0;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  box-sizing: border-box;
}

.container {
  background-color: #fffdf6;
  padding: 25px 35px;
  border-radius: 15px;
  box-shadow: 2px 2px 0px #fde8cc, 4px 4px 0px #fbdcb7, 6px 6px 0px #f9cfa2,
    8px 8px 10px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 600px;
  text-align: center;
  border: 1px solid #fde8cc;
}

header {
  position: relative;
  margin-bottom: 20px;
}

#logo {
  width: 128px;
  height: 128px;
  object-fit: cover;
  margin-bottom: 10px;
  border-radius: 50%;
  box-shadow: 1px 1px 0px #fde8cc, 2px 2px 0px #fbdcb7;
}

header .disclaimer {
  font-size: 0.85em;
  color: #bcaaa4;
  background-color: #fff8f0;
  padding: 10px;
  border-radius: 5px;
  border: 1px dashed #f5e6d3;
  margin-bottom: 20px;
}
h1 {
  margin-bottom: 15px;
  color: #8d6e63;
}
h2 {
  margin-top: 25px;
  margin-bottom: 15px;
  color: #8d6e63;
}

#options-container {
  margin-top: 20px;
  text-align: left;
}

.option {
  display: block;
  background-color: #feffe0;
  padding: 10px 15px;
  margin-bottom: 10px;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid #fdf5e6;
  transition: background-color 0.2s, box-shadow 0.2s, transform 0.1s;
  box-shadow: 1px 1px 0px #fdf2d0, 2px 2px 0px #fcecc0;
}

.option:hover {
  background-color: #fffffa;
  border-color: #fce8c0;
  box-shadow: 2px 2px 0px #fcecc0, 3px 3px 5px rgba(0, 0, 0, 0.03);
  transform: translateY(-2px);
}

.option.selected {
  background-color: #e6f5c9;
  border-color: #d4eabd;
  color: #689f38;
  font-weight: 500;
  box-shadow: 2px 2px 0px #b2dfdb, 4px 4px 0px #80cbc4;
}

button {
  background-color: #ffccbc;
  color: white;
  border: none;
  padding: 10px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  font-weight: bold;
  margin-top: 20px;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.2s ease, transform 0.1s ease,
    box-shadow 0.2s ease;
  box-shadow: 2px 2px 0px #ffbda5, 4px 4px 8px rgba(0, 0, 0, 0.05);
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
}

button:hover {
  background-color: #ffab91;
  transform: translateY(-2px);
  box-shadow: 3px 3px 0px #f8a082, 5px 5px 10px rgba(0, 0, 0, 0.07);
}

button:active {
  transform: translateY(0px);
  box-shadow: 1px 1px 0px #f8a082;
}

#restart-btn {
  background-color: #b2dfdb;
  box-shadow: 2px 2px 0px #a2d7d3, 4px 4px 8px rgba(0, 0, 0, 0.05);
}
#restart-btn:hover {
  background-color: #80cbc4;
  box-shadow: 4px 4px 0px #4db6ac, 2px 2px 0px #4db6ac;
}
button:disabled {
  background-color: #e0e0e0;
  box-shadow: 1px 1px 0px #d1d1d1;
  cursor: not-allowed;
  transform: none;
}
#feedback-text {
  margin-top: 15px;
  font-style: italic;
  color: #a1887f;
  line-height: 1.5;
}

#progress-text {
  font-size: 0.95em;
  color: #a1887f;
  margin-bottom: 5px;
}

#progress-bar-outer {
  width: 100%;
  background-color: #fff8f0;
  border-radius: 20px;
  height: 12px;
  overflow: hidden;
  border: 1px solid #f5e6d3;
  box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.05);
}

#progress-bar-inner {
  width: 0%;
  height: 100%;
  background-color: #c8e6c9;
  border-radius: 20px;
  transition: width 0.4s ease-in-out;
}

.hidden {
  display: none;
}
#result-image {
  max-width: 150px;
  height: auto;
  margin: 15px auto;
  border-radius: 10px;
  display: block;
  box-shadow: 2px 2px 0px #fde8cc, 4px 4px 0px #fbdcb7;
}

#score-text {
  font-size: 1.1em;
  margin-bottom: 8px;
  color: #8d6e63;
}
#iq-score-text {
  font-size: 1.3em;
  font-weight: bold;
  color: #ff8a65;
  margin-bottom: 10px;
  text-shadow: 1px 1px 0px #fff8f0;
}

#start-screen h2 {
  margin-top: 10px;
  color: #8d6e63;
}
