@font-face {
  font-family: "Meta Pro";
  src: url("assets/fonts/MetaPro-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: black;
  color: white;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* STAR BACKGROUND */
#star-background {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at bottom, #020409, #000000 70%);
  z-index: 0;
}

/* STARS */
.star {
  position: absolute;
  background: white;
  border-radius: 50%;
  opacity: 0.8;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
  animation: twinkle infinite ease-in-out;
}

@keyframes twinkle {
  0% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.2); }
  100% { opacity: 0.2; transform: scale(1); }
}

/* TOP NAV */
.top-nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 32px;
  z-index: 10;
}

/* IMAGE NAV BUTTONS */
.nav-img-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.nav-img-btn img {
  height: 22px;
  opacity: 0.9;
  transition: opacity 0.25s ease, transform 0.2s ease;
}

.nav-img-btn:hover img {
  opacity: 1;
  transform: translateY(-1px);
}

/* CENTER LOGO */
.center-logo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.center-logo img {
  max-width: 300px;
  width: 60%;
  opacity: 0.95;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

/* POPUPS */
.popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
}

.popup.hidden {
  display: none;
}

.popup-content {
  position: relative;
  max-width: 500px;
  width: 90%;
  padding: 40px;
  background: rgba(10,10,15,0.9);
  border-radius: 12px;
  text-align: center;
  font-family: "Meta Pro", system-ui, sans-serif;
}

.popup-content h2 {
  margin-bottom: 20px;
  font-weight: 500;
}

.popup-content p {
  font-size: 15px;
  line-height: 1.7;
  color: #e0e0e0;
}

.popup-content .founder {
  margin-top: 20px;
  font-size: 14px;
  opacity: 0.85;
}

/* FORCE CONTACT LINK COLOR */
#contactPopup a,
#contactPopup a:visited {
  color: white;
  text-decoration: none;
}

/* CLOSE BUTTON */
.close-btn {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  color: #aaa;
  font-size: 24px;
  cursor: pointer;
}

.close-btn:hover {
  color: white;
}

/* FOOTER */
.site-footer {
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Meta Pro", system-ui, sans-serif;
  font-size: 12px;
  letter-spacing: 0.4px;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
  pointer-events: none;
}

/* MOBILE */
@media (max-width: 600px) {
  .center-logo img {
    max-width: 220px;
  }
}
