/* The Hendrix Games front door: big, bright, tappable game cards. */

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

body {
  min-height: 100vh;
  padding: 32px 20px 60px;
  background: linear-gradient(160deg, #5ec8f5 0%, #a6e3a1 55%, #ffe6a0 100%);
  font-family: 'Comic Sans MS', 'Chalkboard SE', sans-serif;
  color: #35405a;
  -webkit-tap-highlight-color: transparent;
}

header {
  text-align: center;
  margin-bottom: 36px;
}

h1 {
  font-size: clamp(40px, 8vw, 76px);
  color: #fff;
  text-shadow: 0 4px 0 #4a90b8, 0 8px 18px rgba(0, 0, 0, 0.25);
  letter-spacing: 1px;
}

.tagline {
  margin-top: 8px;
  font-size: clamp(17px, 2.6vw, 24px);
  color: #35516b;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 26px;
  max-width: 1100px;
  margin: 0 auto;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 28px 24px 24px;
  min-width: 0;
  border-radius: 28px;
  background: #fffdf3;
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.18), 0 14px 30px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  color: inherit;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

a.card:hover,
a.card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 14px 0 rgba(0, 0, 0, 0.18), 0 20px 36px rgba(0, 0, 0, 0.22);
  outline: none;
}

a.card:active {
  transform: translateY(2px);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.18), 0 8px 18px rgba(0, 0, 0, 0.18);
}

.art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 132px;
  margin-bottom: 6px;
  border-radius: 20px;
}

.art-main {
  font-size: 74px;
  line-height: 1;
}

.art-side {
  position: absolute;
  right: 16%;
  top: 14%;
  font-size: 40px;
  line-height: 1;
}

.card--tanks .art {
  background: linear-gradient(180deg, #aee3ff, #e8f9e0);
}

.card--graveyard .art {
  background: linear-gradient(180deg, #3b3570, #8f6ea3 70%, #4c8b45);
}

.art-side--2 {
  right: auto;
  left: 16%;
  top: 20%;
  font-size: 34px;
}

.art-side--3 {
  right: 22%;
  top: auto;
  bottom: 12%;
  font-size: 32px;
}

.card--road .art {
  background: linear-gradient(180deg, #37a4e8, #9fd9f6 55%, #5cb85c);
}

.card--city .art {
  background: linear-gradient(180deg, #14161d, #39405c 60%, #5b6491);
}

.card--siege .art {
  background: linear-gradient(180deg, #1b2340, #3a4a72 60%, #3c3a46);
}

.card--rocket .art {
  background: linear-gradient(180deg, #0b1030, #2a2560 60%, #4a2a7a);
}

.card--jungle .art {
  background: linear-gradient(180deg, #6ec6f0, #5f9e4a 60%, #2f6b2a);
}

.card--arrows .art {
  background: linear-gradient(180deg, #5fb0e6, #a9dcf5 45%, #5aa84f 70%, #2f6b2a);
}

.card--soon .art {
  background: linear-gradient(180deg, #ede7f6, #fce4ec);
}

.title {
  font-size: 30px;
  font-weight: bold;
}

.blurb {
  font-size: 17px;
  color: #5a6478;
}

.ages {
  margin-top: 6px;
  padding: 5px 16px;
  border-radius: 999px;
  background: #ffe45c;
  font-size: 15px;
  color: #6b5300;
}

.card--soon {
  opacity: 0.7;
  border: 4px dashed rgba(53, 64, 90, 0.25);
  background: rgba(255, 253, 243, 0.65);
  box-shadow: none;
}
