/* Emergence Projected game storefront: Steam-like information density, original visual language. */
.game-storefront {
  --game-accent: #b8ffcf;
  --game-accent-2: #79d7ff;
  --game-hot: #f06;
  --game-panel: rgba(6, 9, 12, .88);
  --game-panel-2: rgba(13, 18, 24, .82);
  --game-line: rgba(184, 255, 207, .2);
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: 22px 18px 78px;
  color: #eef7f1;
  isolation: isolate;
}
.game-storefront::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(circle at 70% 14%, color-mix(in srgb, var(--game-accent) 13%, transparent), transparent 34%),
    radial-gradient(circle at 18% 80%, color-mix(in srgb, var(--game-accent-2) 10%, transparent), transparent 32%),
    linear-gradient(145deg, #020405 0%, #070b0f 52%, #030505 100%);
}
.game-storefront::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: .16;
  background-image:
    linear-gradient(var(--game-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--game-line) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}
.game-storefront[data-game-theme="octopancake"] {
  --game-accent: #7cf7ff;
  --game-accent-2: #bf73ff;
  --game-hot: #ff77d9;
  --game-line: rgba(124,247,255,.15);
}
.game-storefront[data-game-theme="rally"] {
  --game-accent: #ffcf4a;
  --game-accent-2: #ff5d45;
  --game-hot: #ff3d22;
  --game-line: rgba(255,207,74,.16);
}
.game-storefront[data-game-theme="emorgie"] {
  --game-accent: #ff7895;
  --game-accent-2: #ffd166;
  --game-hot: #ff365f;
  --game-line: rgba(255,120,149,.16);
}
.game-storefront[data-game-theme="genartos"] {
  --game-accent: #9cff57;
  --game-accent-2: #7a5cff;
  --game-hot: #29a8ff;
  --game-line: rgba(156,255,87,.16);
}
.game-store-nav {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding: 8px;
  border: 1px solid var(--game-line);
  background: rgba(0,0,0,.56);
  backdrop-filter: blur(12px);
}
.game-store-nav__label {
  padding: 0 9px;
  color: rgba(255,255,255,.44);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.game-store-tab,
.game-store-button {
  appearance: none;
  border: 1px solid color-mix(in srgb, var(--game-accent) 42%, #26313a);
  background: rgba(7,12,15,.92);
  color: #f4fff8;
  min-height: 38px;
  padding: 9px 14px;
  font: inherit;
  font-size: 12px;
  letter-spacing: .09em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .12s ease, border-color .12s ease, background .12s ease, box-shadow .12s ease;
}
.game-store-tab:hover,
.game-store-tab:focus-visible,
.game-store-button:hover:not(:disabled),
.game-store-button:focus-visible:not(:disabled) {
  transform: translateY(-1px);
  border-color: var(--game-accent);
  background: color-mix(in srgb, var(--game-accent) 10%, #071015);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--game-accent) 20%, transparent), 0 8px 28px rgba(0,0,0,.34);
  outline: none;
}
.game-store-tab[aria-current="page"] {
  color: #020505;
  background: var(--game-accent);
  border-color: var(--game-accent);
}
.game-store-button--primary {
  color: #030606;
  font-weight: 800;
  background: linear-gradient(105deg, var(--game-accent), color-mix(in srgb, var(--game-accent-2) 58%, var(--game-accent)));
  border-color: var(--game-accent);
}
.game-store-button--ghost { background: transparent; }
.game-store-button:disabled {
  cursor: default;
  opacity: .48;
}
.game-store-breadcrumb {
  margin: 6px 0 14px;
  color: rgba(255,255,255,.5);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.game-store-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 13px;
}
.game-store-title {
  margin: 0;
  font-size: clamp(34px, 5.2vw, 76px);
  line-height: .92;
  letter-spacing: -.045em;
  text-transform: uppercase;
  text-shadow: 0 0 30px color-mix(in srgb, var(--game-accent) 22%, transparent);
}
.game-store-eyebrow {
  margin-bottom: 8px;
  color: var(--game-accent);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.game-store-status {
  flex: none;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--game-accent);
  color: var(--game-accent);
  background: color-mix(in srgb, var(--game-accent) 8%, transparent);
  font-size: 21px;
  line-height: 1;
  letter-spacing: 0;
  box-shadow: 0 0 20px color-mix(in srgb, var(--game-accent) 10%, transparent);
}
.game-store-hero {
  display: grid;
  grid-template-columns: minmax(0, 2.15fr) minmax(220px, .55fr);
  gap: 12px;
  align-items: stretch;
}
.game-store-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--game-line);
  background: #030607;
  box-shadow: 0 22px 70px rgba(0,0,0,.38);
}
.game-store-media::before,
.game-store-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.game-store-media::after {
  background: linear-gradient(to top, rgba(0,0,0,.83), transparent 48%), linear-gradient(90deg, rgba(0,0,0,.32), transparent 35%);
}
.game-store-media__copy {
  position: absolute;
  z-index: 3;
  left: 26px;
  right: 26px;
  bottom: 25px;
  max-width: 680px;
}
.game-store-media__copy strong {
  display: block;
  color: #fff;
  font-size: clamp(19px, 2.4vw, 34px);
  line-height: 1.04;
  margin-bottom: 8px;
}
.game-store-media__copy span {
  color: rgba(255,255,255,.65);
  font-size: 12px;
  letter-spacing: .05em;
}
.game-store-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.game-store-art span { position: absolute; display: block; }
.game-store-art--octo {
  background:
    radial-gradient(circle at 48% 46%, rgba(190,90,255,.28), transparent 13%),
    radial-gradient(circle at 48% 46%, rgba(70,245,255,.12), transparent 42%),
    linear-gradient(140deg,#02070c,#10071b 58%,#020507);
}
.game-store-art--octo .orb {
  left: 50%; top: 47%; width: 126px; height: 126px; border-radius: 50%; transform: translate(-50%,-50%);
  border: 2px solid var(--game-accent); box-shadow: 0 0 48px rgba(124,247,255,.42), inset 0 0 38px rgba(191,115,255,.32);
}
.game-store-art--octo .orbit { left: 50%; top: 47%; width: 52%; height: 34%; border: 1px solid rgba(191,115,255,.58); border-radius: 50%; transform: translate(-50%,-50%) rotate(-18deg); }
.game-store-art--octo .orbit:nth-child(3) { width: 68%; height: 22%; transform: translate(-50%,-50%) rotate(26deg); border-color: rgba(124,247,255,.4); }
.game-store-art--octo .trail { width: 46%; height: 1px; background: linear-gradient(90deg,transparent,var(--game-accent),transparent); transform-origin: right center; left: 4%; top: 24%; transform: rotate(14deg); box-shadow: 0 0 12px var(--game-accent); }
.game-store-art--octo .trail:nth-child(5) { top: 67%; left: 12%; transform: rotate(-11deg); background: linear-gradient(90deg,transparent,var(--game-accent-2),transparent); }
.game-store-art--rally {
  background: linear-gradient(150deg,#050606 0%,#17130c 50%,#0d0705 100%);
}
.game-store-art--rally::before {
  content:""; position:absolute; inset:-30%; transform:perspective(360px) rotateX(62deg) rotateZ(-7deg);
  background-image: linear-gradient(rgba(255,207,74,.16) 1px,transparent 1px),linear-gradient(90deg,rgba(255,93,69,.13) 1px,transparent 1px);
  background-size:48px 48px;
}
.game-store-art--rally .route { height: 4px; width: 82%; left: 7%; top: 52%; background: linear-gradient(90deg,transparent,var(--game-hot),var(--game-accent),transparent); transform: rotate(-9deg); box-shadow: 0 0 18px var(--game-hot); }
.game-store-art--rally .route:nth-child(2){ width:58%; left:29%; top:38%; transform:rotate(17deg); opacity:.7; }
.game-store-art--rally .node { width:18px; height:18px; border:2px solid var(--game-accent); transform:rotate(45deg); left:20%; top:55%; box-shadow:0 0 22px var(--game-accent); }
.game-store-art--rally .node:nth-child(4){ left:67%; top:34%; border-color:var(--game-hot); }
.game-store-art--emorgie {
  background:
    radial-gradient(circle at 78% 25%, rgba(255,209,102,.13), transparent 22%),
    radial-gradient(circle at 28% 72%, rgba(255,54,95,.18), transparent 26%),
    linear-gradient(155deg,#050607 0%,#13090c 52%,#050506 100%);
}
.game-store-art--emorgie::before {
  content:"";
  position:absolute;
  inset:0;
  opacity:.32;
  background:
    repeating-linear-gradient(78deg, transparent 0 34px, rgba(255,255,255,.045) 35px 36px),
    linear-gradient(180deg, transparent 0 62%, rgba(0,0,0,.52));
}
.game-store-art--emorgie .road {
  left:42%; top:-8%; width:16%; height:118%;
  background:linear-gradient(90deg,transparent,rgba(255,209,102,.14) 18%,rgba(255,209,102,.34) 50%,rgba(255,209,102,.14) 82%,transparent);
  transform:rotate(8deg);
  filter:blur(.2px);
}
.game-store-art--emorgie .gate {
  left:50%; top:24%; width:34%; height:29%; transform:translateX(-50%);
  border:2px solid var(--game-accent); border-bottom:0; border-radius:50% 50% 0 0;
  box-shadow:0 0 32px rgba(255,120,149,.34), inset 0 0 24px rgba(255,54,95,.1);
}
.game-store-art--emorgie .captive {
  left:50%; top:36%; width:14px; height:14px; transform:translate(-50%,-50%) rotate(45deg);
  border:2px solid var(--game-accent-2); box-shadow:0 0 22px var(--game-accent-2);
}
.game-store-art--emorgie .hunter {
  left:49%; bottom:16%; width:18px; height:18px; transform:translateX(-50%);
  border-radius:50% 50% 44% 44%; background:var(--game-accent);
  box-shadow:0 0 26px rgba(255,120,149,.55);
}
.game-store-art--genartos {
  background:
    radial-gradient(circle at 50% 49%, rgba(156,255,87,.16), transparent 8%),
    radial-gradient(circle at 50% 49%, rgba(122,92,255,.14), transparent 30%),
    linear-gradient(140deg,#030402,#071008 54%,#08051a);
}
.game-store-art--genartos .ring { left:50%; top:48%; width:42%; aspect-ratio:1; border:1px solid var(--game-accent); border-radius:50%; transform:translate(-50%,-50%) rotateX(63deg); box-shadow:0 0 30px rgba(156,255,87,.25); }
.game-store-art--genartos .ring:nth-child(2){ width:58%; border-color:var(--game-accent-2); transform:translate(-50%,-50%) rotateX(68deg) rotateZ(28deg); }
.game-store-art--genartos .ring:nth-child(3){ width:26%; border-color:var(--game-hot); transform:translate(-50%,-50%) rotateX(58deg) rotateZ(-32deg); }
.game-store-art--genartos .singularity { left:50%; top:48%; width:26px; height:26px; border-radius:50%; transform:translate(-50%,-50%); background:#fff; box-shadow:0 0 18px #fff,0 0 56px var(--game-accent),0 0 110px var(--game-accent-2); }
.game-store-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 15px;
  border: 1px solid var(--game-line);
  background: linear-gradient(180deg,var(--game-panel-2),var(--game-panel));
}
.game-store-tagline { margin:0; font-size:19px; line-height:1.28; color:#fff; }
.game-store-summary { margin:0; color:rgba(255,255,255,.68); line-height:1.58; font-size:13px; }
.game-store-facts { margin:0; padding:0; display:grid; gap:8px; }
.game-store-fact { display:grid; grid-template-columns:34px 1fr; gap:10px; align-items:center; min-height:46px; padding-top:8px; border-top:1px solid rgba(255,255,255,.07); font-size:11px; }
.game-store-fact dt { color:var(--game-accent); font-weight:400; text-transform:uppercase; letter-spacing:.08em; }
.game-store-fact__glyph { display:inline-flex; width:24px; height:24px; align-items:center; justify-content:center; font-size:17px; line-height:1; border:1px solid color-mix(in srgb,var(--game-accent) 34%,transparent); background:color-mix(in srgb,var(--game-accent) 6%,transparent); box-shadow:0 0 18px color-mix(in srgb,var(--game-accent) 10%,transparent); }
.game-store-fact__label { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.game-store-fact dd { margin:0; color:rgba(255,255,255,.83); line-height:1.45; }
.game-store-fact__values { display:flex; align-items:center; flex-wrap:wrap; gap:7px; min-height:28px; }
.game-store-value-glyph { width:30px; height:30px; display:inline-flex; align-items:center; justify-content:center; border:1px solid color-mix(in srgb,var(--game-accent) 42%,rgba(255,255,255,.12)); background:color-mix(in srgb,var(--game-accent) 8%,#05090c); color:#fff; font-size:17px; line-height:1; box-shadow:0 0 16px color-mix(in srgb,var(--game-accent) 8%,transparent); }
.game-store-value-glyph--status { color:var(--game-accent); font-size:20px; }
.game-store-value-glyph--platform { color:#f4fff8; }
.game-store-value-glyph--build { color:var(--game-accent); }
.game-store-value-glyph--forge { color:var(--game-accent-2); }
.game-store-actionbar {
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  gap:16px;
  margin-top:12px;
  padding:16px 18px;
  border:1px solid var(--game-line);
  background:rgba(3,7,9,.93);
  box-shadow:0 16px 48px rgba(0,0,0,.3);
}
.game-store-price strong { display:block; color:#fff; font-size:18px; }
.game-store-price span { color:rgba(255,255,255,.48); font-size:11px; }
.game-store-actions { display:flex; flex-wrap:wrap; gap:8px; justify-content:flex-end; }
.game-store-message { min-height:17px; margin-top:8px; color:var(--game-accent); font-size:11px; letter-spacing:.04em; }
.game-store-lower { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(260px,.55fr); gap:12px; margin-top:12px; }
.game-store-panel { padding:20px; border:1px solid var(--game-line); background:rgba(5,9,12,.74); }
.game-store-panel h3 { margin:0 0 12px; color:#fff; font-size:13px; letter-spacing:.16em; text-transform:uppercase; }
.game-store-panel p { color:rgba(255,255,255,.68); line-height:1.65; font-size:13px; }
.game-store-features { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; padding:0; margin:0; list-style:none; }
.game-store-features li { min-height:68px; padding:12px; border:1px solid rgba(255,255,255,.08); background:rgba(255,255,255,.025); color:rgba(255,255,255,.75); font-size:12px; }
.game-store-features li::before { content:"// "; color:var(--game-accent); }
.game-store-buildstate { display:flex; gap:10px; align-items:flex-start; }
.game-store-buildstate__dot { width:8px; height:8px; margin-top:5px; flex:none; border-radius:50%; background:var(--game-accent); box-shadow:0 0 16px var(--game-accent); }
.game-store-buildstate strong { display:block; color:#fff; font-size:12px; }
.game-store-buildstate span { display:block; color:rgba(255,255,255,.53); font-size:11px; line-height:1.55; margin-top:4px; }
.game-store-shelf { margin:0 auto 26px; max-width:1320px; padding:18px; border:1px solid rgba(143,255,184,.18); background:rgba(3,8,9,.78); }
.game-store-shelf__header { display:flex; justify-content:space-between; gap:14px; align-items:end; margin-bottom:13px; }
.game-store-shelf__header h2 { margin:0; color:#fff; font-size:18px; letter-spacing:.12em; text-transform:uppercase; }
.game-store-shelf__header p { margin:0; color:rgba(255,255,255,.42); font-size:11px; }
.game-store-shelf__grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.game-store-card { --card-accent:#b8ffcf; position:relative; min-height:214px; display:flex; flex-direction:column; padding:15px; border:1px solid color-mix(in srgb,var(--card-accent) 25%,rgba(255,255,255,.08)); background:linear-gradient(145deg,color-mix(in srgb,var(--card-accent) 6%,#080b0d),#050708); overflow:hidden; }
.game-store-card[data-game="octopancake"]{--card-accent:#7cf7ff}.game-store-card[data-game="rally-forces"]{--card-accent:#ffcf4a}.game-store-card[data-game="emorgie"]{--card-accent:#ff7895}.game-store-card[data-game="genartos"]{--card-accent:#9cff57}
.game-store-card::after { content:""; position:absolute; width:180px; height:180px; right:-90px; top:-90px; border:1px solid var(--card-accent); border-radius:50%; opacity:.18; box-shadow:0 0 36px var(--card-accent); }
.game-store-card__eyebrow { color:var(--card-accent); font-size:9px; letter-spacing:.16em; text-transform:uppercase; }
.game-store-card h3 { margin:8px 0 8px; color:#fff; font-size:22px; text-transform:uppercase; }
.game-store-card p { margin:0 0 14px; color:rgba(255,255,255,.58); font-size:11px; line-height:1.5; }
.game-store-card__meta { margin-top:auto; display:flex; justify-content:space-between; gap:8px; align-items:center; color:rgba(255,255,255,.45); font-size:10px; }
.game-store-card .game-store-button { margin-top:10px; width:100%; border-color:var(--card-accent); }
.game-store-card .game-store-button--primary { background:var(--card-accent); }
@media (max-width: 900px) {
  .game-store-hero,.game-store-lower { grid-template-columns:1fr; }
  .game-store-media { min-height:340px; }
  .game-store-shelf__grid { grid-template-columns:1fr; }
}
@media (max-width: 560px) {
  .game-storefront { padding-inline:7px; }
  .game-store-header { align-items:flex-start; flex-direction:column; }
  .game-store-actionbar { grid-template-columns:1fr; }
  .game-store-actions { justify-content:stretch; }
  .game-store-actions .game-store-button { flex:1 1 auto; }
  .game-store-features { grid-template-columns:1fr; }
  .game-store-media { min-height:300px; }
  .game-store-media__copy { left:16px; right:16px; bottom:16px; }
}

/* Release polish: keep the page hierarchy compact and let the artwork breathe. */
.game-store-title {
  font-size: clamp(30px, 3.4vw, 52px);
  line-height: 1;
  letter-spacing: -.025em;
}
.game-store-header {
  align-items: center;
  margin: 10px 0 18px;
}
.game-store-art--weave-live {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(124,247,255,.055), transparent 34%),
    radial-gradient(circle at 78% 72%, rgba(191,115,255,.06), transparent 36%),
    linear-gradient(155deg, #01040a, #020711 52%, #010308);
}
.game-store-art--weave-live::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(0,0,0,.52), transparent 46%),
    radial-gradient(circle at center, transparent 42%, rgba(0,0,0,.24) 100%);
}
.emerge-weave-hero__canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: .96;
}
.game-store-art--weave-fallback {
  background:
    repeating-linear-gradient(32deg, rgba(124,247,255,.12) 0 1px, transparent 1px 23px),
    repeating-linear-gradient(-41deg, rgba(191,115,255,.09) 0 1px, transparent 1px 27px),
    #020711;
}

.game-storefront[data-game-slug="octopancake"] .game-store-media__copy {
  max-width: 760px;
  padding: .85rem 1rem;
  border-left: 2px solid var(--game-accent);
  background: linear-gradient(90deg, rgba(2,5,12,.76), rgba(2,5,12,.22) 72%, transparent);
  backdrop-filter: blur(2px);
}
.game-storefront[data-game-slug="octopancake"] .game-store-media__copy strong {
  max-width: 24ch;
}

/* Emerge detail redesign: give the live lattice more room and move the long
   description into a two-page hero copy surface instead of the side rail. */
.game-storefront[data-game-slug="octopancake"] {
  max-width: 1480px;
}
.game-storefront[data-game-slug="octopancake"] .game-store-hero {
  grid-template-columns: minmax(0, 2.35fr) minmax(238px, .55fr);
}
.game-storefront[data-game-slug="octopancake"] .game-store-side {
  padding: 15px;
}
.game-storefront[data-game-slug="octopancake"] .game-store-facts {
  margin-top: 0;
}
.game-storefront[data-game-slug="octopancake"] .game-store-side {
  justify-content: flex-start;
}
.game-store-media__copy--toggle {
  appearance: none;
  width: calc(100% - 52px);
  max-width: 760px;
  padding: .85rem 1rem;
  text-align: left;
  color: inherit;
  border-left: 2px solid var(--game-accent);
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  background: linear-gradient(90deg, rgba(2,5,12,.76), rgba(2,5,12,.22) 72%, transparent);
  backdrop-filter: blur(2px);
  cursor: pointer;
  transition: border-color .14s ease, background .14s ease, transform .14s ease;
}
.game-store-media__copy--toggle:hover,
.game-store-media__copy--toggle:focus-visible {
  border-left-color: #fff;
  background: linear-gradient(90deg, rgba(2,5,12,.86), rgba(2,5,12,.32) 72%, transparent);
  outline: none;
}
.game-store-media__copy--toggle:active {
  transform: translateY(1px);
}
.game-store-copy-page {
  display: block;
  min-height: 70px;
}
.game-store-copy-page[hidden] {
  display: none !important;
}
.game-store-copy-page > span {
  display: block;
  max-width: 62ch;
  line-height: 1.55;
}
.game-store-copy-page[data-game-copy-page="summary"] > span {
  color: rgba(255,255,255,.78);
}
.game-store-copy-toggle__hint {
  position: absolute;
  right: 10px;
  bottom: 8px;
  color: var(--game-accent);
  font-size: 15px;
  opacity: .8;
}

@media (max-width: 900px) {
  .game-storefront[data-game-slug="octopancake"] .game-store-hero {
    grid-template-columns: 1fr;
  }
}
