 #puzzle-board {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2px;
      width: 300px;
      max-width: 95vw;
      margin: 20px auto;
      border: 2px solid #a00;
      background: #222;
      aspect-ratio: 1 / 1;
    }
    .puzzle-piece {
      width: 100%;
      aspect-ratio: 1 / 1;
      background-size: 300px 300px;
      border: 1px solid #fff;
      box-sizing: border-box;
      cursor: grab;
      user-select: none;
      background-repeat: no-repeat;
      transition: box-shadow 0.2s;
    }
    .dragging {
      opacity: 0.4;
    }
    body {
      text-align: center;
      font-family: sans-serif;
      background-color: #04AA6D;
      margin: 0;
    }
    .container {
      max-width: 800px;
      margin: 0 auto;
      background: linear-gradient(135deg, #8B0000 0%, #2F4F2F 100%);
      border-radius: 15px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.3);
      overflow: hidden;
    }
    .footer {
      background: #228B22;
      color: white;
      text-align: center;
      padding: 20px;
      font-style: italic;
      border-radius: 15px;
      margin: 20px auto;
      max-width: 600px;
    }
    @media (max-width: 600px) {
      #puzzle-board {
        width: 98vw;
        max-width: 98vw;
        min-width: 200px;
        border-width: 1px;
      }
      .container, .footer {
        max-width: 99vw;
      }
    }
	  .games-section {
  text-align: center;
  margin-top: 2em;
}

.dropdown {
  display: inline-block;
  position: relative;
}

.dropbtn {
  background: #B22222;
  color: #fff;
  padding: 0.6em 2em;
  border: none;
  border-radius: 12px;
  font-size: 1.1em;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: background 0.2s;
}
.dropbtn:hover, .dropbtn:focus {
  background: #d12d2d;
}

.dropdown-content {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  min-width: 250px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.17);
  border-radius: 18px;
  z-index: 10;
  margin-top: 0.5em;
  padding: 1em 0;
  text-align: left;
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
  display: block;
}

.game-btn {
  display: block;
  width: 85%;
  margin: 0.7em auto;
  padding: 0.8em 1.2em;
  border-radius: 9px;
  font-size: 1.08em;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: background 0.15s, color 0.15s, transform 0.12s;
  text-align: center;
  color: #fff;
  border: none;
  outline: none;
}
.game-btn.tic-tac { background: #32A852; }
.game-btn.santa-free { background: #CC0033; }
.game-btn.present { background: #F2A117; }
.game-btn.puzzle { background: #20A1CF; }
.game-btn.word-game { background: #8173C4; }

.game-btn:hover,
.game-btn:focus {
  filter: brightness(1.15);
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  transform: translateY(-2px) scale(1.03);
  color: #FFF7EB;
}

@media(max-width:600px) {
  .dropdown-content { min-width: 95vw; left: 2.5vw; transform: none; }
  .game-btn { width: 98%; font-size: 1em; }
}
