.packs-root {
  --packs-accent: #a78bfa;
  --packs-muted: #94919e;
  position: relative;
  isolation: isolate;
  min-height: 760px;
  overflow: hidden;
  color: #f4f2f8;
  background: radial-gradient(ellipse at 50% 48%, #23162d40 0, #08080b00 54%), #08080b;
  font-family: inherit;
}
.packs-root *, .packs-root *::before, .packs-root *::after { box-sizing: border-box; }
.packs-content { position: relative; z-index: 1; max-width: 1380px; margin: 0 auto; padding: 60px 32px 48px; }
.packs-heading { text-align: center; max-width: 760px; margin: 0 auto; }
.packs-eyebrow { margin: 0 0 18px; color: #b9a9d9; font-size: 10px; font-weight: 600; letter-spacing: .24em; }
.packs-title { margin: 0; color: #f4f2f8; font-size: clamp(27px, 3.1vw, 42px); line-height: 1.15; font-weight: 500; letter-spacing: -.045em; text-wrap: balance; }
.packs-description { margin: 17px auto 0; color: var(--packs-muted); font-size: 13px; line-height: 1.7; text-wrap: balance; }
.packs-particles { position: absolute; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; }
.packs-particle { position: absolute; left: var(--packs-x); top: var(--packs-y); height: 2px; width: 2px; border-radius: 50%; background: #a78bfa; opacity: .16; animation: packs-drift 8s ease-in-out var(--packs-delay) infinite alternate; }
.packs-particle:nth-child(3n) { width: 1px; height: 1px; background: #fff; }
.packs-stage { position: relative; display: grid; place-items: center; height: 410px; perspective: 1400px; }
.packs-stage-glow { position: absolute; width: 420px; max-width: 90%; height: 100px; bottom: 22px; border-radius: 50%; background: #8a60d018; filter: blur(28px); transform: scaleY(.4); }
.packs-package { position: relative; display: block; width: 440px; height: auto; aspect-ratio: 1.26; padding: 0; border: 0; background: none; color: #ececf0; font: inherit; cursor: pointer; transform: rotate(-1deg); transform-style: preserve-3d; animation: packs-float 5s ease-in-out infinite; filter: drop-shadow(0 28px 23px #000b); -webkit-tap-highlight-color: transparent; }
.packs-package:disabled { cursor: default; }
.packs-package:focus-visible { outline: 2px solid #c4b5fd; outline-offset: 12px; border-radius: 6px; }
.packs-package-body { position: absolute; display: block; inset: 12px 0; overflow: hidden; border: 1px solid #c3c3cd73; border-radius: 3px; background: linear-gradient(97deg, #9b97a04a 0, #242329 3%, #09090c 11%, #0e0e12 40%, #16161a 70%, #0a0a0d 90%, #b2adb748 98%, #343139), #101014; box-shadow: inset 3px 0 5px #ffffff16, inset -3px 0 8px #0009; }
.packs-package-body::before { content: ''; position: absolute; inset: 0; opacity: .2; background: repeating-linear-gradient(89deg, transparent 0 2px, #b2aabb13 3px, transparent 4px 6px); }
.packs-package-body::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(166deg, #ffffff0a, transparent 34%, #0000 76%, #ffffff07); border: 5px solid #ffffff03; }
.packs-seal { position: absolute; left: 0; right: 0; z-index: 3; height: 19px; background: repeating-linear-gradient(90deg, #55535d 0, #b2b0b8 1px, #313039 2px, #94919b 3px, #35333d 5px); box-shadow: inset 0 1px 1px #ffffff68, inset 0 -1px 1px #000b; clip-path: polygon(0 0, 2% 12%, 4% 0, 6% 12%, 8% 0, 10% 12%, 12% 0, 14% 12%, 16% 0, 18% 12%, 20% 0, 22% 12%, 24% 0, 26% 12%, 28% 0, 30% 12%, 32% 0, 34% 12%, 36% 0, 38% 12%, 40% 0, 42% 12%, 44% 0, 46% 12%, 48% 0, 50% 12%, 52% 0, 54% 12%, 56% 0, 58% 12%, 60% 0, 62% 12%, 64% 0, 66% 12%, 68% 0, 70% 12%, 72% 0, 74% 12%, 76% 0, 78% 12%, 80% 0, 82% 12%, 84% 0, 86% 12%, 88% 0, 90% 12%, 92% 0, 94% 12%, 96% 0, 98% 12%, 100% 0, 100% 100%, 0 100%); }
.packs-seal--top { top: 0; transform-origin: 10% 100%; }
.packs-seal--bottom { bottom: 0; transform: rotate(180deg); }
.packs-package-mark { position: absolute; top: 17px; left: 18px; color: #b5b1bf; font-size: 7px; letter-spacing: .2em; }
.packs-package-brand { position: absolute; inset: 49px 24px 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.packs-package-logo { display: block; width: 94px; height: 60px; object-fit: contain; filter: drop-shadow(0 7px 8px #0009); }
.packs-package-name { display: block; margin-top: 20px; font-size: 30px; font-weight: 500; letter-spacing: .12em; text-shadow: 0 1px 1px #fff3; }
.packs-package-edition { display: block; margin-top: 10px; font-size: 7px; font-weight: 500; letter-spacing: .24em; color: #a5a1ad; }
.packs-package-footer { position: absolute; left: 18px; right: 18px; bottom: 18px; display: flex; justify-content: space-between; border-top: 1px solid #ffffff18; padding-top: 10px; font-size: 6px; letter-spacing: .16em; color: #b4aebe; }
.packs-package-shine { position: absolute; z-index: 2; width: 80px; height: 160%; top: -30%; left: -90%; transform: rotate(23deg); background: linear-gradient(90deg, transparent, #ffffff11, transparent); transition: left .8s ease; pointer-events: none; }
.packs-package:hover .packs-package-shine { left: 135%; }
.packs-tear { position: absolute; top: 34px; right: -37px; z-index: 4; width: 76px; padding: 4px 7px; color: #17131d; background: #c6bdd6; font-size: 5px; font-weight: 700; letter-spacing: .07em; text-align: center; transform: rotate(90deg); transform-origin: center; opacity: .65; }
.packs-stage--opening .packs-package { animation: packs-break .65s ease-in-out both; }
.packs-stage--opening .packs-seal--top { animation: packs-tear-open .75s .25s ease-in both; }
.packs-stage--opening .packs-package-body { animation: packs-wrapper-open .65s .65s ease-in both; }
.packs-stage--opening .packs-seal--bottom, .packs-stage--opening .packs-tear { animation: packs-wrapper-open .5s .65s ease-in both; }
.packs-stage--opening .packs-stage-glow { animation: packs-glow 1.2s ease both; }
.packs-sealed-controls { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.packs-button { min-height: 46px; padding: 12px 24px; border-radius: 9px; border: 1px solid #ffffff16; color: #e9e4f1; background: #151219; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; transition: background .2s ease, transform .2s ease, border-color .2s ease; }
.packs-button--primary { min-width: 200px; color: #171020; background: #a78bfa; border-color: #bea6fc; box-shadow: 0 6px 28px #a78bfa13, inset 0 1px 0 #ffffff26; }
.packs-button--primary:hover:not(:disabled) { background: #bba3fd; transform: translateY(-1px); }
.packs-button--secondary:hover:not(:disabled) { background: #211a2b; border-color: #a78bfa65; }
.packs-button:disabled { cursor: default; opacity: .52; }
.packs-button:focus-visible, .packs-card-button:focus-visible, .packs-text-button:focus-visible { outline: 2px solid #c4b5fd; outline-offset: 5px; }
.packs-note { margin: 0; color: #77727f; font-size: 10px; line-height: 1.6; text-align: center; }
.packs-progress { display: flex; gap: 14px; align-items: center; justify-content: center; margin: 34px 0 0; color: #a39ba9; font-size: 10px; }
.packs-progress-dots { display: flex; gap: 5px; }
.packs-dot { display: block; width: 5px; height: 5px; border-radius: 50%; background: #3b3348; }
.packs-dot--active { background: #baa1ff; box-shadow: 0 0 7px #a78bfa40; }
.packs-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 19px; align-items: start; margin: 57px auto 44px; max-width: 1180px; }
.packs-slot { min-width: 0; text-align: left; }
.packs-grid--enter .packs-slot { animation: packs-arrive .5s calc(var(--packs-order) * .065s) both; }
.packs-slot-number { display: block; margin-bottom: 12px; font-size: 9px; letter-spacing: .15em; font-variant-numeric: tabular-nums; color: #655e70; }
.packs-card-button { display: block; position: relative; width: 100%; padding: 0; aspect-ratio: 1536 / 969; border: 0; border-radius: 10px; background: transparent; color: #ede7f6; font: inherit; cursor: pointer; perspective: 1000px; -webkit-tap-highlight-color: transparent; }
.packs-card-button:disabled { cursor: default; }
.packs-card-rotation { display: block; position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .62s cubic-bezier(.2, .7, .2, 1); }
.packs-slot--revealed .packs-card-rotation { transform: rotateY(180deg); }
.packs-slot--just-revealed .packs-card-rotation { animation: packs-card-flip .62s cubic-bezier(.2, .7, .2, 1) both; }
.packs-card-face { position: absolute; display: flex; inset: 0; overflow: hidden; border-radius: 9px; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.packs-card-back { align-items: center; justify-content: center; flex-direction: column; border: 1px solid #6d567f8c; background: radial-gradient(circle at 50% 30%, #33223e, #14101a 70%); box-shadow: 0 11px 25px #0005, inset 0 0 0 5px #0b080f; }
.packs-card-back::before { content: ''; position: absolute; inset: 9px; border: 1px solid #9274ae33; border-radius: 5px; }
.packs-card-back::after { content: ''; position: absolute; inset: 0; opacity: .1; background: repeating-linear-gradient(130deg, transparent 0 11px, #bea6db 12px, transparent 13px 24px); }
.packs-card-monogram { color: #b7a1ce; font-size: clamp(24px, 3vw, 42px); font-weight: 300; letter-spacing: -.09em; line-height: 1; }
.packs-card-back-label { margin-top: 9px; color: #9e8bb2; font-size: 6px; letter-spacing: .25em; }
.packs-card-back-spark { position: absolute; right: 15px; bottom: 12px; color: #a58bc0; font-size: 10px; }
.packs-card-front { align-items: center; justify-content: center; transform: rotateY(180deg); border: 1px solid var(--packs-rarity); background: #101015; box-shadow: 0 10px 27px #0005, 0 0 18px color-mix(in srgb, var(--packs-rarity) 12%, transparent); }
.packs-card-image { display: block; width: 100%; height: 100%; object-fit: contain; }
.packs-card-image-fallback { padding: 20px; text-align: center; font-size: 12px; }
.packs-card-info { min-height: 117px; padding-top: 18px; }
.packs-card-prompt { margin: 0; color: #c6bcd1; font-size: 11px; }
.packs-card-hint { margin: 7px 0 0; color: #665e73; font-size: 9px; }
.packs-rarity { display: inline-flex; align-items: center; gap: 5px; margin-bottom: 8px; color: var(--packs-rarity); font-size: 8px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.packs-rarity::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.packs-card-title { margin: 0; color: #eae5f0; font-size: 12px; line-height: 1.4; font-weight: 500; overflow-wrap: anywhere; }
.packs-card-author { margin: 5px 0 0; color: #84788e; font-size: 10px; overflow-wrap: anywhere; }
.packs-card-actions { display: flex; gap: 15px; flex-wrap: wrap; margin-top: 15px; }
.packs-text-button { display: inline-block; padding: 6px 0; border: 0; background: none; color: #c5b4df; font: inherit; font-size: 10px; line-height: 1.4; text-decoration: none; cursor: pointer; }
.packs-text-button:hover { color: #e2d4fa; text-decoration: underline; text-underline-offset: 4px; }
.packs-reveal-controls { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; }
.packs-reveal-controls .packs-note { flex-basis: 100%; }
.packs-rarity-note { margin: 23px 0 0; color: #655d6e; text-align: center; font-size: 10px; line-height: 1.7; }
.packs-storage-note { max-width: 560px; margin: 20px auto 0; color: #d9bb87; text-align: center; font-size: 11px; line-height: 1.7; }
.packs-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; }
@keyframes packs-float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-7px) rotate(0deg); } }
@keyframes packs-float-mobile { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes packs-drift { from { transform: translateY(0); opacity: .08; } to { transform: translateY(-16px); opacity: .28; } }
@keyframes packs-break { 0%, 100% { transform: rotate(-1deg); } 20% { transform: rotate(-2deg); } 45% { transform: rotate(1deg); } 70% { transform: rotate(-1.8deg); } }
@keyframes packs-tear-open { to { transform: translate(50px, -100px) rotate(28deg); opacity: 0; } }
@keyframes packs-wrapper-open { to { transform: translateY(45px) scale(.96); opacity: 0; } }
@keyframes packs-glow { 50% { background: #b68cf648; transform: scale(1.5); } 100% { opacity: 0; } }
@keyframes packs-arrive { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes packs-card-flip { from { transform: rotateY(0); } to { transform: rotateY(180deg); } }
@media (max-width: 1000px) {
  .packs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 790px; gap: 26px 20px; margin-top: 36px; }
  .packs-content { padding-inline: 24px; }
}
@media (max-width: 650px) {
  .packs-root { min-height: 690px; }
  .packs-content { padding: 38px 19px; }
  .packs-eyebrow { font-size: 9px; }
  .packs-title { font-size: 29px; }
  .packs-description { font-size: 12px; max-width: 320px; }
  .packs-stage { height: clamp(320px, calc((100vw - 70px) / 1.26 + 65px), 395px); }
  .packs-package { width: min(440px, calc(100vw - 70px)); transform: none; animation-name: packs-float-mobile; }
  .packs-package-brand { inset: 36px 15px 44px; }
  .packs-package-logo { width: clamp(60px, 19.5vw, 76px); height: auto; aspect-ratio: 76 / 49; }
  .packs-package-name { margin-top: clamp(10px, 3.6vw, 14px); font-size: clamp(20px, 6vw, 28px); }
  .packs-package-edition { margin-top: 8px; font-size: 6px; }
  .packs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px 13px; }
  .packs-card-info { min-height: 109px; padding-top: 13px; }
  .packs-card-monogram { font-size: 28px; }
  .packs-card-title { font-size: 11px; }
  .packs-card-hint { font-size: 8px; }
  .packs-reveal-controls { flex-direction: column; }
  .packs-reveal-controls .packs-button { width: 100%; max-width: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  .packs-root *, .packs-root *::before, .packs-root *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
