/* ===================================== */
/* MYDEMPIRE — SHOP PAGE CSS ONLY
   Use in: shop.css
   Link in shop.html with:
   <link rel="stylesheet" href="styles.css" />
   <link rel="stylesheet" href="shop.css" />
/* ===================================== */

.shop-page{
  max-width: 1280px;
  margin: 0 auto;
  padding: 36px 24px 56px;
}

.shop-hero{
  background: linear-gradient(135deg, rgba(142,68,173,0.18) 0%, rgba(37,99,235,0.16) 100%);
  border: 1px solid rgba(142,68,173,0.22);
  border-radius: 24px;
  padding: 34px 28px;
  margin-bottom: 28px;
  box-shadow: 0 14px 30px rgba(15,23,42,0.08);
}

.shop-hero-eyebrow{
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.58);
  color: #7e22ce;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.shop-hero h1{
  margin: 0 0 12px;
  font-size: 42px;
  line-height: 1.05;
  color: #111827;
}

.shop-hero p{
  margin: 0;
  max-width: 840px;
  font-size: 17px;
  line-height: 1.8;
  color: #475569;
}

.shop-section h2{
  margin: 0 0 8px;
  font-size: 30px;
  color: #111827;
}

.shop-section-sub{
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.75;
  color: #64748b;
}

.shop-table{
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(15,23,42,0.04);
}

.shop-table th,
.shop-table td{
  padding: 14px 14px;
  text-align: left;
  font-size: 14px;
}

.shop-table thead th{
  background: #8E44AD;
  color: #ffffff;
  font-weight: 800;
}

.shop-table tbody tr:nth-child(1){
  background: #faf5ff;
}
.shop-table tbody tr:nth-child(2){
  background: #f3e8ff;
}
.shop-table tbody tr:nth-child(3){
  background: #eef2ff;
}
.shop-table tbody tr:nth-child(4){
  background: #eff6ff;
}

.shop-table tbody tr{
  border-bottom: 1px solid rgba(148,163,184,0.14);
}

.shop-table-compact th{
  width: 42%;
  background: #f8fafc;
  color: #334155;
  font-weight: 800;
}

.shop-table-compact td{
  background: #ffffff;
  color: #0f172a;
  font-weight: 700;
}

.shop-buy-dominant{
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  border-radius: 22px;
  padding: 26px;
  background: linear-gradient(135deg, #8E44AD 0%, #6d28d9 100%);
  box-shadow: 0 18px 36px rgba(109,40,217,0.22);
  color: #ffffff;
}

.shop-buy-dominant-left{
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.shop-buy-label{
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  opacity: 0.9;
  margin-bottom: 8px;
}

.shop-buy-title{
  font-size: 32px;
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 12px;
}

.shop-buy-text{
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,255,255,0.92);
}

.shop-buy-dominant-right{
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.shop-buy-field-label{
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #f5f3ff;
}

.shop-buy-dominant-right input{
  width: 100%;
  box-sizing: border-box;
  padding: 14px 14px;
  border-radius: 12px;
  border: none;
  outline: none;
  font-size: 15px;
  margin-bottom: 10px;
}

.shop-buy-helper{
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 14px;
  line-height: 1.5;
}

.shop-buy-main-btn{
  width: 100%;
  padding: 14px 18px;
  border: none;
  border-radius: 14px;
  background: #ffffff;
  color: #6b21a8;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.shop-buy-main-btn:hover{
  filter: brightness(0.98);
}

@media (max-width: 980px){
  .shop-buy-dominant{
    grid-template-columns: 1fr;
  }

  .shop-hero h1{
    font-size: 34px;
  }

  .shop-buy-title{
    font-size: 28px;
  }
}   
.pack-showcase-title{
  margin-bottom: 16px;
}

.pack-showcase-title h2{
  margin-bottom: 8px;
}

.pack-showcase-sub{
  font-size: 15px;
  color: #64748b;
}

/* ============================= */
/* PACK CARD GRID */
/* ============================= */

.pack-cards-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 20px;
  margin-top: 18px;
}

.pack-card{
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(15,23,42,0.12);
  display: flex;
  flex-direction: column;
  border: 2px solid transparent;
}

.pack-card-title{
  text-align: center;
  font-weight: 800;
  font-size: 14px;
  padding: 10px 8px;
  letter-spacing: 0.02em;
}

.pack-card-art{
  position: relative;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.pack-card-image{
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
}

.pack-card-placeholder{
  width: 100%;
  height: 100%;
  border-radius: 14px;
}

.pack-card-badge{
  position: absolute;
  bottom: 10px;
  right: 10px;
  padding: 4px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.16);
}

.pack-card-meta{
  text-align: center;
  font-size: 13px;
  padding: 12px 10px 14px;
  line-height: 1.55;
  font-weight: 700;
}

/* ============================= */
/* LAND CARDS */
/* ============================= */

.pack-card.l1{
  border-color: #22c55e;
  background: linear-gradient(180deg, #dcfce7 0%, #bbf7d0 100%);
}
.pack-card.l1 .pack-card-title{
  background: #22c55e;
  color: #ffffff;
}
.pack-card.l1 .pack-card-badge{
  background: #15803d;
}
.pack-card.l1 .pack-card-placeholder{
  background: linear-gradient(180deg, #86efac 0%, #4ade80 100%);
}
.pack-card.l1 .pack-card-meta{
  color: #14532d;
}

.pack-card.l2{
  border-color: #facc15;
  background: linear-gradient(180deg, #fef9c3 0%, #fde68a 100%);
}
.pack-card.l2 .pack-card-title{
  background: #facc15;
  color: #111827;
}
.pack-card.l2 .pack-card-badge{
  background: #ca8a04;
}
.pack-card.l2 .pack-card-placeholder{
  background: linear-gradient(180deg, #fde68a 0%, #facc15 100%);
}
.pack-card.l2 .pack-card-meta{
  color: #713f12;
}

.pack-card.l3{
  border-color: #ef4444;
  background: linear-gradient(180deg, #fee2e2 0%, #fecaca 100%);
}
.pack-card.l3 .pack-card-title{
  background: #ef4444;
  color: #ffffff;
}
.pack-card.l3 .pack-card-badge{
  background: #b91c1c;
}
.pack-card.l3 .pack-card-placeholder{
  background: linear-gradient(180deg, #fca5a5 0%, #ef4444 100%);
}
.pack-card.l3 .pack-card-meta{
  color: #7f1d1d;
}

/* ============================= */
/* BLUEPRINT CARDS */
/* ============================= */

.pack-card.b1{
  border-color: #7f8c8d;
  background: linear-gradient(180deg, #f3f4f6 0%, #d1d5db 100%);
}
.pack-card.b1 .pack-card-title{
  background: #7f8c8d;
  color: #ffffff;
}
.pack-card.b1 .pack-card-badge{
  background: #4b5563;
}
.pack-card.b1 .pack-card-meta{
  color: #374151;
}

.pack-card.b2{
  border-color: #1f4fa3;
  background: linear-gradient(180deg, #dbeafe 0%, #bfdbfe 100%);
}
.pack-card.b2 .pack-card-title{
  background: #1f4fa3;
  color: #ffffff;
}
.pack-card.b2 .pack-card-badge{
  background: #1d4ed8;
}
.pack-card.b2 .pack-card-meta{
  color: #1e3a8a;
}

.pack-card.b3{
  border-color: #8E44AD;
  background: linear-gradient(180deg, #f3e8ff 0%, #e9d5ff 100%);
}
.pack-card.b3 .pack-card-title{
  background: #8E44AD;
  color: #ffffff;
}
.pack-card.b3 .pack-card-badge{
  background: #6b21a8;
}
.pack-card.b3 .pack-card-meta{
  color: #581c87;
}

.pack-card.b4{
  border-color: #e67e22;
  background: linear-gradient(180deg, #ffedd5 0%, #fed7aa 100%);
}
.pack-card.b4 .pack-card-title{
  background: #e67e22;
  color: #ffffff;
}
.pack-card.b4 .pack-card-badge{
  background: #c2410c;
}
.pack-card.b4 .pack-card-meta{
  color: #9a3412;
}

.pack-card.b5{
  border-color: #f1c40f;
  background: linear-gradient(180deg, #fef9c3 0%, #fde68a 100%);
}
.pack-card.b5 .pack-card-title{
  background: #f1c40f;
  color: #111827;
}
.pack-card.b5 .pack-card-badge{
  background: #ca8a04;
}
.pack-card.b5 .pack-card-meta{
  color: #713f12;
}

/* ============================= */
/* RELIC / WRIT */
/* ============================= */

.pack-card.relic{
  border-color: #c9a227;
  background: linear-gradient(180deg, #fff7cc 0%, #f6e6a8 100%);
}
.pack-card.relic .pack-card-title{
  background: #c9a227;
  color: #111827;
}
.pack-card.relic .pack-card-meta{
  color: #5b4a00;
}

.pack-card.writ{
  border-color: #60a5fa;
  background: linear-gradient(180deg, #dbeafe 0%, #bfdbfe 100%);
}
.pack-card.writ .pack-card-title{
  background: #60a5fa;
  color: #111827;
}
.pack-card.writ .pack-card-badge{
  background: #2563eb;
}
.pack-card.writ .pack-card-placeholder{
  background: linear-gradient(180deg, #93c5fd 0%, #3b82f6 100%);
}
.pack-card.writ .pack-card-meta{
  color: #1e3a8a;
}

/* ============================= */
/* INFO PANELS */
/* ============================= */

.shop-info-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.shop-info-box{
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(148,163,184,0.18);
  border-radius: 18px;
  padding: 18px 18px 16px;
  box-shadow: 0 8px 20px rgba(15,23,42,0.05);
}

.shop-info-box h3{
  margin: 0 0 10px;
  font-size: 20px;
  color: #111827;
}

.shop-info-box ul{
  margin-left: 18px;
}

/* ============================= */
/* FOOTER LINKS */
/* ============================= */

.shop-footer-links{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.shop-footer-links a{
  color: #6b21a8;
  font-weight: 700;
  text-decoration: none;
}

.shop-footer-links a:hover{
  text-decoration: underline;
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width: 980px){
  .shop-grid{
    grid-template-columns: 1fr;
  }

  .shop-info-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px){
  .shop-page{
    padding: 28px 14px 42px;
  }

  .shop-hero{
    padding: 22px 18px;
  }

  .shop-hero h1{
    font-size: 28px;
  }

  .shop-section{
    padding: 18px 16px;
  }

  .pack-buy-box,
  .emp-buy-box{
    flex-direction: column;
  }

  .pack-buy-box input,
  .emp-buy-box input,
  .pack-buy-box button,
  .emp-buy-box button{
    width: 100%;
  }
}
/* ============================= */
/* SUB BLOCK */
/* ============================= */

.shop-sub-block{
  margin-top: 24px;
}

.shop-sub-title{
  font-size: 22px;
  margin-bottom: 14px;
  color: #111827;
}

/* ============================= */
/* BLUEPRINT CARDS */
/* ============================= */



.bp-card{
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 2px solid;
  box-shadow: 0 10px 22px rgba(15,23,42,0.12);
}

.bp-title{
  text-align: center;
  font-weight: 900;
  padding: 10px;
  font-size: 13px;
}

.bp-art{
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.bp-art img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bp-level{
  text-align: center;
  font-weight: 900;
  padding: 10px;
}

/* COLORS */

.bp-card.b1{
  border-color:#7f8c8d;
  background:#e5e7eb;
}
.bp-card.b1 .bp-title{background:#7f8c8d;color:white;}
.bp-card.b1 .bp-level{color:#374151;}

.bp-card.b2{
  border-color:#1f4fa3;
  background:#dbeafe;
}
.bp-card.b2 .bp-title{background:#1f4fa3;color:white;}
.bp-card.b2 .bp-level{color:#1e3a8a;}

.bp-card.b3{
  border-color:#8E44AD;
  background:#f3e8ff;
}
.bp-card.b3 .bp-title{background:#8E44AD;color:white;}
.bp-card.b3 .bp-level{color:#581c87;}

.bp-card.b4{
  border-color:#e67e22;
  background:#ffedd5;
}
.bp-card.b4 .bp-title{background:#e67e22;color:white;}
.bp-card.b4 .bp-level{color:#9a3412;}

.bp-card.b5{
  border-color:#f1c40f;
  background:#fef9c3;
}
.bp-card.b5 .bp-title{background:#f1c40f;color:#111;}
.bp-card.b5 .bp-level{color:#713f12;}



/* ============================= */
/* UNIFORM CARD SIZE */
/* ============================= */

.uniform-card{
  width: 100%;
  max-width: 190px;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 22px rgba(15,23,42,0.12);
}

/* ============================= */
/* LAND CARDS */
/* ============================= */



.land-card{
  border: 2px solid;
}

.land-title{
  text-align: center;
  font-weight: 900;
  font-size: 13px;
  padding: 10px 8px;
}

.land-art{
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.land-meta{
  text-align: center;
  font-weight: 800;
  font-size: 13px;
  padding: 10px 8px 12px;
}

/* Slot visuals */
.slot-visual{
  display: grid;
  gap: 10px;
  width: 100%;
  max-width: 120px;
  justify-content: center;
}

.slot-visual.one{
  grid-template-columns: 1fr;
}

.slot-visual.two{
  grid-template-columns: repeat(2, 1fr);
}

.slot-visual.three{
  grid-template-columns: repeat(3, 1fr);
}

.slot-visual span{
  width: 30px;
  height: 30px;
  border-radius: 8px; /* square with soft corners */
  display: block;
  margin: 0 auto;
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.35),
              0 4px 10px rgba(0,0,0,0.10);
}

/* L1 */
.land-card.l1{
  background: #dcfce7;
  border-color: #22c55e;
}
.land-card.l1 .land-title{
  background: #22c55e;
  color: #ffffff;
}
.land-card.l1 .land-meta{
  color: #14532d;
}
.land-card.l1 .slot-visual span{
  background: #22c55e;
}

/* L2 */
.land-card.l2{
  background: #fef9c3;
  border-color: #facc15;
}
.land-card.l2 .land-title{
  background: #facc15;
  color: #111827;
}
.land-card.l2 .land-meta{
  color: #713f12;
}
.land-card.l2 .slot-visual span{
  background: #facc15;
}

/* L3 */
.land-card.l3{
  background: #fee2e2;
  border-color: #ef4444;
}
.land-card.l3 .land-title{
  background: #ef4444;
  color: #ffffff;
}
.land-card.l3 .land-meta{
  color: #7f1d1d;
}
.land-card.l3 .slot-visual span{
  background: #ef4444;
}
.pack-card.relic{
  border-color: #c9a227;
  background: linear-gradient(180deg, #fff7cc 0%, #f6e6a8 100%);
}
.pack-card.relic .pack-card-title{
  background: #c9a227;
  color: #111827;
}
.pack-card.relic .pack-card-meta{
  color: #5b4a00;
}
.pack-card.relic .pack-card-art{
  padding: 6px;
}
.writ-placeholder{
  background: linear-gradient(180deg, #93c5fd 0%, #3b82f6 100%);
  border-radius: 14px;
  width: 100%;
  height: 100%;
}
/* ===== FORCE FIX: LAND / RELIC / WRIT CARD SIZE ===== */

.land-grid{
  display:grid !important;
  grid-template-columns:repeat(auto-fit, minmax(190px, 190px)) !important;
  gap:18px !important;
  justify-content:start !important;
}

.land-card,
.bp-card,
.pack-card.relic,
.pack-card.writ{
  width:190px !important;
  aspect-ratio:3 / 4 !important;
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  display:flex !important;
  flex-direction:column !important;
  overflow:hidden !important;
  border-radius:18px !important;
}

.land-art,
.bp-art,
.pack-card-art{
  flex:1 1 auto !important;
  height:auto !important;
  min-height:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:10px !important;
}

.land-meta,
.bp-level,
.pack-card-meta{
  padding:10px 8px 12px !important;
}

.slot-visual{
  width:100% !important;
  max-width:120px !important;
  display:grid !important;
  gap:10px !important;
  justify-content:center !important;
  align-items:center !important;
}

.slot-visual.one{
  grid-template-columns:1fr !important;
}
.slot-visual.two{
  grid-template-columns:repeat(2, 1fr) !important;
}
.slot-visual.three{
  grid-template-columns:repeat(3, 1fr) !important;
}

.slot-visual span{
  width:30px !important;
  height:30px !important;
  border-radius:8px !important;
  display:block !important;
  margin:0 auto !important;
}

.pack-card.relic .pack-card-art{
  padding:6px !important;
}

.pack-card.relic .pack-card-image{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
}
/* ===== FINAL PACK GALLERY GRID ===== */

.pack-gallery-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(190px, 190px));
  gap:18px;
  justify-content:start;
}

/* make all 10 cards same */
.uniform-card{
  width:190px;
  aspect-ratio:3 / 4;
  border-radius:18px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  box-shadow:0 10px 22px rgba(15,23,42,0.12);
}

/* land inner layout */
.land-art{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
}

.slot-visual{
  display:grid;
  gap:10px;
  width:100%;
  justify-content:center;
  align-items:center;
}

.slot-visual.one{
  grid-template-columns:1fr;
}

.slot-visual.two{
  grid-template-columns:repeat(2, 1fr);
}

.slot-visual.three{
  grid-template-columns:repeat(3, 1fr);
}

.slot-visual span{
  width:34px;
  height:34px;
  border-radius:8px;
  display:block;
  margin:0 auto;
  box-shadow:
    inset 0 2px 4px rgba(255,255,255,0.35),
    0 4px 8px rgba(0,0,0,0.12);
}

/* land slot colors */
.land-card.l1 .slot-visual span{
  background:#22c55e;
}

.land-card.l2 .slot-visual span{
  background:#facc15;
}

.land-card.l3 .slot-visual span{
  background:#ef4444;
}

/* relic + writ should align visually */
.pack-card.relic .pack-card-art,
.pack-card.writ .pack-card-art{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:10px;
}

.writ-placeholder{
  width:100%;
  height:100%;
  border-radius:14px;
  background:linear-gradient(180deg,#93c5fd 0%, #3b82f6 100%);
}
/* =========================================================
   SHOP PAGE — WHAT'S INSIDE THE PACK
   ========================================================= */

.shop-section{
  margin-top: 42px;
}

.section-heading-wrap{
  margin-bottom: 22px;
  text-align: center;
}

.section-eyebrow{
  display:inline-block;
  padding:6px 12px;
  border-radius:999px;
  background:#e9effa;
  color:#38507a;
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.section-title{
  margin:12px 0 8px;
  font-size:34px;
  line-height:1.12;
  color:#142033;
}

.section-subtitle{
  max-width:720px;
  margin:0 auto;
  font-size:15px;
  line-height:1.7;
  color:#617086;
}

/* =========================================================
   PACK PROGRESS
   ========================================================= */

.pack-progress-card{
  margin: 0 auto 28px;
  max-width: 920px;
  padding: 20px 22px;
  border-radius: 22px;
  background: rgba(255,255,255,0.82);
  border: 1px solid #dbe3ef;
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(6px);
}

.pack-progress-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:16px;
  margin-bottom:14px;
  flex-wrap:wrap;
}

.pack-progress-label{
  font-size:15px;
  font-weight:800;
  color:#152236;
}

.pack-progress-sub{
  margin-top:4px;
  font-size:13px;
  color:#697a91;
}

.pack-progress-stats{
  font-size:24px;
  font-weight:900;
  color:#132033;
}

.pack-progress-divider{
  opacity:.45;
  margin:0 4px;
}

.pack-progress-bar{
  width:100%;
  height:16px;
  border-radius:999px;
  background:#e7edf6;
  overflow:hidden;
  box-shadow: inset 0 1px 2px rgba(15,23,42,0.08);
}

.pack-progress-fill{
  height:100%;
  border-radius:999px;
  background: linear-gradient(90deg,#5c86ff 0%, #7c4dff 55%, #f59e0b 100%);
  transition: width 0.5s ease;
}

.pack-progress-foot{
  margin-top:12px;
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  font-size:13px;
  font-weight:700;
  color:#66758c;
}

/* =========================================================
   CARD GRID
   ========================================================= */

.pack-gallery-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(170px, 1fr));
  gap:18px;
}

.uniform-card{
  aspect-ratio:3 / 4;
  width:100%;
  border-radius:24px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  background:#ffffff;
  border:1px solid #dce4ef;
  box-shadow:0 12px 28px rgba(17,24,39,0.08);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.uniform-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 34px rgba(17,24,39,0.12);
  border-color:#c6d3e4;
}

.uniform-card-top,
.uniform-card-bottom{
  padding:14px 12px;
  text-align:center;
  font-weight:800;
}

.uniform-card-top{
  font-size:15px;
  color:#152236;
  background:rgba(245,248,252,0.92);
  border-bottom:1px solid #e6edf6;
}

.uniform-card-bottom{
  font-size:13px;
  color:#5b6b82;
  background:rgba(248,250,253,0.96);
  border-top:1px solid #e6edf6;
}

.uniform-card-body{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:16px;
  min-height:0;
}

/* =========================================================
   LAND CARDS
   ========================================================= */

.land-card{
  background:linear-gradient(180deg,#fbfdff 0%, #eef4fb 100%);
}

.land-l1{ border-color:#b8dfc1; }
.land-l2{ border-color:#f1d582; }
.land-l3{ border-color:#f0aaaa; }

.land-card-body{
  display:flex;
  align-items:center;
  justify-content:center;
}
<div class="land-icon">🏞️</div>
.land-icon{
  font-size:22px;
  margin-bottom:8px;
  opacity:0.6;
}
.land-slot-visual{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
}

.land-slot-box{
  width:18px;
  height:18px;
  border-radius:6px;
  background:linear-gradient(180deg,#f7d28b 0%, #b8893c 100%);
  box-shadow:
    0 2px 4px rgba(0,0,0,0.15),
    inset 0 1px 1px rgba(255,255,255,0.6);
  border:none;
}

/* =========================================================
   BLUEPRINT CARDS
   ========================================================= */

.blueprint-card{
  color:#fff;
}

.blueprint-card .uniform-card-top,
.blueprint-card .uniform-card-bottom{
  color:#fff;
  border-color:rgba(255,255,255,0.14);
}

.blueprint-card-image{
  width:100%;
  max-width:115px;
  height:auto;
  object-fit:contain;
  filter:drop-shadow(0 8px 14px rgba(0,0,0,0.18));
}

.b1-card{
  background:linear-gradient(180deg,#b0bec5 0%, #8fa0a8 100%);
}
.b2-card{
  background:linear-gradient(180deg,#1565c0 0%, #0d4d96 100%);
}
.b3-card{
  background:linear-gradient(180deg,#7e57c2 0%, #5f3da1 100%);
}
.b4-card{
  background:linear-gradient(180deg,#ff8f00 0%, #d97706 100%);
}
.b5-card{
  background:linear-gradient(180deg,#ffca28 0%, #d4a514 100%);
}

.b1-card .uniform-card-top,
.b1-card .uniform-card-bottom,
.b2-card .uniform-card-top,
.b2-card .uniform-card-bottom,
.b3-card .uniform-card-top,
.b3-card .uniform-card-bottom,
.b4-card .uniform-card-top,
.b4-card .uniform-card-bottom,
.b5-card .uniform-card-top,
.b5-card .uniform-card-bottom{
  background:rgba(0,0,0,0.10);
}

/* =========================================================
   RELIC CARD
   ========================================================= */

.relic-card{
  background:linear-gradient(180deg,#0f172a 0%, #1e293b 100%);
  border-color:#344155;
}

.relic-card .uniform-card-top,
.relic-card .uniform-card-bottom{
  color:#f8fafc;
  background:rgba(255,255,255,0.06);
  border-color:rgba(255,255,255,0.08);
}

.relic-card-body{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:14px 12px;
  min-height:0;
  overflow:hidden;
}

.relic-card-image{
  width:auto;
  max-width:100%;
  max-height:130px;
  height:auto;
  object-fit:contain;
  display:block;
  filter:drop-shadow(0 10px 16px rgba(0,0,0,0.28));
}

.relic-card .uniform-card-bottom{
  font-size:12px;
  line-height:1.2;
  padding:10px 8px;
}

/* =========================================================
   WRIT CARD — PREMIUM PLACEHOLDER
   ========================================================= */

.writ-card{
  background:
    radial-gradient(circle at top, rgba(255,236,179,0.9) 0%, rgba(255,236,179,0.18) 24%, transparent 48%),
    linear-gradient(180deg,#1f2d4d 0%, #162238 100%);
  border:1px solid #c7a85a;
  position:relative;
}

.writ-card::before{
  content:"";
  position:absolute;
  inset:10px;
  border-radius:18px;
  border:1px solid rgba(231, 197, 110, 0.35);
  pointer-events:none;
}

.writ-card .uniform-card-top,
.writ-card .uniform-card-bottom{
  color:#f6e3a8;
  background:rgba(255,255,255,0.04);
  border-color:rgba(231,197,110,0.18);
}

.writ-card-body{
  position:relative;
}

.writ-scroll{
  width:118px;
  height:142px;
  border-radius:18px;
  background:linear-gradient(180deg,#fff4ce 0%, #f0ddb0 100%);
  border:2px solid #d5b36a;
  box-shadow:
    0 10px 18px rgba(0,0,0,0.20),
    inset 0 1px 0 rgba(255,255,255,0.7);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:14px;
  position:relative;
}

.writ-scroll::before,
.writ-scroll::after{
  content:"";
  position:absolute;
  width:20px;
  height:82%;
  top:9%;
  border-radius:999px;
  background:linear-gradient(180deg,#c29249 0%, #8b5e28 100%);
}

.writ-scroll::before{ left:-10px; }
.writ-scroll::after{ right:-10px; }

.writ-seal{
  width:48px;
  height:48px;
  border-radius:50%;
  background:radial-gradient(circle at 35% 30%, #ffdc73 0%, #d4a338 60%, #a87817 100%);
  color:#4e3300;
  font-weight:900;
  font-size:22px;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 8px 14px rgba(0,0,0,0.18);
}

.writ-lines{
  width:62px;
  display:flex;
  flex-direction:column;
  gap:8px;
}

.writ-lines span{
  display:block;
  height:6px;
  border-radius:999px;
  background:rgba(117,85,25,0.26);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 640px){
  .section-title{
    font-size:28px;
  }

  .pack-progress-stats{
    font-size:20px;
  }
}
.pack-gallery-grid{
  display:grid;
  grid-template-columns:repeat(5, minmax(0, 1fr));
  gap:18px;
  width:100%;
}
.land-card{
  position:relative;
  overflow:hidden;
}

.land-card::after{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:45%;
  background:radial-gradient(circle at top, rgba(255,255,255,0.6), transparent 70%);
  pointer-events:none;
}
.land-l1{
  box-shadow:0 0 0 1px #7adf98, 0 10px 25px rgba(122,223,152,0.15);
}

.land-l2{
  box-shadow:0 0 0 1px #f1c84d, 0 10px 25px rgba(241,200,77,0.18);
}

.land-l3{
  box-shadow:0 0 0 1px #ef7a7a, 0 10px 25px rgba(239,122,122,0.18);
}
.land-card-body{
  position:relative;
}

.land-card-body::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: radial-gradient(rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 12px 12px;
  opacity:0.5;
}
.uniform-card-top{
  position:relative;
}

.uniform-card-top::after{
  content:"";
  position:absolute;
  bottom:0;
  left:20%;
  width:60%;
  height:2px;
  background:linear-gradient(90deg, transparent, #c9a86a, transparent);
}
.land-centerpiece{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:16px;
  position:relative;
  z-index:2;
}

.land-emblem{
  width:54px;
  height:54px;
  border-radius:14px;
  box-shadow:
    0 8px 18px rgba(0,0,0,0.12),
    inset 0 1px 0 rgba(255,255,255,0.75);
  border:1px solid rgba(255,255,255,0.75);
  position:relative;
}

.land-emblem::after{
  content:"";
  position:absolute;
  inset:10px;
  border-radius:10px;
  background:rgba(255,255,255,0.18);
}

.l1-emblem{
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.85), transparent 45%),
    linear-gradient(180deg,#55d97a 0%, #2fae56 100%);
}

.l2-emblem{
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.85), transparent 45%),
    linear-gradient(180deg,#ffd95a 0%, #e0b91b 100%);
}

.l3-emblem{
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.85), transparent 45%),
    linear-gradient(180deg,#ff7c7c 0%, #df4a4a 100%);
}
.land-symbol{
  padding:6px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.04em;
  background:rgba(255,255,255,0.75);
  color:#5e6d82;
  box-shadow:0 4px 10px rgba(0,0,0,0.06);
}
.relic-image-card,
.writ-image-card{
  background:transparent;
  border:none;
  box-shadow:none;
  padding:0;
  overflow:visible;
}

.nft-image-wrap{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
}

.nft-card-image{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}
/* Fix only the two smaller-looking display cards */
.nft-card-image.food-card-fix,
.nft-card-image.textile-card-fix {
  transform: scale(1.12);
  transform-origin: center center;
}

/* Optional fine tuning if one still looks slightly smaller */
.nft-card-image.textile-card-fix {
  transform: scale(1.14);
}
/* ===================================== */
/* GLOBAL UNIFORM CARD SYSTEM */
/* ===================================== */

.uniform-card {
  width: 100%;
  max-width: 200px;   /* you can tweak: 180–220 */
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.uniform-card img,
.nft-card-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.uniform-card img,
.nft-card-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.pack-gallery-grid {
  align-items: stretch;
}

/* ===================================== */
/* SHOP NFT SHOWCASE */
/* ===================================== */

.shop-nft-showcase{
  display:flex;
  flex-direction:column;
  gap:28px;
  margin-top:24px;
}

.shop-preview-block{
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,250,252,0.98) 100%);
  border: 1px solid rgba(148,163,184,0.14);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 12px 28px rgba(15,23,42,0.06);
}

.shop-preview-head{
  margin-bottom:18px;
}

.shop-preview-head h3{
  margin:0 0 6px;
  font-size:22px;
  color:#0f172a;
}

.shop-preview-head p{
  margin:0;
  font-size:14px;
  line-height:1.7;
  color:#64748b;
}

.shop-preview-grid{
  display:grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap:18px;
}

/* ===================================== */
/* UNIFIED SHOP NFT CARD */
/* ===================================== */

.shop-nft-shell{
  position:relative;
  min-height:290px;
  border-radius:24px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  padding:14px 12px 16px;
  border:4px solid #cbd5e1;
  background: linear-gradient(180deg, #eef2f7 0%, #dfe6ef 100%);
  box-shadow:
    0 14px 28px rgba(15,23,42,0.14),
    inset 0 1px 0 rgba(255,255,255,0.55);
}

.shop-nft-shell::before{
  content:"";
  position:absolute;
  inset:7px;
  border-radius:18px;
  border:1px solid rgba(15,23,42,0.14);
  pointer-events:none;
}

.shop-nft-name{
  position:relative;
  z-index:2;
  margin-top:2px;
  font-size:16px;
  font-weight:800;
  letter-spacing:0.12em;
  color:#13233c;
  text-align:center;
}

.shop-nft-art{
  position:relative;
  z-index:2;
  flex:1;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:14px 8px 64px;
}

.shop-nft-img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  display:block;
}

.shop-nft-tag{
  position:absolute;
  left:50%;
  bottom:14px;
  transform:translateX(-50%);
  width:68px;
  height:68px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  font-weight:900;
  color:#0f172a;
  border:2px solid rgba(15,23,42,0.14);
  box-shadow:
    0 10px 20px rgba(15,23,42,0.16),
    inset 0 1px 4px rgba(255,255,255,0.45);
}

/* ===================================== */
/* BLUEPRINTS */
/* ===================================== */

.blueprint-shell{
  border-color:#7c3aed;
  background:
    radial-gradient(circle at 50% 18%, rgba(167,139,250,0.18) 0%, rgba(167,139,250,0.06) 28%, transparent 56%),
    linear-gradient(180deg, #eef2f7 0%, #e3e8f2 100%);
}

.blueprint-shell .shop-nft-tag{
  background: radial-gradient(circle at 35% 30%, #efe7ff 0%, #cfb3ff 58%, #8b5cf6 100%);
}

.blueprint-preview-grid .shop-nft-art{
  padding-top:18px;
  padding-bottom:74px;
}

.blueprint-preview-grid .shop-nft-img{
  transform: scale(1.04);
}

/* ===================================== */
/* LANDS */
/* ===================================== */

.land-shell .shop-nft-art{
  padding-top:18px;
  padding-bottom:74px;
}

.land-l1{
  border-color:#22c55e;
}
.land-l1 .shop-nft-tag{
  background: radial-gradient(circle at 35% 30%, #dcfce7 0%, #86efac 58%, #22c55e 100%);
}

.land-l2{
  border-color:#facc15;
}
.land-l2 .shop-nft-tag{
  background: radial-gradient(circle at 35% 30%, #fef9c3 0%, #fde68a 58%, #facc15 100%);
}

.land-l3{
  border-color:#ef4444;
}
.land-l3 .shop-nft-tag{
  background: radial-gradient(circle at 35% 30%, #fee2e2 0%, #fca5a5 58%, #ef4444 100%);
}

/* ===================================== */
/* RELIC */
/* ===================================== */

.relic-shell{
  border-color:#b8962e;
  background:
    radial-gradient(circle at 50% 22%, rgba(255,223,120,0.34) 0%, rgba(255,223,120,0.12) 28%, transparent 58%),
    linear-gradient(180deg, #fff6cc 0%, #f3d56b 48%, #caa43a 100%);
  box-shadow:
    0 16px 30px rgba(15,23,42,0.18),
    0 0 18px rgba(212,175,55,0.28),
    inset 0 2px 6px rgba(255,255,255,0.34);
}

.relic-shell::before{
  border-color: rgba(120,90,20,0.30);
}

.special-art{
  padding:10px 10px 10px;
}

.relic-shop-img{
  max-width:112%;
  max-height:94%;
  transform:scale(1.14) translateY(6px);
  filter:
    drop-shadow(0 14px 22px rgba(0,0,0,0.28))
    drop-shadow(0 0 18px rgba(99,102,241,0.30));
}

/* ===================================== */
/* WRIT */
/* ===================================== */

.writ-shell{
  border-color:#4f7cff;
  background:
    radial-gradient(circle at 50% 22%, rgba(120,150,255,0.25) 0%, rgba(120,150,255,0.08) 30%, transparent 58%),
    linear-gradient(180deg, #1e3a8a 0%, #020617 100%);
  box-shadow:
    0 16px 30px rgba(15,23,42,0.22),
    0 0 18px rgba(79,124,255,0.30),
    inset 0 2px 6px rgba(255,255,255,0.14);
}

.writ-shell::before{
  border-color: rgba(79,124,255,0.28);
}

.writ-shop-img{
  max-width:96%;
  max-height:84%;
  transform:scale(1.12) translateY(10px);
  filter: drop-shadow(0 12px 20px rgba(0,0,0,0.28));
}

/* ===================================== */
/* RESPONSIVE */
/* ===================================== */

@media (max-width: 1180px){
  .shop-preview-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px){
  .shop-preview-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-nft-shell{
    min-height:260px;
  }

  .shop-nft-name{
    font-size:14px;
  }

  .shop-nft-tag{
    width:60px;
    height:60px;
    font-size:19px;
  }
}

@media (max-width: 520px){
  .shop-preview-grid{
    grid-template-columns: 1fr;
  }
}
/* ============================= */
/* SHOP DISPLAY NFT IMAGE FIXES */
/* ============================= */

.pack-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 20px;
  justify-items: center;
  align-items: start;
}

.uniform-card.nft-image-card {
  width: 190px !important;
  height: 253px !important;   /* 3:4 ratio */
  max-width: 190px !important;
  aspect-ratio: 3 / 4 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;

  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.uniform-card.nft-image-card .nft-card-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
  background: transparent !important;
}

/* food/textile visual size correction only */
.uniform-card.nft-image-card .food-card-fix {
  transform: scale(1.12);
  transform-origin: center center;
}

.uniform-card.nft-image-card .textile-card-fix {
  transform: scale(1.14);
  transform-origin: center center;
}
/* ============================= */
/* EMP PURCHASE CARD */
/* ============================= */

.emp-purchase-card{
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  border-radius: 22px;
  padding: 24px;
  background: linear-gradient(135deg, #f8f5ff 0%, #eef4ff 100%);
  box-shadow: 0 18px 36px rgba(15,23,42,0.10);
  color: #111827;
  border: 1px solid rgba(142,68,173,0.14);
}

.emp-purchase-left{
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.emp-purchase-label{
  display: inline-block;
  width: fit-content;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(250,204,21,0.18);
  color: #a16207;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.emp-purchase-title{
  font-size: 30px;
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 10px;
  color: #111827;
}

.emp-purchase-text{
  font-size: 15px;
  line-height: 1.75;
  color: #475569;
  max-width: 620px;
}

.emp-purchase-rate{
  margin-top: 16px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(148,163,184,0.18);
  width: fit-content;
}

.emp-purchase-rate span{
  font-size: 13px;
  color: #64748b;
  font-weight: 700;
}

.emp-purchase-rate strong{
  font-size: 15px;
  color: #111827;
}

.emp-purchase-right{
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(148,163,184,0.18);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.emp-purchase-field-label{
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #0f172a;
}

.emp-purchase-select{
  width: 100%;
  box-sizing: border-box;
  padding: 14px 14px;
  border-radius: 12px;
  border: 1px solid #dbe4f0;
  outline: none;
  font-size: 15px;
  margin-bottom: 10px;
  background: #ffffff;
  color: #111827;
}

.emp-purchase-helper{
  font-size: 13px;
  color: #64748b;
  line-height: 1.55;
  margin-bottom: 14px;
}

.emp-purchase-btn{
  width: 100%;
  padding: 14px 18px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(180deg, #8E44AD 0%, #6d28d9 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(109,40,217,0.18);
}

.emp-purchase-btn:hover{
  filter: brightness(0.98);
}

.emp-purchase-btn:disabled{
  opacity: 0.65;
  cursor: not-allowed;
}

.emp-purchase-status{
  margin-top: 12px;
  min-height: 20px;
  font-size: 13px;
  color: #64748b;
  white-space: pre-wrap;
}

@media (max-width: 980px){
  .emp-purchase-card{
    grid-template-columns: 1fr;
  }
}
  .emp-purchase-title{
    font-size: 26px;
  }

.shop-sub-block.emp-purchase-section{
  margin-top: 40px;
}
.emp-purchase-impact{
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(142,68,173,0.08);
  border: 1px solid rgba(142,68,173,0.18);
  font-size: 13px;
  line-height: 1.6;
  color: #4c1d95;
  font-weight: 600;
}
.highlight-impact {
  margin-top: 14px;
  padding: 12px 16px;

  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.5;

  color: #00e676; /* bright green */

  background: rgba(0, 230, 118, 0.08);
  border: 1px solid rgba(0, 230, 118, 0.35);

  border-radius: 10px;

  font-family: "Orbitron", "Segoe UI", sans-serif;

  box-shadow: 0 0 12px rgba(0, 230, 118, 0.15);
}
.emp-purchase-impact{
  display: block !important;
  margin-top: 16px !important;
  padding: 14px 16px !important;

  color: #15803d !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
  font-weight: 800 !important;
  font-family: Georgia, "Times New Roman", serif !important;

  background: rgba(22, 163, 74, 0.10) !important;
  border-left: 5px solid #16a34a !important;
  border-radius: 12px !important;

  box-shadow: 0 6px 16px rgba(22, 163, 74, 0.10) !important;
} 
/* EMP treasury impact message */
.emp-purchase-left .emp-purchase-impact{
  display: block !important;
  width: 100% !important;
  margin: 16px 0 0 0 !important;
  padding: 14px 16px !important;

  background: rgba(22, 163, 74, 0.10) !important;
  border: 1px solid rgba(22, 163, 74, 0.28) !important;
  border-left: 6px solid #16a34a !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 18px rgba(22, 163, 74, 0.08) !important;

  color: #166534 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 16px !important;
  line-height: 1.75 !important;
  font-weight: 900 !important;
}

.emp-purchase-left .emp-purchase-impact span{
  color: #166534 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 16px !important;
  line-height: 1.75 !important;
  font-weight: 900 !important;
}

/* smaller EMP balance box */
.shop-emp-balance-box{
  margin: 14px 0 14px !important;
  display: inline-flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  padding: 12px 16px !important;
  min-width: 220px !important;
  width: fit-content !important;
  max-width: 260px !important;

  border-radius: 14px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  border: 1px solid rgba(148,163,184,0.18) !important;
  box-shadow: 0 8px 18px rgba(15,23,42,0.05) !important;
}

.shop-emp-balance-label{
  font-size: 12px !important;
  font-weight: 800 !important;
  color: #64748b !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}

.shop-emp-balance-value{
  font-size: 24px !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
  color: #111827 !important;
}
.blueprint-mint-section{
  margin-top: 34px;
}

.blueprint-mint-shop-card{
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  border-radius: 22px;
  padding: 24px;
  background: linear-gradient(135deg, #f8fbff 0%, #f8f5ff 100%);
  box-shadow: 0 18px 36px rgba(15,23,42,0.08);
  border: 1px solid rgba(59,130,246,0.14);
}

.blueprint-mint-shop-left{
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blueprint-mint-shop-label{
  display: inline-block;
  width: fit-content;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(59,130,246,0.10);
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blueprint-mint-shop-title{
  font-size: 30px;
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 10px;
  color: #111827;
}

.blueprint-mint-shop-text{
  font-size: 15px;
  line-height: 1.75;
  color: #475569;
  max-width: 620px;
}

.blueprint-mint-shop-impact{
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(22,163,74,0.08);
  border-left: 5px solid #16a34a;
  color: #166534;
  font-size: 14px;
  line-height: 1.65;
  font-weight: 700;
}

.blueprint-mint-shop-right{
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(148,163,184,0.18);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blueprint-mint-shop-cost-label{
  font-size: 13px;
  font-weight: 800;
  color: #64748b;
  margin-bottom: 8px;
}

.blueprint-mint-shop-cost{
  font-size: 30px;
  font-weight: 900;
  color: #111827;
  margin-bottom: 10px;
}

.blueprint-mint-shop-eligibility{
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 14px;
}

.blueprint-mint-shop-btn{
  width: 100%;
  padding: 14px 18px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(37,99,235,0.16);
}

.blueprint-mint-shop-btn:disabled{
  opacity: 0.6;
  cursor: not-allowed;
}

.blueprint-mint-shop-status{
  margin-top: 12px;
  min-height: 20px;
  font-size: 13px;
  color: #64748b;
  white-space: pre-wrap;
}

@media (max-width: 980px){
  .blueprint-mint-shop-card{
    grid-template-columns: 1fr;
  }

  .blueprint-mint-shop-title{
    font-size: 26px;
  }
}
/* ===================================== */
/* PACK SHOWCASE SLIDER */
/* ===================================== */

/* ===================================== */
/* NFT SHOWROOM SLIDER */
/* ===================================== */

.pack-showcase-slider-wrap{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:20px;
}

.pack-showcase-slider{
  flex:1;
  position:relative;
  min-height:560px;
}

.pack-showcase-slide{
  display:none;
  background:linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(247,250,252,0.98) 100%);
  border:1px solid rgba(148,163,184,0.16);
  border-radius:30px;
  padding:22px 20px 26px;
  box-shadow:0 16px 34px rgba(15,23,42,0.08);
}

.pack-showcase-slide.active{
  display:block;
}

.pack-showcase-head{
  text-align:center;
  margin-bottom:14px;
}

.pack-showcase-kicker{
  display:inline-block;
  margin-bottom:6px;
  padding:6px 14px;
  border-radius:999px;
  background:#eef2ff;
  color:#4f46e5;
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.pack-showcase-head h3{
  margin:0 0 6px;
  font-size:26px;
  color:#111827;
}

.pack-showcase-head p{
  margin:0 auto;
  max-width:820px;
  font-size:14px;
  line-height:1.65;
  color:#64748b;
}

.pack-showcase-grid{
  display:grid;
  grid-template-columns:repeat(5, minmax(0, 1fr));
  gap:14px;
  justify-items:center;
  align-items:start;
  margin-top:24px;
}

.foundation-grid{
  grid-template-columns:repeat(5, minmax(0, 1fr));
}

.pack-showcase-slide .nft-card{
  width:100%;
  max-width:210px;
  height:300px;
}

.pack-showcase-slider{
  flex:1;
  position:relative;
  min-height:560px;
  min-width:0;
}

/* nav */
.pack-showcase-nav{
  width:44px;
  height:44px;
  border:none;
  border-radius:999px;
  background:#ffffff;
  color:#334155;
  font-size:32px;
  line-height:1;
  box-shadow:0 10px 20px rgba(15,23,42,0.12);
  cursor:pointer;
  flex-shrink:0;
}

.pack-showcase-nav:hover{
  transform:translateY(-1px);
}

.pack-showcase-dots{
  display:flex;
  justify-content:center;
  gap:10px;
  margin-top:18px;
}

.pack-showcase-dots button{
  width:12px;
  height:12px;
  border:none;
  border-radius:50%;
  background:#cbd5e1;
  cursor:pointer;
  padding:0;
}

.pack-showcase-dots button.active{
  background:#4f46e5;
  transform:scale(1.15);
}

/* ===================================== */
/* REUSED NFT CARD SYSTEM INSIDE SHOP */
/* ===================================== */

.pack-showcase-slide .nft-card{
  width:100%;
  max-width:240px;
  height:320px;
  border-radius:22px;
  position:relative;
  overflow:hidden;
  background:linear-gradient(145deg,#1e293b,#0f172a);
  box-shadow:0 10px 25px rgba(0,0,0,0.35);
  transition:transform 0.25s ease, box-shadow 0.25s ease;
}

.pack-showcase-slide .nft-card:hover{
  transform:translateY(-6px) scale(1.02);
  box-shadow:0 20px 40px rgba(0,0,0,0.25);
}

.pack-showcase-slide .nft-card::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:22px;
  padding:4px;
  background:linear-gradient(145deg,var(--color),#0f172a,var(--color));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
}

.pack-showcase-slide .nft-inner{
  position:absolute;
  inset:8px;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,0.05);
}

.pack-showcase-slide .nft-title{
  text-align:center;
  font-weight:800;
  padding:14px 10px 8px;
  color:#24324a;
  letter-spacing:1.5px;
  font-size:13px;
  position:relative;
  z-index:2;
}

.pack-showcase-slide .nft-badge{
  position:absolute;
  bottom:14px;
  left:50%;
  transform:translateX(-50%);
  width:58px;
  height:58px;
  border-radius:50%;
  color:#13233c;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  font-size:17px;
  border:2px solid rgba(15,23,42,0.18);
  box-shadow:
    0 8px 16px rgba(0,0,0,0.18),
    inset 0 1px 4px rgba(255,255,255,0.45);
  z-index:3;
}

/* blueprint */
.pack-showcase-slide .nft-card.blueprint.b1{ --color:#22c55e; }
.pack-showcase-slide .nft-card.blueprint.b2{ --color:#1565c0; }
.pack-showcase-slide .nft-card.blueprint.b3{ --color:#7e57c2; }
.pack-showcase-slide .nft-card.blueprint.b4{ --color:#ff8f00; }
.pack-showcase-slide .nft-card.blueprint.b5{ --color:#ffca28; }

.pack-showcase-slide .nft-card.blueprint .nft-inner{
  background:linear-gradient(180deg,#eaf0f7 0%,#dde6ef 100%);
}

.pack-showcase-slide .nft-card.blueprint .nft-art{
  height:190px;
  display:flex;
  justify-content:center;
  align-items:center;
  padding-top:8px;
}

.pack-showcase-slide .nft-card.blueprint .nft-art img{
  max-width:78%;
  max-height:140px;
  display:block;
  filter:drop-shadow(0 10px 18px rgba(0,0,0,0.18));
}

.pack-showcase-slide .nft-card.blueprint.b1 .nft-badge{
  background:radial-gradient(circle at 35% 30%, #dcfce7 0%, #86efac 58%, #22c55e 100%);
}
.pack-showcase-slide .nft-card.blueprint.b2 .nft-badge{
  background:radial-gradient(circle at 35% 30%, #dbeafe 0%, #93c5fd 58%, #1565c0 100%);
}
.pack-showcase-slide .nft-card.blueprint.b3 .nft-badge{
  background:radial-gradient(circle at 35% 30%, #f3e8ff 0%, #d8b4fe 58%, #7e57c2 100%);
}
.pack-showcase-slide .nft-card.blueprint.b4 .nft-badge{
  background:radial-gradient(circle at 35% 30%, #ffedd5 0%, #fdba74 58%, #ff8f00 100%);
}
.pack-showcase-slide .nft-card.blueprint.b5 .nft-badge{
  background:radial-gradient(circle at 35% 30%, #fef9c3 0%, #fde68a 58%, #ffca28 100%);
}

/* land */
.pack-showcase-slide .nft-card.land.l1{ --color:#22c55e; }
.pack-showcase-slide .nft-card.land.l2{ --color:#eab308; }
.pack-showcase-slide .nft-card.land.l3{ --color:#ef4444; }

.pack-showcase-slide .nft-card.land .nft-inner{
  background:
    linear-gradient(180deg, #dfe4ea 0%, #cfd6dd 100%),
    repeating-linear-gradient(
      45deg,
      rgba(0,0,0,0.015) 0px,
      rgba(0,0,0,0.015) 1px,
      transparent 1px,
      transparent 6px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(0,0,0,0.015) 0px,
      rgba(0,0,0,0.015) 1px,
      transparent 1px,
      transparent 6px
    );
  box-shadow: inset 0 0 40px rgba(0,0,0,0.08);
}

.pack-showcase-slide .land-layout{
  position:relative;
  height:210px;
  margin-top:4px;
  transform:translateY(-16px);
}

.pack-showcase-slide .land-tile{
  position:absolute;
  display:block;
  width:78px;
  height:auto;
  filter:drop-shadow(0 10px 18px rgba(0,0,0,0.18));
  background:transparent;
}

.pack-showcase-slide .land-layout-1 .land-tile{
  left:50%;
  top:70px;
  transform:translateX(-50%);
}

.pack-showcase-slide .land-layout-2 .land-tile:nth-child(1){
  left:28%;
  top:70px;
  transform:translateX(-50%);
}
.pack-showcase-slide .land-layout-2 .land-tile:nth-child(2){
  left:72%;
  top:70px;
  transform:translateX(-50%);
}

.pack-showcase-slide .land-layout-3 .land-top{
  left:50%;
  top:18px;
  transform:translateX(-50%);
}
.pack-showcase-slide .land-layout-3 .land-bottom-left{
  left:28%;
  top:105px;
  transform:translateX(-50%);
}
.pack-showcase-slide .land-layout-3 .land-bottom-right{
  left:72%;
  top:105px;
  transform:translateX(-50%);
}

.pack-showcase-slide .nft-card.land.l1 .nft-badge{
  background:radial-gradient(circle at 35% 30%, #dcfce7 0%, #86efac 58%, #22c55e 100%);
}
.pack-showcase-slide .nft-card.land.l2 .nft-badge{
  background:radial-gradient(circle at 35% 30%, #fef9c3 0%, #fde68a 58%, #eab308 100%);
}
.pack-showcase-slide .nft-card.land.l3 .nft-badge{
  background:radial-gradient(circle at 35% 30%, #fee2e2 0%, #fca5a5 58%, #ef4444 100%);
}

/* relic */
.pack-showcase-slide .relic-card{
  --color:#b8962e;
  background:
    radial-gradient(circle at 50% 20%, rgba(255,223,120,0.35) 0%, rgba(255,223,120,0.12) 25%, transparent 55%),
    linear-gradient(180deg, #fff6cc 0%, #f3d56b 45%, #caa43a 100%);
  border:4px solid #b8962e;
  box-shadow:
    0 14px 28px rgba(0,0,0,0.35),
    0 0 18px rgba(212,175,55,0.35),
    inset 0 2px 4px rgba(255,255,255,0.35),
    inset 0 -2px 6px rgba(0,0,0,0.25);
}

.pack-showcase-slide .relic-card::before{
  content:"";
  position:absolute;
  inset:8px;
  border-radius:16px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.06), rgba(0,0,0,0.25));
  border:1px solid rgba(212,175,55,0.25);
}

.pack-showcase-slide .relic-card::after{
  content:"";
  position:absolute;
  top:30%;
  left:50%;
  transform:translate(-50%,-50%);
  width:140px;
  height:140px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(120,150,255,0.25), transparent 70%);
  filter:blur(12px);
  pointer-events:none;
}

.pack-showcase-slide .relic-art-wrap{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 10px 12px;
  z-index:2;
}

.pack-showcase-slide .relic-art-img{
  max-width:108%;
  max-height:90%;
  object-fit:contain;
  transform:scale(1.08) translateY(8px);
  filter:
    drop-shadow(0 14px 24px rgba(0,0,0,0.35))
    drop-shadow(0 0 18px rgba(99,102,241,0.35));
}

/* writ */
.pack-showcase-slide .writ-card{
  --color:#4f7cff;
  background:
    radial-gradient(circle at 50% 25%, rgba(120,150,255,0.25), transparent 55%),
    linear-gradient(180deg, #1e3a8a 0%, #020617 100%);
  border:4px solid #4f7cff;
  box-shadow:
    0 14px 28px rgba(0,0,0,0.4),
    0 0 18px rgba(79,124,255,0.35),
    inset 0 2px 6px rgba(255,255,255,0.15);
}

.pack-showcase-slide .writ-card::before{
  content:"";
  position:absolute;
  inset:8px;
  border-radius:16px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.15), rgba(0,0,0,0.35));
  border:1px solid rgba(79,124,255,0.35);
}

.pack-showcase-slide .writ-art-wrap{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:10px 12px 18px;
  z-index:2;
}

.pack-showcase-slide .writ-art-img{
  max-width:95%;
  max-height:82%;
  object-fit:contain;
  transform:scale(1.15) translateY(10px);
  filter:drop-shadow(0 10px 18px rgba(0,0,0,0.25));
}

/* special notes */
.shop-special-note{
  position:absolute;
  left:50%;
  bottom:20px;
  transform:translateX(-50%);
  padding:9px 14px;
  border-radius:999px;
  font-size:11px;
  font-weight:900;
  letter-spacing:.04em;
  text-align:center;
  white-space:nowrap;
  z-index:3;
  box-shadow:0 8px 18px rgba(15,23,42,0.16);
}

.rare-note{
  background:linear-gradient(180deg,#fff7d1 0%, #f6dd86 100%);
  color:#6b4f00;
  border:1px solid rgba(120,90,20,0.22);
}

.bundle-note{
  background:linear-gradient(180deg,#eaf0ff 0%, #c9d9ff 100%);
  color:#1e3a8a;
  border:1px solid rgba(79,124,255,0.28);
}

/* responsive */
@media (max-width: 1280px){
  .pack-showcase-grid{
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }

  .foundation-grid{
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }

  .pack-showcase-slider{
    min-height:820px;
  }
}

@media (max-width: 820px){
  .pack-showcase-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .foundation-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .pack-showcase-slider{
    min-height:1220px;
  }

  .pack-showcase-head h3{
    font-size:24px;
  }

  .shop-special-note{
    white-space:normal;
    width:80%;
    line-height:1.35;
  }
}

@media (max-width: 580px){
  .pack-showcase-slider-wrap{
    flex-direction:column;
  }

  .pack-showcase-grid,
  .foundation-grid{
    grid-template-columns:1fr;
  }

  .pack-showcase-slider{
    width:100%;
    min-height:auto;
  }

  .pack-showcase-slide{
    padding:18px 14px 22px;
  }
}
.pack-showcase-slider{
  flex:1;
  position:relative;
  min-height:580px;
  min-width:0;
}
.pack-contents-section{
  margin-top: 34px;
}

.pack-contents-section .section-heading-wrap{
  max-width: 820px;
  margin: 0 auto 22px;
  text-align: center;
}

.pack-contents-section .section-eyebrow{
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4f46e5;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.pack-contents-section .section-title{
  margin: 0 0 10px;
  font-size: 42px;
  line-height: 1.1;
  color: #0f172a;
}

.pack-contents-section .section-subtitle{
  margin: 0 auto;
  max-width: 760px;
  font-size: 17px;
  line-height: 1.75;
  color: #64748b;
}

.pack-progress-card{
  max-width: 900px;
  margin: 26px auto 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 24px 22px 18px;
  box-shadow: 0 14px 30px rgba(15,23,42,0.07);
}

.pack-progress-top{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.pack-progress-label{
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
}

.pack-progress-sub{
  margin-top: 4px;
  font-size: 14px;
  color: #64748b;
}

.pack-progress-stats{
  font-size: 20px;
  font-weight: 900;
  color: #0f172a;
  white-space: nowrap;
}

.pack-progress-divider{
  opacity: 0.5;
  margin: 0 4px;
}

.pack-progress-bar{
  height: 14px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.pack-progress-fill{
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #7c3aed 0%, #4f46e5 100%);
}

.pack-progress-foot{
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #64748b;
}
/* popup overlay */
#whitelist-popup{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.85);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:99999;
}

/* hidden state */
.hidden{
  display:none!important;
}

/* popup card */
.whitelist-popup-box{
  background:#121212;
  padding:40px;
  border-radius:14px;
  width:420px;
  max-width:90%;
  text-align:center;
  color:#ffffff;
  border:1px solid #2a2a2a;
  box-shadow:0 10px 40px rgba(0,0,0,0.6);
}

/* title */
.whitelist-popup-box h2{
  margin-bottom:18px;
  font-size:26px;
}

/* text */
.whitelist-popup-box p{
  margin:12px 0;
  line-height:1.6;
  color:#d4d4d4;
}

/* discord button */
.discord-btn{
  display:inline-block;
  margin-top:16px;
  padding:12px 20px;
  background:#5865F2;
  color:white;
  border-radius:6px;
  text-decoration:none;
  font-weight:600;
}

.discord-btn:hover{
  background:#4752c4;
}

/* got it button */
.popup-ok-btn{
  margin-top:16px;
  padding:10px 18px;
  border:none;
  border-radius:6px;
  background:#333;
  color:white;
  cursor:pointer;
}