/* --- Modal Background Overlay --- */
.guide-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-end; /* मोबाइल पर नीचे से स्लाइड होगा */
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.guide-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* --- Modal Card --- */
.guide-card {
  background: #16161b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  max-width: 440px;
  border-radius: 24px 24px 0 0;
  padding: 22px 20px 28px;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8);
}

.guide-overlay.active .guide-card {
  transform: translateY(0);
}

@media (min-width: 500px) {
  .guide-overlay {
    align-items: center;
  }
  .guide-card {
    border-radius: 20px;
    transform: scale(0.95);
  }
  .guide-overlay.active .guide-card {
    transform: scale(1);
  }
}

/* --- Card Header --- */
.guide-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.guide-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(250, 22, 55, 0.15);
  color: #ff4760;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
}

.guide-close {
  background: #27272f;
  border: none;
  color: #a1a1aa;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* --- Step Items --- */
.guide-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 12px 14px;
  border-radius: 14px;
  margin-bottom: 10px;
}

.step-num {
  background: #fa1637;
  color: white;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

.step-text h4 {
  margin: 0 0 2px 0;
  font-size: 14.5px;
  color: #f4f4f5;
  font-weight: 700;
}

.step-text p {
  margin: 0;
  font-size: 12.5px;
  color: #a1a1aa;
  line-height: 1.4;
}

.step-highlight {
  color: #ff5e75;
  font-weight: 700;
}

/* --- Got It Button --- */
.guide-done-btn {
  width: 100%;
  background: #27272f;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 6px;
  transition: background 0.2s;
}

.guide-done-btn:active {
  background: #32323d;
}