body {
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  background-color: #0b0b0b;
  color: white;
}

header {
  background: linear-gradient(90deg, #b30000, #000);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 30px;
}

.logo {
  height: 50px;
}

h1 {
  flex: 1;
  text-align: center;
  font-size: 2rem;
  color: #ff2222;
  letter-spacing: 2px;
}

#cart-btn {
  background: #ff0000;
  border: none;
  color: white;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
}

main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 30px;
}

.game-card {
  background: #1a1a1a;
  border: 1px solid #ff0000;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 0 10px #ff0000;
}

.game-card img {
  width: 100%;
  border-radius: 10px;
}

.price {
  margin-top: 10px;
}

.old-price {
  text-decoration: line-through;
  color: gray;
}

.new-price {
  color: #ff0000;
  font-weight: bold;
  font-size: 1.2rem;
}

.add-to-cart {
  margin-top: 10px;
  padding: 10px 15px;
  background: #ff0000;
  border: none;
  border-radius: 10px;
  color: white;
  cursor: pointer;
  font-weight: bold;
}

footer {
  background: #111;
  padding: 15px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.contact-btn {
  text-decoration: none;
  padding: 10px 15px;
  border-radius: 8px;
  font-weight: bold;
  color: white;
}

.whatsapp {
  background-color: #25D366;
}

.instagram {
  background-color: #E4405F;
}

/* Popup Cart */
.cart-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
}

.cart-popup.hidden {
  display: none;
}

.cart-content {
  background: #111;
  padding: 20px;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  color: white;
}

.cart-content h2 {
  text-align: center;
  color: #ff0000;
}

.cart-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
}

.cart-buttons button,
.cart-buttons a {
  padding: 10px 15px;
  border: none;
  border-radius: 10px;
  color: white;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
}

#cancel-cart {
  background-color: gray;
}

#continue-cart {
  background-color: #25D366;
}
