/* ===========================
   CATALOG v2 — Booking styles
   =========================== */

/* --- HOW BADGE --- */
.how-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  background: rgba(124,58,237,0.12);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.how-badge i { color: var(--primary-light); }
.how-badge a { color: var(--primary-light); font-weight: 600; }

/* --- PRICE ROW --- */
.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 6px;
}
.price {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-light);
}
.stock {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 600;
}
.stock.available { color: #10b981; }
.stock.available i { color: #10b981; font-size: 0.5rem; }
.stock.limited { color: var(--accent2); }
.stock.limited i { color: var(--accent2); font-size: 0.5rem; }

/* --- RESERVE BUTTON --- */
.btn-reserve {
  width: 100%;
  justify-content: center;
  gap: 8px;
}

/* --- MODAL OVERLAY --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* --- MODAL BOX --- */
.modal-box {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  transform: translateY(24px);
  transition: transform 0.3s ease;
}
.modal-overlay.open .modal-box {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(255,255,255,0.08);
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  line-height: 1;
  width: 34px; height: 34px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* --- MODAL HEADER --- */
.modal-header { text-align: center; margin-bottom: 20px; }
.modal-icon {
  width: 56px; height: 56px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  margin: 0 auto 14px;
}
.modal-header h2 {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 6px;
}
.modal-game-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  color: var(--primary-light);
  font-weight: 600;
}
.modal-price {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent2);
  margin-top: 4px;
}

/* --- MODAL INFO STRIP --- */
.modal-info-strip {
  display: flex;
  justify-content: space-around;
  gap: 8px;
  background: rgba(124,58,237,0.1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.modal-info-strip span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}
.modal-info-strip span i { color: var(--primary-light); }

/* --- FORM INSIDE MODAL --- */
.modal-box .form-group { margin-bottom: 16px; }
.modal-box .form-group label {
  display: block;
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-bottom: 6px;
  font-weight: 500;
}
.modal-box .form-group input,
.modal-box .form-group textarea {
  width: 100%;
  padding: 11px 14px;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
}
.modal-box .form-group input:focus,
.modal-box .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.15);
}
.modal-box .form-group textarea { resize: vertical; }
.form-legal {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.form-legal a { color: var(--primary-light); }

/* --- RESERVE SUCCESS --- */
.reserve-success {
  display: none;
  text-align: center;
  padding: 10px 0;
}
.reserve-success.show { display: block; }
.success-icon {
  font-size: 3rem;
  color: #10b981;
  margin-bottom: 16px;
}
.reserve-success h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 10px;
}
.reserve-success > p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 0.9rem;
  line-height: 1.6;
}
.success-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  text-align: left;
}
.success-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.success-step span {
  width: 28px; height: 28px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.success-step p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}
