/* Albastru */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

body {
  background: #e6eef9;
  color: #1a1a1a;
  line-height: 1.6;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  background: #fff;
  position: sticky;
  top: 25px;
  z-index: 10;
  box-shadow: 0 5px 10px 0 rgba(24, 94, 224, 0.15), 0 6px 12px 0 rgba(24, 94, 224, 0.15);
  border-radius: 99px;
  margin: 0px 50px 0px 50px;
}

header .logo {
  font-size: 1.5rem;
  font-weight: bold;
  /*color: #38bdf8;*/
  line-height: 20px;
}

header nav {
  display: flex;
  gap: 15px;
}

header nav a {
  text-decoration: none;
  color: #1a1a1a;
  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: #000;*/
  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: #3b3a3a;
  color: #fff;
  padding: 10px 20px;
  border-radius: 99px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
  box-shadow: 0 9px 11.5px -3px #00000026,0 18.5px 28.5px #0000000d,0 7px 37.5px #0000000a;

}

.btn:hover {
  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));
  margin:0px 50px 0px 50px;
  justify-items: center;
}

.game-card {
  background: #fff;
  border-radius: 40px;
  padding: 22px;
  text-align: center;
  transition: 0.3s;
  box-shadow: 0 9px 11.5px -3px #0000001a,0 18.5px 28.5px #00000009,0 7px 37.5px #00000007;
  max-width: 300px;
}

.game-card:hover {
  transform: translateY(-5px);
}

.game-card img {
  width: 100%;
  border-radius: 30px;
  margin-bottom: 15px;
  max-width: 256px;
}

.game-card h3 {
  margin-bottom: 10px;
  /*color: #38bdf8;*/
}

/* About Section */
.about {
  padding: 40px 20px;
  background: #d7e6f7;
  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: #d7e6f7;
  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: #fff;
    flex-direction: column;
    width: 200px;
    display: none;
    padding: 15px;
    border-radius: 30px;
    box-shadow: 0 9px 11.5px -3px #00000026,0 18.5px 28.5px #0000000d,0 7px 37.5px #0000000a;

  }

  header nav.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

.footer-links {
  margin-bottom: 10px;
}

.footer-btn {
  margin: 0 10px;
  text-decoration: none;
  font-size: 14px;
}

.footer-btn:hover {
  text-decoration: underline;
}
