@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  html, body {
    @apply h-full overflow-hidden;
  }
}

@layer utilities {
  @keyframes floaty {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0px); }
  }

  .floaty {
    animation: floaty 4s ease-in-out infinite;
  }
}

@layer utilities {
  .animate-fade-up {
    animation: fadeUp 0.8s cubic-bezier(0.2, 0.9, 0.3, 1) both;
  }
  .animate-fade-up-delay-1 { animation: fadeUp 0.9s 0.1s cubic-bezier(0.2, 0.9, 0.3, 1) both; }
  .animate-fade-up-delay-2 { animation: fadeUp 0.9s 0.2s cubic-bezier(0.2, 0.9, 0.3, 1) both; }
  .animate-fade-up-delay-3 { animation: fadeUp 0.9s 0.3s cubic-bezier(0.2, 0.9, 0.3, 1) both; }
  .animate-fade-up-delay-4 { animation: fadeUp 0.9s 0.4s cubic-bezier(0.2, 0.9, 0.3, 1) both; }
  .animate-fade-up-delay-5 { animation: fadeUp 0.9s 0.5s cubic-bezier(0.2, 0.9, 0.3, 1) both; }
  .animate-fade-up-delay-6 { animation: fadeUp 0.9s 0.6s cubic-bezier(0.2, 0.9, 0.3, 1) both; }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(14px) scale(0.995); }
    to   { opacity: 1; transform: none; }
  }

  @keyframes bgShift {
    0%   { transform: translateY(0)    scale(1); }
    100% { transform: translateY(-6%) scale(1.06); }
  }

  @keyframes orbPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.6; transform: scale(1.3); }
  }

  .bg-glass {
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  }
  .glow-accent {
    box-shadow: 0 6px 30px rgba(120,90,255,0.2), 0 2px 8px rgba(59,224,255,0.08);
  }
  .text-gradient {
    background: linear-gradient(90deg, #7c5cff, #3be0ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .cursor-orb {
    pointer-events: none;
    position: fixed;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124,92,255,0.12) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: left 0.05s linear, top 0.05s linear;
    z-index: 0;
  }
}