/* styles.css */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f9f9f9;
  color: #1f0012;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  background-color: #0c43a4 ;
  color: white;
}

.logo img {
  height: 80px;
}

.search-bar {
  display: flex;
  align-items: center;
  height: 40px;
  background-color: white;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin: 0 20px;
  width: 100%;
  max-width: 800px;
}

.search-bar select {
  height: 100%;
  padding: 0 10px;
  background-color: #e6e6e6;
  border: none;
  font-size: 14px;
  cursor: pointer;
  border-right: 1px solid #ccc;
}

.search-bar input {
  flex: 1;
  padding: 0 10px;
  border: none;
  font-size: 14px;
  outline: none;
}

.search-bar button {
  height: 100%;
  width: 45px;
  background-color: #febd69;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-bar button i {
  color: #111;
  font-size: 18px;
}


.header-links a,
.header-links .cart {
  color: white;
  margin-right: 80px;      
  text-decoration: none;
  text-align: right;
  font-size: 20px;   
  line-height: 1.6;  
}


.nav {
  background-color: #1f0012;
  color: white;
  padding: 10px;
  display: flex;
  gap: 15px;
}

.nav a {
  color: white;
  text-decoration: none;
}

.cta-bar {
  display: flex;
  justify-content: space-around;
  background: linear-gradient(to right, #020047 ,#0c43a4 );
  padding: 10px;
}

.cta-bar button {
  background: #0c43a4 ;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
}

.main-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px; 
  padding: 20px 0;
}

.game-image img {
  width: 90%;
  height: 80%;
  margin-left: 120px;
  margin-bottom: 180px;
  object-fit: cover;
}

.game-info {
  margin-left: 100px;
  max-width: 900px;
  padding: 20px;
  margin-bottom: 100px;
}


.login-box {
  margin-top: 20px;
}

.login-box .btn {
  padding: 10px 20px;
  margin-right: 10px;
  background-color: #0c43a4 ;
  color: white;
  border: none;
  cursor: pointer;
}

.footer {
  display: flex;
  justify-content: space-around;
  background: linear-gradient(to top, #0c43a4 , #020047);
  padding: 12px 0;
  position: fixed;
  bottom: 20px;
  width: 100%;
  z-index: 999;
}

.footer a{
  text-decoration: none;
}

.footer button {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 12px;
  cursor: pointer;
  text-align: center;
  gap: 5px;
  padding: 10px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
  will-change: transform;

  /* Bounce animation active by default */
  animation: bounce 3s infinite ease-in-out;
}

.footer button:hover {
  background: rgba(255, 255, 255, 0.2);
  animation: none; 
  transform: none;
}

/* Bounce keyframes */
@keyframes bounce {
  0%   { transform: translateY(0); }
  30%  { transform: translateY(-5px); }
  50%  { transform: translateY(3px); }
  70%  { transform: translateY(-3px); }
  100% { transform: translateY(0); }
}

.footer button i {
  font-size: 24px;
  margin-bottom: 4px;
}

.footer button span {
  font-size: 12px;
  font-weight: 500;
}

.copyright {
  background: #0c43a4;
  color: white;
  text-align: center;
  font-size: 12px;
  padding: 6px 0;
  position: fixed;
  width: 100%;
  margin-top: 75px;
  z-index: 998;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .search-bar {
    margin: 0 10px;
    max-width: 600px;
  }

  .game-image img {
    margin-left: 60px;
    margin-bottom: 100px;
  }

  .game-info {
    margin-left: 50px;
  }

  .footer {
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
    position: static;
  }
}

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .search-bar {
    display: none;
  }

  .main-content {
    flex-direction: column;
    padding: 10px;
  }

  .game-image img {
    width: 100%;
    margin-left: 0;
    margin-bottom: 20px;
  }

  .game-info {
    margin: 0;
    padding: 10px;
  }

 .footer {
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer button {
    width: auto;
    max-width: unset;
    margin-bottom: 0px;
  }

  .header-links a
   {
    margin-right: 20px;
    font-size: 12px;
  }
  .header-links .cart{
    display: none
  }
}

@media (max-width: 480px) {
  .logo img {
    height: 50px;
  }

  .header-links a,
  .header-links .cart {
    font-size: 14px;
    margin-right: 10px;
  }

  .cta-bar {
    flex-direction: column;
    gap: 10px;
    padding: 10px;
  }

  .cta-bar button {
    width: 100%;
    font-size: 14px;
  }

  .footer button {
    font-size: 12px;
    gap: 10px;
  }

  .footer button i {
    font-size: 20px;
  }

  .copyright {
    margin: 0 20px 0px 0px;
    font-size: 10px;
    padding: 5px;
    position: static;
  }
}
