@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800&family=Cinzel:wght@400;500;600;700;800;900&family=Noto+Nastaliq+Urdu:wght@400;500;600;700&display=swap');
:root {
    --primary: #c0c0c0; --primary-dark: #8a8a8a; --primary-light: #e0e0e0;
    --accent: #d4af37; --bg: #0a0a0a; --bg-card: #111; --bg-card-hover: #1a1a1a;
    --text: #e8e8e8; --text-muted: #888; --border: #222; --success: #28a745; --danger: #dc3545; --radius: 12px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Vazirmatn', Tahoma, sans-serif; background: var(--bg); color: var(--text); line-height: 1.7; min-height: 100vh; }
a { color: var(--primary); text-decoration: none; transition: color .3s; }
a:hover { color: var(--primary-light); }
.nastaliq { font-family: 'Noto Nastaliq Urdu', serif; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(10,10,10,.85); border-bottom: 1px solid rgba(192,192,192,.06); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: baseline; gap: 6px; }
.logo-en { font-family: 'Cinzel', serif; font-size: 1.3rem; font-weight: 800; color: #e0e0e0; letter-spacing: 2px; text-transform: uppercase; }
.logo-sep { color: rgba(192,192,192,.25); font-size: 1.1rem; font-weight: 300; }
.logo-fa { font-family: 'Noto Nastaliq Urdu', serif; font-size: 1.15rem; color: #c0c0c0; line-height: 1.4; }
.header-nav { display: flex; gap: 24px; }
.header-nav a { font-size: .85rem; color: rgba(192,192,192,.5); font-weight: 500; position: relative; padding-bottom: 2px; transition: color .3s ease; }
.header-nav a::after { content: ''; position: absolute; bottom: -2px; left: 50%; width: 0; height: 1px; background: #c0c0c0; transition: all .3s ease; transform: translateX(-50%); }
.header-nav a:hover, .header-nav a.active { color: #e0e0e0; }
.header-nav a:hover::after, .header-nav a.active::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.user-badge { background: rgba(192,192,192,.08); border: 1px solid rgba(192,192,192,.12); padding: 6px 14px; border-radius: 8px; font-size: .85rem; color: #c0c0c0; }
.mobile-menu-btn { display: none; background: none; border: 1px solid rgba(192,192,192,.12); color: #c0c0c0; font-size: 1.2rem; cursor: pointer; padding: 6px 12px; border-radius: 6px; transition: all .3s; }
.mobile-menu-btn:hover { border-color: rgba(192,192,192,.3); background: rgba(192,192,192,.06); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 24px; border-radius: 8px; font-size: .9rem; font-weight: 600; font-family: inherit; cursor: pointer; transition: all .3s; border: 1px solid transparent; white-space: nowrap; gap: 6px; }
.btn-primary { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #111; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-light); }
.btn-outline { background: transparent; border-color: var(--border); color: var(--text); }
.btn-outline:hover { background: var(--bg-card-hover); border-color: var(--primary-dark); }
.btn-danger { background: transparent; border-color: var(--danger); color: var(--danger); }
.btn-danger:hover { background: var(--danger); color: #fff; }
.btn-success { background: var(--success); color: #fff; border-color: var(--success); }
.btn-success:hover { opacity: .85; }
.btn-sm { padding: 6px 14px; font-size: .8rem; }
.btn-lg { padding: 14px 36px; font-size: 1rem; }
.btn-full { width: 100%; }

/* Hero */
.hero { padding: 140px 0 80px; text-align: center; background: radial-gradient(ellipse at 50% 0%, rgba(192,192,192,.08) 0%, transparent 50%); }
.hero h1 { font-size: 2.6rem; font-weight: 800; margin-bottom: 16px; }
.hero .highlight { color: var(--primary); }
.hero p { font-size: 1.05rem; color: #aaa; max-width: 550px; margin: 0 auto 32px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Section */
.section { padding: 70px 0; }
.section-dark { background: var(--bg-card); }
.section-title { font-size: 1.6rem; font-weight: 700; text-align: center; margin-bottom: 40px; color: var(--primary); }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: rgba(192,192,192,.15); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(192,192,192,.3); }

/* Selection */
::selection { background: rgba(192,192,192,.2); color: #fff; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.feature-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 20px; text-align: center; transition: all .3s; }
.feature-card:hover { border-color: var(--primary-dark); transform: translateY(-4px); }
.feature-icon { font-size: 2.2rem; margin-bottom: 14px; }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--primary-light); }
.feature-card p { font-size: .85rem; color: var(--text-muted); }

/* Shop Grid */
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; margin-top: 24px; }
.shop-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all .3s; }
.shop-card:hover { border-color: var(--primary-dark); transform: translateY(-4px); }
.shop-card-img { height: 180px; background: linear-gradient(135deg, #1a1a1a, #222); display: flex; align-items: center; justify-content: center; font-size: 3.5rem; color: var(--accent); border-bottom: 1px solid var(--border); overflow: hidden; }
.shop-card-img img { width: 100%; height: 100%; object-fit: cover; }
.shop-card-body { padding: 20px; }
.shop-card-body h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--primary-light); }
.shop-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.shop-tag { padding: 3px 10px; border-radius: 20px; font-size: .75rem; font-weight: 500; background: rgba(192,192,192,.1); color: var(--primary); border: 1px solid rgba(192,192,192,.2); }
.shop-price { font-size: 1.5rem; font-weight: 700; color: var(--accent); margin: 12px 0; }
.shop-stock { font-size: .85rem; color: var(--success); font-weight: 500; }
.shop-card-footer { padding: 16px 20px; border-top: 1px solid var(--border); display: flex; gap: 10px; }

/* Footer */
.site-footer { text-align: center; padding: 50px 0; border-top: 1px solid rgba(192,192,192,.08); font-size: .85rem; }

@media (max-width: 768px) {
    .hero h1 { font-size: 1.8rem; } .hero { padding: 100px 0 50px; }
    .header-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: rgba(10,10,10,.98); flex-direction: column; padding: 16px 20px; border-bottom: 1px solid rgba(192,192,192,.08); gap: 12px; }
    .header-nav.open { display: flex; }
    .header-nav a { font-size: .9rem; padding: 6px 0; }
    .header-nav a::after { display: none; }
    .mobile-menu-btn { display: block; }
    .shop-grid { grid-template-columns: 1fr; }
}

/* ===== VITRINE ===== */
::selection { background: rgba(192,192,192,.2); color: #fff; }

.vitrine {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  background: #0d0d0d;
  box-shadow: 0 0 60px rgba(192,192,192,.03), 0 0 120px rgba(0,0,0,.6), inset 0 0 80px rgba(0,0,0,.3);
  overflow: hidden;
}

.vitrine::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.02) 0%, transparent 30%, transparent 70%, rgba(255,255,255,.02) 100%);
  pointer-events: none;
  z-index: 10;
}

.vitrine::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(192,192,192,.08);
  border-radius: 0;
  pointer-events: none;
  z-index: 11;
}

.ambient-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 40% at 50% 15%, rgba(212,175,55,.06) 0%, transparent 60%), radial-gradient(ellipse 50% 30% at 50% 85%, rgba(192,192,192,.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.v-section {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.v-top {
  flex: 1.2;
  border-bottom: 1px solid rgba(192,192,192,.06);
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(192,192,192,.03) 0%, transparent 70%);
}

.v-mid {
  flex: 0.9;
  border-top: 1px solid rgba(192,192,192,.06);
  border-bottom: 1px solid rgba(192,192,192,.06);
  background: radial-gradient(ellipse 50% 100% at 50% 50%, rgba(212,175,55,.03) 0%, transparent 60%), radial-gradient(ellipse 100% 50% at 50% 50%, rgba(192,192,192,.02) 0%, transparent 50%);
}

.v-bot {
  flex: 1.2;
  border-top: 1px solid rgba(192,192,192,.06);
  flex-direction: column;
  gap: 18px;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(192,192,192,.03) 0%, transparent 70%);
}

.brand-wrap { text-align: center; }

.brand-sub {
  font-size: .75rem;
  letter-spacing: 10px;
  color: rgba(192,192,192,.85);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 4px;
  font-family: 'Cinzel', serif;
}

.brand-main {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  letter-spacing: 14px;
  background: linear-gradient(180deg, #f0f0f0 0%, #c0c0c0 35%, #a0a0a0 60%, #7a7a7a 85%, #5a5a5a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 4px 40px rgba(192,192,192,.1));
  line-height: 1;
  position: relative;
  font-family: 'Cinzel', serif;
}

.brand-main::after {
  content: 'JBLIYAN';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.06) 0%, transparent 40%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transform: translateY(-2px);
  pointer-events: none;
}

.brand-line {
  width: 120px;
  height: 1px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, transparent, rgba(192,192,192,.3), transparent);
  position: relative;
}

.brand-line::before {
  content: '\2666';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(192,192,192,.25);
  font-size: .5rem;
}

.brand-year {
  font-size: .65rem;
  letter-spacing: 6px;
  color: rgba(192,192,192,.75);
  margin-top: 10px;
  font-weight: 400;
  font-family: 'Cinzel', serif;
}

.mid-svg {
  width: min(70vw, 450px);
  height: auto;
  filter: drop-shadow(0 0 40px rgba(192,192,192,.1));
  animation: svgFloat 4s ease-in-out infinite;
  display: block;
}

@keyframes svgFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.search-label {
  font-size: .8rem;
  letter-spacing: 6px;
  color: rgba(192,192,192,.85);
  text-transform: uppercase;
  font-weight: 500;
  font-family: 'Cinzel', serif;
}

.search-box {
  display: flex;
  align-items: center;
  width: min(80vw, 440px);
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(192,192,192,.1);
  border-radius: 50px;
  padding: 5px;
  transition: border-color .5s, box-shadow .5s;
}

.search-box:focus-within {
  border-color: rgba(192,192,192,.3);
  box-shadow: 0 0 40px rgba(192,192,192,.04), inset 0 0 20px rgba(192,192,192,.02);
}

.search-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 13px 22px;
  font-family: 'Cinzel', serif;
  font-size: .75rem;
  letter-spacing: 1.5px;
  color: #e8e8e8;
  direction: ltr;
}

.search-box input::placeholder {
  color: rgba(192,192,192,.35);
  letter-spacing: 3px;
  font-weight: 400;
}

.search-box button {
  background: linear-gradient(135deg, #c0c0c0, #8a8a8a);
  border: none;
  border-radius: 50px;
  padding: 10px 28px;
  font-family: 'Cinzel', serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #111;
  cursor: pointer;
  transition: all .3s ease;
  text-transform: uppercase;
  white-space: nowrap;
}

.search-box button:hover {
  background: linear-gradient(135deg, #e0e0e0, #c0c0c0);
  box-shadow: 0 0 30px rgba(192,192,192,.12);
  transform: scale(1.03);
}

.search-box button:active {
  transform: scale(.97);
}

.search-hint {
  font-size: .6rem;
  letter-spacing: 3px;
  color: rgba(192,192,192,.65);
  font-weight: 400;
  font-family: 'Cinzel', serif;
}

.search-result-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.search-result-overlay.open { display: flex; }

.result-card {
  background: #111;
  border: 1px solid rgba(192,192,192,.1);
  border-radius: 20px;
  padding: 32px;
  width: min(88vw, 380px);
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  animation: resultIn .35s ease;
  direction: ltr;
}

@keyframes resultIn {
  from { opacity: 0; transform: scale(.92) translateY(15px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.result-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: rgba(192,192,192,.25);
  font-size: 1.3rem;
  cursor: pointer;
  font-family: 'Cinzel', serif;
  transition: color .3s;
  line-height: 1;
}

.result-close:hover { color: #e8e8e8; }

.result-card-title {
  font-size: .9rem;
  font-weight: 700;
  color: #c0c0c0;
  margin-bottom: 16px;
  letter-spacing: 2px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(192,192,192,.08);
  font-family: 'Cinzel', serif;
}

.result-card .info-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(192,192,192,.04);
  direction: ltr;
}

.result-card .info-row:last-child { border-bottom: none; }

.result-card .info-label {
  color: rgba(192,192,192,.35);
  font-size: .65rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-family: 'Cinzel', serif;
}

.result-card .info-value {
  color: #e8e8e8;
  font-weight: 600;
  font-size: .75rem;
  text-align: right;
}

.result-error {
  color: #dc3545;
  font-size: .7rem;
  text-align: center;
  padding: 20px;
  letter-spacing: 1px;
  font-family: 'Cinzel', serif;
}

.loading-coin {
  text-align: center;
  padding: 30px;
}

.spinner-coin {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(192,192,192,.08);
  border-top-color: #c0c0c0;
  animation: spin .8s linear infinite;
  margin: 0 auto 12px;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loading-coin span {
  font-size: .6rem;
  color: rgba(192,192,192,.3);
  letter-spacing: 2px;
  font-family: 'Cinzel', serif;
}

@media (max-width: 600px) {
  .vitrine { max-height: none; border-radius: 0; }
  .brand-main { letter-spacing: 6px; }
  .brand-sub { letter-spacing: 6px; font-size: .6rem; }
  .mid-svg { width: min(80vw, 320px); }
  .search-label { letter-spacing: 4px; font-size: .65rem; }
  .search-box button { padding: 8px 18px; font-size: .55rem; }
  .search-box input { padding: 11px 16px; font-size: .65rem; }
  .v-mid { flex: 0.7; }
}

@media (min-width: 1400px) {
  .vitrine { max-height: none; }
  .mid-svg { width: 500px; }
  .brand-main { font-size: 6rem; }
}
