/* Homepage-only storefront. Product/account pages keep their existing styles. */
body[data-storefront] {
  --muted: #aaa9b7;
  background: radial-gradient(ellipse at 72% 2%, #e639460b, transparent 45%), #0a0a12;
}
body[data-storefront] main { width: min(1180px, calc(100% - 80px)); padding-top: 58px; }
body[data-storefront] header { padding-inline: max(40px, calc((100vw - 1180px) / 2)); }
body[data-storefront] .brand { letter-spacing: .18em; }
body[data-storefront] .hub-hero {
  position: relative; isolation: isolate; margin-top: 0; padding: 16px 0 0;
}
body[data-storefront] .hub-hero .kicker {
  display: flex; align-items: center; gap: 12px; margin: 0 0 22px;
  color: #f1828a; font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
}
body[data-storefront] .hub-hero .kicker::before {
  content: ""; width: 28px; height: 2px; background: #e63946;
}
body[data-storefront] .hub-hero h1 {
  font-size: clamp(68px, 10vw, 128px); line-height: .86; font-weight: 850;
  letter-spacing: -.065em; color: #f4f2f5; margin: 0;
}
body[data-storefront] .hub-hero .lede {
  max-width: 520px; margin: 24px 0 36px; font-size: 17px; line-height: 1.65;
}
.hub-orbit {
  position: absolute; width: 260px; height: 260px; border: 1px solid #e6394624;
  border-radius: 50%; right: 72px; top: 0; z-index: -1; pointer-events: none;
  transform: rotate(-25deg) scaleY(.52);
}
.hub-orbit::before, .hub-orbit::after {
  content: ""; position: absolute; border: 1px solid #e639461c; border-radius: 50%;
}
.hub-orbit::before { inset: 24px -50px; transform: rotate(55deg); }
.hub-orbit::after { inset: -24px 44px; transform: rotate(-40deg); }
.hub-divider {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; border-block: 1px solid #ffffff12;
  color: #858593; font-size: 10px; letter-spacing: .2em; font-weight: 650;
}
body[data-storefront] .game-pick {
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, minmax(290px, auto)); gap: 18px; margin: 24px 0 72px;
}
body[data-storefront] .game-card {
  position: relative; isolation: isolate; min-width: 0; border-radius: 22px;
  background: #111118; border: 1px solid #ffffff17;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  animation: storefront-enter .65s cubic-bezier(.22, 1, .36, 1) backwards;
}
body[data-storefront] .game-card:nth-child(2) { animation-delay: .08s; }
body[data-storefront] .game-card:nth-child(3) { animation-delay: .16s; }
body[data-storefront] .game-card:hover {
  transform: translateY(-4px); border-color: #e6394670; box-shadow: 0 20px 45px #0005;
}
body[data-storefront] .game-card:focus-visible {
  outline: 3px solid #ff7d86; outline-offset: 5px; border-color: #e63946;
}
.game-index {
  position: absolute; z-index: 2; top: 22px; right: 24px;
  font-size: 11px; font-weight: 650; letter-spacing: .12em; color: #ffffffba;
  padding: 5px 9px; background: #101018a6; border: 1px solid #ffffff22; border-radius: 6px;
}
body[data-storefront] .game-card .game-media {
  position: absolute; inset: 0; height: 100%; z-index: -1; background: #111118;
}
body[data-storefront] .game-media img {
  height: 100%; width: 100%; object-fit: cover; transform: scale(1);
  transition: transform .65s cubic-bezier(.22, 1, .36, 1);
}
body[data-storefront] .game-card:hover .game-media img { transform: scale(1.045); }
body[data-storefront] .game-media::after { inset: 0; height: auto; }
body[data-storefront] .game-card .game-body {
  position: relative; min-width: 0; padding: 28px; gap: 12px;
}
body[data-storefront] .game-head {
  flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0;
}
body[data-storefront] .game-meta { flex-wrap: wrap; justify-content: flex-start; gap: 8px; }
body[data-storefront] .game-tag { font-size: 10px; letter-spacing: .14em; color: #c7c4cf; }
body[data-storefront] .game-updated { color: #aaa8b6; font-size: 11px; }
body[data-storefront] .det-badge { font-size: 9px; background-color: #111119c9; }
body[data-storefront] .game-card h2 {
  color: #f5f3f8; font-size: clamp(27px, 3vw, 38px); line-height: 1.08; letter-spacing: -.035em;
}
body[data-storefront] .game-copy { flex: 0; color: #c4c1cc; font-size: 14px; line-height: 1.65; }
body[data-storefront] .game-status { margin: 0; font-size: 13px; }
body[data-storefront] .game-open {
  display: inline-flex; align-items: center; gap: 28px; min-height: 44px;
  margin-top: auto; padding: 11px 17px; border-radius: 9px;
  background: #e63946; font-size: 13px; letter-spacing: .01em;
}
body[data-storefront] .game-open::after {
  content: "↗"; font-size: 19px; line-height: 1; font-weight: 400;
  transition: transform .2s ease;
}
body[data-storefront] .game-card:hover .game-open::after { transform: translate(2px, -2px); }
body[data-storefront] .game-cs2 { grid-row: 1 / 3; min-height: 598px; }
body[data-storefront] .game-cs2 .game-media img { object-position: 50% 20%; }
body[data-storefront] .game-cs2 .game-media::after {
  background: linear-gradient(180deg, #08080e08 10%, #10101850 36%, #101018f0 62%, #101018 100%);
}
body[data-storefront] .game-cs2 .game-body { justify-content: flex-end; padding: 32px; padding-top: 240px; }
body[data-storefront] .game-cs2 .game-head { margin-bottom: 6px; }
body[data-storefront] .game-cs2 h2 { font-size: clamp(34px, 4vw, 48px); }
body[data-storefront] .game-cs2 .game-copy { max-width: 340px; }
body[data-storefront] .game-cs2 .game-open { margin-top: 12px; }
body[data-storefront] .game-cs2i .game-media,
body[data-storefront] .game-rust .game-media { left: 35%; }
body[data-storefront] .game-cs2i .game-media img { object-position: 65% 30%; filter: none; }
body[data-storefront] .game-rust .game-media img { object-position: 65% 30%; }
body[data-storefront] .game-cs2i .game-media::after,
body[data-storefront] .game-rust .game-media::after {
  background: linear-gradient(90deg, #111118 0%, #111118b0 45%, #11111835 100%),
    linear-gradient(0deg, #111118bd, transparent 70%);
}
body[data-storefront] .game-cs2i .game-body,
body[data-storefront] .game-rust .game-body { align-items: flex-start; padding-right: 27%; }
body[data-storefront] .game-cs2i .game-open,
body[data-storefront] .game-rust .game-open {
  background: #17171f; border: 1px solid #ffffff30; margin-top: 6px;
}
body[data-storefront] #legal { padding-top: 28px; border-top: 1px solid #ffffff12; }
body[data-storefront] #legal > h2 { font-size: 23px; letter-spacing: -.02em; }
body[data-storefront] .legal-home { gap: 26px; }
body[data-storefront] .legal-home article { border: 0; border-radius: 0; background: transparent; padding: 0; }
body[data-storefront] .legal-home h3 { font-size: 15px; color: #dddbe4; }
body[data-storefront] .legal-home p { font-size: 13px; color: #a7a4b3; }
@keyframes storefront-enter {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 1000px) {
  body[data-storefront] main { width: calc(100% - 48px); }
  body[data-storefront] header { padding-inline: 24px; }
  body[data-storefront] .game-card .game-body { padding: 24px; }
  body[data-storefront] .game-cs2 .game-body { padding-top: 240px; }
  body[data-storefront] .game-cs2i .game-body,
  body[data-storefront] .game-rust .game-body { padding-right: 18%; }
  .hub-orbit { right: 20px; width: 220px; height: 220px; }
}
@media (max-width: 700px) {
  body[data-storefront] main { width: calc(100% - 32px); padding-top: 32px; }
  body[data-storefront] header { padding-inline: 16px; }
  body[data-storefront] .hub-hero { padding-top: 8px; }
  body[data-storefront] .hub-hero .lede { max-width: 440px; margin: 20px 0 28px; font-size: 15px; }
  .hub-orbit { display: none; }
  body[data-storefront] .game-pick { grid-template-columns: 1fr; grid-template-rows: auto; gap: 16px; margin-bottom: 44px; }
  body[data-storefront] .game-cs2 { grid-row: auto; min-height: 480px; }
  body[data-storefront] .game-cs2 .game-body { padding-top: 190px; }
  body[data-storefront] .game-cs2 h2 { font-size: 36px; }
  body[data-storefront] .game-cs2i,
  body[data-storefront] .game-rust { min-height: 280px; }
  body[data-storefront] .game-cs2i .game-body,
  body[data-storefront] .game-rust .game-body { padding-right: 23%; }
  body[data-storefront] .game-card h2 { font-size: 30px; }
  body[data-storefront] .game-card { border-radius: 17px; }
  body[data-storefront] #legal { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-storefront] .game-card,
  body[data-storefront] .game-media img,
  body[data-storefront] .game-open,
  body[data-storefront] .game-open::after { animation: none; transition: none; }
  body[data-storefront] .game-card:hover,
  body[data-storefront] .game-card:hover .game-media img,
  body[data-storefront] .game-card:hover .game-open::after { transform: none; }
}
