/* ===== Minecraft page: three themed package cards (Standard / Deluxe / 1 Up) ===== */
.mcc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.mcc-head h3 { margin: 0; font-family: "Russo One", system-ui, sans-serif; font-size: clamp(22px, 2.6vw, 30px); }

.mcc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.16fr);
  max-width: 900px;
  margin-inline: auto;
  gap: clamp(18px, 2.4vw, 30px);
  align-items: center;
  margin-top: 34px;
  perspective: 1400px;
}

/* ---------- shared card ---------- */
.mcc__card {
  position: relative;
  display: block;
  padding: 9px;
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  isolation: isolate;
  transform-style: preserve-3d;
  transition: transform 0.18s ease-out, box-shadow 0.25s ease;
  outline-offset: 6px;
}
.mcc__card:hover { transform: translateY(-8px); }
.mcc__card:focus-visible { outline: 3px solid #fff; }
.mcc__panel { position: relative; overflow: hidden; border-radius: 3px; height: 100%; }
.mcc__art { position: relative; aspect-ratio: 1 / 0.92; overflow: hidden; }
.mcc__art img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.mcc__card:hover .mcc__art img { transform: scale(1.06); }
.mcc__art::after { /* fade art into the body */
  content: ""; position: absolute; inset: auto 0 0 0; height: 45%;
  background: linear-gradient(transparent, var(--panel));
  pointer-events: none;
}
.mcc__body { position: relative; padding: 4px 20px 22px; background: var(--panel); }
.mcc__kicker {
  display: inline-block; font: 9px/1 "Press Start 2P", monospace; letter-spacing: 0.08em;
  padding: 7px 9px; border-radius: 3px; background: rgba(0, 0, 0, 0.45); color: var(--accent);
}
.mcc__title { margin: 12px 0 0; font: 400 clamp(24px, 2.4vw, 30px)/1.05 "Russo One", system-ui, sans-serif; }
.mcc__price {
  display: flex; align-items: center; gap: 10px; margin: 8px 0 0;
  font: 400 clamp(40px, 4.4vw, 54px)/1 "Russo One", system-ui, sans-serif;
  color: var(--accent); text-shadow: 0 4px 0 rgba(0, 0, 0, 0.45), 0 0 26px var(--glow);
}
.mcc__meta { margin: 12px 0 0; font-weight: 700; font-size: 16px; }
.mcc__tease { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, 0.78); }
.mcc__btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 18px; padding: 15px 18px;
  font: 12px/1 "Press Start 2P", monospace; letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: 4px; transition: transform 0.12s ease, filter 0.15s ease;
}
.mcc__card:hover .mcc__btn { filter: brightness(1.12); }
.mcc__card:active .mcc__btn { transform: translateY(3px); }

/* ---------- STANDARD: grass block ---------- */
.mcc--std {
  --panel: #142411; --accent: #8be04e; --glow: rgba(139, 224, 78, 0.55);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' shape-rendering='crispEdges'%3E%3Crect width='16' height='16' fill='%23866043'/%3E%3Crect width='4' height='4' fill='%23966c4a'/%3E%3Crect x='8' y='4' width='4' height='4' fill='%23593d29'/%3E%3Crect x='4' y='8' width='4' height='4' fill='%23b9855c'/%3E%3Crect x='12' y='12' width='4' height='4' fill='%23593d29'/%3E%3Crect x='12' width='4' height='4' fill='%23735339'/%3E%3Crect y='12' width='4' height='4' fill='%23735339'/%3E%3Crect x='4' y='4' width='4' height='4' fill='%23735339'/%3E%3Crect x='8' y='12' width='4' height='4' fill='%23a77a52'/%3E%3C/svg%3E") 0 0 / 24px 24px;
  image-rendering: pixelated;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 0 2px #3b2a1c;
}
.mcc--std::before { /* grass on top, with drips */
  content: ""; position: absolute; left: 0; right: 0; top: -4px; height: 22px; z-index: 4; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='12' shape-rendering='crispEdges'%3E%3Crect width='16' height='6' fill='%235fa83a'/%3E%3Crect width='4' height='2' fill='%2378c24a'/%3E%3Crect x='8' y='2' width='4' height='2' fill='%234f8f2e'/%3E%3Crect x='12' width='4' height='2' fill='%2386d156'/%3E%3Crect y='6' width='4' height='4' fill='%235fa83a'/%3E%3Crect x='8' y='6' width='4' height='2' fill='%234f8f2e'/%3E%3Crect x='12' y='6' width='4' height='6' fill='%235fa83a'/%3E%3C/svg%3E") 0 0 / 24px 18px repeat-x;
  border-radius: 6px 6px 0 0;
}
.mcc--std:hover { box-shadow: 0 26px 50px rgba(0, 0, 0, 0.5), 0 0 34px rgba(139, 224, 78, 0.45), 0 0 0 2px #3b2a1c; }
.mcc--std .mcc__art img { object-position: 50% 78%; }
.mcc--std .mcc__art::after { height: 22%; }
.mcc__splash { /* Minecraft title-screen splash text */
  position: absolute; z-index: 5; top: 26px; right: -14px;
  font: 17px/1 "Press Start 2P", monospace; color: #ffff55;
  text-shadow: 3px 3px 0 #3f3f15; transform: rotate(-17deg);
  animation: mccSplash 0.55s ease-in-out infinite alternate; pointer-events: none; white-space: nowrap;
}
@keyframes mccSplash { from { transform: rotate(-17deg) scale(0.92); } to { transform: rotate(-17deg) scale(1.1); } }
.mcc__creeper {
  position: absolute; z-index: 2; left: 18px; top: 100%; width: 56px; height: 56px;
  image-rendering: pixelated; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.6));
  transition: top 0.35s cubic-bezier(0.2, 1.6, 0.4, 1);
}
.mcc--std:hover .mcc__creeper, .mcc--std:focus-visible .mcc__creeper { top: calc(100% - 50px); }
.mcc--std .mcc__btn { background: #5fa83a; color: #0d1f07; box-shadow: inset 0 -5px 0 #3d7a22, inset 0 3px 0 #8be04e, 0 4px 0 #22420f; }

/* ---------- DELUXE: The End ---------- */
.mcc--dlx {
  --panel: #12081f; --accent: #e7b6ff; --glow: rgba(196, 92, 255, 0.75);
  padding: 11px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' shape-rendering='crispEdges'%3E%3Crect width='16' height='16' fill='%23140a22'/%3E%3Crect x='4' width='4' height='4' fill='%232a1450'/%3E%3Crect x='12' y='4' width='4' height='4' fill='%230b0614'/%3E%3Crect y='8' width='4' height='4' fill='%233b1d6e'/%3E%3Crect x='8' y='12' width='4' height='4' fill='%232a1450'/%3E%3Crect x='8' y='4' width='4' height='4' fill='%231d0e38'/%3E%3C/svg%3E") 0 0 / 22px 22px;
  image-rendering: pixelated;
  box-shadow: 0 0 0 2px #6d28d9, 0 0 46px rgba(168, 85, 247, 0.55), 0 24px 60px rgba(0, 0, 0, 0.55);
  animation: mccEndGlow 3.2s ease-in-out infinite;
}
@keyframes mccEndGlow { 50% { box-shadow: 0 0 0 2px #a855f7, 0 0 70px rgba(192, 38, 211, 0.7), 0 24px 60px rgba(0, 0, 0, 0.55); } }
.mcc--dlx .mcc__art { aspect-ratio: 1 / 1; }
.mcc--dlx .mcc__art img { object-position: 50% 28%; }
.mcc__crown {
  position: absolute; z-index: 6; top: -18px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
  font: 10px/1 "Press Start 2P", monospace; letter-spacing: 0.08em; color: #1a0b2e;
  background: linear-gradient(180deg, #fde68a, #f59e0b); padding: 9px 13px 9px 10px; border-radius: 4px;
  box-shadow: 0 0 0 2px #fff, 0 6px 22px rgba(245, 158, 11, 0.55);
}
.mcc__crown svg { width: 20px; height: 15px; }
.mcc__ticker {
  margin-top: 14px; overflow: hidden; border-radius: 4px; background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(168, 85, 247, 0.5);
  -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.mcc__ticker-track { display: flex; width: max-content; animation: mccTicker 14s linear infinite; }
.mcc__ticker-track span { padding: 10px 14px; font-weight: 700; font-size: 13px; white-space: nowrap; color: #f5e1ff; }
.mcc__ticker-track span::before { content: "\2726"; margin-right: 10px; color: #d946ef; }
.mcc--dlx:hover .mcc__ticker-track { animation-duration: 7s; }
@keyframes mccTicker { to { transform: translateX(-50%); } }
.mcc--dlx .mcc__btn {
  background: linear-gradient(180deg, #2a1450, #12081f); color: #f0d9ff;
  box-shadow: inset 0 0 0 2px #a855f7, 0 0 22px rgba(168, 85, 247, 0.55), 0 4px 0 #3b0764;
}

/* ---------- 1 UP: climb the tower ---------- */
@property --mcc-ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.mcc--1up {
  --panel: #0a2f6e; --accent: #a3ff12; --glow: rgba(163, 255, 18, 0.7);
  padding: 7px;
  background: conic-gradient(from var(--mcc-ang), #a3ff12, #22d3ee, #c026d3, #f97316, #fde047, #a3ff12);
  animation: mccSpin 3.5s linear infinite;
  box-shadow: 0 0 36px rgba(34, 211, 238, 0.45), 0 22px 50px rgba(0, 0, 0, 0.5);
}
@keyframes mccSpin { to { --mcc-ang: 360deg; } }
.mcc--1up .mcc__art img { object-position: 50% 62%; }
.mcc--1up .mcc__art::after { height: 22%; }
.mcc--1up .mcc__body {
  background:
    linear-gradient(rgba(6, 22, 60, 0.82), rgba(6, 22, 60, 0.9)),
    repeating-linear-gradient(180deg,
      #4f8f2e 0 26px, #9ca3af 26px 32px,
      #1e3a8a 32px 58px, #9ca3af 58px 64px,
      #b91c1c 64px 90px, #9ca3af 90px 96px,
      #ec4899 96px 104px, #f59e0b 104px 112px, #22c55e 112px 120px, #9ca3af 120px 126px,
      #4c1d95 126px 152px, #9ca3af 152px 158px);
  background-size: 100% 100%, 100% 158px;
  animation: mccClimb 3.2s linear infinite;
}
@keyframes mccClimb { to { background-position: 0 0, 0 158px; } }
.mcc--1up:hover .mcc__body { animation-duration: 1.2s; }
.mcc__new {
  position: absolute; z-index: 6; top: -12px; left: -12px;
  font: 12px/1 "Press Start 2P", monospace; color: #1a1300;
  background: #fde047; padding: 11px 12px; transform: rotate(-10deg);
  box-shadow: 0 0 0 3px #fff, 0 8px 20px rgba(0, 0, 0, 0.45);
  animation: mccNew 1.6s ease-in-out infinite;
}
@keyframes mccNew { 50% { transform: rotate(-4deg) scale(1.08); } }
.mcc__arrow { display: inline-block; font-size: 0.55em; color: #a3ff12; animation: mccBob 1.1s ease-in-out infinite; }
.mcc__arrow + .mcc__arrow { animation-delay: 0.2s; }
@keyframes mccBob { 50% { transform: translateY(-9px); } }
.mcc__xp { margin-top: 14px; }
.mcc__xp-label { display: flex; justify-content: space-between; font: 9px/1 "Press Start 2P", monospace; color: #c7f9a0; letter-spacing: 0.06em; }
.mcc__xp-bar {
  position: relative; margin-top: 8px; height: 12px; background: #0b1a05;
  box-shadow: inset 0 0 0 2px #000, 0 0 0 1px rgba(163, 255, 18, 0.4);
}
.mcc__xp-bar i {
  position: absolute; left: 2px; top: 2px; bottom: 2px; width: 6%;
  background: linear-gradient(180deg, #d9ff7a, #7ed321 60%, #4d9a0f);
  transition: width 1.1s cubic-bezier(0.3, 0.7, 0.3, 1);
}
.mcc--1up:hover .mcc__xp-bar i, .mcc--1up.is-xp .mcc__xp-bar i { width: calc(100% - 4px); }
.mcc--1up .mcc__btn {
  background: linear-gradient(180deg, #c8ff4d, #7ee81a); color: #07120a;
  box-shadow: 0 5px 0 #3f8a00, 0 0 26px rgba(163, 255, 18, 0.5);
}
.mcc__pop {
  position: absolute; z-index: 7; left: 50%; bottom: 120px; pointer-events: none;
  font: 18px/1 "Press Start 2P", monospace; color: #a3ff12;
  text-shadow: 0 3px 0 #1f4d00, 0 0 18px rgba(163, 255, 18, 0.9);
  animation: mccPop 1s ease-out forwards;
}
@keyframes mccPop { 0% { opacity: 0; transform: translate(-50%, 20px) scale(0.5); } 25% { opacity: 1; transform: translate(-50%, -10px) scale(1.25); } 100% { opacity: 0; transform: translate(-50%, -80px) scale(1); } }

/* ---------- comparison strip ---------- */
.mcc-compare .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mcc-compare { margin-top: 40px; overflow: hidden; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(8, 8, 18, 0.6); }
.mcc-compare table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.mcc-compare th, .mcc-compare td { padding: 14px 16px; text-align: left; font-size: 14px; line-height: 1.4; border-top: 1px solid rgba(255, 255, 255, 0.08); vertical-align: top; }
.mcc-compare thead th { border-top: 0; font: 11px/1.3 "Press Start 2P", monospace; letter-spacing: 0.04em; }
.mcc-compare tbody th { color: #a7a7c1; font-weight: 600; width: 20%; }
.mcc-compare .c-std { color: #8be04e; }
.mcc-compare .c-dlx { color: #e7b6ff; }
.mcc-compare .c-1up { color: #a3ff12; }
.mcc-compare td b { font-family: "Russo One", system-ui, sans-serif; font-weight: 400; font-size: 20px; }

/* ---------- layout on smaller screens ---------- */
@media (max-width: 900px) {
  .mcc { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; gap: 42px; }
  .mcc--dlx { order: -1; }
  .mcc__splash { right: -4px; }
  .mcc-compare th, .mcc-compare td { padding: 11px 8px; font-size: 12.5px; }
  .mcc-compare thead th { font-size: 8.5px; }
  .mcc-compare td b { font-size: 16px; }
  .mcc-compare tbody th { width: 22%; }
}

/* ---------- pointer to the Mini Games page ---------- */
.mcc-mg {
  display: flex; align-items: center; gap: 14px; max-width: 900px; margin: 28px auto 0; padding: 16px 20px; border-radius: 10px;
  color: #fff; text-decoration: none; font-size: 15px;
  background: linear-gradient(90deg, rgba(163, 255, 18, 0.14), rgba(34, 211, 238, 0.1)); border: 1px solid rgba(163, 255, 18, 0.45);
  transition: border-color 0.2s, transform 0.2s;
}
.mcc-mg:hover { border-color: #a3ff12; transform: translateY(-2px); }
.mcc-mg__tag { flex: none; font: 10px/1 "Press Start 2P", monospace; color: #1a1300; background: #fde047; padding: 8px 9px; }
.mcc-mg u { text-decoration-color: #a3ff12; text-underline-offset: 3px; }
.mcc-mg__go { margin-left: auto; font-size: 26px; line-height: 1; color: #a3ff12; }
/* links like minecraft.html#minecraft-deluxe land below the fixed header */
.mcc__card { scroll-margin-top: 110px; }

/* ---------- one package: centred card, the creeper peeks out of it ---------- */
.mcc { grid-template-columns: minmax(0, 520px); justify-content: center; max-width: none; }
.mcc--dlx .mcc__art { position: relative; }
.mcc--dlx .mcc__creeper { left: auto; right: 18px; top: 100%; animation: mccPeek 5s cubic-bezier(0.2, 1.6, 0.4, 1) 1.2s infinite; }
@keyframes mccPeek {
  0%, 62%, 100% { top: 100%; }
  70%, 88% { top: calc(100% - 50px); }
  76% { top: calc(100% - 44px); }
}
.mcc--dlx:hover .mcc__creeper, .mcc--dlx:focus-visible .mcc__creeper { animation: none; top: calc(100% - 50px); }
@media (prefers-reduced-motion: reduce) { .mcc--dlx .mcc__creeper { animation: none; } }
@media (max-width: 900px) { .mcc { grid-template-columns: minmax(0, 1fr); } }
