:root {
  --bgTop: #0f1b2b;
  --bgBottom: #194054;
  --panel: rgba(10, 21, 34, 0.9);
  --line: rgba(255, 255, 255, 0.15);
  --text: #edf4e8;
  --muted: #bcc9c3;
  --accentA: #ffbe0b;
  --accentB: #fb5607;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Verdana, "Trebuchet MS", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 190, 11, 0.22), transparent 34%),
    linear-gradient(180deg, var(--bgTop), var(--bgBottom));
}

.homeLink {
  display: inline-block;
  margin: 10px 14px 0;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.shell {
  width: min(1180px, calc(100vw - 20px));
  margin: 0 auto;
  padding: 10px 0 18px;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 16px;
}

.panel,
.boardWrap {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}

.panel {
  padding: 18px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accentA);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

h1,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  font-size: clamp(1.9rem, 5.3vw, 2.8rem);
  line-height: 0.95;
}

.intro {
  color: var(--muted);
  line-height: 1.5;
}

.statusCard {
  margin: 14px 0;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.statusCard p {
  margin: 0 0 6px;
}

.statusCard p:last-child {
  margin-bottom: 0;
}

.buttons {
  display: grid;
  gap: 10px;
}

.button {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 12px 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.button.primary {
  color: #17212c;
  background: linear-gradient(130deg, var(--accentA), var(--accentB));
}

.button.secondary,
.button.tertiary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.boardWrap {
  padding: 14px;
  display: grid;
  gap: 14px;
  align-content: start;
}

.progressStrip {
  min-height: 62px;
  border-radius: 14px;
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.slot {
  width: clamp(42px, 7vw, 58px);
  height: clamp(42px, 7vw, 58px);
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: clamp(1rem, 2.4vw, 1.4rem);
  font-weight: 800;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  background: rgba(8, 20, 32, 0.42);
}

.slot.done {
  border-style: solid;
  border-color: rgba(142, 255, 178, 0.7);
  background: rgba(66, 181, 106, 0.35);
}

.letterGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(76px, 1fr));
  gap: 10px;
}

.letterBtn {
  border: 0;
  border-radius: 14px;
  min-height: 68px;
  font: inherit;
  font-size: clamp(1.1rem, 2.6vw, 1.5rem);
  font-weight: 800;
  color: #f6fbff;
  cursor: pointer;
  background: linear-gradient(145deg, #5da7ff, #3375d4);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.24);
}

.letterBtn.correct {
  background: linear-gradient(145deg, #58d483, #329f5e);
}

.letterBtn.wrong {
  background: linear-gradient(145deg, #ff6b7e, #d9455c);
}

@media (max-width: 940px) {
  .shell {
    grid-template-columns: 1fr;
  }
}
