/* Whis33 game-art refresh, 2026-10-06. Visual-only layer for the storefront. */
:root {
  --art-ease: cubic-bezier(.22, 1, .36, 1);
}

/* A consistent, readable signature above the artwork—not baked into the image. */
.art-brand {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: max-content;
  padding: 6px 9px 6px 6px;
  border: 1px solid rgba(202, 255, 218, .27);
  border-radius: 9px;
  background: linear-gradient(125deg, rgba(5, 16, 12, .9), rgba(5, 12, 18, .77));
  box-shadow: 0 8px 24px rgba(0, 0, 0, .28), 0 0 18px rgba(69, 248, 130, .08) inset;
  color: #f1fff4;
  line-height: 1;
  pointer-events: none;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .45);
  backdrop-filter: blur(9px);
}

.art-brand-mark {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid rgba(113, 255, 153, .65);
  border-radius: 6px;
  background: rgba(50, 210, 99, .13);
  color: #7cff9e;
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -.13em;
  padding-right: 2px;
}

.art-brand-wordmark {
  display: grid;
  gap: 2px;
}

.art-brand-wordmark strong {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .075em;
}

.art-brand-wordmark small {
  color: #8ef6a8;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .22em;
}

.art-brand--card { top: 54px; left: 14px; }
.art-brand--hero { top: 62px; left: 18px; }
.art-brand--gallery { top: 18px; right: 18px; }
.hero-slide:not(.is-active) .art-brand--hero { opacity: 0; }

.hero-stage::before {
  background: radial-gradient(circle at 56% 48%, rgba(69, 248, 130, .22), rgba(48, 122, 203, .1) 40%, transparent 70%);
  animation: whis-art-aura 9s ease-in-out infinite alternate;
  transform-origin: 55% 50%;
}

.hero-slide {
  box-shadow: 0 34px 92px rgba(0, 0, 0, .44), 0 0 0 1px rgba(255, 255, 255, .055) inset;
}

.hero-slide.is-active {
  border-color: rgba(255, 255, 255, .27);
  box-shadow: 0 36px 110px rgba(0, 0, 0, .48), 0 0 72px rgba(var(--hero-rgb, 69, 248, 130), .14);
}

.hero-slide img {
  transform: scale(1.035);
  transform-origin: center;
  will-change: transform;
}

.hero-slide.is-active img {
  animation: whis-art-drift 13s ease-in-out both;
}

.hero-slide.is-active:hover img {
  animation-play-state: paused;
}

.hero-slide::after {
  z-index: 1;
  background: linear-gradient(180deg, rgba(4, 8, 14, .03) 24%, rgba(4, 8, 14, .18) 52%, rgba(3, 7, 12, .95) 100%);
  pointer-events: none;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(112deg, transparent 27%, rgba(255, 255, 255, .14) 47%, transparent 60%);
  transform: translateX(-130%);
}

.hero-slide.is-active::before {
  animation: whis-art-glint 1.15s var(--art-ease) 180ms both;
}

.hero-card-copy {
  z-index: 3;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .65);
}

.hero-slide.is-active .hero-card-copy {
  animation: whis-art-caption .7s var(--art-ease) 90ms both;
}

.product-card {
  border-color: rgba(255, 255, 255, .12);
  box-shadow: 0 14px 38px rgba(0, 0, 0, .25);
  transition: transform .48s var(--art-ease), border-color .36s ease, box-shadow .48s var(--art-ease);
}

.product-card:hover,
.product-card:focus-within {
  transform: translateY(-7px);
  border-color: rgba(var(--card-rgb, 69, 248, 130), .48);
  box-shadow: 0 28px 66px rgba(0, 0, 0, .38), 0 0 0 1px rgba(var(--card-rgb, 69, 248, 130), .15) inset;
}

.product-media {
  isolation: isolate;
}

.product-media img {
  transform: scale(1.005);
  transition: transform .8s var(--art-ease), filter .8s ease;
}

.product-card:hover .product-media img,
.product-card:focus-within .product-media img {
  transform: scale(1.085) translateY(-1.5%);
  filter: saturate(1.12) contrast(1.055);
}

.product-media::after {
  z-index: 1;
  background: linear-gradient(180deg, rgba(2, 6, 12, .02) 22%, rgba(2, 6, 12, .18) 59%, rgba(4, 8, 14, .88) 100%);
}

.product-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(110deg, transparent 32%, rgba(255, 255, 255, .12) 49%, transparent 62%);
  transform: translateX(-130%);
}

.product-card:hover .product-media::before,
.product-card:focus-within .product-media::before {
  opacity: 1;
  transform: translateX(130%);
  transition: transform .9s var(--art-ease), opacity .2s ease;
}

.gallery-main img {
  transition: transform .9s var(--art-ease), filter .9s ease;
}

.gallery-main:hover img {
  transform: scale(1.04);
  filter: saturate(1.06);
}

/* Honest, product-specific gallery previews: feature maps, not fake screenshots. */
.gallery-thumbs .gallery-thumb {
  aspect-ratio: 16 / 8.8;
  min-height: 96px;
}

.gallery-thumb--feature {
  display: block;
  padding: 0;
  text-align: left;
  isolation: isolate;
}

.gallery-thumb--feature > img {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .28;
  filter: saturate(.8) blur(1.5px);
  transform: scale(1.07);
}

.gallery-thumb--feature::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(120deg, rgba(5, 11, 16, .93), rgba(7, 15, 19, .78) 65%, rgba(var(--product-rgb), .2));
  content: "";
}

.gallery-thumb--feature > .gallery-thumb-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  gap: 5px;
  padding: clamp(8px, 1.2vw, 14px);
}

.gallery-thumb-content > small {
  color: var(--product-accent);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .13em;
  white-space: nowrap;
}

.gallery-thumb-content > strong {
  overflow: hidden;
  color: #f5faf7;
  font-size: clamp(10px, 1.05vw, 14px);
  font-weight: 800;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-thumb-window {
  display: grid;
  gap: 3px;
  padding: 6px 8px;
  border: 1px solid rgba(var(--product-rgb), .28);
  border-radius: 7px;
  background: rgba(2, 8, 12, .62);
  box-shadow: 0 8px 16px rgba(0, 0, 0, .22);
}

.gallery-thumb-window b,
.gallery-thumb-window i {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-thumb-window b {
  color: #f4fff6;
  font-size: 9px;
  font-weight: 800;
}

.gallery-thumb-window i {
  color: #abc1bc;
  font-size: 8px;
  font-style: normal;
  font-weight: 500;
}

.gallery-thumb-window i::before {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 5px 1px 0;
  border-radius: 50%;
  background: var(--product-accent);
  content: "";
}

.gallery-thumb-count {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.gallery-thumb-count b {
  color: #f7fff9;
  font: 800 clamp(27px, 3.4vw, 46px)/1 "Space Grotesk", sans-serif;
  text-shadow: 0 0 22px rgba(var(--product-rgb), .32);
}

.gallery-thumb-count em {
  color: #bed4cc;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}

.gallery-thumb--feature:hover,
.gallery-thumb--feature:focus-visible {
  border-color: rgba(var(--product-rgb), .75);
}

.gallery-overview--menu-map,
.gallery-overview--features {
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: clamp(14px, 2.3vw, 28px);
  padding: clamp(20px, 2.4vw, 31px);
  background: radial-gradient(circle at 85% 20%, rgba(var(--product-rgb), .17), transparent 46%), linear-gradient(135deg, #0a1016, #111c21);
}

.gallery-overview--features {
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
}

.gallery-panel-intro {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.gallery-panel-intro h3 {
  overflow-wrap: normal;
  word-break: normal;
  letter-spacing: -.035em;
  font-size: clamp(22px, 2vw, 27px);
}

.gallery-panel-intro p {
  font-size: 11px;
  line-height: 1.5;
}

.gallery-panel-caption {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--product-accent);
  font-size: 10px;
  font-weight: 700;
}

.gallery-panel-caption svg {
  width: 15px;
  height: 15px;
}

.gallery-menu-window,
.gallery-feature-matrix {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.gallery-menu-window {
  overflow: hidden;
  border: 1px solid rgba(var(--product-rgb), .34);
  border-radius: 14px;
  background: rgba(3, 9, 14, .88);
  box-shadow: 0 24px 55px rgba(0, 0, 0, .28);
}

.gallery-window-top,
.gallery-window-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 13px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: #eaf6ef;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
}

.gallery-window-top b {
  display: inline-grid;
  place-items: center;
  width: 19px;
  height: 19px;
  margin-right: 6px;
  border: 1px solid rgba(var(--product-rgb), .6);
  border-radius: 5px;
  color: var(--product-accent);
}

.gallery-window-top small,
.gallery-window-top em {
  color: #90a9a1;
  font-size: 8px;
  font-style: normal;
}

.gallery-window-body { display: grid; grid-template-columns: 37px minmax(0, 1fr); }
.gallery-window-rail { display: grid; align-content: start; justify-items: center; gap: 14px; padding: 15px 0; border-right: 1px solid rgba(255, 255, 255, .07); color: var(--product-accent); }
.gallery-window-rail svg { width: 16px; height: 16px; opacity: .75; }
.gallery-window-list { display: grid; gap: 5px; padding: 10px; }
.gallery-window-list > small { margin: 0 0 2px 2px; color: #83a197; font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.gallery-window-list > span { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 8px; border: 1px solid rgba(255, 255, 255, .07); border-radius: 7px; background: rgba(255, 255, 255, .025); }
.gallery-window-list b { color: var(--product-accent); font-size: 8px; }
.gallery-window-list strong { min-width: 0; overflow: hidden; color: #e7eeec; font-size: 9px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.gallery-window-list i { flex: 0 0 auto; width: 6px; height: 6px; margin-left: auto; border-radius: 50%; background: var(--product-accent); box-shadow: 0 0 9px rgba(var(--product-rgb), .5); }
.gallery-window-footer { justify-content: flex-start; padding-block: 8px; border-top: 1px solid rgba(255, 255, 255, .06); border-bottom: 0; color: #a8b9b0; font-size: 8px; letter-spacing: 0; }

.gallery-feature-matrix { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.gallery-feature-matrix > span { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; min-height: 75px; padding: 10px; border: 1px solid rgba(var(--product-rgb), .2); border-radius: 10px; background: linear-gradient(145deg, rgba(var(--product-rgb), .09), rgba(2, 8, 12, .58)); }
.gallery-feature-matrix b { color: var(--product-accent); font: 800 10px/1 "Space Grotesk", sans-serif; }
.gallery-feature-matrix strong { color: #edf6f0; font-size: 10px; font-weight: 700; line-height: 1.32; }

@keyframes whis-art-aura {
  from { opacity: .67; transform: translate3d(-1%, 1%, 0) scale(.96); }
  to { opacity: 1; transform: translate3d(1%, -1%, 0) scale(1.06); }
}

@keyframes whis-art-drift {
  from { transform: scale(1.025) translate3d(-.5%, .2%, 0); }
  to { transform: scale(1.105) translate3d(.7%, -.6%, 0); }
}

@keyframes whis-art-glint {
  0% { opacity: 0; transform: translateX(-130%); }
  23% { opacity: .52; }
  100% { opacity: 0; transform: translateX(130%); }
}

@keyframes whis-art-caption {
  from { opacity: 0; transform: translate3d(0, 12px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@media (max-width: 760px) {
  .gallery-overview--menu-map,
  .gallery-overview--features {
    aspect-ratio: auto;
    min-height: 405px;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 15px;
    padding: 20px;
  }

  .gallery-overview--features { min-height: 470px; }
  .gallery-panel-intro h3 { font-size: 23px; }
  .gallery-panel-intro h3 br { display: none; }
  .gallery-panel-intro p { margin-bottom: 0; font-size: 10px; }
  .gallery-panel-caption { display: none; }
  .gallery-feature-matrix > span { min-height: 64px; padding: 9px; }
}

@media (max-width: 520px) {
  .gallery-thumbs .gallery-thumb { aspect-ratio: auto; height: 94px; min-height: 0; }
  .gallery-thumb--feature > .gallery-thumb-content { gap: 3px; padding: 7px; }
  .gallery-thumb-content > small { font-size: 6px; letter-spacing: .07em; }
  .gallery-thumb-content > strong { font-size: 9px; }
  .gallery-thumb-window { gap: 2px; padding: 4px 5px; }
  .gallery-thumb-window b { font-size: 7px; }
  .gallery-thumb-window i { font-size: 6px; }
  .gallery-thumb-window i:nth-of-type(2) { display: none; }
  .gallery-thumb-count { gap: 4px; }
  .gallery-thumb-count b { font-size: 27px; }
  .gallery-thumb-count em { font-size: 7px; }
  .gallery-overview--menu-map,
  .gallery-overview--features { padding: 17px; }
  .gallery-overview--features { min-height: 510px; }
  .gallery-feature-matrix { gap: 6px; }
  .gallery-feature-matrix strong { font-size: 9px; }
  .gallery-window-top small { display: none; }
}

@media (hover: none) {
  .product-card:hover { transform: none; }
  .product-card:hover .product-media img { transform: scale(1.005); filter: none; }
  .product-card:hover .product-media::before { opacity: 0; }
}

@media (max-width: 600px) {
  .art-brand--card { top: 51px; left: 13px; }
  .art-brand--hero { top: 50px; left: 12px; }
  .art-brand--gallery { top: 15px; right: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-stage::before,
  .hero-slide.is-active img,
  .hero-slide.is-active::before,
  .hero-slide.is-active .hero-card-copy { animation: none !important; }
  .hero-slide img,
  .product-media img,
  .gallery-main img { transform: none !important; }
  .product-card:hover,
  .product-card:focus-within { transform: none !important; }
  .product-media::before { display: none; }
}

/* Product galleries: real game visuals first, concise mod information on top. */
.gallery-scene { isolation: isolate; color: #f5faf7; }
.gallery-scene > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery-scene--game::after { z-index: 1; background: linear-gradient(180deg, rgba(3, 8, 12, .42), transparent 28%, rgba(3, 8, 12, .12) 45%, rgba(3, 8, 12, .92) 100%); }
.gallery-scene--tools::after { z-index: 1; background: linear-gradient(180deg, rgba(3, 8, 12, .4), transparent 24%, rgba(3, 8, 12, .35) 43%, rgba(3, 8, 12, .96) 100%); }
.gallery-scene--tools > img { object-position: 55% center; }
.gallery-scene-top { position: absolute; z-index: 2; top: 18px; right: 18px; left: 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gallery-scene-top > span { display: inline-flex; align-items: center; min-height: 26px; padding: 5px 9px; border: 1px solid rgba(255,255,255,.2); border-radius: 7px; background: rgba(4, 10, 13, .7); color: #f0faf3; font-size: 9px; font-weight: 900; letter-spacing: .1em; text-shadow: 0 1px 6px #000; backdrop-filter: blur(8px); }
.gallery-scene-top > span:last-child { border-color: rgba(var(--product-rgb), .45); color: var(--product-accent); }
.gallery-scene-copy { position: absolute; z-index: 2; right: 20px; bottom: 20px; left: 20px; text-shadow: 0 2px 12px rgba(0,0,0,.8); }
.gallery-scene-kicker { color: var(--product-accent); font-size: 9px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.gallery-scene-copy h3 { margin: 8px 0 6px; color: #fff; font: 700 clamp(27px, 3vw, 39px)/1.03 "Space Grotesk", sans-serif; letter-spacing: -.035em; }
.gallery-scene-copy p { margin: 0; color: #d5e0dd; font-size: 11px; line-height: 1.45; }
.gallery-scene--game .gallery-scene-copy { bottom: 44px; }
.gallery-scene--game .gallery-scene-copy h3 { max-width: 85%; }
.gallery-scene-note { position: absolute; z-index: 2; right: 20px; bottom: 15px; left: 20px; color: #aebcb9; font-size: 9px; text-shadow: 0 1px 7px #000; }
.gallery-scene--tools .gallery-scene-copy h3 { margin-bottom: 14px; font-size: clamp(26px, 2.7vw, 35px); }
.gallery-scene--tools .gallery-scene-copy p { margin-top: 9px; color: #b9c9c3; font-size: 9px; }
.gallery-scene-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; text-shadow: none; }
.gallery-scene-points > span { display: flex; align-items: flex-start; gap: 7px; min-width: 0; min-height: 61px; padding: 9px; border: 1px solid rgba(var(--product-rgb), .28); border-radius: 8px; background: rgba(4, 12, 16, .77); box-shadow: 0 8px 20px rgba(0,0,0,.2); backdrop-filter: blur(9px); }
.gallery-scene-points b { flex: 0 0 auto; color: var(--product-accent); font-size: 9px; }
.gallery-scene-points strong { min-width: 0; color: #f5fff9; font-size: 10px; font-weight: 700; line-height: 1.3; }
.gallery-thumb--scene,
.gallery-thumb--tools { padding: 0; isolation: isolate; }
.gallery-thumb--scene > img,
.gallery-thumb--tools > img { position: absolute; inset: 0; opacity: .88; filter: saturate(1.04); transition: transform .55s var(--art-ease), opacity .3s ease; }
.gallery-thumb--scene::after,
.gallery-thumb--tools::after { position: absolute; inset: 0; z-index: 1; content: ""; pointer-events: none; background: linear-gradient(180deg, transparent 38%, rgba(3, 8, 12, .82)); }
.gallery-thumb--tools::after { background: linear-gradient(90deg, rgba(3, 8, 12, .82), rgba(3, 8, 12, .12) 85%), linear-gradient(180deg, transparent 45%, rgba(3, 8, 12, .5)); }
.gallery-thumb--scene .gallery-thumb-label { z-index: 2; }
.gallery-thumb-toolmark { position: absolute; z-index: 2; right: 9px; bottom: 9px; left: 9px; display: grid; gap: 2px; color: #f6fff8; text-align: left; text-shadow: 0 1px 8px #000; }
.gallery-thumb-toolmark small { color: var(--product-accent); font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.gallery-thumb-toolmark strong { font: 700 clamp(14px, 1.4vw, 19px)/1.05 "Space Grotesk", sans-serif; }
.gallery-thumb-toolmark em { color: #e6f0e9; font-size: 9px; font-style: normal; font-weight: 600; }
.gallery-thumb--scene:hover > img,
.gallery-thumb--tools:hover > img { transform: scale(1.08); opacity: 1; }

@media (max-width: 760px) {
  .gallery-scene--game { aspect-ratio: auto; min-height: 320px; }
  .gallery-scene--tools { aspect-ratio: auto; min-height: 385px; }
  .gallery-scene-points { grid-template-columns: 1fr; gap: 5px; }
  .gallery-scene-points > span { align-items: center; min-height: 38px; padding: 6px 9px; }
  .gallery-scene--tools .gallery-scene-copy h3 { margin-bottom: 9px; }
}

@media (max-width: 520px) {
  .gallery-scene--game { min-height: 300px; }
  .gallery-scene--tools { min-height: 405px; }
  .gallery-scene-top { top: 12px; right: 12px; left: 12px; }
  .gallery-scene-top > span { min-height: 22px; padding: 4px 6px; font-size: 7px; }
  .gallery-scene-copy { right: 14px; bottom: 14px; left: 14px; }
  .gallery-scene--game .gallery-scene-copy { bottom: 39px; }
  .gallery-scene-copy h3 { font-size: 28px; }
  .gallery-scene-copy p { font-size: 10px; }
  .gallery-scene-note { right: 14px; bottom: 12px; left: 14px; font-size: 8px; }
  .gallery-scene-points strong { font-size: 9px; }
  .gallery-thumb-toolmark { right: 6px; bottom: 7px; left: 6px; }
  .gallery-thumb-toolmark small { font-size: 6px; }
  .gallery-thumb-toolmark strong { font-size: 12px; }
  .gallery-thumb-toolmark em { font-size: 7px; }
}
