.gameplay-finale { height: 815svh; }
.showcase {
  display: grid;
  place-items: center;
  padding: clamp(82px, 10vh, 108px) 6.5vw clamp(42px, 6vh, 64px);
  isolation: isolate;
  transition: opacity 170ms linear;
}
.showcase.is-active:not([inert]) { pointer-events: auto; }
.showcase::before {
  content: '';
  position: absolute;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 54% 42% at 50% 47%, rgba(216,255,0,.075), transparent 72%),
    radial-gradient(ellipse 92% 74% at 50% 54%, #24202c 0%, #15131b 56%, transparent 100%);
}
.showcase::after {
  content: '';
  position: absolute;
  z-index: -1;
  right: 8vw;
  bottom: 5vh;
  left: 8vw;
  height: 22vh;
  pointer-events: none;
  opacity: .5;
  background:
    linear-gradient(90deg, transparent, rgba(216,255,0,.15) 44%, rgba(216,255,0,.15) 56%, transparent),
    linear-gradient(180deg, rgba(255,255,255,.045), transparent);
  clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%);
  filter: blur(1px);
  mask-image: linear-gradient(180deg, #000, transparent 88%);
}
.showcase-wrap { position: relative; width: min(1160px, 100%); }
.showcase-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: clamp(20px, 2.6vh, 28px);
  transition: opacity 120ms linear, transform 180ms cubic-bezier(.2,.72,.2,1), filter 180ms ease;
  will-change: transform, opacity;
}
.showcase-heading p { margin: 0 0 9px; font-size: 10px; font-weight: 800; letter-spacing: .17em; color: #d8ff00; }
.showcase-heading h2 { margin: 0; color: #fffdf5; font: 900 clamp(25px, 3vw, 43px)/1.08 'Microsoft YaHei', sans-serif; letter-spacing: -.055em; text-shadow: 0 5px 24px rgba(0,0,0,.24); }
.showcase-count { position: relative; color: #d8ff00; font: 900 40px/1 'Arial Black', sans-serif; transform-origin: 100% 50%; }
.showcase-count small { font: 700 14px/1 sans-serif; color: #fffc; }
.showcase-count.is-updating { animation: gallery-count-in .48s cubic-bezier(.2,.72,.2,1); }
.showcase-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 3.3fr) minmax(0, 1fr);
  grid-template-rows: repeat(3,minmax(0,1fr));
  gap: 14px 22px;
  height: min(55vh, 510px);
  perspective: 1200px;
  transform-style: preserve-3d;
  transition: opacity 120ms linear, transform 200ms cubic-bezier(.2,.72,.2,1);
  will-change: transform, opacity;
}
.showcase-stage::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -22px -20px -24px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(0,0,0,.12));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 35px 90px rgba(0,0,0,.18);
  pointer-events: none;
}
.showcase .showcase-card {
  --card-clip-top: 0%;
  --card-clip-right: 0%;
  --card-clip-bottom: 0%;
  --card-clip-left: 0%;
  --card-brightness: 1;
  --card-blur: 0px;
  position: relative;
  inset: auto;
  width: auto;
  min-width: 0;
  min-height: 0;
  margin: 0;
  grid-column: 2;
  clip-path: inset(var(--card-clip-top) var(--card-clip-right) var(--card-clip-bottom) var(--card-clip-left) round 18px);
  filter: brightness(var(--card-brightness)) blur(var(--card-blur));
  transition: opacity 150ms linear, transform 170ms cubic-bezier(.2,.72,.2,1), clip-path 210ms cubic-bezier(.2,.72,.2,1), filter 180ms linear;
  will-change: transform, opacity, clip-path, filter;
}
.showcase .showcase-card.is-main { z-index: 3; grid-column: 1; grid-row: 1 / 4; }
.showcase-card button { position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; padding: 0; border: 1px solid rgba(255,255,255,.32); border-radius: 16px; overflow: hidden; background: #0b0a0e; color: #fffdf5; cursor: pointer; box-shadow: 0 18px 48px rgba(0,0,0,.36); transition: border-color .42s ease, box-shadow .42s ease, transform .42s cubic-bezier(.2,.72,.2,1); touch-action: pan-y; }
.showcase-card.is-main button { border: 2px solid #d8ff00; border-radius: 18px; box-shadow: 0 0 0 1px rgba(216,255,0,.24), 0 26px 78px rgba(0,0,0,.5); }
.showcase-card button::after { content: ''; position: absolute; z-index: 4; inset: 0; pointer-events: none; opacity: 0; background: linear-gradient(108deg, transparent 28%, rgba(255,255,255,.15) 46%, rgba(255,255,255,.4) 50%, rgba(255,255,255,.12) 54%, transparent 70%); transform: translateX(-115%); }
.showcase-card.is-main button::after { animation: gallery-light-sweep 1.05s .16s cubic-bezier(.2,.7,.2,1) both; }
.showcase-card button:hover { border-color: #d8ff00; box-shadow: 0 0 0 1px rgba(216,255,0,.3), 0 24px 64px rgba(0,0,0,.46); transform: translateY(-3px); }
.showcase-card button:focus-visible { outline: 3px solid white; outline-offset: 4px; }
.showcase .showcase-card img { display: block; width: 100%; height: 0; min-height: 0; flex: 1 1 auto; object-fit: contain; aspect-ratio: auto; border: 0; border-radius: 0; box-shadow: none; animation: none; }
.showcase .showcase-card.is-main img { animation: shot-reveal .72s cubic-bezier(.18,.74,.2,1) both; }
.showcase-caption { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 12px; text-align: left; font-size: 11px; background: #15131a; transition: background .38s ease, color .38s ease, padding .38s ease; }
.is-main .showcase-caption { background: #d8ff00; color: #131316; padding: 12px 16px; font-size: 14px; }
.shot-lightbox { width: min(94vw,1600px); max-width: none; max-height: 94dvh; padding: 50px 15px 14px; border: 2px solid #d8ff00; border-radius: 16px; background: #121218; color: white; box-shadow: 0 24px 100px #0009; }
.shot-lightbox::backdrop { background: #070710e8; }
.shot-lightbox > img { display: block; max-width: 100%; max-height: 75dvh; margin: auto; object-fit: contain; }
.shot-lightbox p { margin: 12px 0 0; text-align: center; font-size: 12px; }
.shot-close { position: absolute; top: 10px; right: 12px; padding: 7px 14px; border: 0; border-radius: 5px; background: #d8ff00; color: #111; cursor: pointer; font-weight: 800; }
.shot-modal-open { overflow: hidden; }
@keyframes shot-reveal { from { opacity: .42; transform: scale(1.028); filter: brightness(.68) saturate(.8); } to { opacity: 1; transform: scale(1); filter: none; } }
@keyframes gallery-light-sweep { 0% { opacity: 0; transform: translateX(-115%); } 24% { opacity: .5; } 100% { opacity: 0; transform: translateX(115%); } }
@keyframes gallery-count-in { from { opacity: .2; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@media(max-width:780px) {
 .gameplay-finale { height: 795svh; }
 .showcase { padding: 80px 22px 30px; }
 .showcase-heading { margin-bottom: 22px; }
 .showcase-heading h2 { font-size: 25px; }
 .showcase-heading p { font-size: 8px; }
 .showcase-count { font-size: 30px; }
 .showcase-stage { grid-template-columns: repeat(3,minmax(0,1fr)); grid-template-rows: minmax(0,3fr) minmax(0,1.2fr); gap: 14px 8px; height: min(44vh,370px); }
 .showcase .showcase-card { grid-column: auto; grid-row: 2; }
 .showcase .showcase-card.is-main { grid-column: 1 / 4; grid-row: 1; }
 .showcase-card.is-main button { border-width: 2px; box-shadow: 0 0 0 1px rgba(216,255,0,.22), 0 16px 34px rgba(0,0,0,.42); }
 .showcase-caption { padding: 6px 4px; font-size: 9px; justify-content: center; }
 .is-main .showcase-caption { font-size: 12px; padding: 9px; justify-content: space-between; }
}
@media(prefers-reduced-motion:reduce) {
 .gameplay-finale { height: auto; }
 .showcase { display: block; padding: 45px 0; }
 .showcase::before { display: none; }
 .showcase-card button, .showcase-card button::after { transition: none; animation: none !important; }
 .showcase-stage { height: 55vh; min-height: 300px; }
 .showcase .showcase-card.is-main img { animation: none !important; }
}

