/* ═══════════════════════════════════════════════════════
   COLLECTIBLES, BOOSTER PACKS & SNACKS CORNER
   PC Master Online 2026 - Store Section Layout
   ═══════════════════════════════════════════════════════ */

/* Navigation Category Button */
.store-cat-collectibles {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(168, 85, 247, 0.15)) !important;
  border-color: rgba(245, 158, 11, 0.4) !important;
  color: #ffd166 !important;
}

.store-cat-collectibles:hover {
  border-color: #ffd166 !important;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.4) !important;
  color: #fff !important;
}

.store-cat-collectibles.active {
  background: linear-gradient(135deg, #f59e0b, #a855f7) !important;
  color: #fff !important;
  border-color: #ffd166 !important;
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.6) !important;
}

/* Full-width container when in collectibles category */
.store-grid-layout.collectibles-store-active {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  gap: 28px !important;
  grid-column: 1 / -1 !important;
}

/* 1. Kiosk Hero Banner */
.collectibles-kiosk-hero {
  grid-column: 1 / -1;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid rgba(0, 240, 255, 0.35);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.75), 0 0 35px rgba(0, 240, 255, 0.15);
  background: #060b16;
  min-height: 240px;
}

.kiosk-hero-backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 25%;
  filter: brightness(0.6) contrast(1.15);
  transition: transform 0.6s ease;
}

.collectibles-kiosk-hero:hover .kiosk-hero-backdrop {
  transform: scale(1.02);
}

.kiosk-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 11, 24, 0.96) 0%, rgba(6, 11, 24, 0.8) 55%, rgba(6, 11, 24, 0.4) 100%);
  z-index: 1;
}

.kiosk-hero-content {
  position: relative;
  z-index: 2;
  padding: 30px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.kiosk-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 240, 255, 0.15);
  border: 1px solid #00f0ff;
  color: #00f0ff;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 800;
  width: fit-content;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.25);
}

.kiosk-hero-title {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
  background: linear-gradient(90deg, #ffffff 0%, #00f0ff 60%, #ffd166 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.kiosk-hero-desc {
  font-size: 14px;
  color: #cbd5e1;
  max-width: 780px;
  line-height: 1.6;
  margin: 0;
}

.kiosk-stats-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 4px;
}

.kiosk-stat-item {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 10px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 140px;
}

.kiosk-stat-label {
  font-size: 11px;
  color: var(--text-muted, #94a3b8);
  font-weight: 700;
}

.kiosk-stat-val {
  font-size: 18px;
  font-weight: 900;
  color: #fff;
}
.kiosk-stat-val small {
  font-size: 13px;
  color: var(--text-muted, #94a3b8);
  font-weight: 500;
}

.kiosk-mini-bar {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 2px;
}
.kiosk-mini-bar > div {
  height: 100%;
  background: linear-gradient(90deg, #00f0ff, #a855f7);
  border-radius: 4px;
}

.kiosk-actions-row {
  margin-top: 6px;
}

/* 2. Section Headers */
.collectibles-section-header {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 8px;
}

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-emoji {
  font-size: 34px;
  filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.5));
}

.section-title {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  margin: 0 0 3px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-sub {
  font-size: 12.5px;
  color: var(--text-muted, #94a3b8);
  margin: 0;
}

/* 3. Booster Packs Grid */
.booster-packs-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
  width: 100%;
}

.booster-pack-card {
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.95) 0%, rgba(9, 14, 26, 0.98) 100%);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65);
}

.booster-pack-card:hover {
  transform: translateY(-6px);
}

/* Tier specific borders & glows */
.pack-card-standard {
  border: 1.5px solid rgba(6, 182, 212, 0.45);
}
.pack-card-standard:hover {
  border-color: #22d3ee;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.8), 0 0 25px rgba(6, 182, 212, 0.35);
}

.pack-card-holo {
  border: 1.5px solid rgba(168, 85, 247, 0.55);
}
.pack-card-holo:hover {
  border-color: #c084fc;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.8), 0 0 30px rgba(168, 85, 247, 0.45);
}

.pack-card-mythic {
  border: 1.5px solid rgba(245, 158, 11, 0.65);
}
.pack-card-mythic:hover {
  border-color: #fbbf24;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.8), 0 0 35px rgba(245, 158, 11, 0.5);
}

.pack-card-img-wrap {
  width: 100%;
  height: 210px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: #030712;
  margin-bottom: 14px;
}

.pack-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.booster-pack-card:hover .pack-card-thumb {
  transform: scale(1.06);
}

.pack-badge-floating {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.pack-card-details {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pack-card-name {
  font-size: 17px;
  font-weight: 900;
  color: #fff;
  margin: 0 0 6px 0;
  line-height: 1.4;
}

.pack-card-desc {
  font-size: 12.5px;
  color: var(--text-muted, #94a3b8);
  line-height: 1.5;
  margin: 0 0 14px 0;
  flex: 1;
}

.pack-odds-box {
  background: rgba(3, 7, 18, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 16px;
}

.odds-header {
  font-size: 11px;
  color: var(--text-muted, #94a3b8);
  font-weight: 700;
  margin-bottom: 6px;
}

.odds-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.odds-pill {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
}
.odds-pill.rarity-pill-common { background: rgba(148, 163, 184, 0.15); color: #cbd5e1; border: 1px solid rgba(148, 163, 184, 0.25); }
.odds-pill.rarity-pill-rare { background: rgba(6, 182, 212, 0.15); color: #22d3ee; border: 1px solid rgba(6, 182, 212, 0.3); }
.odds-pill.rarity-pill-epic { background: rgba(168, 85, 247, 0.15); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.35); }
.odds-pill.rarity-pill-legendary { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.4); }

.pack-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
}

.pack-price-tag {
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.pack-price-curr {
  font-size: 16px;
  font-weight: 800;
  color: #ffd166;
}
.pack-price-val {
  font-size: 24px;
  font-weight: 900;
  color: #ffd166;
}

.btn-buy-pack {
  padding: 10px 18px !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  border-radius: 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.35) !important;
}

/* 4. Snacks & Sundries Grid */
.snacks-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
  width: 100%;
}

.snack-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.snack-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 240, 255, 0.45);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7), 0 0 15px rgba(0, 240, 255, 0.15);
}

.snack-thumb-wrap {
  width: 100%;
  height: 140px;
  border-radius: 12px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, rgba(0, 229, 255, 0.1) 0%, rgba(15, 23, 42, 0.75) 70%, rgba(3, 7, 18, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  position: relative;
}

.snack-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.6));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
}

.snack-card:hover .snack-thumb-img {
  transform: scale(1.08) translateY(-3px);
  filter: drop-shadow(0 10px 20px rgba(0, 229, 255, 0.45));
}

.snack-thumb-icon {
  font-size: 52px;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.snack-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.snack-card-name {
  font-size: 14.5px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px 0;
  line-height: 1.4;
}

.snack-card-desc {
  font-size: 12px;
  color: var(--text-muted, #94a3b8);
  line-height: 1.45;
  margin: 0 0 12px 0;
  flex: 1;
}

.snack-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
}

.snack-price-tag {
  font-size: 18px;
  font-weight: 900;
  color: #10b981;
}

.btn-snack-action {
  padding: 6px 12px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
}

/* ═══════════════════════════════════════════════════════
   MODAL OVERLAY & POPUP WRAPPERS
   ═══════════════════════════════════════════════════════ */
.collectibles-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(3, 7, 18, 0.88);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeInModal 0.2s ease-out;
}

@keyframes fadeInModal {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.collectibles-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.collectibles-close-btn:hover {
  background: #ef4444;
  border-color: #ef4444;
  transform: rotate(90deg);
}

/* ═══════════════════════════════════════════════════════
   PACK OPENING MODAL & INTERACTIVE CARDS
   ═══════════════════════════════════════════════════════ */
.pack-opening-card-container {
  max-width: 980px;
  width: 95%;
  max-height: 92vh;
  border-radius: 22px;
  background: linear-gradient(180deg, #0e172a 0%, #060b14 100%);
  border: 2px solid rgba(168, 85, 247, 0.45);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.95), 0 0 50px rgba(168, 85, 247, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.pack-opening-header {
  padding: 18px 26px;
  background: rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pack-opening-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pack-opening-icon {
  font-size: 26px;
}

/* Pre-Tear State */
.pack-pre-tear-state {
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
}

.pack-foil-envelope-wrap {
  perspective: 1000px;
}

.pack-foil-envelope {
  width: 220px;
  height: 310px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 40px rgba(0, 240, 255, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: transform 0.4s ease;
}

.pack-foil-envelope img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pack-foil-shimmer-layer {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, transparent 40%, rgba(0,240,255,0.3) 70%, rgba(255,255,255,0.4) 100%);
  pointer-events: none;
  animation: foilShimmer 3s infinite linear;
}

@keyframes foilShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.pack-foil-badge {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 209, 102, 0.6);
  color: #ffd166;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

.pack-tearing-active {
  animation: packTearShake 0.6s ease forwards;
}

@keyframes packTearShake {
  0% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.05) rotate(-3deg); filter: brightness(1.3); }
  50% { transform: scale(1.1) rotate(3deg); filter: brightness(1.6); }
  75% { transform: scale(0.95) rotate(-2deg); filter: brightness(2); }
  100% { transform: scale(0.8) rotate(0deg); opacity: 0; }
}

.pack-tear-hint {
  font-size: 14px;
  color: #94a3b8;
  max-width: 400px;
  margin: 0;
}

/* Revealed State */
.pack-revealed-state {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.cards-reveal-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  padding: 28px 24px;
  perspective: 1200px;
}

@media (max-width: 860px) {
  .cards-reveal-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 560px) {
  .cards-reveal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card-back-pattern {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 16px;
  background: radial-gradient(circle at center, #1e1b4b 0%, #070614 100%);
  border: 2px solid rgba(168, 85, 247, 0.4);
  border-radius: 14px;
  text-align: center;
}

.card-back-logo {
  font-size: 42px;
  color: #00f0ff;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 12px rgba(0, 240, 255, 0.6));
}

.card-back-title {
  font-size: 15px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 1px;
}

.card-back-sub {
  font-size: 10px;
  font-weight: 700;
  color: #a855f7;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.card-back-tap-hint {
  font-size: 11px;
  font-weight: 800;
  color: #00f0ff;
  background: rgba(0, 240, 255, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.card-badge-new {
  position: absolute;
  top: 8px;
  right: 8px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
  z-index: 10;
}

.pack-reveal-actions {
  padding: 16px 24px;
  background: rgba(15, 23, 42, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════
   100 CARDS COLLECTOR'S ALBUM / BINDER MODAL
   ═══════════════════════════════════════════════════════ */
.card-album-window {
  max-width: 1100px;
  width: 95%;
  height: 88vh;
  background: linear-gradient(180deg, #090e1a 0%, #03060c 100%);
  border: 1.5px solid rgba(0, 240, 255, 0.4);
  border-radius: 22px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.95), 0 0 50px rgba(0, 240, 255, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.card-album-header {
  padding: 18px 28px;
  background: rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.album-icon-badge {
  font-size: 28px;
}

.album-stats-ribbon {
  padding: 14px 28px;
  background: rgba(11, 17, 30, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.album-prog-col {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.album-prog-labels {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.album-progress-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.album-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #00f0ff, #a855f7, #ffd166);
  border-radius: 4px;
  transition: width 0.4s ease;
}

.album-stat-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.album-stat-pill {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.album-filter-toolbar {
  padding: 12px 28px;
  background: rgba(13, 20, 36, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.album-filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.album-tab-btn {
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.album-tab-btn.active {
  background: rgba(0, 240, 255, 0.2);
  border-color: #00f0ff;
  color: #fff;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.album-filter-right {
  display: flex;
  gap: 10px;
  align-items: center;
}

.album-filter-right select,
.album-filter-right input {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  outline: none;
}

.album-cards-scroll-area {
  flex: 1;
  overflow-y: auto;
  padding: 24px 28px;
}

.album-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 14px;
}

/* Missing Slot & Silhouette Card Box */
.album-card-slot.missing {
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  background: #0b1120;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}

.album-card-slot.missing:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(0, 240, 255, 0.45);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7), 0 0 15px rgba(0, 240, 255, 0.2);
}

.album-art-locked {
  filter: brightness(0.22) grayscale(0.85) contrast(1.1);
  transition: filter 0.3s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.album-card-slot.missing:hover .album-art-locked {
  filter: brightness(0.42) grayscale(0.35) contrast(1.1);
}

.album-locked-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 7, 18, 0.5) 0%, rgba(3, 7, 18, 0.2) 45%, rgba(3, 7, 18, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 8px;
  pointer-events: none;
}

.album-locked-top-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.album-locked-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 2px 7px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 800;
  color: #94a3b8;
  backdrop-filter: blur(4px);
}

.album-locked-center-badge {
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

.album-card-slot.owned {
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  background: #0b1120;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.album-card-slot.owned:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.85), 0 0 25px rgba(0, 240, 255, 0.35);
}

.album-card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Owned Card Badge */
.album-owned-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.85);
  color: #ffd166;
  font-size: 11px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 12px;
  border: 1px solid rgba(255, 209, 102, 0.4);
  z-index: 10;
}

/* ═══════════════════════════════════════════════════════
   CARD INSPECTION POPUP
   ═══════════════════════════════════════════════════════ */
.card-inspect-container {
  max-width: 780px;
  width: 95%;
  background: linear-gradient(180deg, #0d1527 0%, #060a14 100%);
  border-radius: 20px;
  border: 1.5px solid rgba(0, 240, 255, 0.5);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.95), 0 0 50px rgba(0, 240, 255, 0.25);
  overflow: hidden;
  position: relative;
}

.inspect-card-content {
  padding: 28px;
  display: flex;
  gap: 26px;
  position: relative;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.inspect-close-btn {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: all 0.2s;
  z-index: 20;
}
.inspect-close-btn:hover {
  background: #ef4444;
}

.inspect-details {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.inspect-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.inspect-title {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  margin: 0;
}

.inspect-title-en {
  font-size: 14px;
  color: var(--text-muted, #94a3b8);
  margin: 0;
}

.inspect-perk-box {
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13.5px;
  display: flex;
  gap: 8px;
}

.inspect-quote-box {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  color: #cbd5e1;
  font-style: italic;
}

.inspect-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ═══════════════════════════════════════════════════════
   UNIFIED CARD DIMENSIONS & STYLING (600x840 EXACT RATIO)
   ═══════════════════════════════════════════════════════ */
.holo-card-perspective {
  perspective: 1200px;
  width: 100%;
  aspect-ratio: 600 / 840;
}

.holo-flip-card {
  width: 100%;
  height: 100%;
  aspect-ratio: 600 / 840;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  border-radius: 14px;
}

.holo-flip-card.is-flipped {
  transform: rotateY(180deg);
}

.holo-card-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: 600 / 840;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 14px;
  overflow: hidden;
}

.holo-card-front {
  transform: rotateY(180deg);
  background: #090e1a;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85);
  position: relative;
}

.card-front-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-front-artwork-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.card-front-artwork-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 100-Card Album Slot Unified Aspect Ratio */
.album-card-slot {
  aspect-ratio: 600 / 840;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.album-card-slot:hover {
  transform: translateY(-4px) scale(1.02);
  z-index: 10;
}

.album-card-art-box {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.album-art-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

/* Large Inspection View Unified Card */
.inspect-art-wrap {
  width: 320px;
  max-width: 100%;
  aspect-ratio: 600 / 840;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9);
}

.inspect-art-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

