/* App-specific styles extracted from index.html for easier maintenance.
   These styles are plain CSS (no Tailwind @apply) so they work without a build step. */

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

.animate-float {
  animation: floaty 6s ease-in-out infinite;
}

.animate-float-slow {
  animation: floaty 9s ease-in-out infinite;
}

.glass-nav {
  backdrop-filter: blur(16px);
  background:
    linear-gradient(180deg, rgba(255, 247, 237, 0.80), rgba(255, 247, 237, 0.55));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    0 18px 40px -28px rgba(11, 16, 32, 0.35);
}

.dark .glass-nav {
  background:
    linear-gradient(180deg, rgba(7, 10, 18, 0.78), rgba(7, 10, 18, 0.55));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 18px 45px -28px rgba(0, 0, 0, 0.55);
}

.smile-curve {
  border-bottom: 3px solid #f97316;
  border-radius: 0 0 50% 50%;
  width: 24px;
  height: 8px;
  position: absolute;
  bottom: 4px;
}

.hero-aurora {
  background:
    radial-gradient(60rem 38rem at 12% 10%, rgba(255, 45, 149, 0.22), transparent 60%),
    radial-gradient(55rem 40rem at 90% 18%, rgba(0, 211, 167, 0.18), transparent 58%),
    radial-gradient(50rem 38rem at 60% 92%, rgba(255, 209, 102, 0.22), transparent 62%),
    repeating-linear-gradient(
      90deg,
      rgba(11, 16, 32, 0.04) 0,
      rgba(11, 16, 32, 0.04) 1px,
      transparent 1px,
      transparent 18px
    ),
    linear-gradient(180deg, rgba(255, 247, 237, 0.00) 0%, rgba(255, 247, 237, 0.75) 100%);
}

.dark .hero-aurora {
  background:
    radial-gradient(60rem 38rem at 12% 10%, rgba(255, 45, 149, 0.18), transparent 60%),
    radial-gradient(55rem 40rem at 90% 18%, rgba(0, 211, 167, 0.12), transparent 58%),
    radial-gradient(50rem 38rem at 60% 92%, rgba(255, 209, 102, 0.12), transparent 62%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.05) 0,
      rgba(255, 255, 255, 0.05) 1px,
      transparent 1px,
      transparent 18px
    ),
    linear-gradient(180deg, rgba(7, 10, 18, 0.00) 0%, rgba(7, 10, 18, 0.78) 100%);
}

.sg-page-bg {
  /* City-night neon + warm street-food paper */
  background:
    radial-gradient(55rem 40rem at 15% 0%, rgba(255, 45, 149, 0.12), transparent 60%),
    radial-gradient(55rem 40rem at 95% 10%, rgba(0, 211, 167, 0.10), transparent 60%),
    radial-gradient(60rem 45rem at 55% 95%, rgba(255, 209, 102, 0.12), transparent 62%),
    repeating-linear-gradient(
      0deg,
      rgba(11, 16, 32, 0.035) 0,
      rgba(11, 16, 32, 0.035) 1px,
      transparent 1px,
      transparent 22px
    );
  opacity: 1;
}

.dark .sg-page-bg {
  background:
    radial-gradient(55rem 40rem at 15% 0%, rgba(255, 45, 149, 0.10), transparent 62%),
    radial-gradient(55rem 40rem at 95% 10%, rgba(0, 211, 167, 0.08), transparent 62%),
    radial-gradient(60rem 45rem at 55% 95%, rgba(255, 209, 102, 0.08), transparent 64%),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.04) 0,
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px,
      transparent 22px
    );
}

/* Accessible focus ring helper (replaces Tailwind @apply-based helper). */
.ring-focus:focus-visible {
  outline: 2px solid rgba(255, 45, 149, 0.75);
  outline-offset: 2px;
}

.sg-sticker {
  transform: rotate(-2deg);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 18px 40px -28px rgba(11, 16, 32, 0.45);
}

.sg-neon-text {
  text-shadow:
    0 0 18px rgba(255, 45, 149, 0.35),
    0 0 28px rgba(0, 211, 167, 0.22);
}

/* Reduce motion if the user prefers it. */
@media (prefers-reduced-motion: reduce) {
  .animate-float,
  .animate-float-slow {
    animation: none !important;
  }

  .sg-wave-word {
    animation: none !important;
  }

  .sg-type::after {
    animation: none !important;
  }
}

.sg-wave-word {
  display: inline-block;
  animation: sg-wave 2.8s ease-in-out infinite;
}

@keyframes sg-wave {
  0%,
  100% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-7px);
  }
  75% {
    transform: translateY(5px);
  }
}

.sg-wave-word:nth-of-type(2) {
  animation-delay: 0.08s;
}
.sg-wave-word:nth-of-type(3) {
  animation-delay: 0.16s;
}
.sg-wave-word:nth-of-type(4) {
  animation-delay: 0.24s;
}
.sg-wave-word:nth-of-type(5) {
  animation-delay: 0.32s;
}
.sg-wave-word:nth-of-type(6) {
  animation-delay: 0.40s;
}
.sg-wave-word:nth-of-type(7) {
  animation-delay: 0.48s;
}
.sg-wave-word:nth-of-type(8) {
  animation-delay: 0.56s;
}

/* Inline SVG logo polish */
.sg-logo {
  filter: drop-shadow(0 10px 20px rgba(255, 45, 149, 0.22));
}

.dark .sg-logo {
  filter: drop-shadow(0 12px 26px rgba(0, 211, 167, 0.18));
}

/* Typing/rotating hero text */
.sg-type {
  font-weight: 900;
  color: #ff2d95;
  white-space: nowrap;
}

.dark .sg-type {
  color: #00d3a7;
}

.sg-type::after {
  content: "";
  display: inline-block;
  height: 1em;
  border-right: 3px solid currentColor;
  margin-left: 6px;
  transform: translateY(2px);
  animation: sg-caret 0.9s steps(1) infinite;
  opacity: 0.9;
}

@keyframes sg-caret {
  50% {
    opacity: 0;
  }
}


