/* Hunter's Games - the home page */
* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(ellipse at top, #22305f, #0a0d1c 70%);
  color: #e6ecff;
  font-family: "Segoe UI", Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px;
}

header { text-align: center; margin-top: 5vh; max-width: 900px; }
h1 {
  margin: 0;
  font-size: clamp(36px, 7vw, 72px);
  letter-spacing: 0.08em;
  color: #ffdc78;
  text-shadow: 0 0 24px rgba(255, 200, 80, 0.35);
}
.tagline { font-size: clamp(16px, 2.2vw, 22px); color: #b4c8ff; line-height: 1.5; }

.games {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin: 4vh 0;
  width: 100%;
  max-width: 1200px;
}

/* Each game is one big clickable card */
.game {
  width: min(480px, 100%);
  background: rgba(0, 0, 0, 0.4);
  border: 4px solid rgba(255, 220, 120, 0.55);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  padding: 18px;
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.15s, border-color 0.15s;
}
.game:hover { transform: translateY(-4px); border-color: #ffe128; }

.game img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.15);
}
.game h2 { margin: 16px 0 6px; font-size: 32px; color: #ffdc78; }
.game p { margin: 0 0 18px; font-size: 18px; line-height: 1.5; text-align: center; color: #d0d8f0; }

/* A raised 3D PLAY button, like the buttons in the games */
.play {
  display: inline-block;
  padding: 14px 64px;
  border-radius: 14px;
  border: 5px solid;
  border-color: #9ff0ac #156b2c #0f5221 #b5f5c0;
  background: linear-gradient(#5fe075, #2aa046 55%, #1d7a35);
  box-shadow: 4px 6px 10px rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 26px;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.7);
}
.game:active .play { transform: translate(2px, 3px); box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6); }

footer { margin-bottom: 4vh; color: #a0aac8; font-size: 16px; text-align: center; }
