/* ==================== GEO RESTRICTION MODAL ==================== */

.geo-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 0;
}

#geo-notice {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#geo-notice.geo-visible {
  opacity: 1;
}

#geo-notice.geo-hiding {
  opacity: 0;
}

/* ── Modal Box ───────────────────────────────────────── */
.geo-modal {
  position: relative;
  z-index: 1;
  background: #ffffff;
  border-radius: 24px;
  padding: 2.5rem 2rem;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

#geo-notice.geo-visible .geo-modal {
  transform: translateY(0);
}

/* Icon circle */
.geo-icon {
  width: 64px;
  height: 64px;
  background: #FFF0EB;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.6rem;
  color: #FF6B35;
}

/* Flag emoji */
.geo-flag {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

/* Title */
.geo-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0A0A0A;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

/* Location line */
.geo-location {
  font-size: 0.85rem;
  color: #737373;
  margin-bottom: 0.75rem;
  background: #F7F7F7;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  display: inline-block;
}

.geo-location strong {
  color: #0A0A0A;
}

/* Description */
.geo-desc {
  font-size: 0.88rem;
  color: #737373;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.geo-desc strong {
  color: #FF6B35;
}

/* Info grid */
.geo-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.geo-info-box {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: #F7F7F7;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  font-size: 0.75rem;
  color: #404040;
  font-weight: 500;
}

.geo-info-box i {
  color: #FF6B35;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* Buttons */
.geo-btns {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.geo-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.5rem;
  background: #25D366;
  color: white;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 0.2s, transform 0.2s;
}

.geo-btn-primary:hover {
  background: #1da851;
  transform: translateY(-1px);
}

.geo-btn-primary i {
  font-size: 1.1rem;
}

.geo-btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.5rem;
  background: transparent;
  color: #0A0A0A;
  border: 2px solid #E5E5E5;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  transition: border-color 0.2s, background 0.2s;
}

.geo-btn-secondary:hover {
  border-color: #FF6B35;
  background: #FFF0EB;
  color: #FF6B35;
}

/* Dismiss link */
.geo-dismiss {
  background: none;
  border: none;
  font-size: 0.78rem;
  color: #737373;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0 auto;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  transition: color 0.2s, background 0.2s;
  font-family: inherit;
}

.geo-dismiss:hover {
  color: #0A0A0A;
  background: #F7F7F7;
}

.geo-dismiss i {
  font-size: 0.7rem;
}

/* ── Mobile ─────────────────────────────────────────── */
@media (max-width: 480px) {
  .geo-modal {
    padding: 2rem 1.5rem;
    border-radius: 20px;
  }

  .geo-title {
    font-size: 1.2rem;
  }

  .geo-info-grid {
    grid-template-columns: 1fr;
  }
}
