@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,700&family=Space+Grotesk:wght@400;500&display=swap");

html, body {
  height: 100%;
  margin: 0;
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont;
  background: #0b0c10;
  color: #f7f3ed;
}

:root {
  --cream: #f7f3ed;
  --ink: #0b0c10;
  --ember: #ff7a59;
  --cobalt: #4f6cff;
  --mint: #7cf0c4;
}

.container {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 48px 24px;
  position: relative;
  overflow: hidden;
}

.container::before,
.container::after {
  content: "";
  position: absolute;
  width: 48vw;
  height: 48vw;
  max-width: 560px;
  max-height: 560px;
  border-radius: 50%;
  filter: blur(0px);
  opacity: 0.4;
  z-index: 0;
}

.container::before {
  background: radial-gradient(circle at 30% 30%, rgba(79, 108, 255, 0.55), transparent 65%);
  top: -10%;
  left: -10%;
  animation: drift 14s ease-in-out infinite;
}

.container::after {
  background: radial-gradient(circle at 70% 70%, rgba(255, 122, 89, 0.55), transparent 60%);
  bottom: -15%;
  right: -10%;
  animation: drift 16s ease-in-out infinite reverse;
}

.hero {
  width: min(560px, 100%);
  padding: 40px 36px;
  border-radius: 24px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  display: grid;
  gap: 20px;
  position: relative;
  z-index: 1;
  animation: floatIn 900ms ease-out;
}

h1 {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  letter-spacing: 0.02em;
  margin: 0;
}

.tagline {
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
  color: rgba(247, 243, 237, 0.75);
}

.accent {
  color: var(--mint);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.login-link {
  display: inline-block;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 500;
  background: linear-gradient(120deg, var(--mint), var(--cobalt));
  color: var(--ink);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  width: fit-content;
  transition: transform 200ms ease, box-shadow 200ms ease;
  box-shadow: 0 12px 30px rgba(79, 108, 255, 0.35);
}

.login-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(124, 240, 196, 0.28);
}

.login-link:focus-visible {
  outline: 3px solid var(--cream);
  outline-offset: 4px;
}

.secondary-link {
  display: inline-flex;
  align-items: center;
  padding: 12px 26px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--cream);
  border-radius: 999px;
  border: 1px solid rgba(247, 243, 237, 0.45);
  text-decoration: none;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.secondary-link:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 240, 196, 0.8);
  box-shadow: 0 12px 26px rgba(124, 240, 196, 0.2);
}

.secondary-link:focus-visible {
  outline: 3px solid var(--cream);
  outline-offset: 4px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247, 243, 237, 0.7);
}

.pill::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--ember);
  box-shadow: 0 0 12px rgba(255, 122, 89, 0.6);
}

@keyframes drift {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(24px, -18px, 0);
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 520px) {
  .hero {
    padding: 32px 24px;
  }
}
