@import url("https://fonts.googleapis.com/css2?family=Fredoka:wght@400;600;700&display=swap");

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Fredoka", system-ui, sans-serif;
  color: #1a2e1a;
  background: linear-gradient(180deg, #87ceeb 0%, #b8e986 55%, #6ab04c 100%);
}

.wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

header {
  text-align: center;
  margin-bottom: 2rem;
}

h1 {
  margin: 0;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 700;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.5);
}

.tagline {
  margin: 0.35rem 0 0;
  font-size: 1.1rem;
  opacity: 0.85;
}

.game-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.game-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: rgba(255, 255, 255, 0.85);
  border: 4px solid #2d5016;
  border-radius: 20px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 0 rgba(45, 80, 22, 0.3);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.game-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 0 rgba(45, 80, 22, 0.35);
}

.game-card:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 rgba(45, 80, 22, 0.3);
}

.game-icon {
  font-size: 2.25rem;
  line-height: 1;
  flex-shrink: 0;
}

.game-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.game-title {
  font-size: 1.2rem;
  font-weight: 700;
}

.game-desc {
  font-size: 0.95rem;
  opacity: 0.8;
  line-height: 1.35;
}

.game-play {
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  color: #2d5016;
}
