.container-main {
  width: min(1200px, 92vw);
  max-width: calc(100% - 24px);
  margin: 35px auto 0px;
} /* -------------------- HERO SLIDER -------------------- */
.hero-slider-container {
  width: 100%;
  position: relative;
  padding: 16px 0;
  margin-top: -16px;
}
.slider {
  position: relative;
  max-width: 100%;
  touch-action: pan-y;
  overscroll-behavior-x: contain;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  cursor: grab;
}
.slides {
  display: flex;
  width: 100%;
  transform: translateX(0);
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}
.slider.is-pointer-down,
.slider.is-dragging {
  cursor: grabbing;
}
.slider.is-dragging .slides {
  transition: none;
}
.slider.is-dragging .slide.active {
  transition: none;
}
.slide {
  flex: 0 0 100%;
  min-width: 0;
  position: relative;
  height: 360px;
  display: grid;
  place-items: center;
  transition: opacity 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
  opacity: 0.6;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}
.slide.active {
  transform: translateX(0) scale(1);
  opacity: 1;
  z-index: 3;
}
.slide.prev,
.slide.next {
  opacity: 0.35;
  z-index: 1;
}
.slide.prev {
  transform: translateX(-214%) scale(0.85);
}
.slide.next {
  transform: translateX(-86%) scale(0.85);
}
.slide-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 20px;
}
.slide p {
  margin: 0 0 14px;
  opacity: 0.9;
}
.dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 2;
}
.dot {
  width: 80px;
  height: 8px;
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  overflow: hidden;
  padding: 0;
  appearance: none;
  cursor: pointer;
  outline: none;
}
.dot:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
}
.dot .fill {
  display: block;
  height: 100%;
  width: 0;
  background: #fff;
  border-radius: inherit;
  transform-origin: left center;
}
.dot .fill.run {
  animation: slideProgress 5s linear forwards;
}
@keyframes slideProgress {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
} /* -------------------- FEATURED / GAMES -------------------- */
.section {
  margin: 26px 0 12px;
  scroll-margin-top: 90px;
}
.section h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
  color: var(--body-text-color);
  align-items: center;
}
.grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.card {
  width: 100%;
  height: auto;
  min-height: 180px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(24, 32, 51, 0.13);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition:
    box-shadow var(--transition),
    border-color var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-strong);
  border-color: var(--site-panel-border);
}
.card-media {
  height: 100%;
  background: var(--site-panel-surface);
  display: grid;
  place-items: center;
}
.card-body {
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.title {
  font-weight: 700;
  letter-spacing: 0.4px;
}
.pill {
  font-size: 0.75rem;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--site-panel-border);
  background: var(--site-panel-surface);
}
.actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}
.btn-ghost {
  background: var(--site-panel-surface);
  border: 1px solid var(--site-panel-border);
  padding: 9px 14px;
  border-radius: 10px;
} /* -------------------- FLASH SALES -------------------- */
.flash-sales-section {
  margin-top: 26px;
  position: relative;
}
.flash-sales-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.flash-sales-head h3 {
  margin: 0;
  font-size: 1.16rem;
  font-weight: 800;
}
.flash-sales-heading {
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.flash-sales-title,
.flash-sales-controls,
.flash-sales-control {
  display: inline-flex;
  align-items: center;
}
.flash-sales-title {
  color: var(--body-text-color);
  gap: 7px;
}
.flash-sales-title .material-symbols-rounded {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  border: 1px solid rgba(107, 91, 54, 0.2);
  background: #d8c893;
  color: #6b5b36;
  font-size: 18px;
}
.flash-sales-countdown {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transform: translateY(2px);
  min-height: 28px;
  width: max-content;
  max-width: 100%;
  padding: 5px 10px;
  border: 1px solid var(--nav-cream-300, #e7dbba);
  border-radius: 999px;
  background: var(--nav-cream-100, #faf6ec);
  color: var(--body-text-color, #2b2418);
  font-size: 0.78rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
  box-shadow: none;
}
.flash-sales-countdown .material-symbols-rounded {
  color: #c49622;
  font-size: 14px;
}
.flash-sales-countdown.is-ending-soon {
  border-color: rgba(224, 25, 49, 0.4);
  box-shadow: none;
}
.flash-sales-countdown.is-ended {
  opacity: 0.68;
}
.flash-sales-controls {
  gap: 8px;
}
.flash-sales-control {
  width: 38px;
  height: 38px;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition);
}
.flash-sales-control:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  transform: none;
}
.flash-sales-control .material-symbols-rounded {
  font-size: 22px;
  color: currentColor;
}
.flash-sales-grid {
  --flash-sale-gap: 14px;
  display: flex;
  flex-wrap: nowrap;
  gap: var(--flash-sale-gap);
  width: 100%;
  max-width: 100%;
  margin: -4px 0 -16px;
  padding: 4px 0 16px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0;
  scrollbar-width: none;
}
.flash-sales-grid::-webkit-scrollbar {
  display: none;
}
.flash-sale-card,
.flash-sales-empty {
  border: 1px solid var(--nav-cream-300, #e7dbba);
  border-radius: 20px;
  background: var(--nav-cream-50, #fcf9f1);
  box-shadow: none;
}
.flash-sale-card {
  flex: 0 0 calc((100% - (var(--flash-sale-gap) * 3)) / 4);
  min-height: 144px;
  min-width: 0;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  transition:
    transform var(--transition),
    border-color var(--transition);
}
.flash-sale-card:hover,
.flash-sale-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--nav-cream-300, #e7dbba);
  background: var(--nav-cream-100, #faf6ec);
  box-shadow: var(--shadow-soft);
}
.flash-sale-media {
  position: relative;
  min-width: 0;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  background: var(--site-panel-surface);
  box-sizing: border-box;
}
.flash-sale-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0) 62%,
      rgba(255, 255, 255, 0.1) 100%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.02),
      rgba(255, 255, 255, 0.05)
    );
  pointer-events: none;
}
.flash-sale-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  transform: none;
  transition:
    transform var(--transition),
    filter var(--transition);
}
.flash-sale-card:hover .flash-sale-media img,
.flash-sale-card:focus-visible .flash-sale-media img {
  filter: saturate(1.08) contrast(1.03);
  transform: none;
}
.flash-sale-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 16px 15px;
}
.flash-sale-game {
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 700;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.06em;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.flash-sale-item {
  color: var(--body-text-color);
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.22;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.flash-sale-price-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  margin-top: 2px;
}
.flash-sale-price {
  color: var(--body-text-color);
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.15;
}
.flash-sale-original {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: line-through;
}
.flash-sales-empty {
  min-height: 112px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  color: var(--text-muted);
}
.flash-sales-empty .material-symbols-rounded {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid var(--site-panel-border);
  background: var(--site-panel-surface);
  color: var(--body-text-color);
  font-size: 22px;
}
.flash-sales-empty strong {
  color: var(--body-text-color);
  font-size: 0.98rem;
}
.home-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.home-section-head h3 {
  margin: 0;
}
.home-section-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--site-panel-border);
  border-radius: 14px;
  background: var(--site-primary-button);
  color: var(--site-primary-button-text);
  font-size: 0.92rem;
  font-weight: 700;
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition),
    box-shadow var(--transition);
} /* -------------------- CARD WRAPPERS & FOOTERS -------------------- */
.game-card-wrapper {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}
.card-footer {
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--body-text-color);
  line-height: 1.2;
}
.card-dev {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.2;
}
.allgames-card-footer {
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.allgames-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--body-text-color);
  line-height: 1.2;
}
.allgames-card-dev {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.2;
} /* -------------------- RESPONSIVE -------------------- */
@media (max-width: 1024px) {
  .grid,
  .allgames-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .flash-sale-card {
    flex-basis: calc((100% - (var(--flash-sale-gap) * 2)) / 3);
  }
}
@media (max-width: 640px) {
  .grid,
  .allgames-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10.5px;
  }

  .card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    padding-bottom: 0;
  }

  /* Make allgames cards stretch to wrapper on small screens */
  .allgames-card {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    border-radius: 16px;
  }

  .game-card .card-media,
  .game-card .allgames-card-media {
    height: auto;
    aspect-ratio: 31 / 40;
  }

  /* Ensure card media for featured cards is tall enough on mobile */

  .card-media > img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    display: block;
  }

  .game-card-caption {
    min-height: 0;
    gap: 2px;
  }

  .game-card .game-card-caption-title {
    font-size: 0.78rem;
    line-height: 1.2;
  }

  .game-card .game-card-caption-dev {
    font-size: 0.66rem;
  }
} /* Cards: glassy shine + frosted caption on hover */
.card {
  position: relative;
  overflow: hidden;
}
.card:hover::before,
.card:focus-within::before {
  opacity: 1;
} /* make artwork pop */
.card:hover,
.card:focus-within {
  background: var(--site-panel-bg);
  border-color: var(--site-panel-border);
}
.card .card-overlay .logo {
  width: 70px;
  margin-top: 16px;
  margin-bottom: 8px;
}
.card .card-overlay .game-title {
  margin-bottom: 4px;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.4px;
  color: #fff;
  text-align: center;
  background: none;
  border-radius: 0;
  padding: 8px 16px;
}
.card .card-overlay .game-developer,
.allgames-game-developer {
  max-width: calc(100% - 28px);
  margin-bottom: 14px;
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
} /* Desktop (unchanged) */
@media (min-width: 641px) {
  .slide {
    height: 360px;
  }
} /* Mobile: taller frame with side crop */
@media (max-width: 640px) {
  .slider {
    width: calc(100% - 64px);
    aspect-ratio: 10 / 4;
  }
  .slide {
    height: 100%;
  }
  .slide .poster {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border-radius: var(--radius-xl);
  }
  .slide .poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }
} /* 1) The frame's height is driven by its width via aspect-ratio */
.slider {
  width: 100%;
  margin: 0 auto;
  aspect-ratio: 10 / 3;
  height: auto;
} /* 2) Slides fill the slider's computed height */
.slides {
  height: 100%;
}
.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: grid;
  place-items: center;
  transition:
    transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform, opacity;
} /* 3) Show the entire banner (no crop) while resizing */
.slide .poster {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  border: 1px solid var(--site-panel-border);
  background: var(--site-panel-surface);
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}
.slide .poster img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}
@media (min-width: 1200px) {
  .slider {
    max-height: 360px;
  }
} /* Scale the whole component off a single base */
.slider {
  font-size: clamp(8px, 1.6vw, 14px);
} /* Dots/progress bars sized in em so they follow the slider size */
.dots {
  bottom: 1.2em;
  gap: 1.2em;
}
.dot {
  width: 6em;
  height: 0.8em;
  border-radius: 9999px;
}
.dot:focus-visible {
  box-shadow: 0 0 0 0.3em rgba(255, 255, 255, 0.35);
}
.dot .fill {
  height: 100%;
} /* Keep hero slider progress controls as slim progress bars, not liquid buttons. */
html body .slider .dots .dot,
html body .slider .dots .dot:hover,
html body .slider .dots .dot:focus,
html body .slider .dots .dot:focus-visible,
html body .slider .dots .dot:active,
html body .slider .dots .dot.active,
html body .slider .dots .dot.liquid-control,
html body .slider .dots .dot.liquid-stretch-target {
  appearance: none;
}
html body .slider .dots .dot .fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #fff;
}
@media (max-width: 640px) {
  .slider {
    aspect-ratio: auto;
    height: clamp(122px, 33vw, 156px);
  }

  .slide .poster img {
    object-fit: cover;
    object-position: center;
  }
}
.allgames-section {
  margin: 26px 0 12px;
}
.allgames-section h2 {
  margin: 0 0 12px;
  font-size: 1.1rem;
  color: var(--body-text-color);
}
.allgames-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.allgames-card {
  width: 100%;
  height: 240px;
  min-height: 180px;
  border-radius: 20px;
  background: var(--site-panel-bg);
  border: 1px solid var(--site-panel-border);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition:
    box-shadow 240ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
}
.allgames-card:hover {
  box-shadow: var(--shadow-strong);
  border-color: var(--site-panel-border);
}
.allgames-card-media {
  height: 100%;
  background: var(--site-panel-surface);
  display: grid;
  place-items: center;
}
.allgames-logo {
  width: 70px;
  margin-top: 16px;
  margin-bottom: 8px;
}
.allgames-game-title {
  margin-bottom: 4px;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.4px;
  color: #fff;
  text-align: center;
  background: none;
  border-radius: 0;
  padding: 8px 16px;
}
@media (max-width: 640px) {
  .allgames-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .game-card-wrapper {
    width: 100%;
    max-width: 100%;
  }

  .allgames-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    min-height: unset;
    padding-bottom: 0;
  }

  .allgames-card-media > img {
    width: 100%;
    object-fit: contain;
    display: block;
  }
}
aside.card[aria-label="Order summary"] {
  display: inline-block;
  height: auto;
  align-self: flex-start;
} /* Make all denomination and bonus text white */
.denom-chip,
.wdp-chip,
.bonus-chip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  text-align: left;
}
.denom-left,
.wdp-left,
.bonus-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  line-height: 1.2;
}
.denom-main,
.wdp-main,
.bonus-main {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}
.denom-sub,
.wdp-sub,
.bonus-sub {
  font-size: 0.75rem;
  opacity: 0.85;
  color: #fff;
}
.denom-right,
.wdp-right,
.bonus-right {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  text-align: right;
  min-width: 60px;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .footer-links,
  .footer-support {
    display: none;
  }
} /* Give sections breathing room below the fixed navbar */
#top,
#flash-sales,
#mlbb-diamonds,
#mlbb-services,
#support {
  scroll-margin-top: calc(var(--nav-h) + 12px);
}
section {
  scroll-margin-top: calc(var(--nav-h) + 12px);
} /* White border on hover without cutting corners */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: inherit;
  pointer-events: none;
  z-index: 999;
  transition: border-color var(--transition);
}
.card:hover::before,
.card:focus-within::before {
  border-color: #fff;
} /* make sure overlay and shine respect radius and stay below the border */
.card .card-overlay,
.card::after {
  border-radius: inherit;
  z-index: 5;
}
.card:hover::after,
.card:focus-within::after {
  border-color: #fff;
}
#regionModal {
  display: none;
  justify-content: center;
  align-items: center;
}
#regionModal.open {
  display: flex;
}
.region-box {
  background: var(--site-panel-bg);
  border: 1px solid var(--site-panel-border);
  border-radius: 18px;
  padding: 24px;
  width: min(90%, 400px);
  box-shadow: var(--shadow-strong);
  text-align: center;
} /* Sectioned game listings and persistent bottom captions */
.allgames-category-section {
  margin-bottom: 36px;
}
.allgames-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.allgames-section-head h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--body-text-color);
}
.allgames-section-link {
  flex: 0 0 auto;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 99em;
  background: var(--site-primary-button);
  color: var(--site-primary-button-text);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1;
}
.home-game-reveal-controls {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}
.home-game-show-more {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid var(--nav-line, #ddd0ae);
  border-radius: 14px;
  background: var(--nav-cream-100, #efe5c9);
  color: var(--nav-ink-900, #1c1410);
  box-shadow: 0 2px 8px rgba(28, 20, 16, 0.04);
  font: 800 0.9rem var(--interface-font, "Plus Jakarta Sans", sans-serif);
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}
.home-game-show-more:hover,
.home-game-show-more:focus-visible {
  border-color: var(--nav-line, #ddd0ae);
  background-color: var(--nav-cream-200, #e9ddb9);
  color: var(--nav-ink-900, #1c1410);
  box-shadow: 0 4px 12px rgba(28, 20, 16, 0.08);
  transform: translateY(-1px);
}
.home-game-show-more:focus-visible {
  outline: 3px solid rgba(255, 248, 220, 0.22);
  outline-offset: 3px;
}
.home-game-show-more .material-symbols-rounded {
  font-size: 20px;
  line-height: 1;
}
.home-game-card-revealing {
  animation: homeGameCardReveal 420ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes homeGameCardReveal {
  from {
    opacity: 0;
    clip-path: inset(12% 0 0 0 round 20px);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0 round 20px);
  }
}
.allgames-empty-section {
  position: relative;
  min-height: 118px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--site-panel-border);
  border-radius: 18px;
  background: var(--site-panel-bg);
  box-shadow: var(--shadow-soft);
}
.allgames-empty-section::after {
  content: "";
  position: absolute;
  inset: auto -12px -38px auto;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(255, 248, 220, 0.12),
    transparent 64%
  );
  pointer-events: none;
}
.allgames-empty-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid var(--site-panel-border);
  background: var(--site-panel-surface);
  box-shadow: none;
}
.allgames-empty-icon .material-symbols-rounded {
  margin: 0;
  color: var(--body-text-color);
  font-size: 25px;
}
.allgames-empty-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}
.allgames-empty-copy strong {
  color: var(--body-text-color);
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.2;
}
.allgames-empty-copy span {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.45;
}
.allgames-empty-action {
  position: relative;
  z-index: 1;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--site-panel-border);
  background: var(--site-primary-button);
  color: var(--site-primary-button-text);
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition);
}
.game-card.card,
.allgames-card.game-card {
  height: 240px;
  min-height: 240px;
}
.game-card .card-media,
.game-card .allgames-card-media {
  position: relative;
  z-index: 1;
  height: 100%;
  overflow: hidden;
}
.game-card .card-media > img,
.game-card .allgames-card-media > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition:
    filter var(--transition),
    transform var(--transition);
}
.game-card:hover .card-media > img,
.game-card:focus-within .card-media > img,
.game-card:hover .allgames-card-media > img,
.game-card:focus-within .allgames-card-media > img {
  filter: brightness(0.68) saturate(1.04);
} /* Obsolete card overlay styles removed to prevent layout conflicts */
@media (max-width: 640px) {
  .allgames-section-head {
    margin-bottom: 10px;
  }

  .allgames-section-head h2 {
    font-size: 1rem;
  }

  .allgames-empty-section {
    min-height: 0;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
  }

  .allgames-empty-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .allgames-empty-icon .material-symbols-rounded {
    font-size: 22px;
  }

  .allgames-empty-copy strong {
    font-size: 0.9rem;
  }

  .allgames-empty-copy span {
    font-size: 0.78rem;
  }

  .allgames-empty-action {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 36px;
    font-size: 0.78rem;
  }

  .game-card.card,
  .allgames-card.game-card {
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
  }

  .game-card .card-overlay,
  .game-card .allgames-card-overlay {
    min-height: 66px;
    padding: 28px 9px 9px;
    gap: 2px;
  }

  .game-card .card-overlay .game-title,
  .game-card .allgames-game-title {
    font-size: 0.76rem;
  }

  .game-title-flag {
    width: 18px;
    height: 13px;
    border-radius: 3px;
  }

  .game-card .card-overlay .game-developer,
  .game-card .allgames-game-developer {
    font-size: 0.62rem;
  }

  .flash-sales-head {
    align-items: flex-start;
    flex-direction: row;
    gap: 10px;
  }

  .flash-sales-heading {
    flex: 1 1 auto;
    min-width: 0;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .flash-sales-title {
    min-width: 0;
    flex: 0 1 auto;
  }

  .flash-sales-title span:last-child {
    white-space: nowrap;
  }

  .flash-sales-head h3 {
    font-size: 1rem;
  }

  .flash-sales-title .material-symbols-rounded {
    width: 22px;
    height: 22px;
    border-radius: 8px;
    font-size: 16px;
  }

  .flash-sales-countdown {
    flex: 0 0 auto;
    max-width: 100%;
    transform: translateY(1px);
    min-height: 26px;
    padding: 5px 9px;
    font-size: 0.72rem;
  }

  .flash-sales-countdown .material-symbols-rounded {
    font-size: 13px;
  }

  .flash-sales-control {
    width: 34px;
    height: 34px;
    border-radius: 11px;
  }

  .flash-sales-control .material-symbols-rounded {
    font-size: 20px;
  }

  .home-section-head {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    gap: 12px;
  }

  .home-section-head h3 {
    min-width: 0;
    font-size: 1rem;
    line-height: 1.2;
  }

  .home-section-link {
    width: auto;
    min-height: 38px;
    flex: 0 0 auto;
    padding: 0 13px;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .flash-sales-grid {
    --flash-sale-gap: 10px;
    gap: var(--flash-sale-gap);
  }

  .flash-sale-card {
    flex-basis: min(210px, 82vw);
    grid-template-columns: 93px minmax(0, 1fr);
    height: 122px;
    min-height: 122px;
    border-radius: 16px;
  }

  .flash-sale-media {
    height: 100%;
  }

  .flash-sale-media img {
    width: 100%;
    height: 100%;
    min-height: 0;
  }

  .flash-sale-copy {
    gap: 6px;
    padding: 11px 11px;
  }

  .flash-sale-game {
    font-size: 0.68rem;
  }

  .flash-sale-item {
    font-size: 0.9rem;
  }

  .flash-sale-original {
    font-size: 0.74rem;
  }

  .flash-sale-price {
    font-size: 1rem;
  }

  .flash-sales-empty {
    align-items: flex-start;
    flex-direction: column;
  }
}
.region-grid {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}
.region-grid button {
  padding: 12px;
  border-radius: 12px;
  background: var(--site-primary-button);
  border: none;
  color: var(--site-primary-button-text);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s;
}
.region-grid button:hover {
  transform: translateY(-2px);
}
.close-btn {
  background: var(--site-panel-surface);
  border: 1px solid var(--site-panel-border);
  padding: 8px 14px;
  border-radius: 10px;
  color: var(--body-text-color);
  cursor: pointer;
}
.region-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}
.region-overlay.open {
  display: flex;
} /* Tools: shared sub-component rules */
.tools-home-card-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}
.tools-home-card-head-main {
  display: block;
  align-items: flex-start;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
}
.tools-home-card-head-copy {
  min-width: 0;
  flex: 1 1 auto;
  padding-top: 20px;
}
.tools-home-status {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--site-panel-border);
  background: var(--site-panel-surface);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tools-home-status.live {
  color: #d5f4df;
  border-color: rgba(72, 187, 120, 0.22);
  background: rgba(72, 187, 120, 0.08);
}
.tools-home-status.soon {
  color: #ffd99a;
  border-color: rgba(214, 158, 46, 0.22);
  background: rgba(214, 158, 46, 0.08);
}
.tools-home-card h4 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.tools-home-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-muted);
}
.tools-home-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tools-home-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--site-panel-surface);
  border: 1px solid var(--site-panel-border);
  font-size: 0.78rem;
  color: var(--text-muted);
}
.tools-home-chip .material-symbols-rounded,
.tools-home-btn .material-symbols-rounded {
  font-size: 16px;
  color: inherit;
  font-variation-settings:
    "FILL" 1,
    "wght" 500,
    "GRAD" 0,
    "opsz" 16;
}
.tools-home-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 2px;
}
.tools-home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--site-panel-border);
  background: var(--site-panel-surface);
  color: var(--body-text-color);
  text-decoration: none;
  font:
    700 0.9rem "Plus Jakarta Sans",
    sans-serif;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}
.tools-home-btn:hover {
  transform: translateY(-1px);
}
.tools-home-btn-primary {
  background: var(--site-panel-accent, rgba(151, 132, 82, 0.66));
  box-shadow: 0 10px 20px rgba(13, 12, 8, 0.18);
}
.tools-home-btn-muted {
  background: var(--site-panel-surface);
  color: var(--text-muted);
  border-color: var(--site-panel-border);
  cursor: default;
  pointer-events: none;
} /* Mobile layout */
@media (max-width: 640px) {
  .tools-home-grid {
    grid-template-columns: 1fr;
  }

  .tools-home-card {
    padding: 18px;
  }

  .tools-home-card-head,
  .tools-home-card-head-main {
    flex-direction: row;
    align-items: flex-start;
  }

  .tools-home-card-head {
    align-items: flex-start;
  }
}
.tools-home-icon-wrapper {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
} /* Homepage tools redesign */
.tools-section {
  gap: 14px;
}
.tools-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 12px;
}
.tools-section-head h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0;
}
.tools-section-kicker {
  display: block;
  margin: 0 0 5px;
  color: #7a6a4c;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.tools-section-link {
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 0.84rem;
  font-weight: 850;
}
.tools-section-link .material-symbols-rounded {
  margin: 0;
  color: currentColor;
  font-size: 18px;
}
.tools-home-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.tools-home-card {
  --tool-accent: #d8c58b;
  --tool-accent-bg: rgba(216, 197, 139, 0.14);
  position: relative;
  min-height: 150px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto minmax(0, 1fr);
  align-content: stretch;
  gap: 14px 12px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background:
    radial-gradient(
      130% 150% at 100% 100%,
      rgba(255, 248, 220, 0.08),
      transparent 58%
    ),
    radial-gradient(
      120% 140% at 0% 0%,
      rgba(255, 255, 255, 0.14),
      rgba(255, 255, 255, 0.05) 42%,
      rgba(255, 255, 255, 0.02) 72%
    ),
    var(--site-panel-bg, rgba(70, 66, 50, 0.64));
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  color: #fff;
  isolation: isolate;
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
}
.tools-home-card::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto auto;
  width: 112px;
  height: 112px;
  border-radius: 0 0 0 100%;
  background: radial-gradient(
    112px 112px at 100% 0%,
    rgba(255, 255, 255, 0.16),
    transparent 66%
  );
  pointer-events: none;
  z-index: 0;
}
.tools-home-card:nth-child(2) {
  --tool-accent: #68d6c4;
  --tool-accent-bg: rgba(104, 214, 196, 0.13);
}
.tools-home-card:nth-child(3) {
  --tool-accent: #ffd166;
  --tool-accent-bg: rgba(255, 209, 102, 0.13);
}
.tools-home-card:nth-child(4) {
  --tool-accent: #9cc9ff;
  --tool-accent-bg: rgba(156, 201, 255, 0.13);
}
.tools-home-card:nth-child(5) {
  --tool-accent: #d6b3ff;
  --tool-accent-bg: rgba(214, 179, 255, 0.13);
}
.tools-home-card:hover,
.tools-home-card:focus-visible {
  transform: translateY(-1px);
  box-shadow:
    0 26px 48px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.26);
}
.tools-home-card:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.72);
  outline-offset: -3px;
}
.tools-home-index {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}
.tools-home-icon {
  grid-column: 2;
  grid-row: 1;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border: 1px solid
    color-mix(in srgb, var(--tool-accent) 42%, rgba(255, 255, 255, 0.18));
  border-radius: 10px;
  background: var(--tool-accent-bg);
  box-shadow: none;
}
.tools-home-icon .material-symbols-rounded {
  margin: 0;
  color: var(--tool-accent);
  font-size: 20px;
  font-variation-settings:
    "FILL" 0,
    "wght" 650,
    "GRAD" 0,
    "opsz" 20;
}
.tools-home-copy {
  grid-column: 1 / -1;
  display: grid;
  align-content: end;
  gap: 5px;
  min-width: 0;
}
.tools-home-type {
  color: var(--tool-accent);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.tools-home-copy strong {
  color: #fff;
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.15;
}
.tools-home-copy small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.35;
}
.tools-home-arrow {
  position: absolute;
  right: 15px;
  bottom: 14px;
  min-width: 0;
  min-height: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 18px;
  transform: translateX(-2px);
  transition:
    color var(--transition),
    transform var(--transition);
}
.tools-home-card:hover .tools-home-arrow,
.tools-home-card:focus-visible .tools-home-arrow {
  color: #fff;
  transform: translateX(1px);
}
@media (max-width: 960px) {
  .tools-home-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tools-home-card {
    min-height: 126px;
  }
}
@media (max-width: 640px) {
  .tools-section-head {
    align-items: center;
    flex-direction: row;
  }

  .tools-section-link {
    min-height: 36px;
    padding: 0 11px;
    font-size: 0.76rem;
    white-space: nowrap;
  }

  .tools-home-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .tools-home-card {
    min-height: 0;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: auto;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 18px;
  }

  .tools-home-index {
    display: none;
  }

  .tools-home-icon {
    grid-column: auto;
    grid-row: auto;
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .tools-home-copy {
    grid-column: auto;
    align-content: center;
    gap: 2px;
  }

  .tools-home-type {
    display: none;
  }

  .tools-home-copy strong {
    font-size: 0.9rem;
  }

  .tools-home-copy small {
    font-size: 0.72rem;
  }

  .tools-home-arrow {
    position: static;
    font-size: 18px;
  }
} /* Primary homepage controls: cream colored rectangular buttons. */
.flash-sales-control,
.home-section-link,
.tools-section-link,
.allgames-section-link,
.allgames-empty-action,
.btn-ghost,
.home-game-show-more {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.home-section-link,
.tools-section-link,
.allgames-section-link,
.allgames-empty-action,
.btn-ghost {
  padding-inline: 18px;
}
.home-section-link,
.tools-section-link,
.allgames-section-link {
  min-height: 36px;
  padding: 0 16px;
  font-size: 0.84rem;
  line-height: 1;
}
.allgames-empty-action,
.btn-ghost {
  min-height: 40px;
  padding-inline: 16px;
}
.flash-sales-control {
  width: 44px;
  min-width: 44px;
  max-width: 44px;
  height: 44px;
  min-height: 44px;
  max-height: 44px;
  padding: 0;
  aspect-ratio: 1 / 1;
}
.flash-sales-control:focus-visible,
.home-section-link:focus-visible,
.tools-section-link:focus-visible,
.allgames-section-link:focus-visible,
.allgames-empty-action:focus-visible,
.btn-ghost:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--liquid-c-light) 72%, transparent);
  outline-offset: 3px;
}
.flash-sales-control:disabled {
  opacity: 0.52;
  cursor: not-allowed;
}
@keyframes scaleToggle {
  0% {
    scale: 1 1;
  }
  50% {
    scale: 1.1 1;
  }
  100% {
    scale: 1 1;
  }
} /* Smaller flash sales carousel controls */
.flash-sales-control .material-symbols-rounded {
  font-size: 20px;
}
@media (max-width: 640px) {
  .flash-sales-controls {
    gap: 6px;
  }

  .flash-sales-control .material-symbols-rounded {
    font-size: 18px;
  }
} /* Flash sales arrow button styling. */
html body .flash-sales-control.flash-sales-control,
html body .flash-sales-control.flash-sales-control:hover,
html body .flash-sales-control.flash-sales-control:focus-visible,
html body .flash-sales-control.flash-sales-control:active {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  min-width: 38px;
  max-width: 38px;
  height: 38px;
  min-height: 38px;
  max-height: 38px;
  padding: 0;
  border: none;
  border-radius: 99em;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--site-primary-button);
  background-image: none;
  color: var(--site-primary-button-text);
  box-shadow: 0 4px 12px rgba(43, 36, 24, 0.18);
  filter: none;
  transition: none;
}
html body .flash-sales-control.flash-sales-control .material-symbols-rounded {
  position: relative;
  z-index: 1;
  font-size: 20px;
  color: currentColor;
}
html body .flash-sales-control.flash-sales-control:disabled {
  opacity: 0.52;
  cursor: not-allowed;
}
@media (max-width: 640px) {
  html body .flash-sales-control.flash-sales-control,
  html body .flash-sales-control.flash-sales-control:hover,
  html body .flash-sales-control.flash-sales-control:focus-visible,
  html body .flash-sales-control.flash-sales-control:active {
    width: 34px;
    min-width: 34px;
    max-width: 34px;
    height: 34px;
    min-height: 34px;
    max-height: 34px;
  }

  html body .flash-sales-control.flash-sales-control .material-symbols-rounded {
    font-size: 18px;
  }
} /* Game captions sit outside the visual card on home and all-games pages. */
.game-card.card {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 9px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.game-card.card:hover,
.game-card.card:focus-within {
  border-color: transparent;
  box-shadow: none;
}
.game-card.card::before,
.game-card.card::after {
  content: none;
  display: none;
}
.game-card .card-media,
.game-card .allgames-card-media {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 31 / 40;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 20px;
  background: var(--site-panel-surface);
}
.game-card .card-media > img,
.game-card .allgames-card-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.3s ease;
}
.game-card-hover-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
}
.game-card .game-card-hover-lockup .game-card-overlay-logo {
  display: block;
  width: 70px;
  max-width: 70px;
  max-height: 32px;
  height: auto;
  margin: 0;
  object-fit: contain;
}
.game-card-caption {
  width: 100%;
  min-height: 42px;
  display: grid;
  gap: 3px;
  align-content: start;
  padding: 0 2px;
  color: var(--body-text-color);
  text-align: left;
}
.game-card .game-card-caption-title,
.game-card:hover .game-card-caption-title,
.game-card:focus-within .game-card-caption-title,
.game-card .game-card-caption .game-title,
.game-card:hover .game-card-caption .game-title,
.game-card:focus-within .game-card-caption .game-title,
.game-card .game-card-caption .allgames-game-title,
.game-card:hover .game-card-caption .allgames-game-title,
.game-card:focus-within .game-card-caption .allgames-game-title {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  color: var(--body-text-color);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0;
  text-align: left;
  text-shadow: none;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.game-card .game-card-caption-title.game-title-with-flag,
.game-card:hover .game-card-caption-title.game-title-with-flag,
.game-card:focus-within .game-card-caption-title.game-title-with-flag {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
}
.game-card .game-card-caption-title.game-title-with-flag span,
.game-card:hover .game-card-caption-title.game-title-with-flag span,
.game-card:focus-within .game-card-caption-title.game-title-with-flag span {
  min-width: 0;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}
.game-card .game-card-caption-dev,
.game-card:hover .game-card-caption-dev,
.game-card:focus-within .game-card-caption-dev,
.game-card .game-card-caption .game-developer,
.game-card:hover .game-card-caption .game-developer,
.game-card:focus-within .game-card-caption .game-developer,
.game-card .game-card-caption .allgames-game-developer,
.game-card:hover .game-card-caption .allgames-game-developer,
.game-card:focus-within .game-card-caption .allgames-game-developer {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .game-card.card {
    flex: 1 1 calc(33.333% - 7px);
    max-width: calc(33.333% - 7px);
    width: auto;
    min-width: 0;
    gap: 7px;
  }

  .game-card .card-media,
  .game-card .allgames-card-media {
    border-radius: 16px;
  }

  .game-card .card-overlay,
  .game-card .allgames-card-overlay,
  .game-card:hover .card-overlay,
  .game-card:focus-within .card-overlay,
  .game-card:hover .allgames-card-overlay,
  .game-card:focus-within .allgames-card-overlay {
    border-radius: 16px;
  }

  .game-card .game-card-overlay-logo,
  .game-card:hover .game-card-overlay-logo,
  .game-card:focus-within .game-card-overlay-logo {
    top: 9px;
    width: 48px;
    max-width: 48px;
    max-height: 22px;
  }

  .game-card-caption {
    min-height: 38px;
    gap: 2px;
  }

  .game-card .game-card-caption-title,
  .game-card .game-card-caption .game-title,
  .game-card .game-card-caption .allgames-game-title {
    font-size: 0.76rem;
  }

  .game-card .game-card-caption-dev,
  .game-card .game-card-caption .game-developer,
  .game-card .game-card-caption .allgames-game-developer {
    font-size: 0.62rem;
  }
} /* Pointer-driven 3D depth for every shared game-card image. */
@media (min-width: 769px) {
  .game-card .card-media,
  .game-card .allgames-card-media {
    transform: perspective(800px) rotateX(var(--game-card-rotate-x, 0deg))
      rotateY(var(--game-card-rotate-y, 0deg)) scale(1);
    transform-style: preserve-3d;
    will-change: transform;
    transition:
      transform 160ms ease-out,
      box-shadow 160ms ease-out;
  }

  .game-card .card-media::after,
  .game-card .allgames-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(
      circle at var(--game-card-light-x, 50%) var(--game-card-light-y, 50%),
      rgba(255, 255, 255, 0.34),
      transparent 58%
    );
    transition: opacity 160ms ease-out;
  }

  .game-card .card-media.is-3d-tilting,
  .game-card .allgames-card-media.is-3d-tilting {
    transform: perspective(800px) rotateX(var(--game-card-rotate-x, 0deg))
      rotateY(var(--game-card-rotate-y, 0deg)) scale(1.05);
    box-shadow: 0 24px 40px rgba(28, 20, 16, 0.28);
  }
  .game-card .card-media.is-3d-tilting::after,
  .game-card .allgames-card-media.is-3d-tilting::after {
    opacity: 1;
  }
} /* Visible 3D fallback when pointer tracking is unavailable. */
@media (min-width: 769px) {
  .game-card:hover .card-media,
  .game-card:focus-within .card-media,
  .game-card:hover .allgames-card-media,
  .game-card:focus-within .allgames-card-media {
    --game-card-rotate-x: 4deg;
    --game-card-rotate-y: -4deg;
    --game-card-light-x: 72%;
    --game-card-light-y: 28%;
    transform: perspective(800px) rotateX(var(--game-card-rotate-x))
      rotateY(var(--game-card-rotate-y)) scale(1.04);
    box-shadow: 0 22px 36px rgba(28, 20, 16, 0.25);
  }

  .game-card:hover .card-media::after,
  .game-card:focus-within .card-media::after,
  .game-card:hover .allgames-card-media::after,
  .game-card:focus-within .allgames-card-media::after {
    opacity: 1;
  }
} /* Global game-card 3D hover: works at every viewport width with a mouse or trackpad. */
.game-card .card-media,
.game-card .allgames-card-media {
  transform-origin: center;
  transform-style: preserve-3d;
  will-change: transform;
  transition:
    transform 180ms ease-out,
    box-shadow 180ms ease-out;
}
.game-card .card-media::after,
.game-card .allgames-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    circle at var(--game-card-light-x, 72%) var(--game-card-light-y, 28%),
    rgba(255, 255, 255, 0.38),
    transparent 58%
  );
  transition: opacity 180ms ease-out;
}
.game-card:hover .card-media,
.game-card:focus-within .card-media,
.game-card:hover .allgames-card-media,
.game-card:focus-within .allgames-card-media {
  --game-card-rotate-x: 6deg;
  --game-card-rotate-y: -6deg;
  --game-card-light-x: 72%;
  --game-card-light-y: 28%;
}
.game-card:hover .card-media::after,
.game-card:focus-within .card-media::after,
.game-card:hover .allgames-card-media::after,
.game-card:focus-within .allgames-card-media::after {
  opacity: 1;
} /* Keep the game artwork sharp beneath its hover lockup. */ /* Tune the cursor sheen and depth so the artwork remains the focus. */
.game-card:hover .card-media,
.game-card:focus-within .card-media,
.game-card:hover .allgames-card-media,
.game-card:focus-within .allgames-card-media {
  --game-card-rotate-x: 9deg;
  --game-card-rotate-y: -9deg;
} /* Keep pointer-following tilt responsive instead of easing behind the cursor. */ /* Crisp, performant hover presentation layered over the pointer-driven tilt. */
.game-card .card-media > img,
.game-card .allgames-card-media > img {
  transform: scale(1);
}
.game-card:hover .card-media > img,
.game-card:focus-within .card-media > img,
.game-card:hover .allgames-card-media > img,
.game-card:focus-within .allgames-card-media > img {
  transform: scale(1.025);
}
.game-card .game-card-hover-title {
  max-width: 92%;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-shadow: 0 2px 8px rgba(28, 20, 16, 0.6);
  opacity: 0;
  transform: translateY(5px);
  transition:
    opacity 140ms ease-out,
    transform 160ms ease-out;
}
.game-card:hover .game-card-hover-title,
.game-card:focus-within .game-card-hover-title {
  opacity: 1;
  transform: translateY(0);
}
.game-card .card-media::before,
.game-card .allgames-card-media::before {
  content: "";
  position: absolute;
  inset: -55%;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    135deg,
    transparent 43%,
    rgba(255, 255, 255, 0.04) 47%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0.06) 53%,
    transparent 58%
  );
  transform: translate3d(-45%, -45%, 0);
}
.game-card:hover .card-media::before,
.game-card:focus-within .card-media::before,
.game-card:hover .allgames-card-media::before,
.game-card:focus-within .allgames-card-media::before {
  animation: gameCardDiagonalShine 680ms cubic-bezier(0.2, 0.7, 0.25, 1) both;
}
@keyframes gameCardDiagonalShine {
  0% {
    opacity: 0;
    transform: translate3d(-45%, -45%, 0);
  }
  18% {
    opacity: 0.72;
  }
  70% {
    opacity: 0.42;
  }
  100% {
    opacity: 0;
    transform: translate3d(45%, 45%, 0);
  }
} /* Disable hover/active image blur, zoom and overlay tints */
.game-card .card-media::before,
.game-card .allgames-card-media::before {
  background: linear-gradient(
    135deg,
    transparent 40%,
    rgba(255, 255, 255, 0.08) 45%,
    rgba(255, 255, 255, 0.65) 50%,
    rgba(255, 255, 255, 0.16) 55%,
    transparent 61%
  );
}
.game-card:hover .card-media::before,
.game-card:focus-within .card-media::before,
.game-card:hover .allgames-card-media::before,
.game-card:focus-within .allgames-card-media::before,
.game-card.is-3d-active .card-media::before,
.game-card.is-3d-active .allgames-card-media::before {
  animation-duration: 1100ms;
  animation-timing-function: cubic-bezier(0.18, 0.7, 0.22, 1);
} /* Repair region-card flags and mobile sizing after legacy card overrides. */
.game-card .game-title-flag {
  width: 22px;
  height: 15px;
  max-width: 22px;
  flex: 0 0 22px;
  display: block;
  object-fit: cover;
  border-radius: 3px;
}
@media (max-width: 640px) {
  .grid,
  .allgames-section-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .game-card.card {
    width: 100%;
    max-width: none;
    min-width: 0;
    flex: none;
  }

  .game-card .game-title-flag {
    width: 18px;
    height: 13px;
    max-width: 18px;
    flex-basis: 18px;
  }
}
.container-main {
  overflow: visible;
}
.hero-slider-container {
  overflow: visible;
}
.slider {
  contain: none;
}
.slides {
  overflow: visible;
}
.card:hover .card-media > img,
.card:focus-within .card-media > img,
.game-card:hover .card-media > img,
.game-card:focus-within .card-media > img,
.allgames-card:hover .allgames-card-media > img,
.allgames-card:focus-within .allgames-card-media > img {
  filter: none;
  transform: none;
}
.card .card-overlay,
.card:hover .card-overlay,
.card:focus-within .card-overlay,
.allgames-card-overlay,
.allgames-card:hover .allgames-card-overlay,
.allgames-card:focus-within .allgames-card-overlay,
.game-card .card-overlay,
.game-card:hover .card-overlay,
.game-card .allgames-card-overlay,
.game-card:hover .allgames-card-overlay {
  display: none;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.slider {
  overflow: visible;
}
html body .slider .dots .dot,
html body .slider .dots .dot:hover,
html body .slider .dots .dot:focus,
html body .slider .dots .dot:focus-visible,
html body .slider .dots .dot:active,
html body .slider .dots .dot.active,
html body .slider .dots .dot.liquid-control,
html body .slider .dots .dot.liquid-stretch-target {
  width: 6em;
  min-width: 0;
  max-width: none;
  height: 0.8em;
  min-height: 0;
  max-height: none;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.25);
  background-image: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  filter: none;
  transform: none;
  transition: none;
  overflow: hidden;
  aspect-ratio: auto;
}
html body .slider .dots .dot::before,
html body .slider .dots .dot::after {
  content: none;
  display: none;
}
html body .slider .dots .dot:focus-visible {
  box-shadow: 0 0 0 0.3em rgba(255, 255, 255, 0.35);
}
.allgames-card-overlay {
  display: none;
  opacity: 0;
  pointer-events: none;
}
#denomGrid .chip span,
#wdpGrid .chip span,
#bonusGrid .chip span {
  color: #fff;
}
#allgames {
  display: none;
}
.home-game-reveal-controls[hidden] {
  display: none;
}
.home-game-card-hidden {
  display: none;
}
.home-game-card-measure {
  visibility: hidden;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .home-game-card-revealing {
    animation: none;
  }
}
.flash-sales-control,
.home-section-link,
.tools-section-link,
.allgames-section-link,
.allgames-empty-action,
.btn-ghost,
.home-game-show-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--nav-line, #ddd0ae);
  border-radius: 14px;
  background: none;
  background-color: var(--nav-cream-100, #efe5c9);
  color: var(--nav-ink-900, #1c1410);
  box-shadow: 0 2px 8px rgba(28, 20, 16, 0.04);
  transform: none;
  transition:
    background var(--transition),
    color var(--transition);
}
.flash-sales-control::before,
.home-section-link::before,
.tools-section-link::before,
.allgames-section-link::before,
.allgames-empty-action::before,
.btn-ghost::before,
.home-game-show-more::before {
  display: none;
}
.flash-sales-control:hover,
.flash-sales-control:focus-visible,
.home-section-link:hover,
.home-section-link:focus-visible,
.tools-section-link:hover,
.tools-section-link:focus-visible,
.allgames-section-link:hover,
.allgames-section-link:focus-visible,
.allgames-empty-action:hover,
.allgames-empty-action:focus-visible,
.btn-ghost:hover,
.btn-ghost:focus-visible,
.home-game-show-more:hover,
.home-game-show-more:focus-visible {
  border: 1px solid var(--nav-line, #ddd0ae);
  background: none;
  background-color: var(--nav-cream-200, #e9ddb9);
  color: var(--nav-ink-900, #1c1410);
  box-shadow: 0 4px 12px rgba(28, 20, 16, 0.08);
  transform: none;
  transition: none;
}
.flash-sales-control {
  width: 38px;
  min-width: 38px;
  max-width: 38px;
  height: 38px;
  min-height: 38px;
  max-height: 38px;
}
@media (max-width: 640px) {
  .flash-sales-control {
    width: 34px;
    min-width: 34px;
    max-width: 34px;
    height: 34px;
    min-height: 34px;
    max-height: 34px;
  }
}
html body .flash-sales-control.flash-sales-control::before,
html body .flash-sales-control.flash-sales-control::after {
  content: none;
  display: none;
}
.game-card:hover .card-media > img,
.game-card:focus-within .card-media > img,
.game-card:hover .allgames-card-media > img,
.game-card:focus-within .allgames-card-media > img {
  filter: none;
  transform: none;
}
.game-card .card-overlay,
.game-card .allgames-card-overlay,
.game-card:hover .card-overlay,
.game-card:focus-within .card-overlay,
.game-card:hover .allgames-card-overlay,
.game-card:focus-within .allgames-card-overlay {
  display: none;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.game-card-hover-title {
  display: none;
}
@media (max-width: 1000px) {
  .flash-sales-control:hover,
  .home-section-link:hover,
  .tools-section-link:hover,
  .allgames-section-link:hover,
  .allgames-empty-action:hover,
  .btn-ghost:hover,
  .home-game-show-more:hover {
    border-color: var(--nav-line, #ddd0ae);
    background-color: var(--nav-cream-100, #efe5c9);
    color: var(--nav-ink-900, #1c1410);
    box-shadow: 0 2px 8px rgba(28, 20, 16, 0.04);
    transform: none;
  }

  .tools-home-btn:hover {
    transform: none;
  }

  .tools-home-card:hover {
    transform: none;
    box-shadow:
      0 22px 44px rgba(0, 0, 0, 0.24),
      inset 0 1px 0 rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.18);
  }
}
@media (prefers-reduced-motion: reduce) {
  .game-card .card-media,
  .game-card .allgames-card-media {
    transform: none;
    transition: none;
  }
}
.game-card:hover .card-media,
.game-card:focus-within .card-media,
.game-card:hover .allgames-card-media,
.game-card:focus-within .allgames-card-media {
  transform: perspective(800px) rotateX(var(--game-card-rotate-x))
    rotateY(var(--game-card-rotate-y)) scale(1.06);
  box-shadow: 0 28px 46px rgba(28, 20, 16, 0.3);
}
.game-card .card-media > img,
.game-card .allgames-card-media > img,
.game-card:hover .card-media > img,
.game-card:focus-within .card-media > img,
.game-card:hover .allgames-card-media > img,
.game-card:focus-within .allgames-card-media > img {
  filter: none;
}
@media (prefers-reduced-motion: reduce) {
  .game-card .card-media,
  .game-card .allgames-card-media,
  .game-card:hover .card-media,
  .game-card:focus-within .card-media,
  .game-card:hover .allgames-card-media,
  .game-card:focus-within .allgames-card-media {
    transform: none;
    transition: none;
  }
}
.game-card .card-overlay,
.game-card .allgames-card-overlay {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.game-card .card-media::after,
.game-card .allgames-card-media::after {
  background: radial-gradient(
    circle at var(--game-card-light-x, 72%) var(--game-card-light-y, 28%),
    rgba(255, 255, 255, 0.18),
    transparent 58%
  );
}
.game-card:hover .card-media::after,
.game-card:focus-within .card-media::after,
.game-card:hover .allgames-card-media::after,
.game-card:focus-within .allgames-card-media::after,
.game-card .card-media.is-3d-tilting::after,
.game-card .allgames-card-media.is-3d-tilting::after {
  opacity: 0.32;
}
@media (prefers-reduced-motion: reduce) {
  .game-card .card-media::after,
  .game-card .allgames-card-media::after {
    opacity: 0;
  }
}
.game-card .card-media,
.game-card .allgames-card-media {
  transition:
    transform 70ms linear,
    box-shadow 120ms ease-out;
}
.game-card .card-media::after,
.game-card .allgames-card-media::after {
  transition: opacity 90ms ease-out;
}
.game-card .card-media.is-3d-tilting,
.game-card .allgames-card-media.is-3d-tilting {
  transition: box-shadow 120ms ease-out;
}
.game-card .card-media,
.game-card .allgames-card-media,
.game-card .card-media.is-3d-tilting,
.game-card .allgames-card-media.is-3d-tilting {
  transition:
    transform 90ms cubic-bezier(0.2, 0.65, 0.3, 1),
    box-shadow 120ms ease-out;
}
.game-card .card-media > img,
.game-card .allgames-card-media > img {
  filter: none;
  transition:
    filter 140ms ease-out,
    transform 160ms ease-out;
}
.game-card:hover .card-media > img,
.game-card:focus-within .card-media > img,
.game-card:hover .allgames-card-media > img,
.game-card:focus-within .allgames-card-media > img {
  filter: blur(2px) brightness(0.82) saturate(0.96);
}
.game-card .card-overlay,
.game-card .allgames-card-overlay {
  background: rgba(28, 20, 16, 0.12);
  transition: opacity 140ms ease-out;
}
.game-card .game-card-hover-title {
  display: block;
  color: #fff;
}
@media (prefers-reduced-motion: reduce) {
  .game-card .card-media::before,
  .game-card .allgames-card-media::before {
    animation: none;
    opacity: 0;
  }
}
.game-card .card-media > img,
.game-card .allgames-card-media > img,
.game-card:hover .card-media > img,
.game-card:focus-within .card-media > img,
.game-card:hover .allgames-card-media > img,
.game-card:focus-within .allgames-card-media > img,
.game-card.is-3d-active .card-media > img,
.game-card.is-3d-active .allgames-card-media > img {
  filter: none;
  transform: none;
}
.game-card .card-overlay,
.game-card .allgames-card-overlay,
.game-card.is-3d-active .card-overlay,
.game-card.is-3d-active .allgames-card-overlay {
  display: none;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Show the full game, gift-card and voucher artwork without cropping it. */
.game-card .card-media > img,
.game-card .allgames-card-media > img {
  object-fit: contain;
  object-position: center;
}

/* Flash Sales: photo on left (smaller square with generous spacing) layout */
.flash-sale-card {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 16px;
  gap: 16px;
}

@media (min-width: 641px) {
  .flash-sale-card {
    flex-basis: calc((100% - (var(--flash-sale-gap) * 3)) / 4);
    height: 108px;
    min-height: 108px;
    padding: 16px;
    gap: 16px;
  }
}

.flash-sale-media {
  position: relative;
  inset: auto;
  z-index: 0;
  width: 76px;
  height: 76px;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 14px;
  background: var(--nav-cream-100, #faf6ec);
  box-sizing: border-box;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.flash-sale-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  min-height: 0;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  transition:
    transform var(--transition),
    filter var(--transition);
}

.flash-sale-card:hover .flash-sale-media img,
.flash-sale-card:focus-visible .flash-sale-media img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.06);
}

.flash-sale-copy {
  flex: 1 1 auto;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 0 4px 0 0;
  min-width: 0;
}

.flash-sale-game {
  font-size: 0.68rem;
  line-height: 1.15;
}

.flash-sale-item {
  font-size: 0.92rem;
  line-height: 1.16;
}

.flash-sale-price-stack {
  gap: 0;
  margin-top: 0;
}

.flash-sale-original {
  font-size: 0.74rem;
}

.flash-sale-price {
  font-size: 1.02rem;
}

@media (max-width: 640px) {
  .flash-sale-card {
    flex-basis: min(210px, 82vw);
    height: 92px;
    min-height: 92px;
    padding: 12px;
    gap: 12px;
  }

  .flash-sale-media {
    width: 64px;
    height: 64px;
    border-radius: 10px;
  }

  .flash-sale-media img {
    border-radius: 10px;
  }

  .flash-sale-copy {
    gap: 2px;
    padding: 0 2px 0 0;
  }

  .flash-sale-game {
    font-size: 0.62rem;
    line-height: 1.1;
  }

  .flash-sale-item {
    font-size: 0.82rem;
    line-height: 1.14;
  }

  .flash-sale-original {
    font-size: 0.68rem;
  }

  .flash-sale-price {
    font-size: 0.92rem;
  }
}

/* Flash Sale tickets: selected detachable-stub reference, kept compact for this rail */
.flash-sales-grid .flash-sale-card {
  --flash-ticket-paper: #fffdf7;
  --flash-ticket-border: #e0d1aa;
  --flash-ticket-etched-line: rgba(154, 131, 79, 0.42);
  --flash-ticket-accent: #c51e34;
  --flash-ticket-stub-width: 50px;
  --flash-ticket-outline: polygon(
    6px 0,
    calc(100% - 6px) 0,
    calc(100% - 5.9px) 1.2px,
    calc(100% - 5.5px) 2.3px,
    calc(100% - 5px) 3.3px,
    calc(100% - 4.2px) 4.2px,
    calc(100% - 3.3px) 5px,
    calc(100% - 2.3px) 5.5px,
    calc(100% - 1.2px) 5.9px,
    100% 6px,
    100% 15%,
    calc(100% - 3px) 18.5%,
    100% 22%,
    calc(100% - 3px) 25.5%,
    100% 29%,
    calc(100% - 3px) 32.5%,
    100% 36%,
    calc(100% - 3px) 39.5%,
    100% 43%,
    calc(100% - 3px) 46.5%,
    100% 50%,
    calc(100% - 3px) 53.5%,
    100% 57%,
    calc(100% - 3px) 60.5%,
    100% 64%,
    calc(100% - 3px) 67.5%,
    100% 71%,
    calc(100% - 3px) 74.5%,
    100% 78%,
    calc(100% - 3px) 81.5%,
    100% 85%,
    100% calc(100% - 6px),
    calc(100% - 1.2px) calc(100% - 5.9px),
    calc(100% - 2.3px) calc(100% - 5.5px),
    calc(100% - 3.3px) calc(100% - 5px),
    calc(100% - 4.2px) calc(100% - 4.2px),
    calc(100% - 5px) calc(100% - 3.3px),
    calc(100% - 5.5px) calc(100% - 2.3px),
    calc(100% - 5.9px) calc(100% - 1.2px),
    calc(100% - 6px) 100%,
    6px 100%,
    5.9px calc(100% - 1.2px),
    5.5px calc(100% - 2.3px),
    5px calc(100% - 3.3px),
    4.2px calc(100% - 4.2px),
    3.3px calc(100% - 5px),
    2.3px calc(100% - 5.5px),
    1.2px calc(100% - 5.9px),
    0 calc(100% - 6px),
    0 85%,
    3px 81.5%,
    0 78%,
    3px 74.5%,
    0 71%,
    3px 67.5%,
    0 64%,
    3px 60.5%,
    0 57%,
    3px 53.5%,
    0 50%,
    3px 46.5%,
    0 43%,
    3px 39.5%,
    0 36%,
    3px 32.5%,
    0 29%,
    3px 25.5%,
    0 22%,
    3px 18.5%,
    0 15%,
    0 6px,
    1.2px 5.9px,
    2.3px 5.5px,
    3.3px 5px,
    4.2px 4.2px,
    5px 3.3px,
    5.5px 2.3px,
    5.9px 1.2px
  );
  position: relative;
  display: grid;
  grid-template-columns: 83px minmax(0, 1fr) var(--flash-ticket-stub-width);
  align-items: stretch;
  column-gap: 14px;
  box-sizing: border-box;
  height: 108px;
  min-height: 108px;
  max-height: 108px;
  padding: 7px 8px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--flash-ticket-border);
  clip-path: var(--flash-ticket-outline);
  filter: drop-shadow(0 3px 4px rgba(73, 59, 31, 0.08));
  isolation: isolate;
  transition: filter var(--transition);
}

.flash-sales-grid .flash-sale-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 1px;
  background: var(--flash-ticket-paper);
  clip-path: var(--flash-ticket-outline);
  pointer-events: none;
}

.flash-sales-grid .flash-sale-card::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 5px;
  border: 1px solid var(--flash-ticket-etched-line);
  clip-path: var(--flash-ticket-outline);
  opacity: 0.82;
  pointer-events: none;
}

.flash-sales-grid .flash-sale-media {
  --flash-ticket-image-shape: polygon(
    5px 0,
    calc(100% - 5px) 0,
    calc(100% - 4.9px) 1px,
    calc(100% - 4.6px) 1.9px,
    calc(100% - 4.2px) 2.8px,
    calc(100% - 3.5px) 3.5px,
    calc(100% - 2.8px) 4.2px,
    calc(100% - 1.9px) 4.6px,
    calc(100% - 1px) 4.9px,
    100% 5px,
    100% 9%,
    calc(100% - 2px) 12%,
    100% 15%,
    calc(100% - 2px) 18%,
    100% 21%,
    calc(100% - 2px) 24%,
    100% 27%,
    calc(100% - 2px) 30%,
    100% 33%,
    calc(100% - 2px) 36%,
    100% 39%,
    calc(100% - 2px) 42%,
    100% 45%,
    calc(100% - 2px) 48%,
    100% 51%,
    calc(100% - 2px) 54%,
    100% 57%,
    calc(100% - 2px) 60%,
    100% 63%,
    calc(100% - 2px) 66%,
    100% 69%,
    calc(100% - 2px) 72%,
    100% 75%,
    calc(100% - 2px) 78%,
    100% 81%,
    calc(100% - 2px) 84%,
    100% 87%,
    100% calc(100% - 5px),
    calc(100% - 1px) calc(100% - 4.9px),
    calc(100% - 1.9px) calc(100% - 4.6px),
    calc(100% - 2.8px) calc(100% - 4.2px),
    calc(100% - 3.5px) calc(100% - 3.5px),
    calc(100% - 4.2px) calc(100% - 2.8px),
    calc(100% - 4.6px) calc(100% - 1.9px),
    calc(100% - 4.9px) calc(100% - 1px),
    calc(100% - 5px) 100%,
    5px 100%,
    4.9px calc(100% - 1px),
    4.6px calc(100% - 1.9px),
    4.2px calc(100% - 2.8px),
    3.5px calc(100% - 3.5px),
    2.8px calc(100% - 4.2px),
    1.9px calc(100% - 4.6px),
    1px calc(100% - 4.9px),
    0 calc(100% - 5px),
    0 5px,
    1px 4.9px,
    1.9px 4.6px,
    2.8px 4.2px,
    3.5px 3.5px,
    4.2px 2.8px,
    4.6px 1.9px,
    4.9px 1px
  );
  position: relative;
  z-index: 2;
  align-self: center;
  width: 83px;
  min-width: 83px;
  max-width: 83px;
  height: 94px;
  min-height: 94px;
  max-height: 94px;
  padding: 1px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #a98c58;
  clip-path: var(--flash-ticket-image-shape);
  filter: drop-shadow(0 0 0.75px rgba(109, 75, 32, 0.68));
  box-shadow: none;
}

.flash-sales-grid .flash-sale-media::after {
  display: none;
}

.flash-sales-grid .flash-sale-media img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  display: block;
  border: 0;
  border-radius: 0;
  clip-path: var(--flash-ticket-image-shape);
  object-fit: cover;
  object-position: center;
  transform: none;
}

.flash-sales-grid .flash-sale-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  min-height: 0;
  justify-content: center;
  gap: 3px;
  padding: 0;
}

.flash-sales-grid .flash-sale-game {
  overflow: hidden;
  color: #625845;
  font-size: 0.46rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.045em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.flash-sales-grid .flash-sale-item {
  display: block;
  overflow: hidden;
  color: #2c261d;
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.03;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.flash-sales-grid .flash-sale-price-stack {
  position: relative;
  display: block;
  min-height: 39px;
  margin-top: 1px;
  padding: 0;
}

.flash-sales-grid .flash-sale-price-stack::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 17px;
  right: 0;
  left: 0;
  border-top: 2px solid rgba(197, 30, 52, 0.88);
}

.flash-sales-grid .flash-sale-original {
  position: relative;
  z-index: 1;
  display: block;
  color: #6a604f;
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1;
}

.flash-sales-grid .flash-sale-price-row {
  display: block;
  min-width: 0;
  padding-top: 18px;
}

.flash-sales-grid .flash-sale-sale-mark {
  position: absolute;
  z-index: 2;
  top: 4px;
  right: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 12px;
  padding: 2px 5px;
  background: var(--flash-ticket-accent);
  clip-path: polygon(9% 0, 100% 0, 91% 100%, 0 100%);
  color: #fffdf7;
  font-size: 0.42rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  transform: none;
}

.flash-sales-grid .flash-sale-price {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: #2e281e;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.flash-sales-grid .flash-sale-ticket-stub {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 5px 0 5px 8px;
  overflow: visible;
  border-left: 2px dashed rgba(197, 30, 52, 0.68);
  background: linear-gradient(180deg, #fff5f5 0%, #fdeced 100%);
  color: var(--flash-ticket-accent);
  text-align: center;
  text-transform: uppercase;
}

.flash-sales-grid .flash-sale-ticket-stub::before,
.flash-sales-grid .flash-sale-ticket-stub::after {
  content: "";
  position: absolute;
  z-index: 3;
  left: -8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--app-bg-color, #faf5eb);
  box-shadow: 0 0 0 1px var(--flash-ticket-border);
  pointer-events: none;
}

.flash-sales-grid .flash-sale-ticket-stub::before {
  top: -13px;
}

.flash-sales-grid .flash-sale-ticket-stub::after {
  bottom: -13px;
}

.flash-sales-grid .flash-sale-ticket-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 32px;
  gap: 2px;
  box-sizing: border-box;
  padding: 8px 1px 7px;
  border: 1px solid #aa172b;
  border-radius: 4px;
  background: var(--flash-ticket-accent);
  box-shadow: 0 0 0 2px var(--flash-ticket-paper), 0 2px 4px rgba(116, 20, 34, 0.18);
  color: #fffdf7;
  line-height: 1;
  white-space: nowrap;
}

.flash-sales-grid .flash-sale-ticket-day {
  color: #fffdf7;
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.flash-sales-grid .flash-sale-ticket-month {
  color: #fffdf7;
  font-size: 0.42rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.flash-sales-grid .flash-sale-ticket-year {
  display: block;
  color: rgba(255, 253, 247, 0.86);
  font-size: 0.31rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
}

.flash-sales-grid .flash-sale-card:hover,
.flash-sales-grid .flash-sale-card:focus-visible {
  background: var(--flash-ticket-border);
  border-color: transparent;
  box-shadow: none;
  filter: drop-shadow(0 5px 7px rgba(73, 59, 31, 0.15));
  transform: none;
}

.flash-sales-grid .flash-sale-card:focus-visible {
  outline: 2px solid rgba(197, 30, 52, 0.72);
  outline-offset: 3px;
}

.flash-sales-grid .flash-sale-card:hover .flash-sale-media img,
.flash-sales-grid .flash-sale-card:focus-visible .flash-sale-media img {
  filter: none;
  transform: none;
}

@media (min-width: 641px) {
  .flash-sales-grid .flash-sale-card {
    flex: 0 0 max(278px, calc((100% - (var(--flash-sale-gap) * 2)) / 3));
    max-width: none;
    display: block;
    height: auto;
    min-height: 108px;
    max-height: none;
    aspect-ratio: 139 / 54;
    padding: 0;
    overflow: visible;
    border: 0;
    background: transparent;
    clip-path: none;
    filter: none;
    isolation: auto;
  }

  .flash-sales-grid .flash-sale-card::before,
  .flash-sales-grid .flash-sale-card::after {
    display: none;
  }

  .flash-sales-grid .flash-sale-ticket-scale {
    position: absolute;
    inset: 0 auto auto 0;
    z-index: 0;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 83px minmax(0, 1fr) var(--flash-ticket-stub-width);
    align-items: stretch;
    column-gap: 14px;
    width: 278px;
    height: 108px;
    min-height: 108px;
    max-height: 108px;
    padding: 7px 8px;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: var(--flash-ticket-border);
    clip-path: var(--flash-ticket-outline);
    filter: drop-shadow(0 3px 4px rgba(73, 59, 31, 0.08));
    isolation: isolate;
    transform: scale(var(--flash-ticket-scale, 1.35));
    transform-origin: top left;
    transition: filter var(--transition);
  }

  .flash-sales-grid .flash-sale-ticket-scale::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 1px;
    background: var(--flash-ticket-paper);
    clip-path: var(--flash-ticket-outline);
    pointer-events: none;
  }

  .flash-sales-grid .flash-sale-ticket-scale::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 5px;
    border: 1px solid var(--flash-ticket-etched-line);
    clip-path: var(--flash-ticket-outline);
    opacity: 0.82;
    pointer-events: none;
  }

  .flash-sales-grid .flash-sale-card:hover,
  .flash-sales-grid .flash-sale-card:focus-visible {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    filter: none;
  }

  .flash-sales-grid .flash-sale-card:hover .flash-sale-ticket-scale,
  .flash-sales-grid .flash-sale-card:focus-visible .flash-sale-ticket-scale {
    filter: drop-shadow(0 5px 7px rgba(73, 59, 31, 0.15));
  }
}
@media (max-width: 640px) {
  .flash-sales-grid .flash-sale-ticket-scale {
    position: absolute;
    inset: 0 auto auto 0;
    z-index: 2;
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr) var(--flash-ticket-stub-width);
    align-items: stretch;
    column-gap: 7px;
    width: 210px;
    height: 92px;
    box-sizing: border-box;
    padding: 10px 6px 10px 8px;
    transform: scale(1.4);
    transform-origin: top left;
  }

  .flash-sales-grid .flash-sale-card {
    --flash-ticket-stub-width: 40px;
    flex: 0 0 294px;
    display: block;
    height: 129px;
    min-height: 129px;
    max-height: 129px;
    padding: 0;
    gap: 0;
    overflow: hidden;
  }

  .flash-sales-grid .flash-sale-media {
    width: 60px;
    min-width: 60px;
    max-width: 60px;
    height: 72px;
    min-height: 72px;
    max-height: 72px;
  }

  .flash-sales-grid .flash-sale-copy {
    gap: 2px;
  }

  .flash-sales-grid .flash-sale-game {
    font-size: 0.38rem;
  }

  .flash-sales-grid .flash-sale-item {
    font-size: 0.72rem;
  }

  .flash-sales-grid .flash-sale-price-stack {
    min-height: 33px;
    margin-top: 0;
  }

  .flash-sales-grid .flash-sale-price-stack::before {
    top: 14px;
    border-top-width: 1px;
  }

  .flash-sales-grid .flash-sale-original {
    font-size: 0.48rem;
  }

  .flash-sales-grid .flash-sale-price-row {
    padding-top: 15px;
  }

  .flash-sales-grid .flash-sale-sale-mark {
    top: 8px;
    min-height: 10px;
    padding: 2px 4px;
    font-size: 0.34rem;
  }

  .flash-sales-grid .flash-sale-price {
    font-size: 0.76rem;
  }

  .flash-sales-grid .flash-sale-ticket-stub {
    gap: 1px;
    padding: 4px 0 4px 5px;
    border-left-width: 2px;
  }

  .flash-sales-grid .flash-sale-ticket-stub::before,
  .flash-sales-grid .flash-sale-ticket-stub::after {
    left: -8px;
    width: 12px;
    height: 12px;
  }

  .flash-sales-grid .flash-sale-ticket-stub::before {
    top: -16px;
  }

  .flash-sales-grid .flash-sale-ticket-stub::after {
    bottom: -16px;
  }

  .flash-sales-grid .flash-sale-ticket-date {
    width: 26px;
    gap: 1px;
    padding: 6px 1px 5px;
    border-radius: 3px;
  }

  .flash-sales-grid .flash-sale-ticket-day {
    font-size: 0.72rem;
  }

  .flash-sales-grid .flash-sale-ticket-month {
    font-size: 0.3rem;
  }

  .flash-sales-grid .flash-sale-ticket-year {
    font-size: 0.23rem;
  }
}
/* Touch screens can retain :hover after a tap; keep game cards visually static. */
@media (max-width: 767px) {
  .game-card:hover .card-media,
  .game-card:hover .allgames-card-media,
  .game-card .card-media.is-3d-tilting,
  .game-card .allgames-card-media.is-3d-tilting {
    transform: none;
    box-shadow: none;
  }
  .game-card:hover .card-media::after,
  .game-card:hover .allgames-card-media::after,
  .game-card .card-media.is-3d-tilting::after,
  .game-card .allgames-card-media.is-3d-tilting::after {
    opacity: 0;
  }
  .game-card:hover .card-media > img,
  .game-card:hover .allgames-card-media > img {
    filter: none;
    transform: none;
  }
}

/* Flash-sale ticket: clear price hierarchy and an unframed date. */
.flash-sales-grid .flash-sale-price-stack {
  min-height: 34px;
}

.flash-sales-grid .flash-sale-price-stack::before {
  display: none;
}

.flash-sales-grid .flash-sale-original {
  line-height: 1.1;
  text-decoration: line-through;
  text-decoration-color: rgba(197, 30, 52, 0.88);
  text-decoration-thickness: 1px;
}

.flash-sales-grid .flash-sale-price-row {
  padding-top: 3px;
}

.flash-sales-grid .flash-sale-sale-mark {
  top: 0;
}

.flash-sales-grid .flash-sale-ticket-stub {
  padding: 5px 3px;
  background: transparent;
}

.flash-sales-grid .flash-sale-ticket-date {
  width: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--flash-ticket-accent);
  transform: translateX(-4px);
}

.flash-sales-grid .flash-sale-ticket-day,
.flash-sales-grid .flash-sale-ticket-month {
  color: var(--flash-ticket-accent);
}

.flash-sales-grid .flash-sale-ticket-year {
  color: rgba(170, 23, 43, 0.78);
}

@media (max-width: 640px) {
  .flash-sales-grid .flash-sale-price-stack {
    min-height: 29px;
  }

  .flash-sales-grid .flash-sale-price-row {
    padding-top: 2px;
  }

  .flash-sales-grid .flash-sale-sale-mark {
    top: 0;
  }

  .flash-sales-grid .flash-sale-ticket-stub {
    padding: 4px 2px;
  }

  .flash-sales-grid .flash-sale-ticket-date {
    width: auto;
    padding: 0;
    transform: translateX(-3px);
  }
}

/* Mobile touch browsers can keep :hover after a tap; captions must not grow. */
@media (max-width: 640px) {
  .game-card .game-card-caption-title,
  .game-card:hover .game-card-caption-title,
  .game-card:focus-within .game-card-caption-title,
  .game-card .game-card-caption .game-title,
  .game-card:hover .game-card-caption .game-title,
  .game-card:focus-within .game-card-caption .game-title,
  .game-card .game-card-caption .allgames-game-title,
  .game-card:hover .game-card-caption .allgames-game-title,
  .game-card:focus-within .game-card-caption .allgames-game-title {
    font-size: 0.76rem;
  }

  .game-card .game-card-caption-dev,
  .game-card:hover .game-card-caption-dev,
  .game-card:focus-within .game-card-caption-dev,
  .game-card .game-card-caption .game-developer,
  .game-card:hover .game-card-caption .game-developer,
  .game-card:focus-within .game-card-caption .game-developer,
  .game-card .game-card-caption .allgames-game-developer,
  .game-card:hover .game-card-caption .allgames-game-developer,
  .game-card:focus-within .game-card-caption .allgames-game-developer {
    font-size: 0.62rem;
  }
}
