/* CraftQ.de Shop – ergänzt style.css (gleiche Farben/Variablen). Pakete kommen live aus Tebex (shop.js). */

.shop-page main { padding-top: 90px; }

/* ------------------------------------------------------------------ Kopf */
.shop-hero {
  position: relative;
  padding: 90px 0 40px;
  text-align: center;
  overflow: hidden;
}

.shop-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.shop-glow i { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .45; }
.shop-glow .g1 { width: 520px; height: 520px; left: -160px; top: -200px; background: var(--blue); animation: shop-drift 22s ease-in-out infinite alternate; }
.shop-glow .g2 { width: 480px; height: 480px; right: -180px; top: -60px; background: var(--purple); animation: shop-drift 26s ease-in-out infinite alternate-reverse; }
.shop-glow .g3 { width: 380px; height: 380px; left: 40%; bottom: -260px; background: #ffb02e; opacity: .22; }

@keyframes shop-drift {
  to { transform: translate(60px, 40px) scale(1.12); }
}

.shop-hero h1 { font-size: clamp(36px, 6.4vw, 72px); margin-bottom: 18px; }
.shop-hero .lead { margin: 0 auto; }
.shop-hero .lead b { color: #fff; }

.hero-badges { display: flex; justify-content: center; align-items: center; gap: 30px; margin-top: 46px; }
.hero-badges img {
  height: 50px;
  image-rendering: pixelated;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .55));
  animation: shop-bob 4s ease-in-out infinite;
}
.hero-badges img:nth-child(2) { height: 60px; animation-delay: -1.3s; filter: drop-shadow(0 12px 30px rgba(255, 176, 46, .45)); }
.hero-badges .hb-warp { height: 70px; animation-delay: -2.6s; filter: drop-shadow(0 12px 30px rgba(168, 85, 247, .55)); }

@keyframes shop-bob {
  50% { transform: translateY(-10px); }
}

/* ------------------------------------------------------------------ Pakete */
.shop-packages { padding-top: 30px; }

.pkg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 360px));
  justify-content: center;
  gap: 24px;
  align-items: stretch;
}

.pkg {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px 26px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .02));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.pkg:hover { transform: translateY(-6px); }

.pkg-vip { border-color: rgba(92, 255, 138, .3); }
.pkg-vip:hover { box-shadow: 0 30px 80px rgba(61, 220, 132, .16); }
.pkg-vipplus { border-color: rgba(255, 211, 110, .5); background: linear-gradient(170deg, rgba(255, 211, 110, .11), rgba(255, 255, 255, .02) 55%); }
.pkg-vipplus:hover { box-shadow: 0 30px 90px rgba(255, 176, 46, .22); }
.pkg-warp { border-color: rgba(168, 85, 247, .42); background: linear-gradient(170deg, rgba(168, 85, 247, .1), rgba(255, 255, 255, .02) 55%); }
.pkg-warp:hover { box-shadow: 0 30px 80px rgba(168, 85, 247, .22); }

.pkg-ribbon {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  font: 700 12px var(--pixel);
  letter-spacing: .08em;
  color: #1a1203;
  background: linear-gradient(180deg, #ffd36e, #ffb02e);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(255, 176, 46, .45);
  white-space: nowrap;
}

.pkg-media {
  display: grid;
  place-items: center;
  height: 120px;
  margin-bottom: 14px;
  background: radial-gradient(circle at 50% 60%, rgba(255, 255, 255, .08), transparent 68%);
  border-radius: 16px;
}
.pkg-media img { image-rendering: pixelated; transition: transform .35s; filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .5)); }
.pkg-media .badge { height: 58px; }
.pkg-media .icon { height: 92px; }
.pkg-media .photo { max-height: 110px; border-radius: 12px; image-rendering: auto; }
.pkg:hover .pkg-media img { transform: scale(1.08) rotate(-2deg); }

.pkg h3 { text-align: center; font-size: 26px; }

.pkg-price {
  display: flex;
  justify-content: center;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 16px;
}
.pkg-price strong { font: 700 32px var(--pixel); color: var(--gold); text-shadow: 0 6px 26px rgba(255, 176, 46, .35); }
.pkg-price small { color: var(--muted); font-weight: 700; }
.pkg-price del { color: var(--dim); }
.pkg-sale { font-size: 12px; font-weight: 800; color: #043; background: var(--green); padding: 2px 9px; border-radius: 999px; }

.pkg-desc { flex: 1; color: var(--muted); font-size: 15px; }
.pkg-desc ul { list-style: none; margin: 0 0 6px; padding: 0; }
.pkg-desc li { position: relative; padding: 6px 0 6px 26px; border-bottom: 1px dashed rgba(255, 255, 255, .07); }
.pkg-desc li::before { content: "✓"; position: absolute; left: 2px; color: var(--green); font-weight: 800; }
.pkg-desc p { margin: 0 0 10px; }
.pkg-desc strong, .pkg-desc b { color: #fff; }

.pkg-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.pkg-actions .btn { width: 100%; }
.btn.gold {
  color: #1a1203;
  border: 0;
  background: linear-gradient(180deg, #ffd36e, #ffb02e);
  box-shadow: 0 10px 34px rgba(255, 176, 46, .35), inset 0 -3px 0 rgba(0, 0, 0, .15);
}
.btn.gold:hover { color: #1a1203; background: linear-gradient(180deg, #ffe08e, #ffbb45); box-shadow: 0 14px 44px rgba(255, 176, 46, .55), inset 0 -3px 0 rgba(0, 0, 0, .15); }

.pkg-skeleton { min-height: 460px; background: linear-gradient(100deg, rgba(255, 255, 255, .03) 30%, rgba(255, 255, 255, .07) 50%, rgba(255, 255, 255, .03) 70%); background-size: 300% 100%; animation: shop-shine 1.6s linear infinite; }
@keyframes shop-shine { to { background-position: -150% 0; } }

.shop-empty { grid-column: 1 / -1; max-width: 560px; margin: 0 auto; text-align: center; }
.shop-empty p { color: var(--muted); }

.shop-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

/* ------------------------------------------------------------------ So geht's + FAQ */
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.how-steps li { display: flex; gap: 16px; align-items: flex-start; }
.how-steps b {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  font: 700 18px var(--pixel);
  color: #1a1203;
  background: linear-gradient(180deg, #ffd36e, #ffb02e);
  border-radius: 12px;
}
.how-steps h3 { font-size: 18px; margin-bottom: 4px; }
.how-steps p { margin: 0; color: var(--muted); font-size: 15px; }

.faq-wrap { max-width: 820px; }
.shop-faq details { padding: 0; margin-bottom: 12px; }
.shop-faq summary { cursor: pointer; padding: 20px 24px; font-weight: 700; list-style: none; position: relative; }
.shop-faq summary::-webkit-details-marker { display: none; }
.shop-faq summary::after { content: "+"; position: absolute; right: 24px; color: var(--gold); font: 700 20px var(--pixel); transition: transform .2s; }
.shop-faq details[open] summary::after { transform: rotate(45deg); }
.shop-faq details p { margin: 0; padding: 0 24px 22px; color: var(--muted); }
kbd { font-family: var(--pixel); font-size: .9em; padding: 2px 7px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line); border-radius: 6px; color: #fff; }

/* ------------------------------------------------------------------ Kauf-Fenster */
.buy-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; }
.buy-modal[hidden] { display: none; }
.buy-backdrop { position: absolute; inset: 0; background: rgba(4, 6, 14, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: shop-fade .2s; }
.buy-box {
  position: relative;
  width: min(440px, 100%);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 30px 28px 24px;
  text-align: center;
  background: linear-gradient(170deg, #161c34, #0c1022);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .6);
  animation: shop-pop .25s cubic-bezier(.2, .9, .3, 1.2);
}
@keyframes shop-fade { from { opacity: 0; } }
@keyframes shop-pop { from { opacity: 0; transform: translateY(16px) scale(.96); } }
.buy-x { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; color: var(--dim); background: none; border: 0; border-radius: 10px; cursor: pointer; font-size: 16px; }
.buy-x:hover { color: #fff; background: var(--glass-2); }
.buy-img { height: 60px; image-rendering: pixelated; margin: 4px 0 10px; }
.buy-box h3 { font-size: 26px; }
.buy-price { margin: 4px 0 20px; font: 700 20px var(--pixel); color: var(--gold); }
.buy-box label { display: block; text-align: left; font-weight: 700; margin-bottom: 8px; }
.buy-box input {
  width: 100%;
  padding: 14px 16px;
  font: 700 18px var(--sans);
  color: #fff;
  background: rgba(0, 0, 0, .35);
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.buy-box input:focus { border-color: rgba(168, 85, 247, .7); box-shadow: 0 0 0 4px rgba(168, 85, 247, .18); }
.buy-hint { margin: 8px 0 0; text-align: left; color: var(--dim); font-size: 13px; }
.buy-error { min-height: 22px; margin: 10px 0 6px; color: #ff7b7b; font-size: 14px; font-weight: 600; }
.buy-go { width: 100%; }
.buy-go[disabled] { opacity: .6; cursor: wait; transform: none; }
.buy-legal { margin: 14px 0 0; color: var(--dim); font-size: 12px; line-height: 1.5; }
.buy-legal a { color: var(--muted); }

.shop-toast {
  position: fixed;
  z-index: 210;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  max-width: calc(100% - 32px);
  padding: 14px 20px;
  font-weight: 700;
  background: rgba(16, 22, 42, .95);
  border: 1px solid rgba(92, 255, 138, .45);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .55);
  animation: shop-pop .3s;
}

/* ------------------------------------------------------------------ Handy */
@media (max-width: 860px) {
  .how-steps { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .shop-page main { padding-top: 70px; }
  .shop-hero { padding-top: 60px; }
  .pkg-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-badges { gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .shop-glow i, .hero-badges img, .pkg-skeleton { animation: none; }
}

/* ------------------------------------------------------------------ Booster (2026-10-19) */
.shop-boosters { padding-top: 70px; }
.bst-intro { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 980px; margin: 0 auto 34px; }
.bst-intro .card { padding: 18px 20px; }
.bst-intro h3 { font-size: 17px; margin-bottom: 4px; }
.bst-intro p { margin: 0; color: var(--muted); font-size: 14px; }
.bst-icons { display: flex; justify-content: center; gap: 18px; margin: 26px 0 0; }
.bst-icons img { height: 56px; image-rendering: pixelated; filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .5)); animation: shop-bob 4s ease-in-out infinite; }
.bst-icons img:nth-child(2) { animation-delay: -.8s; }
.bst-icons img:nth-child(3) { animation-delay: -1.6s; }
.bst-icons img:nth-child(4) { animation-delay: -2.4s; }
.bst-icons img:nth-child(5) { animation-delay: -3.2s; height: 66px; }
.bst-tag { text-align: center; margin: 4px 0 0; color: var(--muted); font-weight: 700; font-size: 14px; }
.bst-box { margin-top: 12px; padding: 12px 14px; background: rgba(0, 0, 0, .22); border: 1px solid var(--line); border-radius: 12px; font-size: 13.5px; }
.bst-head, .bst-row { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr; gap: 8px; align-items: center; }
.bst-head { color: var(--dim); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.bst-row { padding: 7px 0; border-bottom: 1px dashed rgba(255, 255, 255, .07); }
.bst-row span:nth-child(2) { color: var(--dim); }
.bst-row b { color: var(--green); }
.bst-note { margin: 8px 0 0 !important; color: var(--muted); font-size: 12.5px; }
.bst-foot { text-align: center; color: var(--dim); font-size: 13px; margin: 22px 0 0; }
.pkg-b-xp { border-color: rgba(79, 209, 107, .38); }
.pkg-b-xp:hover { box-shadow: 0 30px 80px rgba(79, 209, 107, .18); }
.pkg-b-money { border-color: rgba(245, 197, 66, .45); }
.pkg-b-money:hover { box-shadow: 0 30px 80px rgba(245, 197, 66, .2); }
.pkg-b-mobs { border-color: rgba(255, 77, 94, .4); }
.pkg-b-mobs:hover { box-shadow: 0 30px 80px rgba(255, 77, 94, .18); }
.pkg-b-miner { border-color: rgba(90, 176, 255, .42); }
.pkg-b-miner:hover { box-shadow: 0 30px 80px rgba(90, 176, 255, .2); }
.pkg-b-ultra { border-color: rgba(199, 125, 255, .55);
  background: linear-gradient(170deg, rgba(255, 77, 94, .09), rgba(245, 197, 66, .07) 25%, rgba(79, 209, 107, .06) 50%, rgba(90, 176, 255, .07) 75%, rgba(199, 125, 255, .1)); }
.pkg-b-ultra:hover { box-shadow: 0 30px 90px rgba(199, 125, 255, .28); }
@media (max-width: 860px) { .bst-intro { grid-template-columns: 1fr; } }
