/* ── Intro popup modal ───────────────────────────────────────────────────────
   Matches the existing pop-up.css / glassy card aesthetic.
   ─────────────────────────────────────────────────────────────────────────── */

.intro-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}

.intro-overlay[hidden] { display: none !important; }

.intro-modal {
  background: var(--bg);
  max-width: 480px;
  width: 90%;
  padding: 2rem;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  position: relative;
  animation: fadeInScale 0.25s ease;
  text-align: center;
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1);    }
}

/* Close button — matches .modal-close in pop-up.css */
.intro-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text);
  padding: 0;
  margin: 0;
  line-height: 1;
}
.intro-close:hover { background: none; }

/* Icon */
.intro-icon {
  font-size: 2.75rem;
  line-height: 1;
  margin-bottom: 0.875rem;
}

/* Title */
.intro-title {
  font-family: 'Quantico-Regular', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--major-link, #0096FF);
  margin: 0 0 0.875rem;
  line-height: 1.3;
}

/* Body */
.intro-body {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.65;
  margin: 0 0 1.5rem;
  opacity: 0.85;
}

/* Proceed button — matches .home-intro li a */
.intro-proceed {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  font-size: 0.91rem;
  font-weight: 700;
  font-family: 'Quantico-Regular', sans-serif;
  background: var(--major-link, #0096FF);
  color: white;
  border: none;
  border-radius: 0.3rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  margin: 0;
}

.intro-proceed:hover:not(:disabled) {
  background: inherit;
  color: var(--major-link, #0096FF);
  outline: 2px solid var(--major-link, #0096FF);
}
