/* Home page promo for the new Minecraft Interactive: copy on the left, a block wall you can mine on the right. Prefix .mcp */
.mcp {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(34px, 5vw, 64px) 0;
}
.mcp__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.mcp__blob {
  position: absolute;
  width: 44vw;
  max-width: 600px;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: mcpBlob 20s ease-in-out infinite;
}
.mcp__blob--a { left: -10%; top: 10%; background: radial-gradient(circle, #22c55e, transparent 68%); }
.mcp__blob--b { right: -8%; top: 0; background: radial-gradient(circle, #a855f7, transparent 68%); animation-delay: -9s; }
@keyframes mcpBlob {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(4%, 6%, 0) scale(1.15); }
}

.mcp__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(24px, 4.5vw, 64px);
  align-items: center;
}

/* ---------- Copy ---------- */
.mcp__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #052e16;
  background: linear-gradient(90deg, #86efac, #4ade80);
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3) inset, 0 8px 30px rgba(74, 222, 128, 0.45);
  animation: mcpPulse 2.4s ease-in-out infinite;
}
.mcp__badge::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #052e16;
  box-shadow: 0 0 0 2px rgba(5, 46, 22, 0.25);
}
@keyframes mcpPulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3) inset, 0 8px 30px rgba(74, 222, 128, 0.45); }
  50% { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3) inset, 0 8px 48px rgba(74, 222, 128, 0.85); }
}
.mcp__title {
  margin: 0 0 14px;
  font-family: "Russo One", system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(34px, 5.6vw, 66px);
  line-height: 1.02;
  color: #f4f4ff;
  text-shadow: 0 0 36px rgba(168, 85, 247, 0.3);
  text-wrap: balance;
}
.mcp__grad {
  background: linear-gradient(100deg, #4ade80 0%, #38bdf8 40%, #a855f7 75%, #f472b6 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: mcpShift 7s ease-in-out infinite;
}
@keyframes mcpShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.mcp__lead {
  max-width: 34rem;
  margin: 0 0 18px;
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.55;
  color: #c9c9e3;
}
.mcp__lead b { color: #fff; }

.mcp__gifts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-width: 34rem;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.mcp__gifts li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px 7px 8px;
  min-width: 0;
  font-size: 13px;
  font-weight: 700;
  color: #e9e9f5;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}
.mcp__gifts li:hover {
  transform: translateY(-2px);
  border-color: var(--c, #4ade80);
  box-shadow: 0 10px 26px color-mix(in srgb, var(--c, #4ade80) 28%, transparent);
}
.mcp__gifts img { width: 32px; height: 32px; object-fit: contain; flex: none; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.5)); }
.mcp__gifts span { display: block; min-width: 0; line-height: 1.2; }
.mcp__gifts small {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--c, #4ade80);
}

.mcp__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.mcp__price {
  margin-left: 4px;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.3);
  color: #fde68a;
  font-weight: 800;
}
.mcp__meta { margin: 0; font-size: 13px; font-weight: 600; color: #a7a7c1; }

/* ---------- The block wall ---------- */
.mcp__art { min-width: 0; }
.mcp__frame {
  position: relative;
  border-radius: 22px;
  padding: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55), 0 0 70px rgba(168, 85, 247, 0.28);
  transition: box-shadow 0.5s;
}
.mcp__frame::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(120deg, #4ade80, #38bdf8, #a855f7, #f472b6, #4ade80);
  background-size: 300% 300%;
  animation: mcpShift 6s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.mcp__frame.is-clear { box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55), 0 0 110px rgba(74, 222, 128, 0.55); }
.mcp__stage {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 15px;
  background: #0b0720;
}
.mcp__stage.is-shake { animation: mcpShake 0.45s linear; }
@keyframes mcpShake {
  0%, 100% { translate: 0 0; }
  15% { translate: -6px 3px; }
  35% { translate: 5px -4px; }
  55% { translate: -4px -2px; }
  75% { translate: 3px 3px; }
}
.mcp__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mcp__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: pan-y;
  image-rendering: pixelated;
}
.mcp__flash {
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0;
  pointer-events: none;
}
.mcp__flash.is-on { animation: mcpFlash 0.5s ease-out; }
@keyframes mcpFlash {
  0% { opacity: 0.85; }
  100% { opacity: 0; }
}

.mcp__pop {
  position: absolute;
  left: 50%;
  top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 8px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: rgba(10, 8, 30, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  transform: translate(-50%, -20px);
  opacity: 0;
  pointer-events: none;
}
.mcp__pop img { width: 30px; height: 30px; object-fit: contain; }
.mcp__pop em {
  padding: 2px 9px;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.6px;
  color: #0b0b14;
  background: var(--e, #fb7185);
  border-radius: 999px;
}
.mcp__pop.is-on { animation: mcpPop 2s ease-out forwards; }
@keyframes mcpPop {
  0% { opacity: 0; transform: translate(-50%, -20px); }
  12%, 78% { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, -8px); }
}

.mcp__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  margin-top: 10px;
  padding: 0 4px;
  font-size: 13px;
  font-weight: 700;
  color: #c7d2fe;
}
.mcp__counts { display: flex; gap: 14px; }
.mcp__counts[hidden] { display: none; }
.mcp__counts b { color: #fff; font-variant-numeric: tabular-nums; }
.mcp__counts .is-bump { animation: mcpBump 0.4s ease-out; }
@keyframes mcpBump {
  40% { transform: scale(1.35); color: #4de8e0; }
}
.mcp__hint { color: #a7a7c1; font-weight: 600; }
.mcp__again {
  padding: 6px 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  color: #e9e9f5;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}
.mcp__again:hover { background: rgba(168, 85, 247, 0.2); border-color: rgba(168, 85, 247, 0.6); }
.mcp__again:focus-visible { outline: 2px solid #7dd3fc; outline-offset: 2px; }

/* "NEW" tag on the Minecraft menu links */
.nav a[href="/minecraft.html"] { position: relative; }
.nav a[href="/minecraft.html"]::after {
  content: "NEW";
  position: absolute;
  top: -9px;
  right: -16px;
  padding: 1px 6px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #052e16;
  background: #4ade80;
  border-radius: 999px;
  box-shadow: 0 0 14px rgba(74, 222, 128, 0.8);
  animation: mcpPulse 2.4s ease-in-out infinite;
}
.mobile-nav a[href="/minecraft.html"]::after {
  content: "NEW";
  margin-left: 8px;
  padding: 1px 7px;
  font-size: 10px;
  font-weight: 800;
  color: #052e16;
  background: #4ade80;
  border-radius: 999px;
}

@media (max-width: 900px) {
  .mcp__inner { grid-template-columns: 1fr; }
  .mcp__art { max-width: 560px; width: 100%; margin: 0 auto; }
}
@media (max-width: 520px) {
  .mcp__gifts { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .mcp *, .mcp *::before, .mcp *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ---------- Extra colour and pop (v2) ---------- */
.mcp__blob--c { right: 20%; bottom: -12%; background: radial-gradient(circle, #fb923c, transparent 68%); animation-delay: -4s; }
.mcp__blob--d { left: 30%; top: -14%; background: radial-gradient(circle, #22d3ee, transparent 68%); animation-delay: -14s; }
.mcp__art { position: relative; padding: 14px; }
.mcp__aura {
  position: absolute;
  inset: -4%;
  z-index: -1;
  border-radius: 40px;
  background: conic-gradient(from 0deg, #4ade80, #22d3ee, #6366f1, #d946ef, #fb7185, #fb923c, #facc15, #4ade80);
  filter: blur(46px) saturate(1.4);
  opacity: 0.85;
  animation: mcpSpin 9s linear infinite;
}
@keyframes mcpSpin { to { transform: rotate(360deg); } }
.mcp__frame {
  padding: 6px;
  background: rgba(10, 8, 30, 0.7);
  transform-style: preserve-3d;
  transition: transform 0.25s ease-out;
  will-change: transform;
}
.mcp__frame::before { padding: 4px; animation-duration: 3.5s; }
.mcp__stage { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25) inset; }
.mcp__img { filter: saturate(1.25) contrast(1.06); }
.mcp__canvas { filter: saturate(1.35) contrast(1.05) brightness(1.06); }
.mcp__orbit {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.mcp__orb {
  position: absolute;
  image-rendering: pixelated;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 14px var(--g, rgba(255, 255, 255, 0.6)));
  animation: mcpBob var(--d, 4s) ease-in-out infinite;
  animation-delay: var(--dl, 0s);
}
@keyframes mcpBob {
  0%, 100% { transform: translateY(0) rotate(var(--r0, -8deg)) scale(1); }
  50% { transform: translateY(-14px) rotate(var(--r1, 10deg)) scale(1.08); }
}
.mcp__badge { background: linear-gradient(90deg, #fde047, #4ade80, #22d3ee); }
.mcp__gifts li { background: linear-gradient(135deg, color-mix(in srgb, var(--c, #4ade80) 16%, transparent), rgba(255, 255, 255, 0.04)); }
.mcp__bar { color: #e0e7ff; }
@media (max-width: 900px) {
  .mcp__art { padding: 10px; }
  .mcp__aura { filter: blur(34px) saturate(1.4); }
}
@media (prefers-reduced-motion: reduce) {
  .mcp__aura { animation: none; }
  .mcp__orb { animation: none; }
}
/* ---------- Minecraft-style text (v3) ---------- */
.mcp__title {
  font-family: "Press Start 2P", "Russo One", ui-monospace, monospace;
  font-size: clamp(20px, 3.4vw, 42px);
  line-height: 1.4;
  letter-spacing: 0;
  color: #fff;
  text-shadow: 3px 3px 0 #3d3d3d, 5px 5px 0 rgba(0, 0, 0, 0.35);
}
.mcp__grad {
  display: inline-block;
  text-shadow: none;
  filter: drop-shadow(3px 3px 0 #17451a) drop-shadow(0 0 18px rgba(74, 222, 128, 0.45));
  animation: mcpShift 5s ease-in-out infinite, mcpTitleBob 2.6s ease-in-out infinite;
}
@keyframes mcpTitleBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.mcp__badge {
  font-family: "Press Start 2P", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.5px;
  border-radius: 0;
  box-shadow: 0 4px 0 #14532d, 0 0 0 3px #052e16, 0 10px 34px rgba(74, 222, 128, 0.55);
}
.mcp__gifts small {
  font-family: "Press Start 2P", ui-monospace, monospace;
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: 0;
  margin-top: 3px;
}
.mcp__gifts li { border-radius: 6px; border-width: 2px; box-shadow: 0 3px 0 rgba(0, 0, 0, 0.45); }
.mcp .btn { border-radius: 8px; box-shadow: 0 4px 0 rgba(0, 0, 0, 0.45), 0 12px 30px rgba(99, 102, 241, 0.3); }
.mcp .btn--primary { box-shadow: 0 4px 0 #3b1d78, 0 12px 36px rgba(168, 85, 247, 0.45); }
.mcp__fall {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
@media (max-width: 520px) {
  .mcp__title { font-size: 18px; }
}