body {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #000;
  font-family: system-ui, sans-serif;
  overflow: hidden;
}

.card {
  position: relative;
  background-color: #fff;
  color: #000;
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1);
  text-align: center;
  padding: 2rem;
  max-width: 320px;
  transition: opacity 1s ease;
}
.card.fade-out { opacity: 0; }
.card.fade-in { opacity: 1; }

.card img {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  object-fit: cover;
  /* margin-bottom: 1rem; */
}
.card h1 {
  margin: 0.5rem 0;
  font-size: 1.5rem;
}
.card p {
  margin: 0.25rem 0;
  font-size: 1rem;
  color: #333;
  word-break: break-word;
}

/* ---------- Profile Picture ---------- */
.profile-container {
  position: relative;
  width: 240px;
  height: 240px;
  margin: 0 auto; /* center horizontally */
}

.profile-container img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}

#profileRing {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}


/* ---------- Button ---------- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  min-width: 120px;
  text-align: center;
  border: none;
}
.btn:hover {
  background-color: #ff0000;
  color: #fff;
}

/* ---------- GIF Overlay ---------- */
#accessDeclined {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  display: none;
  max-width: 90%;
  height: auto;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* ---------- Contact Row ---------- */
.contact-row-horizontal {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem; /* spacing between icons */
  margin: 1rem auto;
}

.contact-item {
  width: 32px;
  height: 32px;
  display: flex;
}

.contact-item .icon {
  width: 32px !important;
  height: 32px !important;
  object-fit: contain;
  filter: brightness(0) invert(0);
  transition: filter 0.2s ease;
}

/* Hover effect: turn red */
.contact-item:hover .icon {
  filter: brightness(0) saturate(100%) invert(17%) sepia(91%) saturate(7462%) hue-rotate(355deg) brightness(104%) contrast(101%);
}

/* ---------- Responsive ---------- */
@media (max-width: 480px) {
  .card {
    padding: 1.5rem;
  }
  .card h1 {
    font-size: 1.25rem;
  }
  .card img {
    width: 180px;
    height: 180px;
  }
  .btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    min-width: 0;
  }
  .contact-row-horizontal {
    gap: 0.8rem;
  }
}

/* ---------- map ---------- */
#map {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* behind card */
}