*, *::before, *::after { box-sizing: border-box; }
html { min-height: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, sans-serif;
  color: #e8e8e8;
  background: linear-gradient(rgba(0,10,0,0.72), rgba(0,10,0,0.72)), url('/homepage_background.jpeg') center / cover no-repeat fixed;
}
.landing-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  text-align: center;
}
.landing-page .logo {
  width: 220px;
  height: auto;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 24px rgba(0,180,0,0.3));
}
.landing-page h1 {
  margin: 0 0 2.5rem;
  color: #fff;
  font-size: 2rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}
.landing-page nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 300px;
}
.landing-page nav a, .action {
  display: block;
  padding: 0.75rem 1.5rem;
  border: 1px solid #2a9e2a;
  border-radius: 8px;
  background: #1a6e1a;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: background 0.15s;
}
.landing-page nav a:hover, .action:hover { background: #228822; }
.landing-page nav a:focus-visible, .action:focus-visible, a:focus-visible { outline: 3px solid #a5e6a5; outline-offset: 3px; }
.back-link { color: #e8e8e8; margin-top: 1.5rem; }
.content-page { padding: 2rem 1rem 4rem; }
.content-page main { max-width: 860px; margin: 0 auto; }
.content-page h1, .content-page h2 { color: #fff; }
.content-page h1 { font-size: 2rem; margin: 1.5rem 0; }
.content-page h2 { font-size: 1.25rem; margin-top: 0; }
.content-page p, .content-page li { line-height: 1.7; }
.content-page a { color: #b9efb9; }
.content-page .action { color: #fff; display: inline-block; }
.panel { background: rgba(8, 31, 8, 0.94); border: 1px solid #477747; border-radius: 12px; padding: 1.5rem; margin: 1rem 0; }
.panel > :last-child { margin-bottom: 0; }
.prompt { white-space: pre-wrap; overflow-wrap: anywhere; direction: rtl; font: inherit; line-height: 1.8; background: #102a10; border-radius: 8px; padding: 1rem; }
.prompt[hidden] { display: none; }
.assessment-prompt { direction: ltr; text-align: left; font-size: 0.9rem; }
.prompt-details summary { cursor: pointer; color: #b9efb9; font-weight: 600; padding: 0.5rem 0; }
.prompt-details summary:focus-visible { outline: 3px solid #a5e6a5; outline-offset: 3px; }
.prompt-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 0.65rem; margin: 1rem 0; }
.prompt-controls select, .prompt-controls button { font: inherit; border-radius: 8px; padding: 0.45rem 0.75rem; }
.prompt-controls select { background: #fff; color: #222; border: 1px solid #9ab59a; }
.prompt-controls button { background: #1a6e1a; color: #fff; border: 1px solid #2a9e2a; cursor: pointer; }
.prompt-controls button:hover { background: #228822; }
.prompt-controls button:focus-visible, .prompt-controls select:focus-visible { outline: 3px solid #a5e6a5; outline-offset: 3px; }
.prompt-controls [role="status"] { min-width: 5rem; }
.game-cover { max-width: 180px; max-height: 180px; object-fit: cover; border-radius: 8px; }
