*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Courier New", monospace;
  background-color: #080c1a;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

/* Scanline texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.08) 2px,
    rgba(0, 0, 0, 0.08) 4px
  );
  pointer-events: none;
  z-index: 10;
}

/* Background glows */
.glow-blue {
  position: fixed;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(30, 80, 200, 0.35) 0%,
    transparent 70%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  pointer-events: none;
}

.glow-purple-left {
  position: fixed;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(120, 30, 180, 0.3) 0%,
    transparent 70%
  );
  bottom: 0;
  left: 0;
  pointer-events: none;
}

.glow-purple-right {
  position: fixed;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(160, 30, 180, 0.25) 0%,
    transparent 70%
  );
  bottom: 0;
  right: 0;
  pointer-events: none;
}

/* Stars */
.stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.star {
  position: absolute;
  background: rgba(180, 160, 100, 0.7);
  border-radius: 50%;
}

.container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

/* Logo circle */
.logo-wrap {
  position: relative;
  width: 250px;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.logo-circle {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px dashed rgba(180, 140, 80, 0.5);
  animation: spin 30s linear infinite;
}

.logo-circle::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 1px dashed rgba(180, 140, 80, 0.25);
}

.logo-img {
  width: 250px;
  height: 250px;
  border-radius: 16px;
  object-fit: cover;
}

.logo-placeholder {
  width: 250px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.logo-placeholder img {
  width: 100%;
}

/* Divider */
.divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 280px;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: rgba(180, 140, 80, 0.4);
}

.divider-diamond {
  width: 8px;
  height: 8px;
  background: rgba(180, 140, 80, 0.8);
  transform: rotate(45deg);
}

/* Title */
.title {
  color: #eac629;
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  font-weight: normal;
  text-transform: uppercase;
}

/* Sign up button */
.signup-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: transparent;
  border: 1px solid #32285e;
  border-radius: 4px;
  color: #eac629;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: "Courier New", monospace;
  text-decoration: none;
  transition: background 0.2s;
}

.signup-btn:hover {
  background: rgba(180, 140, 80, 0.1);
}

/* Topbar */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2rem;
  padding: 1.2rem 2.5rem;
  border-bottom: 1px solid rgba(180, 140, 80, 0.1);
  background: rgba(8, 12, 26, 0.7);
  backdrop-filter: blur(8px);
}

.topbar a {
  color: #eac629;
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.topbar a:hover {
  color: #eac629;
}

.topbar a.app-link {
  border: 1px solid rgba(180, 140, 80, 0.4);
  padding: 0.45rem 1rem;
  border-radius: 3px;
}

.topbar a.app-link:hover {
  background: rgba(180, 140, 80, 0.1);
}

/* Footer */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 20;
  text-align: center;
  padding: 1rem;
  color: rgba(200, 170, 100, 0.35);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  border-top: 1px solid rgba(180, 140, 80, 0.1);
  background: rgba(8, 12, 26, 0.7);
  backdrop-filter: blur(8px);
}

/* Mobile */
@media (max-width: 600px) {
  .container {
    gap: 1.5rem;
    padding: 5rem 1.2rem 4rem;
    width: 100%;
  }

  .logo-wrap {
    width: 160px;
    height: 160px;
  }

  .logo-img,
  .logo-placeholder {
    width: 160px;
    height: 160px;
  }

  .topbar {
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .topbar a {
    font-size: 0.6rem;
    letter-spacing: 0.08em;
  }

  .topbar a.app-link {
    padding: 0.35rem 0.65rem;
  }
}
