/* =====================================================================
   MuHardPro - Pop-up dos Pacotes de Início (Starter Pack + Founder Packs)
   Criado em 11/11/2026. Para desligar, remova as linhas do popup-pacotes
   no layout (views/layouts/default.phtml).
   ===================================================================== */
html.mhpk-lock { overflow: hidden; }

.mhpk {
  position: fixed; inset: 0; z-index: 10050;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  opacity: 0; visibility: hidden;
  transition: opacity .35s ease, visibility .35s;
  font-family: "Open Sans", sans-serif;
}
.mhpk.is-open { opacity: 1; visibility: visible; }

.mhpk-backdrop {
  position: absolute; inset: 0;
  background: rgba(5, 3, 2, .8);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}

.mhpk-box {
  position: relative;
  width: min(1060px, 100%);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 28px 28px 18px;
  color: #f3ece2;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(242, 184, 68, .13), transparent 60%),
    linear-gradient(180deg, #1d1815 0%, #110d0b 100%);
  border: 1px solid rgba(242, 184, 68, .38);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(255, 231, 168, .08);
  transform: translateY(18px) scale(.97);
  transition: transform .45s cubic-bezier(.2, .8, .2, 1);
  scrollbar-width: thin; scrollbar-color: rgba(242, 184, 68, .4) transparent;
}
.mhpk.is-open .mhpk-box { transform: none; }

.mhpk-x {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(242, 184, 68, .35);
  background: rgba(255, 255, 255, .04);
  color: #f2d79a; font-size: 22px; line-height: 1;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.mhpk-x:hover { background: rgba(242, 184, 68, .15); border-color: #f2b844; }

.mhpk-head { text-align: center; margin: 0 44px 22px; }
.mhpk-kicker {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: #f2b844;
}
.mhpk-title {
  margin: 6px 0 8px;
  font-family: 'Cinzel', 'Times New Roman', serif;
  font-size: 30px; font-weight: 700; line-height: 1.15;
  background: linear-gradient(180deg, #ffe7a8 0%, #f2b844 55%, #c26a1c 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: #f2b844;
}
.mhpk-sub { margin: 0 auto; max-width: 640px; color: #c9bfb0; font-size: 14px; line-height: 1.45; }

.mhpk-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 8px;
}

.mhpk-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(38, 32, 28, .96), rgba(19, 15, 13, .96));
  border: 1px solid rgba(242, 184, 68, .22);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.mhpk-card:hover { transform: translateY(-3px); border-color: rgba(242, 184, 68, .55); box-shadow: 0 14px 30px rgba(0, 0, 0, .5); }
.mhpk-card.is-starter { border-color: rgba(64, 196, 170, .35); }
.mhpk-card.is-gold { border-color: rgba(242, 184, 68, .5); }
.mhpk-card.is-platinum {
  border-color: rgba(160, 175, 255, .5);
  box-shadow: 0 0 0 1px rgba(160, 175, 255, .12), 0 10px 30px rgba(80, 90, 200, .2);
}

.mhpk-tag {
  position: absolute; top: -9px; right: 14px;
  padding: 3px 8px; border-radius: 6px;
  background: #c6283a; color: #fff;
  font-size: 10px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
}

.mhpk-top { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.mhpk-img {
  flex: 0 0 104px; width: 104px; height: 104px;
  object-fit: cover; border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .45);
}
.mhpk-info { min-width: 0; }
.mhpk-name {
  margin: 0 0 4px;
  font-family: 'Cinzel', 'Times New Roman', serif;
  font-size: 18px; font-weight: 700; line-height: 1.15;
  color: #ffd27a;
}
.mhpk-card.is-starter .mhpk-name { color: #8fe3cf; }
.mhpk-card.is-platinum .mhpk-name { color: #cdd6ff; }
.mhpk-tagline { margin: 0 0 8px; font-size: 13px; line-height: 1.3; color: #c9bfb0; }
.mhpk-price { font-size: 22px; font-weight: 800; line-height: 1; color: #fff; white-space: nowrap; }
.mhpk-price small {
  display: block; margin-top: 4px;
  font-size: 10px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: #f2b844;
}

.mhpk-items {
  flex: 1 1 auto;
  list-style: none; margin: 0 0 12px; padding: 0;
  font-size: 13px; line-height: 1.35; color: #eadfcf;
}
.mhpk-items li { padding: 4px 0; border-top: 1px solid rgba(255, 255, 255, .05); }
.mhpk-items li:first-child { border-top: 0; }

.mhpk-stock { margin: 0 0 12px; font-size: 12px; color: #c9bfb0; }
.mhpk-stock b { color: #ffd27a; }

.mhpk-btn {
  display: block;
  padding: 11px 14px; border-radius: 10px;
  text-align: center; text-decoration: none !important;
  font-size: 14px; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase;
  color: #1e1206 !important;
  background: linear-gradient(180deg, #ffe08a 0%, #f2b844 50%, #c9781f 100%);
  transition: filter .2s, transform .2s;
}
.mhpk-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.mhpk-btn.is-off { background: rgba(255, 255, 255, .08); color: #8d847a !important; pointer-events: none; }

.mhpk-hint { display: none; margin: 10px 0 0; text-align: center; font-size: 12px; color: #9d9388; }

.mhpk-foot { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 18px; font-size: 14px; }
.mhpk-foot a { color: #ffd27a; text-decoration: underline; text-underline-offset: 3px; }
.mhpk-foot a:hover { color: #fff; }
.mhpk-later { padding: 6px 4px; background: none; border: 0; color: #c9bfb0; font-size: 14px; text-transform: none; letter-spacing: 0; cursor: pointer; }
.mhpk-later:hover { color: #fff; }

@media (max-width: 860px) {
  .mhpk { padding: 10px; }
  .mhpk-box { padding: 22px 0 14px; max-height: calc(100vh - 20px); }
  .mhpk-head { margin: 0 48px 12px; }
  .mhpk-title { font-size: 22px; }
  .mhpk-sub { font-size: 12.5px; }
  .mhpk-grid {
    display: flex; gap: 12px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 12px 16px 6px;
    scrollbar-width: none;
  }
  .mhpk-grid::-webkit-scrollbar { display: none; }
  .mhpk-card { flex: 0 0 84%; scroll-snap-align: center; }
  .mhpk-card:hover { transform: none; }
  .mhpk-hint { display: block; }
  .mhpk-foot { margin-top: 12px; padding: 0 16px; }
}

@media (max-width: 380px) {
  .mhpk-img { flex-basis: 84px; width: 84px; height: 84px; }
  .mhpk-name { font-size: 16px; }
  .mhpk-price { font-size: 19px; }
}

/* ---------- botão fixo "Pacotes" ---------- */
.mhpk-fab {
  -webkit-appearance: none; appearance: none; margin: 0;
  position: fixed; right: 22px; bottom: 22px; z-index: 998;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 18px 11px 14px;
  border-radius: 999px;
  border: 1px solid rgba(242, 184, 68, .65);
  background: rgba(18, 13, 10, .92);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: #ffd27a;
  font-family: "Open Sans", sans-serif; font-size: 14px; font-weight: 800; line-height: 1;
  letter-spacing: .06em; text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .55);
  transition: bottom .35s cubic-bezier(.2, .8, .2, 1), transform .2s, background .2s, color .2s, opacity .25s;
  animation: mhpk-ring 2.6s ease-out infinite;
}
.mhpk-fab:hover { transform: translateY(-2px); background: rgba(44, 31, 17, .96); color: #fff; }
.mhpk-fab:focus-visible { outline: 2px solid #ffd27a; outline-offset: 3px; }
.mhpk-fab svg { width: 20px; height: 20px; color: #f2b844; flex: 0 0 auto; }
.mhpk-fab.is-up { bottom: 82px; }
.mhpk-fab-dot {
  position: absolute; top: -3px; right: -2px;
  width: 12px; height: 12px; border-radius: 50%;
  background: #c6283a; border: 2px solid #120d0a;
}
@keyframes mhpk-ring {
  0% { box-shadow: 0 10px 26px rgba(0, 0, 0, .55), 0 0 0 0 rgba(242, 184, 68, .45); }
  70% { box-shadow: 0 10px 26px rgba(0, 0, 0, .55), 0 0 0 10px rgba(242, 184, 68, 0); }
  100% { box-shadow: 0 10px 26px rgba(0, 0, 0, .55), 0 0 0 0 rgba(242, 184, 68, 0); }
}
html.mhpk-lock .mhpk-fab, html.mhpw-lock .mhpk-fab { opacity: 0; pointer-events: none; }

@media (max-width: 760px) {
  .mhpk-fab { right: 14px; bottom: 14px; padding: 10px 15px 10px 12px; font-size: 13px; }
  .mhpk-fab.is-up { bottom: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  .mhpk, .mhpk-box, .mhpk-card, .mhpk-btn, .mhpk-fab { transition: none; }
  .mhpk-box { transform: none; }
  .mhpk-fab { animation: none; }
}
