* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Orbitron', sans-serif;
  background: #0f172a;
  color: white;
}

/* NAVBAR */

header {
  background: rgba(7, 11, 20, 0.9);
  backdrop-filter: blur(10px);
  padding: 20px 40px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  border-bottom: 1px solid rgba(56, 189, 248, 0.2);

  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 32px;
  font-weight: bold;
  color: #38bdf8;

  text-shadow:
    0 0 10px #38bdf8,
    0 0 20px #38bdf8;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 24px;

  transition: 0.25s;
}

nav a:hover {
  color: #38bdf8;

  text-shadow:
    0 0 10px #38bdf8;
}

/* HERO */

.hero {
  text-align: center;

  padding: 120px 20px;

  background:
    radial-gradient(circle at top, #1e3a8a, #0f172a 70%);
}

.hero h1 {
  font-size: 64px;

  margin-bottom: 20px;

  text-shadow:
    0 0 20px rgba(56, 189, 248, 0.9);
}

.hero p {
  font-size: 20px;
  color: #cbd5e1;
}

/* GAME SECTION */

.games {
  max-width: 1200px;

  margin: auto;

  padding: 50px;

  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(250px, 1fr));

  gap: 30px;
}

/* GAME CARDS */

.card {
  background: rgba(31, 41, 55, 0.9);

  border-radius: 24px;

  padding: 35px;

  text-align: center;

  border: 1px solid rgba(56, 189, 248, 0.15);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;

  box-shadow:
    0 0 20px rgba(56, 189, 248, 0.08);

  cursor: pointer;
}

.card:hover {
  transform:
    translateY(-10px)
    scale(1.03);

  border-color: #38bdf8;

  box-shadow:
    0 0 30px rgba(56, 189, 248, 0.5),
    0 0 60px rgba(56, 189, 248, 0.2);

  background: rgba(51, 65, 85, 1);
}

/* GAME ICONS */

.emoji {
  font-size: 72px;

  margin-bottom: 20px;

  filter:
    drop-shadow(0 0 10px rgba(56, 189, 248, 0.7));
}

.card h2 {
  font-size: 28px;

  margin-bottom: 10px;
}

.card p {
  color: #94a3b8;
}

/* FOOTER */

footer {
  text-align: center;

  padding: 40px;

  color: #94a3b8;
}

/* MOBILE */

@media (max-width: 768px) {

  header {
    flex-direction: column;
    gap: 20px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero p {
    font-size: 16px;
  }

  nav a {
    margin: 0 10px;
  }

  .games {
    padding: 20px;
  }
}
.card {
  display: block;
  text-decoration: none;
  color: white;
}

.card h2,
.card p {
  text-decoration: none;
}

.card:visited {
  color: white;
}@media (max-width: 768px) {

  header {
    padding: 12px 16px;
  }

  .logo {
    font-size: 20px;
  }

  nav a {
    margin-left: 10px;
    font-size: 14px;
  }

}@media (max-width: 768px) {

  header {
    flex-direction: column;
    gap: 10px;
  }

}