.games-hero,
.game-play-hero {
  padding-top: 68px;
  padding-bottom: 34px;
}
.games-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--brand-purple);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.games-hero h1,
.game-play-hero h1 {
  max-width: 850px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 6vw, 82px);
  line-height: .98;
  letter-spacing: -.055em;
}
.games-hero p,
.game-play-hero p {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}
.games-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding-top: 18px;
  padding-bottom: 72px;
}
.game-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(25, 51, 74, .08);
}
.game-card-art {
  height: 240px;
  overflow: hidden;
  background: linear-gradient(145deg, #19334a, #365a73);
}
.game-card--weekend .game-card-art {
  background: linear-gradient(145deg, #7c3f28, #ffa94d);
}
.game-card--group .game-card-art {
  background: linear-gradient(145deg, #3f3f86, #7979d3);
}
.game-card-art svg {
  width: 100%;
  height: 100%;
}
.game-art-route {
  fill: none;
  stroke: rgba(255, 255, 255, .7);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 14 16;
}
.game-art-stop {
  fill: #fff;
  stroke: rgba(25, 51, 74, .3);
  stroke-width: 5;
}
.game-art-pin {
  fill: var(--brand-orange);
  transform: translate(220px, 68px);
  animation: game-pin-drift 4.6s ease-in-out infinite;
}
.game-art-pin circle { fill: #fff; }
.game-card--weekend .game-art-pin { fill: #19334a; }
.game-card--group .game-art-pin { fill: #ffdf5d; }
@keyframes game-pin-drift {
  0%, 100% { transform: translate(30px, 163px); }
  48% { transform: translate(218px, 70px); }
  72% { transform: translate(386px, 118px); }
}
.game-card-body {
  padding: 26px;
}
.game-card-body > span,
.game-card-goal strong {
  display: block;
  color: var(--brand-purple);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.game-card h2 {
  margin: 10px 0 12px;
  font-size: 29px;
  line-height: 1.08;
}
.game-card p {
  min-height: 70px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}
.game-card-goal {
  min-height: 76px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--soft);
  color: var(--ink);
  line-height: 1.45;
}
.game-card-goal strong { margin-bottom: 5px; }
.game-card-body > a,
.game-controls button,
.game-service-choice > button {
  min-height: 46px;
  border: 0;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-purple);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.game-card-body > a {
  width: 100%;
  margin-top: 20px;
}
.games-back {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--brand-purple);
  font-weight: 900;
}
.game-workspace {
  padding-bottom: 70px;
}
.game-controls {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(120px, .75fr)) minmax(210px, 1fr);
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(25, 51, 74, .06);
}
.game-controls label {
  display: grid;
  gap: 7px;
}
.game-controls label span,
.game-panel-heading span,
.game-services-heading span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.game-controls select,
.game-controls input {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d8dde7;
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.game-controls button { align-self: end; }
.game-board {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, .7fr);
  gap: 20px;
  margin-top: 20px;
}
.game-map-panel,
.game-itinerary-panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
}
.game-panel-heading {
  min-height: 94px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.game-panel-heading h2,
.game-services-heading h2 {
  margin: 6px 0 0;
  font-size: 26px;
}
.game-panel-heading > strong {
  border-radius: 999px;
  padding: 11px 16px;
  background: #ffdf5d;
  color: #463500;
  font-size: 18px;
}
.game-map {
  position: relative;
  height: 440px;
  overflow: hidden;
  background: #eef3f1;
}
.game-map-grid {
  position: absolute;
  inset: 0;
  opacity: .6;
  background-image:
    linear-gradient(rgba(25, 51, 74, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 51, 74, .08) 1px, transparent 1px),
    linear-gradient(30deg, transparent 46%, rgba(91, 91, 176, .12) 47%, rgba(91, 91, 176, .12) 50%, transparent 51%);
  background-size: 42px 42px, 42px 42px, 190px 160px;
}
.game-map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.game-route-line {
  fill: none;
  stroke: var(--brand-purple);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 12 12;
}
.game-route-marker circle {
  fill: var(--brand-orange);
  stroke: #fff;
  stroke-width: 6;
  filter: drop-shadow(0 5px 8px rgba(25, 51, 74, .28));
}
.game-route-marker text {
  fill: var(--ink);
  font-size: 24px;
  font-weight: 900;
  text-anchor: middle;
  dominant-baseline: middle;
}
.game-map-label {
  position: absolute;
  left: 16px;
  bottom: 14px;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, .9);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}
.game-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.game-stats div {
  min-width: 0;
  padding: 18px 22px;
  border-right: 1px solid var(--line);
}
.game-stats div:last-child { border-right: 0; }
.game-stats strong,
.game-stats span { display: block; }
.game-stats strong { font-size: 20px; }
.game-stats span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}
.game-itinerary-panel {
  display: flex;
  flex-direction: column;
}
.game-itinerary {
  margin: 0;
  padding: 0 24px;
  list-style: none;
}
.game-itinerary li {
  position: relative;
  min-height: 67px;
  padding: 12px 0 12px 44px;
  border-top: 1px solid var(--line);
}
.game-itinerary li::before {
  content: attr(data-step);
  position: absolute;
  left: 0;
  top: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-purple);
  color: #fff;
  font-weight: 900;
}
.game-itinerary strong,
.game-itinerary span { display: block; }
.game-itinerary span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}
.game-itinerary .game-empty-route {
  padding-left: 0;
  color: var(--muted);
  line-height: 1.5;
}
.game-itinerary .game-empty-route::before { content: none; }
.game-advice {
  margin: auto 24px 16px;
  padding: 15px;
  border-radius: 12px;
  background: #fff7dc;
  color: #5b4912;
  line-height: 1.45;
}
.game-clear {
  min-height: 42px;
  margin: 0 24px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.game-services-heading {
  margin-top: 48px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.game-services-heading p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}
.game-service-pool {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}
.game-service-choice {
  min-width: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  transition: transform .2s ease, opacity .2s ease;
}
.game-service-choice.is-filtered { display: none; }
.game-service-choice.is-selected {
  transform: translateY(-4px);
}
.game-service-choice.is-selected .service-card {
  box-shadow: 0 0 0 3px var(--brand-orange), 0 16px 36px rgba(25, 51, 74, .12);
}
.game-service-choice > button {
  width: calc(100% - 28px);
  margin: -23px 14px 14px;
  position: relative;
  z-index: 3;
}
.game-service-choice.is-selected > button {
  background: var(--brand-orange);
  color: #3d2b00;
}
@media (max-width: 1100px) {
  .games-list,
  .game-service-pool { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game-board { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .games-hero,
  .game-play-hero { padding-top: 42px; }
  .games-list,
  .game-service-pool,
  .game-controls { grid-template-columns: 1fr; }
  .game-map { height: 340px; }
  .game-stats { grid-template-columns: repeat(2, 1fr); }
  .game-stats div:nth-child(2) { border-right: 0; }
  .game-services-heading { align-items: flex-start; flex-direction: column; }
}
