/* ==========================================================================
   DURRIY FORGE & VAULT SYSTEM DESIGN SYSTEM (VAULT.CSS)
   ========================================================================== */
.vault-body {
  background: #040810;
  background-image: radial-gradient(circle at top right, rgba(212, 175, 55, 0.08), transparent 40%),
                    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.02), transparent 40%);
  background-attachment: fixed;
  color: #FFFFFF;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
}

/* Drawer Backdrop & Navigation Menu (Mobile & Desktop) */
.drawer-backdrop {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.75); backdrop-filter: blur(10px);
  z-index: 999; opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.drawer-backdrop.active { opacity: 1; pointer-events: all; }

.nav-drawer {
  position: fixed; top: 0; left: -320px; width: 290px; height: 100vh;
  background: rgba(4, 8, 16, 0.98) !important; border-right: 1px solid #D4AF37;
  z-index: 1000; padding: 30px 24px; display: flex; flex-direction: column;
  justify-content: space-between; transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 20px 0 50px rgba(0, 0, 0, 0.9);
}
.nav-drawer.open { left: 0; }

.drawer-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 20px; }
.drawer-close-btn { background: transparent; border: none; color: #fff; font-size: 24px; cursor: pointer; }
.drawer-links { list-style: none; padding: 30px 0 0 0; margin: 0; display: flex; flex-direction: column; gap: 20px; }

.drawer-links a { 
  color: #d1d5db; 
  text-decoration: none; 
  font-size: 15px; 
  font-weight: 600; 
  letter-spacing: 0.5px; 
  transition: color 0.2s; 
}
.drawer-links a:hover { color: #D4AF37; }

/* Navbar */
.vault-navbar {
  position: fixed; top: 0; left: 0; width: 100%; height: 70px;
  background: rgba(4, 8, 16, 0.85); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08); z-index: 900;
  display: flex; align-items: center; justify-content: space-between; padding: 0 40px;
  box-sizing: border-box;
}

.vault-nav-left { display: flex; align-items: center; gap: 20px; }

.vault-logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: 1.25rem; letter-spacing: 0.06em;
  color: #D4AF37; text-decoration: none; text-transform: uppercase;
}

.hamburger-btn {
  display: flex; flex-direction: column; justify-content: space-between;
  width: 26px; height: 18px; background: transparent; border: none; cursor: pointer; padding: 0;
}
.hamburger-btn .bar { width: 100%; height: 2px; background-color: #D4AF37; border-radius: 4px; transition: 0.3s ease; }

@media (min-width: 900px) {
  .hamburger-btn { display: none !important; }
}

.vault-nav-right { display: flex; align-items: center; gap: 16px; }

.btn-nav-glass {
  background: transparent; border: 1px solid rgba(212, 175, 55, 0.4); color: #D4AF37;
  padding: 8px 18px; border-radius: 20px; font-size: 12px; font-weight: 700;
  text-decoration: none; text-transform: uppercase; letter-spacing: 1px; transition: all 0.2s ease;
}
.btn-nav-glass:hover { background: rgba(212, 175, 55, 0.15); border-color: #D4AF37; transform: translateY(-1px); }

/* Layout & Main Area */
.vault-layout {
  padding-top: 70px;
  max-width: 1400px;
  margin: 0 auto;
}

.vault-main { padding: 40px 40px 80px 40px; }

.vault-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 30px; flex-wrap: wrap; gap: 20px;
}

.vault-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.8rem; font-weight: 800; letter-spacing: -0.5px; line-height: 1.1; margin: 0;
}
.vault-title span {
  background: linear-gradient(135deg, #F7E7BE 0%, #D4AF37 50%, #9A7019 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent !important;
}

.vault-subtitle { color: rgba(255, 255, 255, 0.65); font-size: 1rem; margin-top: 8px; margin-bottom: 0; max-width: 600px; }

/* Clean Instant Search Box (No AI Key exposure) */
.vault-search-box { position: relative; width: min(360px, 100%); }
.search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #D4AF37; font-size: 16px; }
.vault-search-input {
  width: 100%; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px; padding: 12px 16px 12px 42px; color: #fff; font-family: 'Montserrat', sans-serif;
  font-size: 13px; backdrop-filter: blur(10px); transition: all 0.3s ease; box-sizing: border-box;
}
.vault-search-input:focus { outline: none; border-color: #D4AF37; box-shadow: 0 0 20px rgba(212, 175, 55, 0.2); }

/* Infinite Marquee Drag Physics Filter Slider */
.vault-filter-wrap {
  border-top: 1px solid rgba(255, 255, 255, 0.06); 
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px 0; overflow: hidden !important;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.01) 0%, rgba(255, 255, 255, 0.04) 50%, rgba(255, 255, 255, 0.01) 100%);
  backdrop-filter: blur(20px); margin: 20px 0 40px 0; width: 100%; cursor: grab; user-select: none;
}
.vault-filter-wrap.dragging { cursor: grabbing; }

.vault-filter-track { display: flex !important; width: max-content !important; gap: 14px !important; will-change: transform; }

.vault-filter-track .filter-pill {
  font-family: 'Plus Jakarta Sans', sans-serif !important; font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; color: #d1d5db;
  background: rgba(9, 14, 26, 0.7); border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 22px; border-radius: 99px; white-space: nowrap !important; cursor: pointer;
  transition: all 0.3s ease; text-decoration: none;
}
.vault-filter-track .filter-pill:hover,
.vault-filter-track .filter-pill.active {
  background: rgba(212, 175, 55, 0.15); border-color: #D4AF37; color: #FFFFFF;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

/* Component Grid */
.vault-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px;
}

.vault-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(6, 10, 18, 0.95));
  border: 1px solid rgba(212, 175, 55, 0.2); border-radius: 20px; overflow: hidden;
  display: flex; flex-direction: column; transition: all 0.3s ease; position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.vault-card:hover { border-color: #D4AF37; transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 25px rgba(212, 175, 55, 0.15); }

/* Shimmer beam effect on click */
.vault-card::after {
  content: ''; position: absolute; top: 0; left: -150%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.15), rgba(255, 255, 255, 0.5), rgba(212, 175, 55, 0.15), transparent);
  transform: skewX(-20deg); pointer-events: none; z-index: 10;
}
.vault-card.click-shimmer::after { animation: sweep 1.6s cubic-bezier(0.25, 1, 0.5, 1); }

@keyframes sweep { 0% { left: -150%; } 100% { left: 150%; } }

/* Card Header & Tabs */
.v-card-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px 12px 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.v-card-title { font-size: 15px; font-weight: 700; color: #FFFFFF; margin: 0; letter-spacing: -0.3px; }

.v-tabs { display: flex; background: rgba(0, 0, 0, 0.5); padding: 3px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.08); }
.v-tab-btn {
  background: transparent; border: none; color: #9ca3af; font-size: 11px; font-weight: 600;
  padding: 5px 12px; border-radius: 6px; cursor: pointer; transition: all 0.2s ease;
}
.v-tab-btn.active { background: #D4AF37; color: #040810; font-weight: 800; }

.v-card-body { position: relative; height: 190px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: rgba(3, 6, 12, 0.6); }
.v-tab-content { display: none; width: 100%; height: 100%; padding: 16px; box-sizing: border-box; }
.v-tab-content.active { display: flex; align-items: center; justify-content: center; }

/* Locked Code Overlay Teaser */
.v-code-teaser {
  width: 100%; height: 100%; padding: 16px; font-family: monospace; font-size: 11px; color: #A6ACCD;
  line-height: 1.6; user-select: none; -webkit-user-select: none; overflow: hidden;
}
.v-lock-overlay {
  position: absolute; bottom: 0; left: 0; width: 100%; height: 85%;
  background: linear-gradient(180deg, transparent 0%, #040810 80%);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 15px;
}
.v-lock-badge {
  background: rgba(212, 175, 55, 0.15); border: 1px solid rgba(212, 175, 55, 0.4);
  color: #D4AF37; font-size: 10px; font-weight: 800; padding: 6px 14px; border-radius: 20px;
  letter-spacing: 1px; backdrop-filter: blur(6px);
}

.v-card-info { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.v-tag { font-size: 10px; font-weight: 800; color: #D4AF37; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 8px; display: block; }
.v-card-info h4 { font-size: 15px; font-weight: 700; margin-bottom: 16px; color: #fff; }
.v-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }

.v-price-tag { font-size: 1.1rem; font-weight: 800; color: #FFFFFF; }

.btn-v-unlock {
  flex: 1; background: #D4AF37; color: #040810; border: none;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 11px; font-weight: 800;
  letter-spacing: 0.5px; padding: 12px 16px; border-radius: 10px; cursor: pointer;
  text-decoration: none; text-align: center; transition: all 0.2s ease; text-transform: uppercase;
}
.btn-v-unlock:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35); }

/* All-Access Founders Pass Banner ($79) */
.founders-pass-banner {
  margin: 60px 0; background: linear-gradient(135deg, rgba(212,175,55,0.12), rgba(14,18,25,0.8));
  border: 1px solid rgba(212, 175, 55, 0.4); border-radius: 24px; padding: 48px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 30px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 30px rgba(212, 175, 55, 0.1);
}

.founders-pass-info h2 { font-size: 2rem; font-weight: 800; color: #fff; margin: 0 0 10px; }
.founders-pass-info h2 span { color: #D4AF37; }
.founders-pass-info p { color: rgba(255,255,255,0.7); font-size: 0.95rem; margin: 0; max-width: 600px; }

.founders-pass-action { display: flex; align-items: center; gap: 20px; }
.pass-price-badge { text-align: right; }
.pass-price-badge .old-price { text-decoration: line-through; color: rgba(255,255,255,0.4); font-size: 0.9rem; }
.pass-price-badge .new-price { font-size: 2.2rem; font-weight: 800; color: #D4AF37; line-height: 1; }

.btn-founders-pass {
  background: var(--gold-gradient, linear-gradient(135deg, #F7E7BE, #D4AF37));
  color: #040810; border: none; padding: 16px 32px; border-radius: 30px;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1px; cursor: pointer; transition: all 0.2s ease;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.35); text-decoration: none;
}
.btn-founders-pass:hover { transform: scale(1.04); box-shadow: 0 12px 35px rgba(212, 175, 55, 0.5); }

/* Modal Checkout Backdrop */
.modal-backdrop {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(12px);
  z-index: 2000; opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
  display: flex; justify-content: center; align-items: center; padding: 20px; box-sizing: border-box;
}
.modal-backdrop.active { opacity: 1; pointer-events: all; }

.modal-card {
  width: min(500px, 95vw); background: linear-gradient(145deg, rgba(212, 175, 55, 0.08), rgba(11, 14, 22, 0.98));
  border: 1px solid #D4AF37; border-radius: 24px; padding: 36px; position: relative; color: #fff;
  box-shadow: 0 30px 70px rgba(0,0,0,0.85);
}

.modal-close {
  position: absolute; top: 18px; right: 22px; background: none; border: none;
  color: rgba(255,255,255,0.6); font-size: 22px; cursor: pointer; transition: color 0.2s;
}
.modal-close:hover { color: #D4AF37; }

.payment-method-btn {
  display: flex; align-items: center; justify-content: space-between; padding: 18px 22px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px;
  text-decoration: none; color: #fff; transition: all 0.3s ease; margin-bottom: 16px;
}
.payment-method-btn:hover { border-color: #D4AF37; background: rgba(212, 175, 55, 0.06); transform: translateY(-2px); }

/* Responsive Mobile Rules */
@media (max-width: 900px) {
  .vault-navbar { padding: 0 20px; }
  .vault-main { padding: 30px 20px 80px 20px; }
  .vault-title { font-size: 2.2rem; }
  .founders-pass-banner { padding: 30px; flex-direction: column; text-align: center; }
  .founders-pass-action { flex-direction: column; width: 100%; }
  .pass-price-badge { text-align: center; }
}
