

  .game-detail {
   background-color: #1a237e;
   border-radius: 8px;
   box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
   padding: 30px;
   margin-bottom: 30px;
   color: white;
   display: flex;
   gap: 30px;
  }

  .game-image {
   flex: 0 0 300px;
   height: 200px;
   border-radius: 8px;
   overflow: hidden;
   box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  }

  .game-image img {
   width: 100%;
   height: 100%;
   object-fit: cover;
  }

  .game-info {
   flex: 1;
  }

  .game-title {
   font-size: 28px;
   font-weight: bold;
   margin-bottom: 15px;
  }

  .game-meta {
   display: flex;
   gap: 15px;
   margin-bottom: 20px;
   align-items: center;
  }

  .game-category {
   background-color: #3f51b5;
   color: white;
   padding: 5px 12px;
   border-radius: 4px;
   font-size: 12px;
   font-weight: bold;
   text-transform: uppercase;
  }

  .game-date {
   font-size: 14px;
   color: rgba(255, 255, 255, 0.8);
  }

  .game-rating {
   font-size: 14px;
   font-weight: bold;
   color: #ffc107;
  }

  .game-description {
   font-size: 14px;
   line-height: 1.5;
   margin-bottom: 20px;
   color: rgba(255, 255, 255, 0.9);
  }

  .game-buttons {
   display: flex;
   gap: 15px;
  }

  .game-button {
   padding: 10px 20px;
   border-radius: 4px;
   font-weight: bold;
   cursor: pointer;
   transition: all 0.3s ease;
   text-align: center;
   border: none;
   outline: none;
   font-size: 14px;
  }

  .button-play {
   background-color: #4caf50;
   color: white;
  }

  .button-play:hover {
   background-color: #43a047;
   transform: translateY(-2px);
  }

  .button-add {
   background-color: #f44336;
   color: white;
  }

  .button-add:hover {
   background-color: #e53935;
   transform: translateY(-2px);
  }

  .section-title {
   font-size: 20px;
   font-weight: bold;
   margin-bottom: 20px;
   color: #333;
  }

  .related-games {
   background-color: white;
   border-radius: 8px;
   box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
   padding: 30px;
   margin-bottom: 30px;
  }

 
  .game-card {
   border-radius: 8px;
   overflow: hidden;
   box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
   transition: all 0.3s ease;
   background-color: white;
   border: 1px solid #e9ecef;
  }

  .game-card:hover {
   transform: translateY(-5px);
   box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
  }

  .card-image {
   height: 120px;
   overflow: hidden;
  }

  .card-image img {
   width: 100%;
   height: 100%;
   object-fit: cover;
  }

  .card-info {
   padding: 15px;
  }

  .card-title {
   font-weight: bold;
   margin-bottom: 5px;
   color: #333;
  }

  .card-category {
   font-size: 12px;
   color: #666;
   margin-bottom: 10px;
  }

  .card-rating {
   font-size: 14px;
   color: #ffc107;
  }



  /* Responsive design */
  @media (max-width: 768px) {
   .header-content {
    flex-direction: column;
    gap: 10px;
    padding: 10px 20px;
   }

   nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
   }

   .search-box {
    width: 100%;
    max-width: 220px;
   }

   .game-detail {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
   }

   .game-image {
    flex: 0 0 250px;
    height: 180px;
   }

   .game-meta {
    flex-direction: column;
    gap: 10px;
    align-items: center;
   }

   .game-buttons {
    justify-content: center;
   }

   .game-title {
    font-size: 24px;
   }

   .features-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
   }

   .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
   }
  }

  @media (max-width: 480px) {
   .logo {
    font-size: 20px;
   }

   nav ul li a {
    font-size: 12px;
   }

   main {
    margin: 10px auto;
    padding: 0 10px;
   }

   .game-detail {
    padding: 20px;
   }

   .game-image {
    flex: 0 0 200px;
    height: 150px;
   }

   .section-title {
    font-size: 18px;
   }

   .related-games {
    padding: 20px;
   }
  }
