body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #fff;
  color: #222;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to right, #e0b200, #c99a00);
  padding: 10px 20px;
  color: #fff;
}

.left-buttons {
  display: flex;
  gap: 10px;
}

.btn-yellow {
  background: #ffe600;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-yellow:hover {
  background: #ffd000;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 150px;
  height: auto;
}

.cart {
  font-size: 1.2rem;
}

.nav-bar {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 10px 0;

}

.nav-btn {
  position: relative;
  z-index: 1;
  width: 600px;
  font-weight: bold;
  font-size: 1.25rem; /* Increased font size */
  padding: 16px 36px; /* Increased padding */
  color: #ffffff;
  background: #c99a00;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-radius: 18px; /* Increased border radius */
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
}

.nav-btn::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  z-index: -1;
  background: linear-gradient(45deg, #ff0066, #00ffff, #00ff00, #ffcc00, #ff0066);
  background-size: 400%;
  border-radius: 14px;
  animation: borderAnimation 8s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-btn:hover::before,
.nav-btn.active::before {
  opacity: 1;
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.3), 0 0 24px rgba(0, 255, 255, 0.4);
}

@keyframes borderAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.main-container {
  display: flex;
  flex-wrap: wrap;
  padding: 40px 20px;
  gap: 50px;
  justify-content: center;
}

.text-section {
  max-width: 600px;
}

.text-section h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.text-section .price {
  font-weight: bold;
  margin: 10px 0;
}

.image-section {
  flex-shrink: 0;
}

.game-image {
  width: 400px;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.footer {
  background: #1c1c1c;
  color: #ffffff;
  padding: 40px 20px;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: rows;
  gap: 30px;
}

.footer-row {
  width: 100%;
}

.footer-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  padding: 20px 0;
}

.footer-text p {
  margin: 0;
  font-size: 0.95rem;
  color: #ffffffcc;
}

.footer-text .seo-credit {
  font-style: italic;
  font-size: 0.85rem;
  color: #ffffff99;
}

/* Icons Row Container */
.footer-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 10px;
}

.footer-icons a {
  color: #ffffff;
  font-size: 1.5rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.footer-icons a:hover {
  color: #00ffff;
  transform: scale(1.2);
}

.footer-socials a img {
  width: 32px;
  margin: 0 12px;
  transition: transform 0.3s ease;
}

.footer-socials a:hover img {
  transform: scale(1.2);
}

.footer-logos {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.logos img {
  height: 30px;
  filter: brightness(0.9);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logos img:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

/* ---------- RESPONSIVE STYLES ---------- */

/* For tablets and smaller */
@media (max-width: 1024px) {
  .header {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .logo-icon {
    width: 200px;
  }

.nav-btn {
  width: 100%;
  max-width: 400px; 
  font-size: 32px;
  padding: 10px 20px; 
}


 .main-container {
    flex-direction: column;
    align-items: center;
    padding: 20px 10px;
  }

  .image-section {
    order: 1;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .game-image {
    width: 90%;
    max-width: 400px;
  }

  .text-section {
    order: 2; 
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    width: 100%;
  }

  .text-section button {
    width: 80%;
    max-width: 300px;
    padding: 12px;
    font-size: 1rem;
    border-radius: 10px;
  }

  .left-buttons{
    display: none;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .logos {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    grid-template-rows: repeat(3, auto);   /* 3 rows */
    gap: 20px;
  }
}

/* For phones and small devices */
@media (max-width: 600px) {
  .nav-bar {
    flex-direction: row;
    align-items: center;
    margin-right: 50px;
    margin-top: 10px;
    gap: 60px;
  }

  .nav-btn {
  width: 150%;
  max-width: 200px; 
  font-size: 16px;
}

  .logo-icon {
    width: 200px;
  }

  .btn-yellow {
    padding: 6px 10px;
    font-size: 0.9rem;
  }

  .footer-logos {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .footer-icons {
    flex-wrap: wrap;
  }

  .footer-socials a img {
    width: 24px;
    margin: 0 8px;
  }

  .logos img {
    height: 24px;
  }
}
