/* ============================================================
   Simon Memory — game-specific styles
   (shared header/stage/scoreboard chrome lives in game-common.css)
   ============================================================ */

/* --- Pad --- */
.simon-pad {
  position: relative;
  width: min(420px, 82vw);
  aspect-ratio: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}

.pad-btn {
  border: none;
  cursor: pointer;
  filter: brightness(1);
  transition: filter 0.08s ease, transform 0.08s ease;
  position: relative;
}
.pad-btn:disabled { cursor: default; }

.pad-btn.green  { background: var(--simon-green);  border-radius: 100% 12px 12px 12px; }
.pad-btn.red    { background: var(--simon-red);    border-radius: 12px 100% 12px 12px; }
.pad-btn.yellow { background: var(--simon-yellow); border-radius: 12px 12px 12px 100%; }
.pad-btn.blue   { background: var(--simon-blue);   border-radius: 12px 12px 100% 12px; }

.pad-btn.lit {
  filter: brightness(1.35);
  transform: scale(0.98);
}
.pad-btn:not(:disabled):hover { filter: brightness(1.12); }

.pad-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 34%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
  z-index: 2;
}

.start-btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.start-btn:hover { background: var(--pink-deep); }

.status-ring {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* --- Fullscreen mode --- */
#game-stage:fullscreen {
  border-radius: 0;
  border: none;
  width: 100vw;
  height: 100vh;
  justify-content: center;
  background: var(--bg-soft);
}
#game-stage:fullscreen .simon-pad {
  width: min(520px, 70vh, 80vw);
}
