/* Layout da loja MinecraftShop (copiado de outzmc.com). As cores base ficam em :root no layout. */

@import url("https://fonts.googleapis.com/css2?family=Jersey+10&display=swap");

body {
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
  background-color: rgb(var(--background));
  color: rgb(var(--foreground));
}

.mc-container {
  width: 100%;
  margin-inline: auto;
  padding-inline: 1rem;
}
@media (min-width: 1500px) { .mc-container { max-width: 1500px; } }

.mc-btn-primary {
  background: rgb(var(--primary));
  color: rgb(var(--primary-foreground));
  text-decoration: none;
  transition: background-color 0.15s ease, opacity 0.15s ease;
}
.mc-btn-primary:hover { background: rgb(var(--primary) / 0.8); }
.mc-btn-primary[aria-disabled="true"] { opacity: 0.5; pointer-events: none; }

/* ---------- fontes ---------- */

.font-minecraft {
  font-family: "Minecraft", "Press Start 2P", "Minecraft Ten", monospace;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.35;
  -webkit-font-smoothing: none;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
}
.font-minecraft-sm {
  font-family: "Minecraft", "Press Start 2P", "Minecraft Ten", monospace;
  font-weight: 400;
  font-size: 0.625rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
  -webkit-font-smoothing: none;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
}
@media (min-width: 640px) {
  .font-minecraft-sm { font-size: 0.6875rem; }
}
.font-pixelify {
  font-family: "Pixelify Sans", sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ---------- fundo: partículas, grade e brilho ---------- */

#natureParticles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* ---------- cabeçalho ---------- */

.mc-search-results.is-open {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: scaleY(1);
}

/* ---------- home: título e selo ---------- */

.hero-mc-title {
  color: #ffffff;
  font-size: clamp(1rem, 2.4vw, 1.45rem);
  line-height: 1.3;
  text-shadow:
    2px 0 0 rgba(0, 0, 0, 0.85),
    0 2px 0 rgba(0, 0, 0, 0.85),
    2px 2px 0 rgba(0, 0, 0, 0.65);
}
.hero-mc-badge {
  border-color: rgb(34 197 94 / 0.75);
  background: rgb(0 0 0 / 0.55);
  box-shadow: 0 0 0 1px rgb(34 197 94 / 0.15);
}
.hero-mc-desc { color: #a0a0a0; }

/* ---------- home: carrossel "MINECRAFT PRODUTOS" com vídeo ---------- */

.mc-hero-carousel { align-self: stretch; }
.mc-hero-heading {
  color: rgb(var(--primary));
  text-shadow: 0 0 24px rgb(var(--primary) / 0.45);
}
.mc-hero-thumb.is-active {
  border-color: rgb(var(--primary));
  box-shadow: 0 0 18px rgb(var(--primary) / 0.55);
}
.mc-hero-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.mc-hero-video-scale {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 180%;
  height: 180%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.mc-hero-video-scale iframe,
#mc-hero-yt-player {
  width: 100%;
  height: 100%;
}

.mc-hero-perk {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgb(255 255 255 / 0.08);
  background: linear-gradient(145deg, rgb(24 24 27 / 0.95), rgb(9 9 11 / 0.9));
  padding: 0.65rem 0.7rem;
  box-shadow: 0 4px 16px rgb(0 0 0 / 0.35);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.mc-hero-perk:hover {
  border-color: rgb(var(--primary) / 0.45);
  box-shadow: 0 0 20px rgb(var(--primary) / 0.15);
}
.mc-hero-perk__icon { flex-shrink: 0; font-size: 1.125rem; line-height: 1; }
.mc-hero-perk__title { font-size: 0.7rem; font-weight: 700; line-height: 1.25; color: rgb(var(--foreground)); }
.mc-hero-perk__desc { margin-top: 0.125rem; font-size: 0.625rem; line-height: 1.35; color: rgb(var(--muted-foreground)); }
@media (min-width: 640px) {
  .mc-hero-perk { padding: 0.75rem 0.85rem; }
  .mc-hero-perk__title { font-size: 0.75rem; }
  .mc-hero-perk__desc { font-size: 0.6875rem; }
}

/* ---------- home: mural de avaliações ---------- */

.mc-reviews-wall {
  position: relative;
  mask-image: linear-gradient(to bottom, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 12%, black 88%, transparent);
}
.mc-reviews-col { position: relative; overflow: hidden; height: 100%; }
.mc-reviews-track { display: flex; flex-direction: column; gap: 0.5rem; will-change: transform; }
.mc-reviews-track--up { animation: mc-reviews-scroll-up 28s linear infinite; }
.mc-reviews-track--down { animation: mc-reviews-scroll-down 32s linear infinite; }
.mc-reviews-col--up .mc-reviews-track--up { animation-duration: 26s; }
.mc-reviews-col--down .mc-reviews-track--down { animation-duration: 30s; }
.mc-reviews-col:nth-child(3) .mc-reviews-track--up { animation-duration: 24s; }
@keyframes mc-reviews-scroll-up { 0% { transform: translateY(0); } 100% { transform: translateY(-50%); } }
@keyframes mc-reviews-scroll-down { 0% { transform: translateY(-50%); } 100% { transform: translateY(0); } }

.mc-review-card {
  flex-shrink: 0;
  border-radius: 0.75rem;
  border: 1px solid rgb(255 255 255 / 0.08);
  background: rgb(24 24 27 / 0.92);
  padding: 0.65rem 0.7rem;
  box-shadow: 0 4px 20px rgb(0 0 0 / 0.35);
}
.mc-review-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.35rem; margin-bottom: 0.4rem; }
.mc-review-card__user { display: flex; align-items: center; gap: 0.4rem; min-width: 0; }
.mc-review-card__avatar {
  display: flex;
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgb(var(--primary) / 0.9);
  color: rgb(var(--primary-foreground));
}
.mc-review-card__name { font-size: 0.7rem; font-weight: 700; line-height: 1.2; color: rgb(var(--foreground)); }
.mc-review-card__stars { font-size: 0.55rem; line-height: 1; letter-spacing: 0.05em; color: rgb(var(--primary)); }
.mc-review-card__meta {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.55rem;
  line-height: 1.2;
  color: rgb(var(--muted-foreground));
  white-space: nowrap;
}
.mc-review-card__text { font-size: 0.65rem; line-height: 1.35; color: rgb(var(--muted-foreground)); }

.mc-discord-icon {
  display: inline-block;
  flex-shrink: 0;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.mc-review-card__discord { width: 0.75rem; height: 0.75rem; background-color: #5865f2; }

@media (prefers-reduced-motion: reduce) {
  .mc-reviews-track--up,
  .mc-reviews-track--down { animation: none; }
}

/* ---------- aparecer ao rolar ---------- */

.js .reveal-fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0s);
}
.js .reveal-fade-up.visible { opacity: 1; transform: translateY(0); }

.scrollbar-hide,
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.scrollbar-hide::-webkit-scrollbar,
.hide-scrollbar::-webkit-scrollbar { display: none; }

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; border-radius: 8px; }
::-webkit-scrollbar-thumb { background: rgb(var(--primary) / 0.5); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: rgb(var(--primary) / 0.85); }
* { scrollbar-width: thin; scrollbar-color: rgb(var(--primary) / 0.5) transparent; }

/* ---------- notificação "compra recente" ---------- */

.fake-toast-enter { animation: fakeToastEnter 420ms cubic-bezier(0.2, 0.85, 0.25, 1) forwards; }
.fake-toast-leave { animation: fakeToastLeave 300ms ease forwards; }
@keyframes fakeToastEnter {
  from { opacity: 0; transform: translate(-22px, 8px) scale(0.95); }
  to { opacity: 1; transform: translate(0, 0) scale(1); }
}
@keyframes fakeToastLeave {
  from { opacity: 1; transform: translate(0, 0) scale(1); }
  to { opacity: 0; transform: translate(-10px, 6px) scale(0.97); }
}

/* ---------- carrinho ---------- */

[data-cart-drawer] [data-cart-panel] { animation: mc-cart-in 0.3s ease-out; }
@keyframes mc-cart-in { from { transform: translateX(100%); } to { transform: translateX(0); } }

/* ---------- página do produto (amarela; o combo usa a pele verde abaixo) ---------- */

@keyframes lb-fade-in { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
.product-premium-page { color: #fff; }
.product-premium-media,
.product-premium-card,
.product-premium-description {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    #090909;
  border: 1px solid rgba(251, 191, 36, 0.16);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 20px 60px rgba(0, 0, 0, 0.45);
}
.product-premium-media { padding: 0.75rem; }
.product-premium-frame {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 5.25rem;
  gap: 0.75rem;
  min-height: clamp(22rem, 36vw, 31rem);
}
.product-premium-frame.is-single { grid-template-columns: minmax(0, 1fr); }
.product-premium-main-image {
  position: relative;
  min-height: 22rem;
  overflow: hidden;
  cursor: zoom-in;
  background: #050505;
  border: 0;
  padding: 0;
  width: 100%;
}
.product-premium-main-image img { display: block; }
.product-premium-thumbs {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-height: clamp(22rem, 36vw, 31rem);
  overflow-y: auto;
  padding-right: 0.15rem;
}
.product-premium-thumbs button {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 2px solid transparent;
  background: #111;
  opacity: 0.68;
  padding: 0;
  cursor: pointer;
  transition: border-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}
.product-premium-thumbs button:hover,
.product-premium-thumbs button.is-active {
  border-color: #fbbf24;
  opacity: 1;
}
.product-premium-thumbs button:hover { transform: translateY(-1px); }
.product-premium-card {
  padding: clamp(1.25rem, 2.1vw, 2rem);
  min-height: clamp(22rem, 36vw, 31rem);
}
.product-variation-layout { align-items: stretch; }
.product-variation-media {
  padding: 0.9rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    #10100f;
  border-color: rgba(251, 191, 36, 0.2);
}
.product-variation-media .product-premium-frame { display: block; min-height: 0; }
.product-variation-media .product-premium-main-image {
  min-height: clamp(19rem, 30vw, 25rem);
  border: 1px solid rgba(251, 191, 36, 0.16);
}
.product-variation-summary { padding: 1.15rem 0.35rem 0.2rem; }
.product-variation-title {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 900;
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: #fff;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.5);
}
.product-variation-layout .product-premium-card {
  position: relative;
  padding: 0.85rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    #11110f;
  border-color: rgba(251, 191, 36, 0.2);
  overflow: hidden;
}
.product-variation-price-strip {
  margin: -0.85rem -0.85rem 0;
  background: linear-gradient(90deg, #fde047, #f59e0b);
  color: #15100a;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  padding: 0.28rem 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.product-premium-title {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: clamp(2rem, 3.6vw, 3.5rem);
  font-weight: 900;
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.45);
}
.product-premium-variants {
  display: grid;
  gap: 0.65rem;
  max-height: 13.5rem;
  overflow-y: auto;
  padding-right: 0.25rem;
}
.product-variation-layout .product-premium-variants {
  gap: 0.75rem;
  max-height: clamp(19rem, 33vw, 27rem);
  padding-right: 0.35rem;
}
.product-premium-variant {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.025);
  padding: 0.75rem;
  text-align: left;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.product-premium-variant.is-sold-out { opacity: 0.55; }
.product-variation-layout .product-premium-variant {
  min-height: 6.6rem;
  align-items: flex-start;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.018)),
    #232220;
  border: 2px solid rgba(255, 255, 255, 0.08);
  padding: 1rem;
}
.product-premium-variant:hover,
.product-premium-variant[data-selected="true"] {
  border-color: rgba(251, 191, 36, 0.75);
  background: rgba(251, 191, 36, 0.08);
  box-shadow: 0 0 24px rgba(251, 191, 36, 0.08);
}
.product-variation-layout .product-premium-variant:hover,
.product-variation-layout .product-premium-variant[data-selected="true"] {
  border-color: #fbbf24;
  background:
    linear-gradient(180deg, rgba(251, 191, 36, 0.11), rgba(251, 191, 36, 0.035)),
    #232220;
  box-shadow:
    inset 0 0 0 1px rgba(251, 191, 36, 0.28),
    0 0 28px rgba(251, 191, 36, 0.14);
}
.product-premium-buy,
.product-premium-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  height: 3.25rem;
  cursor: pointer;
  border: 1px solid rgba(251, 191, 36, 0.32);
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: filter 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}
.product-premium-buy {
  background: linear-gradient(180deg, #ffd65a, #f4ad1e);
  color: #111;
  box-shadow: 0 12px 35px rgba(251, 191, 36, 0.22);
}
.product-variation-layout .product-premium-buy {
  height: 3.45rem;
  background: linear-gradient(180deg, #facc15, #d97706);
  border-color: rgba(255, 255, 255, 0.16);
  font-size: 1rem;
  color: #120d05;
}
.product-premium-cart {
  background: rgba(255, 255, 255, 0.02);
  color: #f8fafc;
}
.product-premium-buy:hover,
.product-premium-cart:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}
.product-premium-buy:disabled,
.product-premium-cart:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
  filter: grayscale(0.45);
}
.product-premium-details { margin-top: 2rem; }
.product-premium-details h2 {
  margin-bottom: 0.75rem;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
}
.product-description { color: rgb(255 255 255 / 0.8); font-size: 13px; line-height: 1.625; transition: max-height 0.3s ease; }
.product-description p { margin: 0 0 0.6rem; }
.product-description p:last-child { margin-bottom: 0; }
.product-description strong { color: #fff; }

/* Pele verde Minecraft dos produtos com opções */
.product-minecraft-variation-skin {
  --mc-green: #00c91b;
  --mc-green-soft: rgba(0, 201, 27, 0.2);
  --mc-green-border: rgba(0, 201, 27, 0.78);
  font-family: "Jersey 10", "Oswald", "Arial Narrow", sans-serif;
  letter-spacing: 0.035em;
}
.product-minecraft-variation-skin .product-variation-title,
.product-minecraft-variation-skin .product-premium-variant,
.product-minecraft-variation-skin .product-premium-buy,
.product-minecraft-variation-skin .product-premium-cart,
.product-minecraft-variation-skin .product-variation-price-strip,
.product-minecraft-variation-skin #product-price,
.product-minecraft-variation-skin #product-compare-wrapper,
.product-minecraft-variation-skin .text-xs,
.product-minecraft-variation-skin .text-sm {
  font-family: "Jersey 10", "Oswald", "Arial Narrow", sans-serif;
}
.product-minecraft-variation-skin .product-variation-title {
  font-size: clamp(3rem, 5vw, 4.8rem);
  line-height: 0.86;
  letter-spacing: 0.045em;
  text-shadow: none;
}
.product-minecraft-variation-skin .product-variation-summary .mt-4 span { font-size: 1.35rem !important; line-height: 1 !important; }
.product-minecraft-variation-skin .product-variation-summary .mt-4 svg { width: 1.35rem; height: 1.35rem; }
.product-minecraft-variation-skin .text-xs { font-size: 1.18rem !important; line-height: 1.05 !important; }
.product-minecraft-variation-skin .text-sm { font-size: 1.35rem !important; line-height: 1.08 !important; }
.product-minecraft-variation-skin .product-premium-variant { min-height: 8.4rem; padding: 1.35rem; }
.product-minecraft-variation-skin .product-premium-variant .text-sm,
.product-minecraft-variation-skin .product-premium-variant span.block.text-sm { font-size: 1.62rem !important; line-height: 1 !important; }
.product-minecraft-variation-skin .product-premium-variant .text-\[10px\] { font-size: 1.05rem !important; line-height: 1 !important; }
.product-minecraft-variation-skin .product-premium-variant .text-\[11px\] { font-size: 1.1rem !important; line-height: 1 !important; }
.product-minecraft-variation-skin #product-price { font-size: 3.7rem !important; line-height: 0.9 !important; }
.product-minecraft-variation-skin .product-premium-buy,
.product-minecraft-variation-skin .product-premium-cart { height: 4.35rem; font-size: 1.7rem; line-height: 1; }
.product-minecraft-variation-skin .product-variation-price-strip { font-size: 1.18rem; padding: 0.52rem 0.5rem; }
.product-minecraft-variation-skin .text-yellow-400,
.product-minecraft-variation-skin #product-price,
.product-minecraft-variation-skin #product-discount-badge,
.product-minecraft-variation-skin .product-premium-variant .text-yellow-400 { color: var(--mc-green) !important; }
.product-minecraft-variation-skin .bg-yellow-400 { background-color: var(--mc-green) !important; color: #031407 !important; }
.product-minecraft-variation-skin .border-yellow-400,
.product-minecraft-variation-skin .border-yellow-400\/10,
.product-minecraft-variation-skin .border-yellow-400\/15,
.product-minecraft-variation-skin .border-yellow-400\/20 { border-color: var(--mc-green-border) !important; }
.product-minecraft-variation-skin .product-variation-media,
.product-minecraft-variation-skin .product-premium-card,
.product-minecraft-variation-skin .product-premium-description {
  border-color: rgba(0, 201, 27, 0.38);
  box-shadow:
    inset 0 0 0 1px rgba(0, 201, 27, 0.09),
    0 20px 60px rgba(0, 0, 0, 0.45);
}
.product-minecraft-variation-skin .product-variation-media .product-premium-main-image { border-color: rgba(0, 201, 27, 0.42); }
.product-minecraft-variation-skin .product-variation-price-strip { background: linear-gradient(90deg, #00e329, #00b817); color: #031407; }
.product-minecraft-variation-skin .product-premium-variant:hover,
.product-minecraft-variation-skin .product-premium-variant[data-selected="true"] {
  border-color: var(--mc-green);
  background:
    linear-gradient(180deg, rgba(0, 201, 27, 0.2), rgba(0, 201, 27, 0.07)),
    #20231f;
  box-shadow:
    inset 0 0 0 1px rgba(0, 201, 27, 0.45),
    0 0 28px rgba(0, 201, 27, 0.22);
}
.product-minecraft-variation-skin .product-premium-buy {
  background: linear-gradient(180deg, #00e329, #00b817);
  border-color: rgba(0, 201, 27, 0.68);
  color: #031407;
  box-shadow: 0 12px 35px rgba(0, 201, 27, 0.26);
}
.product-minecraft-variation-skin .product-premium-cart { border-color: rgba(0, 201, 27, 0.48); }
.product-minecraft-variation-skin .product-description { font-family: "Space Grotesk", sans-serif; letter-spacing: normal; }

@media (max-width: 767px) {
  .product-premium-frame { grid-template-columns: 1fr; min-height: auto; }
  .product-premium-main-image { min-height: 15rem; }
  .product-premium-thumbs { flex-direction: row; max-height: none; overflow-x: auto; overflow-y: hidden; }
  .product-premium-thumbs button { width: 5rem; flex: 0 0 auto; }
}
