/* ==========================================================================
   شامنا جولد — الخزانة الملكية للبحث التلفزيوني والسينمائي 2026
   الهوية: دمشقي ذهبي وأسود فاخر (Damascene Royal Gold)
   ========================================================================== */
.sg-vault-section {
  position: relative;
  margin: 1.5rem 0 3.5rem;
  z-index: 15;
}
.sg-vault-wrap {
  background: radial-gradient(ellipse at top, #1c1811 0%, #0d0a07 100%);
  border: 2px solid #D4AF37;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.7), 0 0 25px rgba(212, 175, 55, 0.2);
  border-radius: 20px;
  padding: 2.2rem;
  color: #fff;
  font-family: inherit;
}
.sg-vault-header {
  text-align: center;
  margin-bottom: 1.8rem;
}
.sg-real-stats-bar {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 0.5rem 1.4rem;
  border-radius: 50px;
  font-size: 0.84rem;
  color: #E6D5AC;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.sg-stat-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.sg-dot-gold {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D4AF37;
  box-shadow: 0 0 8px #D4AF37;
}
.sg-vault-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #FAF5E8;
  margin: 0 0 0.5rem;
  font-family: 'Changa', sans-serif;
}
.sg-vault-desc {
  color: #b8af9c;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}
.sg-search-bar-wrap {
  position: relative;
  max-width: 760px;
  margin: 0 auto 1.2rem;
}
.sg-search-input {
  width: 100%;
  height: 56px;
  padding: 0 3.5rem 0 3rem;
  background: rgba(10, 8, 6, 0.85);
  border: 1.5px solid rgba(212, 175, 55, 0.5);
  border-radius: 14px;
  color: #FAF5E8;
  font-size: 1.05rem;
  outline: none;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.5);
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}
.sg-search-input:focus {
  border-color: #D4AF37;
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.35);
}
.sg-input-icon {
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: #D4AF37;
  font-size: 1.2rem;
  pointer-events: none;
}
.sg-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.sg-pill-btn {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 30px;
  padding: 0.4rem 1.1rem;
  color: #E6D5AC;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.sg-pill-btn:hover, .sg-pill-btn.active {
  background: linear-gradient(135deg, #D4AF37 0%, #AA820A 100%);
  color: #0b0805;
  font-weight: 700;
  border-color: #D4AF37;
}
.sg-shelf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.9rem;
  max-height: 460px;
  overflow-y: auto;
  padding: 0.4rem;
}
.sg-tile-card {
  background: rgba(24, 20, 15, 0.75);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  transition: all 0.2s;
}
.sg-tile-card:hover {
  background: rgba(35, 29, 20, 0.9);
  border-color: #D4AF37;
  transform: translateY(-2px);
}
.sg-tile-info {
  min-width: 0;
}
.sg-tile-name {
  font-weight: 700;
  font-size: 0.94rem;
  color: #FAF5E8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}
.sg-tile-sub {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  color: #b8af9c;
}
.sg-quality-tag {
  background: rgba(212, 175, 55, 0.15);
  color: #F7E7B4;
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  font-size: 0.7rem;
  font-weight: 700;
}
.sg-watch-btn {
  background: #D4AF37;
  color: #0d0a07;
  border: none;
  border-radius: 8px;
  padding: 0.4rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.sg-watch-btn:hover {
  transform: scale(1.05);
}
@media (max-width: 768px) {
  .sg-vault-wrap { padding: 1.4rem 1rem; }
  .sg-vault-title { font-size: 1.35rem; }
  .sg-shelf-grid { grid-template-columns: 1fr; }
}
