/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

body {
  background: #0f172a;
  color: #f1f5f9;
  line-height: 1.6;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  background: #1e293b;
  position: sticky;
  top: 0;
  z-index: 10;
}

header .logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #38bdf8;
}

header nav {
  display: flex;
  gap: 15px;
}

header nav a {
  text-decoration: none;
  color: #f1f5f9;
  font-weight: 500;
}

header nav a:hover {
  color: #38bdf8;
}

/* Menu Toggle (hidden by default on desktop) */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #f1f5f9;
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  /*background: linear-gradient(135deg, #1e3a8a, #2563eb);*/
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
}

.hero p {
  margin-bottom: 20px;
  font-size: 1.2rem;
}

/* Button */
.btn {
  display: inline-block;
  background: #38bdf8;
  color: #0f172a;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn:hover {
  background: #0ea5e9;
  transform: scale(1.05);
}

/* Games Section */
.games {
  padding: 40px 20px;
  text-align: center;
}

.games h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.game-list {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.game-card {
  background: #1e293b;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  transition: 0.3s;
}

.game-card:hover {
  transform: translateY(-5px);
}

.game-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
  max-width: 256px;
}

.game-card h3 {
  margin-bottom: 10px;
  color: #38bdf8;
}

/* About Section */
.about {
  padding: 40px 20px;
  background: #111827;
  text-align: center;
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

/* Contact Section */
.contact {
  padding: 40px 20px;
  text-align: center;
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.contact a {
  color: #38bdf8;
  text-decoration: none;
}

.contact a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background: #1e293b;
  text-align: center;
  padding: 15px;
  font-size: 0.9rem;
  margin-top: 20px;
}

/* Responsive Header */
@media (max-width: 768px) {
  header nav {
    position: absolute;
    top: 60px;
    right: 0;
    background: #1e293b;
    flex-direction: column;
    width: 200px;
    display: none;
    padding: 15px;
    border-radius: 0 0 8px 8px;
  }

  header nav.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}
