:root {
  --bg-deep: #000000;
  --text-white: #ffffff;
  --text-bright: #f4f4f5;
  --text-dim: #d4d4d8;
  --text-muted: #71717a;
  
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background-color: var(--bg-deep);
  color: var(--text-white);
  font-family: var(--font-main);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding: env(safe-area-inset-top, 20px) env(safe-area-inset-right, 20px) env(safe-area-inset-bottom, 20px) env(safe-area-inset-left, 20px);
}

.bg-gradient-mesh {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: #000000;
}

.bg-gradient-mesh::before {
  content: '';
  position: absolute;
  top: 15%;
  left: 20%;
  width: 50vw;
  height: 50vw;
  max-width: 600px;
  max-height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(140, 140, 160, 0.05) 45%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  -webkit-filter: blur(60px);
  animation: floatOrb1 12s ease-in-out infinite alternate;
  -webkit-animation: floatOrb1 12s ease-in-out infinite alternate;
  will-change: transform;
}

.bg-gradient-mesh::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: 20%;
  width: 55vw;
  height: 55vw;
  max-width: 650px;
  max-height: 650px;
  background: radial-gradient(circle, rgba(220, 220, 255, 0.08) 0%, rgba(100, 100, 120, 0.03) 50%, transparent 75%);
  border-radius: 50%;
  filter: blur(70px);
  -webkit-filter: blur(70px);
  animation: floatOrb2 16s ease-in-out infinite alternate;
  -webkit-animation: floatOrb2 16s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes floatOrb1 {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(8vw, 10vh, 0) scale(1.15);
  }
  100% {
    transform: translate3d(-6vw, 15vh, 0) scale(0.95);
  }
}

@-webkit-keyframes floatOrb1 {
  0% {
    -webkit-transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    -webkit-transform: translate3d(8vw, 10vh, 0) scale(1.15);
  }
  100% {
    -webkit-transform: translate3d(-6vw, 15vh, 0) scale(0.95);
  }
}

@keyframes floatOrb2 {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-10vw, -12vh, 0) scale(1.2);
  }
  100% {
    transform: translate3d(7vw, -6vh, 0) scale(0.9);
  }
}

@-webkit-keyframes floatOrb2 {
  0% {
    -webkit-transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    -webkit-transform: translate3d(-10vw, -12vh, 0) scale(1.2);
  }
  100% {
    -webkit-transform: translate3d(7vw, -6vh, 0) scale(0.9);
  }
}

.bg-noise {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(circle at 50% 50%, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 40%, transparent 85%);
  opacity: 0.6;
  pointer-events: none;
  z-index: 1;
}

#sparkle-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
}

.center-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  width: 100%;
  max-width: 850px;
  margin: auto;
}

.bounce-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  animation: bounceAnim 2.2s cubic-bezier(0.28, 0.84, 0.42, 1) infinite;
  -webkit-animation: bounceAnim 2.2s cubic-bezier(0.28, 0.84, 0.42, 1) infinite;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  will-change: transform;
  position: relative;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}

@keyframes bounceAnim {
  0% {
    transform: translate3d(0, 0, 0);
  }
  40% {
    transform: translate3d(0, -36px, 0);
  }
  50% {
    transform: translate3d(0, -40px, 0);
  }
  65% {
    transform: translate3d(0, 0, 0);
  }
  75% {
    transform: translate3d(0, -10px, 0);
  }
  85% {
    transform: translate3d(0, 0, 0);
  }
  92% {
    transform: translate3d(0, -3px, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

@-webkit-keyframes bounceAnim {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
  }
  40% {
    -webkit-transform: translate3d(0, -36px, 0);
  }
  50% {
    -webkit-transform: translate3d(0, -40px, 0);
  }
  65% {
    -webkit-transform: translate3d(0, 0, 0);
  }
  75% {
    -webkit-transform: translate3d(0, -10px, 0);
  }
  85% {
    -webkit-transform: translate3d(0, 0, 0);
  }
  92% {
    -webkit-transform: translate3d(0, -3px, 0);
  }
  100% {
    -webkit-transform: translate3d(0, 0, 0);
  }
}

.bounce-shadow {
  width: 170px;
  height: 14px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
  border-radius: 50%;
  margin-top: 1.5rem;
  animation: shadowAnim 2.2s cubic-bezier(0.28, 0.84, 0.42, 1) infinite;
  -webkit-animation: shadowAnim 2.2s cubic-bezier(0.28, 0.84, 0.42, 1) infinite;
  filter: blur(4px);
  -webkit-filter: blur(4px);
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  will-change: transform, opacity;
}

@keyframes shadowAnim {
  0%, 65%, 85%, 100% {
    transform: scale(1);
    opacity: 0.95;
  }
  40%, 50% {
    transform: scale(0.55);
    opacity: 0.25;
  }
  75% {
    transform: scale(0.85);
    opacity: 0.65;
  }
}

@-webkit-keyframes shadowAnim {
  0%, 65%, 85%, 100% {
    -webkit-transform: scale(1);
    opacity: 0.95;
  }
  40%, 50% {
    -webkit-transform: scale(0.55);
    opacity: 0.25;
  }
  75% {
    -webkit-transform: scale(0.85);
    opacity: 0.65;
  }
}

.minimal-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-bright);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  transition: all 0.25s ease;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 10px #ffffff;
  animation: pulseDot 2.5s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 10px #ffffff;
  }
  50% {
    opacity: 0.6;
    transform: scale(0.85);
    box-shadow: 0 0 4px #ffffff;
  }
}

.gradient-headline {
  font-size: clamp(2.4rem, 9.5vw, 4.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  max-width: 100%;
  word-break: break-word;
  padding: 0 0.5rem;
  
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #ffffff 20%,
    #a1a1aa 45%,
    #ffffff 55%,
    #ffffff 80%,
    #a1a1aa 95%,
    #ffffff 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #ffffff;
  
  animation: shimmerFlow 5s linear infinite;
  -webkit-animation: shimmerFlow 5s linear infinite;
  filter: drop-shadow(0 2px 20px rgba(255, 255, 255, 0.2));
}

@keyframes shimmerFlow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

@-webkit-keyframes shimmerFlow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

.highlight-text {
  display: inline-block;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.6);
  text-underline-offset: 8px;
  text-shadow: 0 0 35px rgba(255, 255, 255, 0.5);
  position: relative;
}

.minimal-footer {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.mono-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: var(--text-dim);
}

.social-item {
  color: var(--text-dim);
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
}

.social-item:hover, .social-item:active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.divider {
  color: var(--text-muted);
  user-select: none;
}

.toast-box {
  position: fixed;
  bottom: 2.5rem;
  left: 50%;
  transform: translate3d(-50%, 20px, 0);
  -webkit-transform: translate3d(-50%, 20px, 0);
  background: #ffffff;
  color: #000000;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.6rem 1.4rem;
  border-radius: 9999px;
  box-shadow: 0 10px 35px rgba(255, 255, 255, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  white-space: nowrap;
}

.toast-box.show {
  opacity: 1;
  transform: translate3d(-50%, 0, 0);
  -webkit-transform: translate3d(-50%, 0, 0);
}

@media (max-width: 480px) {
  .center-container {
    padding: 1.25rem 1rem;
  }
  .gradient-headline {
    font-size: clamp(2.2rem, 11vw, 3rem);
    letter-spacing: -0.03em;
  }
  .bounce-shadow {
    width: 140px;
    margin-top: 1.25rem;
  }
  .minimal-pill {
    padding: 0.35rem 0.85rem;
    font-size: 0.78rem;
    margin-bottom: 1.25rem;
  }
  .minimal-footer {
    margin-top: 2.5rem;
  }
}
