body {
  margin: 0;
  font-family: Inter, sans-serif;
  background: radial-gradient(circle at top, #3b2f1b, #000);
  color: #f5c77a;
  text-align: center;
}

html, body {
  height: 100%;
}

.hero {
  min-height: 100vh;
  margin-top: 18vh;
}

h1 { font-size: 3rem; }

.main-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.platform-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #111;
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid #2a2a2a;
  font-size: 15px;
  cursor: pointer;
  min-width: 140px;
  justify-content: center;
  width: auto;
}

.platform-btn img {
  width: 18px;
  height: 18px;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* IMPORTANT FIX */
}

.hidden { display: none; }

.popup {
  background: linear-gradient(
    180deg,
    rgba(25,25,25,0.98),
    rgba(10,10,10,0.98)
  );
  border-radius: 26px;
  padding: 30px;
  width: 320px;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.7),
    inset 0 0 0 1px rgba(255,255,255,0.05);
  animation: popupIn 0.3s cubic-bezier(.2,.8,.2,1);
}

@keyframes popupIn {
  from {
    transform: translateY(20px) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

input {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: none;
  margin-bottom: 12px;
}

button {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: none;
  margin-bottom: 10px;
  cursor: pointer;
}

.gold {
  background: linear-gradient(135deg,#f5c77a,#ffb347);
  color: #111;
  font-weight: 600;
}

.cancel {
  background: transparent;
  border: 1px solid #333;
  color: white;
}
