/* Game Page Styles */
.navigation {
   padding: 20px;
   text-align: center;
}

.nav-btn {
   background: linear-gradient(135deg, #2ed573, #1e90ff);
   color: white;
   text-decoration: none;
   padding: 12px 25px;
   border-radius: 25px;
   font-weight: bold;
   transition: all 0.3s ease;
   box-shadow: 0 5px 15px rgba(46, 213, 115, 0.3);
   display: inline-block;
}

.nav-btn:hover {
   transform: translateY(-2px);
   box-shadow: 0 8px 25px rgba(46, 213, 115, 0.4);
}

.game-container {
   max-width: 1200px;
   margin: 0 auto;
   padding: 40px 20px;
}

.game-content {
   text-align: center;
   background: rgba(255, 255, 255, 0.05);
   border-radius: 15px;
   padding: 40px;
   backdrop-filter: blur(10px);
   border: 1px solid rgba(255, 255, 255, 0.1);
}

.game-content h2 {
   font-size: 2.5em;
   margin-bottom: 15px;
   color: #ff6b6b;
}

.game-area {
   background: rgba(255, 255, 255, 0.03);
   border-radius: 10px;
   padding: 60px 20px;
   margin: 30px 0;
   border: 2px dashed rgba(255, 107, 107, 0.3);
}

.game-placeholder h3 {
   color: #ff6b6b;
   font-size: 2em;
   margin-bottom: 15px;
}

.game-controls {
   display: flex;
   gap: 15px;
   justify-content: center;
   flex-wrap: wrap;
   margin-top: 30px;
}

.game-btn {
   background: linear-gradient(135deg, #ff6b6b, #ee5a24);
   color: white;
   border: none;
   padding: 15px 30px;
   border-radius: 25px;
   cursor: pointer;
   font-size: 16px;
   font-weight: bold;
   transition: all 0.3s ease;
   box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.game-btn:hover {
   transform: translateY(-2px);
   box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.footer {
   text-align: center;
   padding: 40px 20px;
   opacity: 0.7;
   border-top: 1px solid rgba(255, 255, 255, 0.1);
   margin-top: 40px;
}

/* Snake Game Specific Styles */
.snake-game-container {
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 20px;
}

.game-info {
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 10px;
   margin-bottom: 20px;
}

.score-board {
   display: flex;
   gap: 30px;
   font-size: 1.2em;
   font-weight: bold;
}

.score-board span {
   color: #ff6b6b;
}

.game-status {
   font-size: 1.1em;
   font-weight: bold;
   color: #ffffff;
   padding: 10px 20px;
   background: rgba(255, 255, 255, 0.1);
   border-radius: 10px;
   border: 1px solid rgba(255, 107, 107, 0.3);
}

#gameCanvas {
   border: 3px solid #ff6b6b;
   border-radius: 10px;
   background: rgba(0, 0, 0, 0.8);
   box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.game-instructions {
   text-align: center;
   margin-top: 15px;
   opacity: 0.8;
}

.game-instructions p {
   margin: 5px 0;
   font-size: 0.9em;
}

/* Responsive design for game */
@media (max-width: 768px) {
   #gameCanvas {
      width: 300px;
      height: 300px;
   }

   .score-board {
      flex-direction: column;
      gap: 10px;
      text-align: center;
   }

   .game-controls {
      flex-direction: column;
      align-items: center;
   }
}