@font-face {
  font-family: 'Baftvest';
  src: url('./assets/font/Baftvest-dr9el.woff') format('woff'),
       
}

*{
  box-sizing: border-box;

}

body{
  background-color: #101010;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: 'Baftvest', sans-serif;
}

.heading{
  font-size: 40px;
  font-weight: bold;
  background: linear-gradient(360deg, #c49102, #ffd700, #f6e27a, #c49102);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.title{
  font-weight: bold;
  font-size: 20px;
  color: white;
  padding: 16px 20px;
  border-top: 4px solid #e1e1e1;
  border-bottom: 4px solid #e1e1e1;
  cursor: pointer;
}

.title:hover{
  background: linear-gradient(360deg, #c49102, #ffd700, #f6e27a, #c49102);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  border-color:  #c49102;
}

.title_active{
  background: linear-gradient(360deg, #c49102, #ffd700, #f6e27a, #c49102);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  border-color:  #c49102;
  
}



.link_titles{
  display: flex;
  flex-direction:row;
  gap: 24px;
}

.vertical_bar{
  height: 100px;
  width: 3px;
  background-color: #c49102;
}

.link_types{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}


.game_list {
  list-style: none;
  display: grid;
  grid-template-columns: auto auto auto auto auto ;
   gap: 45px;
  padding: 0;
  margin: 0 auto;
  max-width: 1400px;
}

@media (max-width: 900px) {
  .game_list {
    grid-template-columns: auto auto auto auto;
    gap: px;
  }

}

@media (max-width: 600px) {
  .game_list {
    grid-template-columns: auto auto auto;
    gap: 10px;
  }

}

@media (max-width: 320px) {
  .game_list {
    grid-template-columns: auto auto ;
    gap: 30px;
  }

  .title{
    font-size: 16px;
  }

}


.game_item {
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game_link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.game_container {
  text-align: center;
  padding: 15px;
  transition: transform 0.3s ease;
}


.game_container:hover {
  transform: scale(1.05);
}


.game_image {
  width: 100px;
  height: 100px;
  object-fit: contain;
  transform: scale(1.3);
  transition: transform 0.3s ease;
}

@media (max-width: 900px){
  .game_image {
    transform: scale(1);
  }
}





.game_container:hover .game_image {
  transform: scale(1.3);
}


.game_name {
  text-transform: capitalize;
  margin-top: 10px;
  padding: 6px;
  font-size: 1rem;
  font-weight: bold;
  background: linear-gradient(360deg, #c49102, #ffd700, #f6e27a, #c49102);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  border-top: 2px solid #c49102;
  border-bottom: 2px solid #c49102;
  
}


@media (max-width: 600px) {
  .game_image {
    width: 80px;
    height: 80px;
  }

  .game_name {
    font-size: 0.7rem;
  }
}

.player_games,
.admin_games {
  max-height: 100%; 
  opacity: 1;
  overflow: hidden;
  transition: opacity 0.5s ease, max-height 0.3s ease;
}

.hide {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

.social-links {
  position: fixed;
  top: 80%;
  right: 10px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.social-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
 background-color: transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.facebook-icon {
  background-color: #1877f2; 
}

.youtube-icon {
  background-color: #ff0000; 
}


.twitter-icon {
  background-color: #1d1d1d;
}

.social-icon img {
  width: 40%;
 
  object-fit: contain;
}

.social-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}


.search_container {
  margin-top: -5px;
  margin-bottom: 16px;
  text-align: center;
}

#gameSearch {
  padding: 12px 20px;
  width: 300px;
  border: 2px solid #c49102;
  border-radius: 10px;
  font-size: 16px;
  font-family: 'Baftvest', sans-serif;
  background-color: #1a1a1a;
  color: #fff;
  outline: none;
  transition: box-shadow 0.3s ease;
}

#gameSearch:focus {
  box-shadow: 0 0 10px #c49102;
}
