:root {
  color-scheme: dark;
  --bg: #0b0d12;
  --bg-deep: #050608;
  --text: #f5f2ec;
  --muted: rgba(245, 242, 236, 0.6);
  --orange-1: #ff7b33;
  --orange-2: #ffb347;
  --cyan-1: #36d7ff;
  --cyan-2: #7ae6ff;
  --card: rgba(255, 255, 255, 0.06);
  --card-border: rgba(255, 255, 255, 0.18);
  --shadow: 0 20px 80px rgba(5, 6, 8, 0.6);
}

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

body {
  margin: 0;
  min-height: 200vh;
  font-family: "Space Grotesk", system-ui, sans-serif;
  background: radial-gradient(circle at 15% 15%, #1a2030 0%, transparent 45%),
    radial-gradient(circle at 85% 10%, rgba(255, 179, 71, 0.18), transparent 50%),
    radial-gradient(circle at 10% 85%, rgba(54, 215, 255, 0.2), transparent 50%),
    linear-gradient(160deg, #0a0c11 0%, #0c0f18 45%, #050608 100%);
  color: var(--text);
  overflow-x: hidden;
}

.page {
  position: relative;
  min-height: 200vh;
}

.hero {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  z-index: 3;
}

.hero__inner {
  text-align: center;
  transform-origin: center;
  will-change: transform;
}

.hero__title {
  margin: 0;
  font-family: "Space Grotesk", "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(2.4rem, 7vw, 6.2rem);
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--text);
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

.hero__tagline {
  margin: 1rem 0 0;
  font-size: clamp(1rem, 2vw, 1.4rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  transition: opacity 0.3s ease;
}

.cards {
  position: fixed;
  inset: 0;
  display: flex;
  gap: clamp(1.2rem, 4vw, 3rem);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(60px);
  pointer-events: none;
  z-index: 2;
  padding: 0 6vw;
}

.card {
  display: grid;
  align-items: center;
  justify-items: center;
  gap: 1rem;
  width: clamp(200px, 32vw, 320px);
  padding: 2.4rem 2.8rem;
  border-radius: 28px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  color: var(--text);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  transform: translateY(0);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  pointer-events: auto;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 55%);
  opacity: 0.8;
  mix-blend-mode: screen;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 80px rgba(54, 215, 255, 0.2),
    0 0 10px rgba(255, 123, 51, 0.2),
    0 0 10px rgba(5, 6, 8, 0.7);
}

.card img {
  width: min(220px, 78%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 25px rgba(0, 0, 0, 0.35));
}

.blob {
  position: fixed;
  width: clamp(260px, 40vw, 520px);
  height: clamp(260px, 40vw, 520px);
  border-radius: 60% 40% 45% 55% / 55% 60% 40% 45%;
  filter: blur(18px);
  opacity: 0.7;
  z-index: 1;
  will-change: transform, border-radius;
  transition: background 1s ease;
}

.blob--orange {
  top: -10%;
  right: -8%;
  background: radial-gradient(circle at 40% 40%, rgba(255, 200, 150, 0.7), rgba(255, 123, 51, 0.4), transparent 1%);
  animation: blob-color 12s ease-in-out infinite;
}

.blob--cyan {
  bottom: -10%;
  left: -8%;
  background: radial-gradient(circle at 60% 40%, rgba(180, 245, 255, 0.7), rgba(54, 215, 255, 0.4), transparent 1%);
  animation: blob-color 14s ease-in-out infinite reverse;
}

@keyframes blob-color {
  0% {
    filter: blur(18px) saturate(1);
  }
  50% {
    filter: blur(22px) saturate(1.2);
  }
  100% {
    filter: blur(18px) saturate(1);
  }
}

.page[data-invert="true"] .blob--orange {
  background: radial-gradient(circle at 40% 40%, rgba(180, 245, 255, 0.7), rgba(54, 215, 255, 0.4), transparent 1%);
}

.page[data-invert="true"] .blob--cyan {
  background: radial-gradient(circle at 60% 40%, rgba(255, 200, 150, 0.7), rgba(255, 123, 51, 0.4), transparent 1%);
}

@media (max-width: 720px) {
  .cards {
    flex-direction: column;
  }

  .card {
    width: min(320px, 84vw);
  }

  .card img {
    width: min(200px, 70%);
  }
}
