:root {
  --bg: #05060a;
  --bg-2: #0a0f1e;
  --gold: #c9a961;
  --gold-soft: #e8c170;
  --gold-bright: #ffd98a;
  --cyan: #4fc3f7;
  --cyan-bright: #00e5ff;
  --text: #e8ecf2;
  --text-dim: #8a93a6;
  --glass-bg: rgba(18, 24, 40, 0.35);
  --glass-border: rgba(79, 195, 247, 0.25);
  --glass-inner: rgba(201, 169, 97, 0.08);
}

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

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

body {
  background:
    radial-gradient(ellipse at 50% 35%, rgba(16, 24, 48, 0.9), transparent 70%),
    radial-gradient(ellipse at 50% 50%, var(--bg-2), var(--bg) 70%);
  color: var(--text);
  font-family: "Geist", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.55;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

canvas#starfield,
canvas#orb {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  display: block;
  pointer-events: none;
}

canvas#starfield {
  z-index: 0;
  opacity: 0.9;
}

canvas#orb {
  z-index: 1;
  mix-blend-mode: screen;
}

.hero {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  min-height: 100dvh;
  padding: 1.5rem;
}

.glass {
  position: relative;
  max-width: min(720px, 92vw);
  padding: clamp(2rem, 5.5vw, 3.5rem) clamp(1.5rem, 4.5vw, 3rem);
  background: var(--glass-bg);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  text-align: center;
  box-shadow:
    0 0 80px rgba(79, 195, 247, 0.1),
    0 0 0 1px var(--glass-inner) inset,
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 30px 80px -40px rgba(0, 0, 0, 0.8);
  animation: cardRise 1.4s cubic-bezier(0.2, 0.7, 0.1, 1) both;
}

.glass::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(201, 169, 97, 0.4),
    rgba(79, 195, 247, 0.05) 30%,
    transparent 55%,
    rgba(79, 195, 247, 0.35) 85%,
    rgba(201, 169, 97, 0.2)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.65;
}

.eyebrow {
  margin: 0 0 1.5rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--cyan);
  opacity: 0.75;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan));
  vertical-align: middle;
  margin: 0 0.8rem;
  opacity: 0.6;
}

.eyebrow::after {
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.wordmark {
  margin: 0;
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  font-family: "Cinzel", "Times New Roman", serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: clamp(1.6rem, 5vw, 2.85rem);
  line-height: 1.05;
  color: var(--gold-soft);
  background: linear-gradient(
    180deg,
    var(--gold-bright) 0%,
    var(--gold-soft) 45%,
    var(--gold) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 28px rgba(79, 195, 247, 0.18);
  filter: drop-shadow(0 2px 14px rgba(79, 195, 247, 0.14));
  animation: shimmer 14s ease-in-out infinite;
}

.tagline {
  margin: 1.1rem 0 0;
  font-family: "Geist", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--cyan);
  opacity: 0.88;
}

.subtext {
  margin: 2rem 0 0;
  font-size: 0.98rem;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.75;
}

@keyframes cardRise {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@keyframes shimmer {
  0%,
  100% {
    text-shadow:
      0 0 28px rgba(79, 195, 247, 0.18),
      0 0 0 rgba(201, 169, 97, 0);
  }
  50% {
    text-shadow:
      0 0 44px rgba(79, 195, 247, 0.32),
      0 0 22px rgba(201, 169, 97, 0.18);
  }
}

@media (max-width: 480px) {
  .glass {
    border-radius: 20px;
  }
  .eyebrow::before,
  .eyebrow::after {
    width: 1.2rem;
    margin: 0 0.5rem;
  }
  .subtext {
    font-size: 0.92rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .glass {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
