 * {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, sans-serif;
  background: radial-gradient(circle at top, #0a1a2f, #000);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  max-width: 1100px;
  width: 100%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  text-align: center;
  margin-bottom: 60px;
}

header h1 {
  font-family: Chakra Petch;
  font-size: 64px;
  margin-bottom: 16px;
}

header h1 span {
  color: #1875e8;
}

header p {
  color: #b3c7ff;
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

.games {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  flex-grow: 1;
}

.game-card {
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid #1875e8;
  border-radius: 20px;
  padding: 32px;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 0 25px rgba(24, 117, 232, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 40px rgba(0, 244, 191, 0.6);
}

.game-tag {
  font-size: 14px;
  font-weight: 600;
  color: #00f4bf;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.game-title {
  font-family: Chakra Petch;
  font-size: 32px;
  margin-bottom: 16px;
}

.game-description {
  color: #cfd9ff;
  font-size: 16px;
  line-height: 1.6;
  flex-grow: 1;
}

.game-action {
  margin-top: 32px;
  font-weight: 600;
  color: #1875e8;
  display: flex;
  align-items: center;
  gap: 8px;
}

.game-action span {
  transition: transform 0.2s ease;
}

.game-card:hover .game-action span {
  transform: translateX(6px);
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid rgba(24, 117, 232, 0.4);
  font-size: 14px;
  color: #7fa2ff;
}

.footer-left {
  font-weight: 500;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-right span {
  color: #b3c7ff;
}

.footer-right a {
  color: #00f4bf;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-right a:hover {
  color: #1875e8;
}

@media (max-width: 900px) {
  header h1 {
    font-size: 42px;
  }

  .games {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
