/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #0d0d0d;
  color: #f5f5f5;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.85);
  padding: 1rem 2rem;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #00ffe0;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #00ffe0;
}

.cart-icon {
  font-size: 1.2rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  background: url("images/bg.jpg") no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6); /* black layer */
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
}

.hero-content h1 {
  font-size: 3rem;
  color: #00ffe0;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background: #00ffe0;
  color: #000;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s;
}

.btn:hover {
  background: #00bfa5;
}
/* Shop Section */
.shop {
  padding: 60px 20px;
  text-align: center;
  background: #111;
}

.shop h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #00ffe0;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.game-card {
  background: #1a1a1a;
  padding: 15px;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px #00ffe0;
}

.game-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.game-card h3 {
  margin: 10px 0;
}

.price {
  color: #00ffe0;
  font-weight: bold;
  margin: 5px 0 15px 0;
}

.add-to-cart {
  padding: 8px 15px;
  background: #00ffe0;
  color: #000;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.add-to-cart:hover {
  background: #00bfa5;
}
/* About Section */
.about {
  padding: 80px 20px;
  background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
  color: #fff;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1100px;
  margin: auto;
}

.about-text {
  flex: 1 1 500px;
}

.about-text h2 {
  color: #00ffe0;
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 15px;
  line-height: 1.7;
}

.about-img {
  flex: 1 1 400px;
  text-align: center;
}

.about-img img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  box-shadow: 0 0 15px #00ffe0;
}
/* Why Choose Us Section (inside About) */
.why-choose {
  margin-top: 40px;
  padding: 25px 30px;
  background: rgba(20, 20, 20, 0.85);
  border: 1px solid #00ffe0;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 255, 224, 0.5);
}

.why-choose h3 {
  color: #00ffe0;
  font-size: 1.5rem;
  margin-bottom: 20px;
  text-align: center;
}

.why-choose ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
}

.why-choose li {
  background: rgba(0, 0, 0, 0.6);
  padding: 12px 15px;
  border-radius: 8px;
  font-size: 1rem;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.why-choose li::before {
  content: "✔";
  color: #00ffe0;
  font-weight: bold;
}

.why-choose li:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 10px rgba(0, 255, 224, 0.7);
}
/* Contact Section */
.contact {
  padding: 80px 20px;
  background: linear-gradient(135deg, #111, #1a1a1a);
  color: #fff;
  text-align: center;
}

.contact h2 {
  color: #00ffe0;
  font-size: 2rem;
  margin-bottom: 15px;
}

.contact p {
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.contact-container {
  max-width: 800px;
  margin: auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
}

.contact-form textarea {
  min-height: 120px;
}

.contact-form .btn {
  background: #00ffe0;
  color: #111;
  border: none;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.contact-form .btn:hover {
  background: #00c9a7;
}

.contact-info {
  margin-top: 20px;
  font-size: 1rem;
  line-height: 1.6;
}
/* Footer */
.footer {
  background: #0d0d0d;
  color: #fff;
  padding: 50px 20px 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1100px;
  margin: auto;
}

.footer-logo h2 {
  color: #00ffe0;
  margin-bottom: 10px;
}

.footer-links h3,
.footer-social h3 {
  color: #00ffe0;
  margin-bottom: 15px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #00ffe0;
}

.footer-social a {
  color: #fff;
  text-decoration: none;
  margin: 0 5px;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #00ffe0;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #222;
  padding-top: 15px;
  font-size: 0.9rem;
  color: #aaa;
}
/* Cart Modal */
.cart-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
}

.cart-content {
  background: #1a1a1a;
  margin: 8% auto;
  padding: 20px;
  border: 1px solid #00ffe0;
  width: 90%;
  max-width: 500px;
  border-radius: 12px;
  color: #fff;
  box-shadow: 0 0 20px rgba(0,255,224,0.7);
}

.cart-content h2 {
  color: #00ffe0;
  margin-bottom: 20px;
}

.cart-content ul {
  list-style: none;
  padding: 0;
  max-height: 200px;
  overflow-y: auto;
  margin-bottom: 20px;
}

.cart-content li {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  background: #222;
  border-radius: 6px;
  margin-bottom: 10px;
}

.cart-total {
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.checkout-btn {
  display: block;
  background: #00ffe0;
  color: #111;
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.checkout-btn:hover {
  background: #00c9a7;
}

.cart-modal .close {
  float: right;
  font-size: 24px;
  cursor: pointer;
  color: #fff;
}
.cart-content li span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.remove-item {
  background: transparent;
  border: none;
  color: #ff4d4d;
  font-size: 16px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.remove-item:hover {
  color: #ff0000;
}
