:root {
  color-scheme: dark;
  --bg: #08080a;
  --fg: #f5f5f3;
  --muted: #8f8f98;
  --accent: #b9a4ff;
  --accent-2: #6ee7c9;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  margin: 0;
  height: 100vh;
  height: 100dvh;
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* soft ambient glows */
.glow {
  position: absolute;
  width: 60vmax;
  height: 60vmax;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
}

.glow-a {
  background: radial-gradient(circle, var(--accent), transparent 70%);
  top: -20vmax;
  left: -15vmax;
  animation: drift-a 22s ease-in-out infinite alternate;
}

.glow-b {
  background: radial-gradient(circle, var(--accent-2), transparent 70%);
  bottom: -25vmax;
  right: -15vmax;
  animation: drift-b 26s ease-in-out infinite alternate;
}

@keyframes drift-a {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(4vmax, 3vmax) scale(1.08); }
}

@keyframes drift-b {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-3vmax, -4vmax) scale(1.1); }
}

/* subtle grain so the gradients don't look flat */
.grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

main {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem 2rem;
  min-height: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  margin-bottom: 1.75rem;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 8px var(--accent-2);
  animation: pulse 1.8s ease-in-out infinite;
}

.logo-icon {
  width: clamp(72px, min(28vw, 26vh), 240px);
  height: clamp(72px, min(28vw, 26vh), 240px);
  margin-bottom: -0.75rem;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

h1 {
  font-family: "Comfortaa", "Inter", -apple-system, sans-serif;
  font-size: clamp(2.4rem, min(13vw, 12vh), 7rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 0.75rem;
  color: var(--fg);
}

.tagline {
  color: var(--fg);
  font-size: 1.15rem;
  font-weight: 500;
  margin: 0 0 0.4rem;
}

.subtagline {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 400;
  margin: 0 0 2.25rem;
}

.contact {
  color: var(--fg);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding-bottom: 3px;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  transition: background-size 0.25s ease, color 0.25s ease;
}

.contact:hover {
  background-size: 100% 1px;
  color: var(--accent);
}

footer {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
  opacity: 0.6;
  padding: 1rem 1rem 1.5rem;
}

@media (prefers-reduced-motion: reduce) {
  .glow, .dot {
    animation: none;
  }
}
