/* Modernized styles-rec-game.css */

.border-primary {
  border-color: rgba(0, 0, 0, 0) !important;
}

/* Base button animations and filters */
.game-button {
  cursor: pointer;
  transition: fill 0.2s ease, filter 0.2s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Center button - Teal */
.game-center {
  fill: rgb(13, 148, 136); /* teal-600 */
}
.game-center:active, .game-center-auto {
  fill: rgb(45, 212, 191); /* teal-400 */
  filter: drop-shadow(0 0 8px rgba(45, 212, 191, 0.8));
}

/* Right button - Amber */
.game-right {
  fill: rgb(217, 119, 6); /* amber-600 */
  transform: rotate(90deg);
  transform-origin: center;
}
.game-right:active, .game-right-auto {
  fill: rgb(251, 191, 36); /* amber-400 */
  transform: rotate(90deg);
  transform-origin: center;
  filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.8));
}

/* Down button - Indigo */
.game-down {
  fill: rgb(79, 70, 229); /* indigo-600 */
  transform: rotate(180deg);
  transform-origin: center;
}
.game-down:active, .game-down-auto {
  fill: rgb(129, 140, 248); /* indigo-400 */
  transform: rotate(180deg);
  transform-origin: center;
  filter: drop-shadow(0 0 8px rgba(129, 140, 248, 0.8));
}

/* Left button - Emerald */
.game-left {
  fill: rgb(5, 150, 105); /* emerald-600 */
  transform: rotate(270deg);
  transform-origin: center;
}
.game-left:active, .game-left-auto {
  fill: rgb(52, 211, 153); /* emerald-400 */
  transform: rotate(270deg);
  transform-origin: center;
  filter: drop-shadow(0 0 8px rgba(52, 211, 153, 0.8));
}

/* Up button - Rose */
.game-up {
  fill: rgb(225, 29, 72); /* rose-600 */
}
.game-up:active, .game-up-auto {
  fill: rgb(251, 113, 133); /* rose-400 */
  filter: drop-shadow(0 0 8px rgba(251, 113, 133, 0.8));
}

/* Board Layout */
table {
  width: 100%;
  table-layout: auto;
  text-align: center;
  border-collapse: separate;
  border-spacing: 6px;
}

td {
  position: relative;
  width: 90px;
  min-width: 90px;
  max-width: 90px;
  height: 90px;
}

td:after {
  content: '';
  display: block;
  margin-top: 100%;
}

td .cell-content {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}