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

:root {
  --bg: #050816;
  --bg2: #0d1330;
  --text: #f3f7ff;
  --muted: #b5bfdd;
  --pink: #ff4fd8;
  --cyan: #44e8ff;
  --violet: #8664ff;
  --gold: #ffd86b;
  --card: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.14);
  --shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
}

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

body {
  position: relative;
  font-family: "Inter", system-ui, sans-serif;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 79, 216, 0.12), transparent 28%),
    radial-gradient(circle at 80% 25%, rgba(68, 232, 255, 0.16), transparent 32%),
    radial-gradient(circle at 50% 80%, rgba(134, 100, 255, 0.18), transparent 34%),
    linear-gradient(135deg, var(--bg), var(--bg2));
  color: var(--text);
}

.grid,
.noise,
.aurora,
#particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.grid {
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 85%);
  opacity: 0.2;
}

.noise {
  opacity: 0.08;
  background-image:
    radial-gradient(rgba(255,255,255,0.45) 0.7px, transparent 0.8px);
  background-size: 10px 10px;
  mix-blend-mode: soft-light;
}

.aurora {
  filter: blur(70px);
  opacity: 0.45;
}

.aurora-1 {
  background: radial-gradient(circle, rgba(255,79,216,0.85) 0%, transparent 60%);
  width: 38vw;
  height: 38vw;
  top: -8vw;
  left: -10vw;
  animation: drift 12s ease-in-out infinite alternate;
}

.aurora-2 {
  background: radial-gradient(circle, rgba(68,232,255,0.9) 0%, transparent 60%);
  width: 42vw;
  height: 42vw;
  right: -10vw;
  bottom: -12vw;
  animation: drift 14s ease-in-out infinite alternate-reverse;
}

.hero {
  min-height: 100vh;
  width: min(1280px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 3rem;
  padding: 2rem 4rem;
  position: relative;
  isolation: isolate;
}

.portrait-wrap {
  position: relative;
  display: grid;
  place-items: center;
}

.portrait-orb {
  position: absolute;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,216,107,0.75), transparent 20%),
    radial-gradient(circle at 70% 40%, rgba(255,79,216,0.8), transparent 25%),
    radial-gradient(circle at 40% 70%, rgba(68,232,255,0.75), transparent 25%),
    rgba(255,255,255,0.06);
  filter: blur(16px);
  animation: pulseOrb 6s ease-in-out infinite;
}

.portrait-card {
  position: relative;
  width: min(34rem, 100%);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border-radius: 2rem;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  overflow: visible;
  transform-style: preserve-3d;
}

.portrait-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,79,216,0.8), rgba(68,232,255,0.8), rgba(255,216,107,0.8));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.9;
}

.portrait {
  width: 94%;
  max-width: 560px;
  object-fit: contain;
  filter: drop-shadow(0 25px 40px rgba(0, 0, 0, 0.5));
  transform: translateY(8px);
  animation: floatPortrait 5.5s ease-in-out infinite;
  user-select: none;
  -webkit-user-drag: none;
}

.headline-wrap {
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--muted);
  letter-spacing: 0.4em;
  font-size: 0.86rem;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.2s;
}

.headline {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-family: "Space Grotesk", sans-serif;
  line-height: 0.95;
}

.line {
  display: inline-block;
  overflow: hidden;
  padding-block: 0.12em;
}

.line .text-shift,
.line .gradient-text {
  display: inline-block;
  transform: translateY(115%);
  animation: revealUp 1s cubic-bezier(.2,.8,.2,1) forwards;
}

.line.subtitle .gradient-text {
  animation-delay: 0.16s;
}

.text-shift {
  font-size: clamp(3rem, 8vw, 6.8rem);
  font-weight: 800;
  color: #ffffff;
  text-shadow:
    0 0 12px rgba(255,255,255,0.14),
    0 0 30px rgba(255,79,216,0.12);
}

.gradient-text {
  font-size: clamp(1.7rem, 4vw, 4.4rem);
  font-weight: 700;
  background: linear-gradient(90deg, var(--pink), var(--gold), var(--cyan), var(--violet), var(--pink));
  background-size: 300% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 28px rgba(68,232,255,0.22);
  animation:
    revealUp 1s cubic-bezier(.2,.8,.2,1) forwards 0.16s,
    shimmer 7s linear infinite;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.55s;
}

.chips span,
.floating-badge {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(12px);
  color: #eef3ff;
  box-shadow: 0 12px 28px rgba(0,0,0,0.26);
}

.chips span {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  font-size: 0.95rem;
}

.floating-badge {
  position: absolute;
  border-radius: 999px;
  padding: 0.78rem 1rem;
  font-size: 0.86rem;
  text-transform: lowercase;
  letter-spacing: 0.08em;
  animation: bob 4s ease-in-out infinite;
}

.badge-top {
  top: 9%;
  left: -2rem;
}

.badge-bottom {
  right: -2rem;
  bottom: 12%;
  animation-delay: 1.4s;
}

.glow-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  z-index: -1;
}

.ring-1 {
  width: 38rem;
  height: 38rem;
  left: -8rem;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 60px rgba(68,232,255,0.08) inset;
  animation: spinSlow 22s linear infinite;
}

.ring-2 {
  width: 24rem;
  height: 24rem;
  left: 2rem;
  top: 55%;
  transform: translateY(-50%);
  box-shadow: 0 0 60px rgba(255,79,216,0.08) inset;
  animation: spinSlow 15s linear infinite reverse;
}

@keyframes revealUp {
  to { transform: translateY(0%); }
}

@keyframes shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 300% center; }
}

@keyframes pulseOrb {
  0%, 100% { transform: scale(0.96); filter: blur(16px); }
  50% { transform: scale(1.06); filter: blur(22px); }
}

@keyframes floatPortrait {
  0%, 100% { transform: translateY(8px) rotate(-0.6deg); }
  50% { transform: translateY(-12px) rotate(0.8deg); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bob {
  0%, 100% { transform: translateY(0px) translateX(0px); }
  50% { transform: translateY(-10px) translateX(5px); }
}

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

@keyframes spinSlow {
  from { transform: translateY(-50%) rotate(0turn); }
  to { transform: translateY(-50%) rotate(1turn); }
}

@media (max-width: 980px) {
  body {
    overflow: auto;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
    padding: 2rem 1.25rem 3rem;
  }

  .portrait-card {
    width: min(24rem, 100%);
  }

  .portrait-orb {
    width: 19rem;
    height: 19rem;
  }

  .headline {
    align-items: center;
  }

  .chips {
    justify-content: center;
  }

  .badge-top {
    top: 5%;
    left: 0;
  }

  .badge-bottom {
    right: 0;
    bottom: 8%;
  }

  .ring-1,
  .ring-2 {
    display: none;
  }
}

@media (max-width: 560px) {
  .text-shift {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  .gradient-text {
    font-size: clamp(1.4rem, 7vw, 2rem);
  }

  .chips span,
  .floating-badge {
    font-size: 0.78rem;
  }

  .floating-badge {
    padding: 0.7rem 0.85rem;
  }
}
