/* General Styles */
body {
  font-family: 'Orbitron', sans-serif;
  margin: 0;
  padding: 0;
  background: #1a1a1a;
  color: #fff;
}

header {
  background: #333;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo h1 {
  font-family: 'Press Start 2P', cursive;
  font-size: 24px;
  color: #ff6f61;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #ff6f61;
}

/* Hero Section */
#hero {
  background: url('hero-bg.jpg') no-repeat center center/cover;
  height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}

#hero .hero-content {
  background: rgba(0, 0, 0, 0.7);
  padding: 40px;
  border-radius: 10px;
}

#hero h2 {
  font-size: 48px;
  margin-bottom: 20px;
}

#hero p {
  font-size: 20px;
  margin-bottom: 30px;
}

#hero .btn {
  background: #ff6f61;
  color: #fff;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s;
}

#hero .btn:hover {
  background: #e65a50;
}

/* Games Section */
#games {
  padding: 50px 20px;
  text-align: center;
}

#games h2 {
  font-size: 36px;
  margin-bottom: 40px;
}

.game-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.game-card {
  background: #444;
  border-radius: 10px;
  padding: 20px;
  margin: 10px;
  width: 30%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s;
  display: inline-block;
}

.game-card:hover {
  transform: scale(1.05);
}

.game-card img {
  width: 100%;
  border-radius: 10px;
}

.game-card h3 {
  font-size: 24px;
  margin: 15px 0;
}

.game-card p {
  font-size: 16px;
  color: #ccc;
}

/* About and Contact Sections */
#about, #contact {
  padding: 50px 20px;
  text-align: center;
}

#about h2, #contact h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

#about p {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto;
}

#contact form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#contact input, #contact textarea {
  width: 80%;
  max-width: 500px;
  padding: 10px;
  margin: 10px 0;
  border-radius: 5px;
  border: 1px solid #ccc;
}

#contact button {
  background: #ff6f61;
  color: #fff;
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

#contact button:hover {
  background: #e65a50;
}

/* Footer */
footer {
  background: #333;
  padding: 20px;
  text-align: center;
  margin-top: 50px;
}
/* Game Page Styles */
#game-details {
  text-align: center;
}

.game-header {
  margin-bottom: 40px;
}

.game-header h2 {
  font-size: 48px;
  color: #ff6f61;
  margin-bottom: 10px;
}

.game-header .genre {
  font-size: 20px;
  color: #ccc;
  margin-bottom: 20px;
}

.game-header .btn {
  background: #ff6f61;
  color: #fff;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s;
}

.game-header .btn:hover {
  background: #e65a50;
}

.game-description {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: left;
}

.game-description h3 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #ff6f61;
}

.game-description p {
  font-size: 18px;
  line-height: 1.6;
  color: #ccc;
}

.game-screenshots {
  margin-bottom: 40px;
}

.game-screenshots h3 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #ff6f61;
}

.screenshot-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.screenshot-grid img {
  width: 100%;
  max-width: 300px;
  border-radius: 10px;
  transition: transform 0.3s;
}

.screenshot-grid img:hover {
  transform: scale(1.05);
}

.game-requirements {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.game-requirements h3 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #ff6f61;
}

.game-requirements ul {
  list-style: none;
  padding: 0;
}

.game-requirements ul li {
  font-size: 18px;
  margin-bottom: 10px;
  color: #ccc;
}

.game-requirements ul li strong {
  color: #fff;
}
/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  text-align: center;
}

.lightbox-content {
  max-width: 90%;
  max-height: 80vh;
  margin: auto;
  display: block;
  border-radius: 10px;
  animation: zoom 0.3s ease;
}

@keyframes zoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.close:hover {
  color: #ff6f61;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: #fff;
  font-weight: bold;
  font-size: 30px;
  transition: 0.3s;
  user-select: none;
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}

.prev:hover, .next:hover {
  color: #ff6f61;
}