* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: radial-gradient(circle at center, #e9dfd0, #c5b29c 70%, #a6927b);
  color: #26190f;
  padding-top: 110px;
}

.menu {
  background: linear-gradient(90deg, #b99363, #8a6844);
  position: fixed;
  top: 0;
  width: 100%;
  height: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 150;
  box-shadow: 0 6px 22px rgba(0,0,0,0.38);
}

.menu ul {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.menu ul li a {
  text-decoration: none;
  color: #1c130c;
  font-weight: 700;
  font-size: 1.15em;
  padding: 8px 14px;
  border-radius: 10px;
  transition: .25s;
}

.menu ul li a:hover {
  background: #1c130c;
  color: #f7ebd9;
  letter-spacing: 1px;
}

.menu ul li:first-child a:hover {
  background: transparent !important;
}

.logo-menu {
  width: 55px;
  height: 55px;
  filter: drop-shadow(0 0 12px rgba(140, 95, 52, 0.55));
  transition: transform .25s ease;
}

.menu ul li:first-child:hover .logo-menu {
  transform: scale(1.15);
}

.container {
  background: #d7c5a3;
  padding: 35px 40px;
  border-radius: 22px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.27);
  width: 95%;
  max-width: 750px;
  margin: auto;
  border: 2px solid #b79b75;
}

h1 {
  text-align: center;
  color: #3b2a1b;
  font-size: 2.2rem;
  margin-bottom: 10px;
  text-shadow: 0 2px 3px rgba(0,0,0,0.25);
}

h2 {
  text-align: center;
  color: #4a3726;
  margin-bottom: 25px;
}

.question {
  background: #f3ecdf;
  padding: 18px 20px;
  border-radius: 12px;
  border: 1.5px solid #b79b75;
  margin-bottom: 25px;
  transition: transform .2s ease;
}

.question:hover {
  transform: scale(1.01);
}

textarea {
  width: 100%;
  border: 1px solid #b79b75;
  border-radius: 10px;
  padding: 10px;
  background: #f8f4ee;
  resize: vertical;
  font-size: 15px;
  color: #3a2e23;
}

textarea:focus {
  outline: none;
  border-color: #8a775d;
  box-shadow: 0 0 6px #b79b75;
}

button {
  display: block;
  margin: 30px auto;
  background: #8a775d;
  color: #fff;
  border: none;
  padding: 12px 26px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 17px;
  transition: .25s;
}

button:hover {
  background: #b79b75;
  transform: scale(1.05);
}

.volver {
  display: block;
  width: fit-content;
  margin: 15px auto 0;
  background: #8c7a65;
  color: #fff;
  padding: 10px 28px;
  border-radius: 10px;
  text-decoration: none;
  transition: .25s;
}

.volver:hover {
  background: #7b6a57;
  transform: scale(1.05);
}

.result {
  margin-top: 30px;
  padding: 15px;
  text-align: center;
  font-weight: bold;
  border-radius: 12px;
  background: #6a5743;
  color: #fff;
}
.question.correcta {
  border: 3px solid green;
  background: #e6ffe6;
}

.question.incorrecta {
  border: 3px solid red;
  background: #ffe6e6;
}
.titulo-con-ayuda {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

#ayudaBtn {
  background: #ffd34d;
  padding: 8px 12px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  box-shadow: 0 0 6px rgba(0,0,0,0.3);
  transition: 0.2s;
}

#ayudaBtn:hover {
  transform: scale(1.1);
}

#ayudaBox {
  background: white;
  padding: 12px 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.25);
  display: none;
}

#ayudaBox p {
  font-size: 14px;
  margin-bottom: 12px;
  color: #2c1d12;
}

#pistasBtnInside {
  background: #8a775d;
  color: white;
  padding: 6px 10px;   
  border-radius: 8px;
  border: none;
  font-size: 13px;    
  cursor: pointer;
  width: 100%;
  margin-bottom: 10px;
}


#pistasBtnInside:hover {
  background: #b79b75;
}
button {
  background: #8a775d;
  color: white;
  padding: 12px 26px;
  border-radius: 10px;
  font-size: 17px;
  border: none;
  margin: 15px auto;
  cursor: pointer;
  display: block;
}

button:hover {
  background: #b79b75;
}

#resetBtn {
  background: #444;
}
#resetBtn:hover {
  background: #000;
}

#zonaBotones {
  margin-bottom: 20px;
}
.result {
  margin-top: 20px;
  padding: 15px;
  background: #6a5743;
  color: white;
  border-radius: 12px;
}


#pistasFondo {
  position: fixed;
  top: 90px;    
  left: 0;
  width: 100%;
  height: calc(100% - 90px);
  pointer-events: none;
  z-index: -1;   
  overflow: hidden;
}

.pista-flotante {
  position: absolute;
  background: rgba(243, 236, 223, 0.25);
  color: #3b2a1b;
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid rgba(183,155,117,0.5);
  font-size: 20px;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.pista-correcta {
  background: rgba(0,255,0,0.35) !important;
  border: 2px solid green !important;
  color: darkgreen !important;
}

.feedback {
  margin-top: 8px;
  padding: 8px;
  border-radius: 8px;
  font-size: 14px;
}

.feedback.correcta {
  color: green;
  font-weight: bold;
}

.feedback.incorrecta {
  color: red;
  font-weight: bold;
}
