

/* -- GAME OPEN / CLOSED STATE -- */
.status-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(20, 24, 32, .92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(14, 16, 22, .12);
}

.status-pill i {
  font-size: 7px;
}

.status-pill.open i {
  animation: pulse-dot 1.6s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .45;
    transform: scale(.75);
  }
}

.status-pill.open {
  background: rgba(34, 201, 122, 0.15);
  color: #22c97a;
  border: 1px solid rgba(34, 201, 122, 0.25);
}

.status-pill.closed {
  background: rgba(232, 56, 79, 0.15);
  color: #e8384f;
  border: 1px solid rgba(232, 56, 79, 0.25);
}

.status-pill.soon {
  background: rgba(240, 192, 64, 0.15);
  color: #f0c040;
  border: 1px solid rgba(240, 192, 64, 0.25);
}

.game-card.is-closed {
  opacity: .72;
}

.game-card.is-closed .game-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(14, 16, 22, .35);
}

.game-card.is-closed .card-cta {
  background: var(--bg-soft);
  border-color: var(--line);
  color: var(--muted);
}

.game-card.is-closed:hover {
  transform: none;
}

.game-card.is-closed:hover .card-cta {
  background: var(--bg-soft);
  border-color: var(--line);
  color: var(--muted);
}

.window-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 14px;
  font-size: 12.5px;
  color: var(--muted);
}

.window-note i {
  color: var(--brand);
}

/* -- GAME CARDS (TICKET STYLE) -- */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
}

.game-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(145deg, #1a1f2e, #141820);
  border: 1px solid rgba(232, 56, 79, 0.12);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: transform .45s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow .45s, border-color .45s;
  position: relative;
}

.game-card:hover {
  transform: translateY(-10px);
  border-color: rgba(232, 56, 79, 0.4);
  box-shadow:
    0 22px 48px rgba(232, 56, 79, 0.15),
    0 6px 16px rgba(0, 0, 0, 0.3);
}

/* ticket punch-holes on both sides of the perforation line */
.game-body::before,
.game-body::after {
  content: "";
  position: absolute;
  top: -13px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #181d28;
  border: 1px solid var(--line);
  z-index: 3;
}

.game-body::before {
  left: -13px;
  border-left-color: transparent;
}

.game-body::after {
  right: -13px;
  border-right-color: transparent;
}

/* shine sweep across the cover image */
.game-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, .28) 50%, transparent 68%);
  transform: translateX(-130%);
  transition: transform .9s ease;
  pointer-events: none;
}

.game-card:hover .game-image::before {
  transform: translateX(130%);
}

.game-image {
  position: relative;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-soft);
}

.game-image.game-fallback {
  background:
    radial-gradient(circle at 28% 26%, rgba(240, 192, 64, .5), transparent 58%),
    radial-gradient(circle at 74% 76%, rgba(255, 220, 100, .42), transparent 55%),
    linear-gradient(135deg, #0e1016, #161a22);
}

.game-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.platform-pill-new {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(232, 56, 79, 0.12);
  color: #e8384f;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  margin-top: 2px;
  border: 1px solid rgba(232, 56, 79, 0.2);
}

.platform-pill-new i {
  font-size: 10px;
}

.game-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 20px 22px;
  position: relative;
  border-top: 2px dashed rgba(232, 56, 79, 0.2);
}

.game-body h3 {
  font-size: 21px;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin: 0;
  overflow-wrap: anywhere;
}

.price-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.price-chips p {
  position: relative;
  margin: 0;
  padding: 11px 14px 9px;
  border-radius: 12px;
  background: rgba(232, 56, 79, 0.08);
  border: 1px solid rgba(232, 56, 79, 0.2);
  overflow: hidden;
}

.price-chips p+p {
  background: rgba(240, 192, 64, 0.08);
  border-color: rgba(240, 192, 64, 0.2);
}

/* tiny ticket notch inside each price stub */
.price-chips p::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #181d28;
  border: 1px solid rgba(232, 56, 79, 0.2);
  transform: translateY(-50%);
}

.price-chips p+p::after {
  border-color: rgba(240, 192, 64, 0.2);
}

.price-chips small {
  display: block;
  margin-bottom: 3px;
  color: #b8ac9e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.price-chips strong {
  font-family: Rajdhani, sans-serif;
  font-size: 19px;
  color: #ffffff;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.card-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, #b71c1c, #e8384f);
  border: none;
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(232, 56, 79, 0.3);
  transition: box-shadow .3s, filter .3s;
}

.card-cta i {
  transition: transform .25s ease;
}

.game-card:hover .card-cta {
  box-shadow: 0 12px 26px rgba(232, 56, 79, 0.45);
  filter: brightness(1.1);
}

.game-card:hover .card-cta i {
  transform: translateX(5px);
}