:root {
  --brand-color: #ffffff;
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #000;
  color: var(--brand-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.wrap {
  background: rgba(0, 0, 0, 0.35);
  padding: 36px 48px;
  border-radius: 12px;
  text-align: center;
  backdrop-filter: blur(4px);
}

h1 {
  font-size: 64px;
  margin: 0 0 12px;
  font-weight: 300;
  letter-spacing: 6px;
  color: #fff;
}

h2 {
  font-size: 20px;
  margin: 0;
  font-weight: 700;
  letter-spacing: 4px;
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  animation: brandIn 900ms ease forwards 400ms;
}

@keyframes brandIn {
  to {
    opacity: 1;
    transform: none;
  }
}

.footer {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 18px;
  font-size: 14px;
  opacity: 0.95;
}

.footer a {
  cursor: pointer;
  color: white;
  text-decoration: none;
}

.footer a:hover {
  opacity: 1;
  text-decoration: underline;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
}

.popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

.popup-box {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 90%;
  max-width: 720px;
  background: #000;
  color: white;
  padding: 28px;
  border-radius: 12px;
  transform: translate(-50%, -50%) scale(0.95);
  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
}

.popup-box.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  position: absolute;
  top: 12px;
  right: 12px;
  cursor: pointer;
}

.popup-content h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 22px;
}

.popup-content p {
  line-height: 1.5;
  opacity: 0.95;
  margin-bottom: 10px;
}

@media (max-width: 520px) {
  h1 {
    font-size: 36px;
    letter-spacing: 3px;
  }
  .wrap {
    padding: 22px;
  }

  .popup-box {
    max-width: 92%;
  }

  .footer {
    gap: 12px;
    font-size: 13px;
  }
}
