/* ============================================================
   Welcome Popup — welcome-popup.css
   Acknowledgement of Country & First Nations owned notice
   ============================================================ */

/* Overlay */
.welcome-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(14, 77, 87, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: overlayIn 0.4s ease both;
}

.welcome-overlay.closing {
  animation: overlayOut 0.35s ease both;
}

/* Card */
.welcome-card {
  background: #1c2a2c;
  background-image:
    radial-gradient(
      ellipse at 10% 10%,
      rgba(74, 127, 123, 0.18) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse at 90% 90%,
      rgba(209, 139, 61, 0.1) 0%,
      transparent 50%
    );
  border: 1px solid rgba(74, 127, 123, 0.35);
  border-radius: 6px;
  max-width: 520px;
  width: 100%;
  padding: 48px 44px 40px;
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  animation: cardIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}

.welcome-overlay.closing .welcome-card {
  animation: cardOut 0.3s ease both;
}

/* Close button */
.welcome-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    border-color 0.2s;
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
  line-height: 1;
}

.welcome-close:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.9);
}

/* Badge */
.welcome-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(209, 139, 61, 0.15);
  border: 1px solid rgba(209, 139, 61, 0.35);
  border-radius: 20px;
  padding: 5px 12px 5px 8px;
  margin-bottom: 28px;
}

.welcome-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d18b3d;
  flex-shrink: 0;
}

.welcome-badge span {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d18b3d;
  font-weight: 700;
}

/* Logo row */
.welcome-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.welcome-logo-text {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

/* Divider */
.welcome-divider {
  height: 1px;
  background: rgba(74, 127, 123, 0.3);
  margin: 24px 0;
}

/* Acknowledgement heading */
.welcome-ack-heading {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #4a7f7b;
  font-weight: 700;
  margin-bottom: 12px;
}

/* Acknowledgement text */
.welcome-ack-text {
  font-size: 14px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 32px;
}

/* CTA button */
.welcome-btn {
  display: block;
  width: 100%;
  padding: 14px 20px;
  background: #0e4d57;
  border: 1px solid rgba(74, 127, 123, 0.4);
  border-radius: 3px;
  color: #ffffff;
  font-family: "Mulish", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  text-align: center;
  transition:
    background 0.2s,
    border-color 0.2s;
}

.welcome-btn:hover {
  background: #4a7f7b;
  border-color: rgba(74, 127, 123, 0.7);
}

/* Animations */
@keyframes overlayIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes overlayOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes cardOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
}

/* Mobile */
@media (max-width: 560px) {
  .welcome-card {
    padding: 36px 24px 28px;
  }

  .welcome-logo-text {
    font-size: 15px;
  }
}
