/* style.css */
body { background: #2e2e2e; color: #fff; font-family: 'Poppins', sans-serif; margin: 0; padding: 1rem; }
main { max-width: 24rem; margin: auto; display: flex; flex-direction: column; align-items: center; }
.main-title { font-size: 1rem; margin: 2rem 0 0.5rem 0; }
.controls { display: flex; gap: 0.5rem; margin-bottom: 0.5rem; }
.controls button { padding: 0.5rem 1rem; font-size: 1rem; font-weight: 700; border: none; border-radius: 8px; cursor: pointer; }
#guess { background: #fff; color: #0070f3; }
#replay { background: #0070f3; color: #fff; }
#hangmanCanvas { background: none; border: none; margin: 0.5rem 0; }
#word { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.2rem; font-size: 1.2rem; line-height: 1.2; margin: 0.8rem 0; }
#letters { display: grid; grid-template-columns: repeat(9, 2.3rem); gap: 0.2rem; width: calc(9 * 2.3rem + 8 * 0.2rem); margin-bottom: 0.2rem; }
.letter-btn { width: 2.3rem; height: 2.3rem; background: #fff; color: #0070f3; font-weight: 700; font-size: 1.4rem; border: none; border-radius: 4px; cursor: pointer; }
.letter-btn:disabled { opacity: 0.5; cursor: not-allowed; }
#message { margin-top: 0.5rem; }
.result-container-wrapper { display: flex; justify-content: center; width: calc(9 * 2.3rem + 8 * 0.2rem); margin: 0.5rem 0; }
.result-container {
  text-decoration: none; width: 100%; height: 4.6rem; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 1rem; font-weight: 700; border-radius: 8px; text-align: center;  text-decoration: none;}
.result-container.win { background: #28a745; color: #ffffff; }
.result-container.lose { background: #dc3545; color: #ffffff; }
.result-container a { color: inherit; text-decoration: none; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; }
.result-container .status { font-size: 1rem; font-weight:700; }
.result-container .artist { font-size: 1rem; font-weight:700; margin-top:0.2rem; }
.result-container .title { font-size: 1rem; font-weight:700; margin-top:0.1rem; }

50%{opacity:0.7;}}



a.result-container { text-decoration:none;  text-decoration: none;}

@keyframes fade {
  0% { opacity: 1; }
  50% { opacity: 0.7; }
  100% { opacity: 1; }
}



a.result-container { text-decoration: none; }

@keyframes fade {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.fade-letter {
  animation-name: fade;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}
/* Extra spacing below "Other languages" button */
.more-games-wrapper {
  margin-bottom: 3rem; /* extra white space after button */
}

/* SEO visible text styling */
.seo-visible {
  max-width: 700px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.6;
  font-size: 1rem;
  color: #333;
}

/* FAQ section styling */
.faq-section {
  max-width: 800px;
  margin: 0 auto 3rem auto;
  padding: 1.5rem;
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.faq-section h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  text-align: center;
  color: #222;
}

.faq-item {
  margin-bottom: 1.2rem;
}

.faq-item h4 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  color: #2563eb; /* matches the blue button */
}

.faq-item p {
  margin: 0;
  font-size: 1rem;
  color: #444;
  line-height: 1.5;
}
