/* ═══════════════════════════════════
   KAYIT POPUP — popup.css
   ═══════════════════════════════════ */

.popup-bg {
  display: none;
  position: fixed; inset: 0;
  background: rgba(10, 20, 50, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.popup-bg.open { display: flex; }

.popup {
  background: #fff;
  border-radius: 24px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 24px 64px rgba(10,20,50,0.22), 0 4px 12px rgba(10,20,50,0.1);
  overflow: hidden;
  animation: popIn .25s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes popIn {
  from { opacity: 0; transform: scale(.88) translateY(16px); }
  to   { opacity: 1; transform: scale(1)  translateY(0); }
}

.popup-head {
  background: linear-gradient(135deg, #0c1f4a, #1a56db);
  padding: 28px 28px 24px;
  text-align: center;
  position: relative;
}
.popup-close {
  position: absolute; top: 14px; right: 16px;
  background: rgba(255,255,255,.15); border: none;
  color: rgba(255,255,255,.8); width: 30px; height: 30px;
  border-radius: 50%; font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.popup-close:hover { background: rgba(255,255,255,.28); }

.popup-logo {
  width: 54px; height: 54px; border-radius: 15px;
  background: linear-gradient(135deg, #1a56db, #0ea5e9);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin: 0 auto 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
}
.popup-head-title {
  font-size: 19px; font-weight: 800; color: #fff;
  margin-bottom: 5px; letter-spacing: -.01em;
}
.popup-head-sub {
  font-size: 13px; color: rgba(255,255,255,.65);
}

.popup-body { padding: 24px 24px 28px; }

.popup-label {
  font-size: 12px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: #94a3b8;
  text-align: center; margin-bottom: 14px;
}

.popup-options { display: flex; flex-direction: column; gap: 10px; }

.popup-opt {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  border: 1.5px solid #e2e8f0;
  border-radius: 13px;
  cursor: pointer;
  transition: border-color .15s, background .15s, transform .1s, box-shadow .15s;
  background: #fff;
  text-align: left;
  width: 100%;
  text-decoration: none;
}
.popup-opt:hover {
  border-color: #1a56db;
  background: #eff6ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(26,86,219,.12);
}
.popup-opt:active { transform: translateY(0); }

.popup-opt-icon {
  width: 42px; height: 42px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.popup-opt-icon.blue  { background: #dbeafe; }
.popup-opt-icon.green { background: #d1fae5; }
.popup-opt-icon.amber { background: #fef3c7; }

.popup-opt-text { flex: 1; }
.popup-opt-title { font-size: 14px; font-weight: 700; color: #0f172a; margin-bottom: 2px; }
.popup-opt-sub   { font-size: 12px; color: #64748b; }

.popup-opt-arrow {
  color: #cbd5e1; font-size: 18px; flex-shrink: 0;
  transition: color .15s, transform .15s;
}
.popup-opt:hover .popup-opt-arrow { color: #1a56db; transform: translateX(3px); }

.popup-divider {
  display: flex; align-items: center; gap: 10px;
  margin: 14px 0 12px;
  font-size: 11px; color: #cbd5e1; font-weight: 600;
}
.popup-divider::before, .popup-divider::after {
  content: ''; flex: 1; border-top: 1px solid #f1f5f9;
}

.popup-trust {
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  display: flex; justify-content: center; gap: 20px;
}
.popup-trust-item {
  display: flex; align-items: center; gap: 5px;
  font-size: 11px; color: #94a3b8; font-weight: 500;
}

.popup-progress {
  height: 3px;
  background: linear-gradient(90deg, #1a56db, #0ea5e9);
  width: 0; transition: width 1.2s ease;
  border-radius: 0 0 2px 2px;
}
