:root {
  color-scheme: light;
  --ink: #1b3043;
  --muted: #617486;
  --panel: rgba(255, 255, 255, 0.9);
  --line: rgba(27, 48, 67, 0.14);
  --coral: #ef6a61;
  --mint: #53b99a;
  --sky: #87d9f0;
  --gold: #f7c85b;
  --shadow: 0 20px 54px rgba(46, 73, 83, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background:
    linear-gradient(180deg, #def7ff 0%, #f6fff8 48%, #fff8e8 100%);
}

.home-shell {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 28px 16px;
}

.hero {
  width: min(1040px, 100%);
}

.eyebrow {
  margin: 0 0 8px;
  color: #2d7f9f;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.7rem, 8vw, 6.5rem);
  line-height: 0.9;
}

.intro {
  max-width: 520px;
  margin: 18px 0 30px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.55;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.game-card {
  display: grid;
  grid-template-rows: 230px auto auto;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  background: var(--panel);
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(46, 73, 83, 0.23);
}

.game-art {
  position: relative;
  overflow: hidden;
}

.fishing-card .game-art {
  background: linear-gradient(180deg, #9be5ff 0 31%, #2fb5d2 31% 100%);
}

.pond {
  position: absolute;
  inset: 0;
}

.pond::before {
  content: "";
  position: absolute;
  left: 0;
  top: 74px;
  width: 170px;
  height: 52px;
  border: 5px solid #704323;
  border-left: 0;
  border-radius: 0 8px 8px 0;
  background:
    repeating-linear-gradient(90deg, #9c673a 0 28px, #83522c 28px 31px),
    #9c673a;
}

.home-rod {
  position: absolute;
  left: 86px;
  top: 10px;
  width: 210px;
  height: 218px;
  object-fit: contain;
  filter: drop-shadow(0 3px 1px rgba(76, 44, 22, 0.2));
}

.home-fish {
  position: absolute;
  object-fit: contain;
  filter: drop-shadow(0 9px 8px rgba(6, 71, 92, 0.16));
}

.home-fish-one {
  right: 64px;
  bottom: 42px;
  width: 142px;
}

.home-fish-two {
  left: 190px;
  bottom: 28px;
  width: 118px;
  transform: scaleX(-1);
}

.cafe-card .game-art {
  background: linear-gradient(180deg, #ffecc2 0 56%, #d99158 56% 100%);
}

.counter {
  position: absolute;
  inset: auto 0 0;
  height: 92px;
  border-top: 7px solid #59371f;
  background:
    repeating-linear-gradient(90deg, #8b5a35 0 42px, #75482a 42px 46px),
    #8b5a35;
}

.plate {
  position: absolute;
  left: 50%;
  bottom: 20px;
  display: grid;
  place-items: center;
  width: 180px;
  height: 66px;
  border-radius: 50%;
  background: #fff7e8;
  font-size: 3.8rem;
  transform: translateX(-50%);
}

.ticket {
  position: absolute;
  right: 44px;
  bottom: 126px;
  width: 210px;
  height: 74px;
  border: 2px solid rgba(89, 55, 31, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 20px rgba(89, 55, 31, 0.12);
}

.ticket::before {
  content: "order";
  position: absolute;
  left: 64px;
  top: 24px;
  color: var(--ink);
  font-weight: 950;
}

.ticket::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff6df;
}

.game-copy {
  display: grid;
  gap: 8px;
  padding: 20px 20px 10px;
}

.game-copy strong {
  font-size: 1.55rem;
  line-height: 1.05;
}

.game-copy span {
  color: var(--muted);
  line-height: 1.45;
}

.play-label {
  align-self: end;
  margin: 10px 20px 20px;
  padding: 13px 16px;
  border-radius: 8px;
  color: #fff;
  background: var(--coral);
  font-weight: 950;
  text-align: center;
}

.fishing-card .play-label {
  background: #1598bd;
}

@media (max-width: 760px) {
  .game-grid {
    grid-template-columns: 1fr;
  }

  .game-card {
    grid-template-rows: 190px auto auto;
    min-height: 370px;
  }
}
