/* =====================================================
   SIMON SAYS – LAYOUT
===================================================== */
.container-simon {
  width: min(480px, 90%);
  margin: 2rem auto;
  text-align: center;
}

/* =====================================================
   SIMON BUTTONS
===================================================== */
.btn {
  width: 180px;
  height: 180px;
  margin: 18px;

  border: 10px solid #000;
  border-radius: 20%;
  cursor: pointer;

  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.btn:active {
  transform: scale(0.96);
}

/* Button Colors */
.red {
  background-color: red;
}

.green {
  background-color: green;
}

.blue {
  background-color: blue;
}

.yellow {
  background-color: yellow;
}

/* =====================================================
   GAME STATES
===================================================== */
.game-over {
  background-color: red;
  opacity: 0.85;
}

/* =====================================================
   PREMIUM LIGHT RING EFFECT
===================================================== */

.btn {
  position: relative;
  overflow: hidden;
  transition: transform 0.15s ease;
}

/* Anel de luz interno */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20%;
  box-shadow: 0 0 25px currentColor inset;
  opacity: 0;
  transition: opacity 0.25s ease;
}

/* Ativado */
.btn.ring-active::after {
  opacity: 1;
}

/* Pequeno zoom para dar vida */
.btn.ring-active {
  transform: scale(1.05);
}

/* =====================================================
   GAME TITLE
===================================================== */
#level-title {
  color: #ffffff;
  font-size: 2.2rem;
  margin-bottom: 2rem;
  text-align: center;
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 600px) {
  .btn {
    width: 120px;
    height: 120px;
    margin: 12px;
  }
}