/* ===== Zombies showcase: one big section per interactive (same look as the Minecraft 1 Up section) =====
   Colours come from the game modifier, e.g. .zs--bo1. */
.zs {
  --zs-a: 249, 115, 22;   /* main glow */
  --zs-b: 239, 68, 68;    /* second glow */
  --zs-c: 139, 92, 246;   /* accent */
  --zs-hot: #fbbf24;      /* price tag / highlights */
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(var(--zs-a), 0.28);
  padding: clamp(28px, 4.5vw, 64px) clamp(20px, 4.5vw, 64px);
  background:
    radial-gradient(ellipse 60% 70% at 80% 45%, rgba(var(--zs-a), 0.26), transparent 65%),
    radial-gradient(ellipse 55% 60% at 8% 100%, rgba(var(--zs-c), 0.2), transparent 65%),
    radial-gradient(ellipse 40% 40% at 50% 0%, rgba(var(--zs-b), 0.12), transparent 70%),
    linear-gradient(180deg, #140a10, #07070b);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55), 0 0 60px rgba(var(--zs-a), 0.12);
  scroll-margin-top: 96px;
}
.zs + .zs { margin-top: 28px; }
/* on the homepage the packages area is a grid of small cards; a showcase takes the full row */
.pricing > .zs { grid-column: 1 / -1; min-width: 0; }
.pricing > .zs + .zs { margin-top: 10px; }
.zs__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 5vw, 70px); align-items: center; }

/* rising embers */
.zs__embers { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.zs__embers i {
  position: absolute; bottom: -12px; left: var(--x); width: var(--s, 5px); height: var(--s, 5px); border-radius: 50%;
  background: rgb(var(--zs-a)); box-shadow: 0 0 10px rgba(var(--zs-a), 0.95), 0 0 20px rgba(var(--zs-b), 0.6);
  opacity: 0; animation: zsEmber var(--d, 7s) linear var(--dl, 0s) infinite;
}
@keyframes zsEmber {
  0% { opacity: 0; transform: translate(0, 0) scale(1); }
  10% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx, 30px), -560px) scale(0.3); }
}

/* ---------- copy ---------- */
.zs__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Russo One", system-ui, sans-serif; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: #1a0a02; background: linear-gradient(90deg, var(--zs-hot), rgb(var(--zs-a)));
  padding: 9px 13px; border-radius: 6px;
  box-shadow: 0 0 24px rgba(var(--zs-a), 0.55);
  animation: zsGlow 2.2s ease-in-out infinite;
}
@keyframes zsGlow { 50% { box-shadow: 0 0 42px rgba(var(--zs-a), 0.95); } }
.zs__brand {
  margin: 18px 0 0;
  font-family: "Russo One", system-ui, sans-serif; letter-spacing: 0.28em; font-size: clamp(14px, 2vw, 20px);
  background: linear-gradient(90deg, rgb(var(--zs-a)), var(--zs-hot), rgb(var(--zs-c)));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.zs__title { margin: 6px 0 0; line-height: 0.95; font-family: "Russo One", system-ui, sans-serif; font-weight: 400; }
.zs__cod {
  display: block; white-space: nowrap; font-size: clamp(26px, 3.9vw, 54px); letter-spacing: 0.02em;
  color: #e5e7eb; -webkit-text-stroke: 1.5px rgba(var(--zs-a), 0.9); paint-order: stroke fill;
  text-shadow: 0 4px 0 #57534e, 0 7px 0 #292524, 0 0 30px rgba(var(--zs-a), 0.45);
  background-image: linear-gradient(100deg, #e5e7eb 40%, #fff 50%, #e5e7eb 60%); background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  animation: zsShine 5s ease-in-out infinite;
}
@keyframes zsShine { 0%, 45% { background-position: 150% 0; } 100% { background-position: -150% 0; } }
.zs__game {
  display: block; margin-top: 0.12em; white-space: nowrap;
  font-size: clamp(40px, 5.6vw, 80px); letter-spacing: 0.01em;
  color: rgb(var(--zs-a));
  text-shadow: 0 0.05em 0 var(--zs-deep1, #7c2d12), 0 0.1em 0 var(--zs-deep2, #431407), 0 0 0.35em rgba(var(--zs-a), 0.75), 0 0 0.8em rgba(var(--zs-b), 0.45);
  animation: zsPulse 2.4s ease-in-out infinite;
}
@keyframes zsPulse { 50% { text-shadow: 0 0.05em 0 var(--zs-deep1, #7c2d12), 0 0.1em 0 var(--zs-deep2, #431407), 0 0 0.5em rgba(var(--zs-a), 1), 0 0 1.1em rgba(var(--zs-b), 0.7); } }
.zs__chip {
  display: inline-block; margin-top: 12px;
  font-size: clamp(13px, 1.7vw, 18px); letter-spacing: 0.14em;
  padding: 0.6em 1em; color: #fff;
  background: linear-gradient(180deg, rgba(var(--zs-c), 0.95), #2e1065);
  border: 2px solid #fff; outline: 2px solid rgb(var(--zs-c)); box-shadow: 0 0 22px rgba(var(--zs-c), 0.6);
}
.zs__lead { margin: 22px 0 0; max-width: 54ch; font-size: clamp(16px, 1.6vw, 18px); line-height: 1.6; color: #f3e6dc; }
.zs__lead b { color: #fff; }
.zs__feat { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.zs__feat li {
  font-size: 13px; font-weight: 600; color: #ffedd5; padding: 7px 12px; border-radius: 999px;
  background: rgba(var(--zs-a), 0.12); border: 1px solid rgba(var(--zs-a), 0.4);
  transition: transform 0.15s, background 0.15s;
}
.zs__feat li:hover { transform: translateY(-3px); background: rgba(var(--zs-a), 0.26); }
.zs__buy { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 26px; }
.zs-btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 14px;
  font-family: "Russo One", system-ui, sans-serif; font-size: 19px; text-decoration: none; color: #1a0a02;
  padding: 16px 26px; border-radius: 14px;
  background: linear-gradient(180deg, var(--zs-btn-top, #fdba74), rgb(var(--zs-a)));
  box-shadow: 0 6px 0 var(--zs-edge, #9a3412), 0 14px 40px rgba(var(--zs-a), 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.zs-btn::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.6), transparent); transform: skewX(-20deg); animation: zsBtnShine 3s ease-in-out infinite; }
@keyframes zsBtnShine { 0%, 55% { left: -60%; } 100% { left: 140%; } }
.zs-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--zs-edge, #9a3412), 0 18px 50px rgba(var(--zs-a), 0.6); }
.zs-btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--zs-edge, #9a3412); }
.zs-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.zs-btn__price { background: #1a0a02; color: var(--zs-hot); padding: 6px 12px; border-radius: 9px; font-size: 22px; }
.zs__note { font-size: 13px; color: #c9b3a6; }
.zs__note a { color: #fed7aa; }

/* ---------- poster ---------- */
.zs__art { position: relative; display: grid; place-items: center; padding: 16px; }
.zs__glow {
  position: absolute; width: 85%; aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(from 0deg, rgb(var(--zs-a)), rgb(var(--zs-b)), rgb(var(--zs-c)), var(--zs-hot), rgb(var(--zs-a)));
  filter: blur(70px); opacity: 0.5; animation: zsSpin 14s linear infinite;
}
@keyframes zsSpin { to { transform: rotate(360deg); } }
/* flat + crisp at rest (no transform = no blur); lifts a little on hover */
.zs__poster { position: relative; width: min(100%, 360px); border-radius: 18px; isolation: isolate; transition: transform 0.2s ease-out; }
.zs__poster:hover { transform: translateY(-6px); }
.zs__poster::before { /* spinning fire border */
  content: ""; position: absolute; inset: -5px; border-radius: 22px; z-index: -1;
  background: conic-gradient(from var(--zs-ang, 0deg), rgb(var(--zs-a)), var(--zs-hot), rgb(var(--zs-b)), rgb(var(--zs-c)), rgb(var(--zs-a)));
  animation: zsAng 4s linear infinite;
  box-shadow: 0 0 40px rgba(var(--zs-a), 0.5), 0 30px 80px rgba(0, 0, 0, 0.6);
}
@property --zs-ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes zsAng { to { --zs-ang: 360deg; } }
.zs__poster img {
  position: relative; display: block; width: 100%; height: auto; aspect-ratio: 9 / 16;
  object-fit: cover; object-position: 50% var(--zs-pos, 25%); border-radius: 16px;
}
.zs__poster::after { /* shine sweep */
  content: ""; position: absolute; inset: 0; border-radius: 16px; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.3) 50%, transparent 62%) -150% 0 / 250% 100% no-repeat;
  animation: zsSweep 4.5s ease-in-out infinite; mix-blend-mode: overlay;
}
@keyframes zsSweep { 0%, 40% { background-position: 150% 0; } 100% { background-position: -150% 0; } }
.zs__ribbon {
  position: absolute; top: -18px; right: -18px; z-index: 3;
  font-family: "Russo One", system-ui, sans-serif; font-size: 30px; color: #1a0a02;
  background: linear-gradient(180deg, #fde047, #f59e0b); padding: 12px 16px; border-radius: 14px; transform: rotate(8deg);
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.5); border: 3px solid #fff;
  animation: zsRibbon 1.8s ease-in-out infinite;
}
@keyframes zsRibbon { 50% { transform: rotate(8deg) scale(1.1); } }

/* ---------- games ---------- */
.zs--bo1 { --zs-a: 249, 115, 22; --zs-b: 239, 68, 68; --zs-c: 139, 92, 246; --zs-hot: #fbbf24; --zs-pos: 22%; }

/* Black Ops 2: neon diner pink + purple, orange "II", poster on the left, neon-sign label, purple sparks */
.zs--bo2 {
  --zs-a: 236, 72, 153; --zs-b: 249, 115, 22; --zs-c: 168, 85, 247; --zs-hot: #fb923c;
  --zs-edge: #831843; --zs-btn-top: #f9a8d4; --zs-deep1: #831843; --zs-deep2: #3b0764;
  border-color: rgba(236, 72, 153, 0.3);
  background:
    radial-gradient(ellipse 60% 70% at 20% 45%, rgba(168, 85, 247, 0.28), transparent 65%),
    radial-gradient(ellipse 50% 55% at 95% 100%, rgba(249, 115, 22, 0.18), transparent 65%),
    radial-gradient(ellipse 45% 40% at 70% 0%, rgba(236, 72, 153, 0.16), transparent 70%),
    linear-gradient(180deg, #120818, #07070b);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55), 0 0 60px rgba(168, 85, 247, 0.14);
}
.zs--bo2 .zs__inner { grid-template-columns: 0.9fr 1.1fr; }
.zs--bo2 .zs__art { order: -1; }
.zs--bo2 .zs__embers i { background: #d8b4fe; box-shadow: 0 0 8px rgba(168, 85, 247, 1), 0 0 18px rgba(236, 72, 153, 0.7); border-radius: 1px; }
/* label lit like the North Highway Diner sign */
.zs--bo2 .zs__eyebrow {
  color: #fdf2f8; background: rgba(20, 6, 24, 0.6);
  border: 2px solid #f472b6; border-radius: 8px;
  text-shadow: 0 0 6px #f472b6, 0 0 14px #ec4899;
  box-shadow: 0 0 12px rgba(236, 72, 153, 0.8), inset 0 0 12px rgba(236, 72, 153, 0.5);
  animation: zsNeon 6s linear infinite;
}
@keyframes zsNeon {
  0%, 18%, 22%, 60%, 63%, 100% { opacity: 1; }
  20%, 61.5% { opacity: 0.35; box-shadow: none; text-shadow: none; }
}
.zs--bo2 .zs__brand { background: linear-gradient(90deg, #f472b6, #c084fc, #fb923c); -webkit-background-clip: text; background-clip: text; }
.zs--bo2 .zs__cod { -webkit-text-stroke-color: rgba(236, 72, 153, 0.9); text-shadow: 0 4px 0 #4c1d95, 0 7px 0 #2e1065, 0 0 30px rgba(236, 72, 153, 0.45); }
.zs--bo2 .zs__game { color: #f5f3ff; font-size: clamp(36px, 4.4vw, 64px); }
.zs__num {
  display: inline-block; margin-left: 0.18em; padding: 0 0.12em; line-height: 1;
  color: #1a0a02; background: linear-gradient(180deg, #fdba74, #f97316);
  text-shadow: none; box-shadow: 0 0 0.3em rgba(249, 115, 22, 0.8);
  border-radius: 0.06em;
}
.zs--bo2 .zs__chip { background: linear-gradient(180deg, #db2777, #500724); outline-color: #ec4899; box-shadow: 0 0 22px rgba(236, 72, 153, 0.6); }
.zs--bo2 .zs__lead { color: #ece4f5; }
.zs--bo2 .zs__feat li { color: #fce7f3; }
.zs--bo2 .zs-btn { color: #2a0517; }
.zs--bo2 .zs-btn__price { background: #2a0517; color: #fb923c; }
.zs--bo2 .zs__note { color: #b9a7cc; }
.zs--bo2 .zs__note a { color: #f9a8d4; }
.zs--bo2 .zs__ribbon { transform: rotate(-8deg); right: auto; left: -18px; background: linear-gradient(180deg, #fdba74, #f97316); }
@keyframes zsRibbonL { 50% { transform: rotate(-8deg) scale(1.1); } }
.zs--bo2 .zs__ribbon { animation-name: zsRibbonL; }

/* ---------- small screens ---------- */
@media (max-width: 860px) {
  .zs__inner { grid-template-columns: 1fr; }
  .zs__game { font-size: clamp(40px, 13vw, 80px); }
  .zs__cod { font-size: clamp(24px, 8vw, 54px); }
  .zs__art { order: -1; }
  .zs__poster { width: min(78%, 300px); }
  .zs__ribbon { font-size: 24px; top: -14px; right: -14px; }
  .zs--bo2 .zs__inner { grid-template-columns: 1fr; }
  .zs--bo2 .zs__game { font-size: clamp(30px, 10vw, 64px); }
  .zs--bo2 .zs__ribbon { right: auto; left: -14px; }
}
@media (max-width: 420px) {
  .zs__eyebrow { font-size: 10px; letter-spacing: 0.08em; padding: 8px 10px; }
  .zs-btn { font-size: 17px; padding: 14px 18px; }
  .zs-btn__price { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  .zs *, .zs *::before, .zs *::after { animation: none !important; }
  .zs__embers { display: none; }
}

/* Homepage game tiles: framing for the landscape screenshots */
.pl-tiles .pl-tile.game--bo1 img { object-position: 52% center; }
.pl-tiles .pl-tile.game--bo2 img { object-position: 60% center; }
.pl-tiles .pl-tile.game--bo3 img { object-position: 30% center; }
.pl-tiles .pl-tile.game--mc img { object-position: 74% center; }
/* Homepage: shorter Black Ops showcases so the two sit closer together */
@media (min-width: 861px) {
  .pricing > .zs .zs__poster { width: min(100%, 280px); }
  .pricing > .zs .zs__art { padding: 8px; }
}

/* "Owned by" strip now lives at the top of the footer */
.hero-strip--footer { background: none; border-bottom: 1px solid rgba(255, 255, 255, 0.08); margin-bottom: 8px; }
/* ===== Homepage "Browse by game" tiles: pop in, spinning edge light, shine sweep, hover tilt ===== */
@property --pl-ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.pl-tiles { perspective: 1200px; }
.pl-tiles[data-pop]:not(.is-in) .pl-tile { opacity: 0; }
.pl-tiles.is-in .pl-tile { animation: plPop 0.8s cubic-bezier(0.2, 0.9, 0.3, 1.15) calc(var(--i, 0) * 110ms) backwards; }
@keyframes plPop {
  from { opacity: 0; transform: translateY(46px) scale(0.9) rotateX(14deg); }
  60% { opacity: 1; }
}
/* a light that runs round each tile's edge in its own colour */
.pl-tile::before {
  content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--pl-ang), transparent 0deg 250deg, rgba(var(--g-rgb), 0.95) 300deg, #fff 330deg, rgba(var(--g-rgb), 0.95) 345deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: plRing 6s linear infinite; animation-delay: calc(var(--i, 0) * -1s);
}
@keyframes plRing { to { --pl-ang: 360deg; } }
/* shine that sweeps across every few seconds, and a light that follows the cursor */
.pl-tile__shine { position: absolute; inset: 0; z-index: 0; overflow: hidden; border-radius: inherit; pointer-events: none; }
.pl-tile__shine::before {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 38%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.26), transparent);
  transform: translateX(-160%) skewX(-18deg);
  animation: plSweep 7s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 0.9s + 1s);
}
@keyframes plSweep { 0%, 72% { transform: translateX(-160%) skewX(-18deg); } 100% { transform: translateX(330%) skewX(-18deg); } }
.pl-tile__shine::after {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 0.25s;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--g-rgb), 0.38), transparent 60%);
}
.pl-tile:hover .pl-tile__shine::after { opacity: 1; }
/* hover: tilt toward the cursor, text lifts, tag and title glow */
.pl-tile.is-tilt {
  transform: translateY(-8px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(1.02);
  transition: transform 90ms linear, box-shadow 220ms ease;
}
.pl-tile__body { transition: transform 0.3s ease; }
.pl-tile:hover .pl-tile__body { transform: translateY(-4px); }
.pl-tile__tag { transition: transform 0.3s cubic-bezier(0.3, 1.6, 0.5, 1), box-shadow 0.3s; }
.pl-tile:hover .pl-tile__tag { transform: scale(1.08); box-shadow: 0 0 16px rgba(var(--g-rgb), 0.7); }
.pl-tile__title { transition: text-shadow 0.3s; }
.pl-tile:hover .pl-tile__title { text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8), 0 0 18px rgba(var(--g-rgb), 0.85); }
/* Homepage Minecraft section: the real Minecraft logo with a green glow instead of a text heading */
.mc-logo-head { line-height: 0; }
.mc-logo-head img {
  display: block; width: clamp(230px, 34vw, 400px); height: auto;
  filter: drop-shadow(0 0 1.5px rgba(255, 255, 255, 0.75)) drop-shadow(0 0 14px rgba(74, 222, 128, 0.6)) drop-shadow(0 0 34px rgba(74, 222, 128, 0.35));
}
/* Homepage COD section: the Call of Duty Zombies logo with a red glow instead of a text heading */
.cod-logo-head { line-height: 0; }
.cod-logo-head img {
  display: block; width: clamp(220px, 26vw, 328px); height: auto;
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.55)) drop-shadow(0 0 6px rgba(255, 70, 70, 0.7)) drop-shadow(0 0 18px rgba(239, 68, 68, 0.55)) drop-shadow(0 0 38px rgba(220, 38, 38, 0.35));
}
/* the Minecraft logo gently floats up and down with a slight tilt */
.mc-logo-head img { animation: mcLogoFloat 4.5s ease-in-out infinite; transform-origin: 50% 60%; }
@keyframes mcLogoFloat {
  0%, 100% { transform: translateY(0) rotate(-1.2deg); }
  50% { transform: translateY(-10px) rotate(1.2deg); }
}
.mc-logo-head { padding-top: 10px; }
/* centre the Minecraft and COD Zombies logo headings (and their text) above their packages */
.section__head:has(> .mc-logo-head),
.section__head:has(> .cod-logo-head) { justify-items: center; text-align: center; }
.mc-logo-head img, .cod-logo-head img { margin-inline: auto; }
/* the COD Zombies logo floats the same way as the Minecraft logo */
.cod-logo-head img { animation: mcLogoFloat 4.5s ease-in-out infinite; transform-origin: 50% 60%; }
.cod-logo-head { padding-top: 10px; }