/* ========================================
   Imprizza Landing Page - Custom Styles
   ======================================== */

/* Radial gradient background overlay */
.bg-radial-gradient {
    background: radial-gradient(ellipse at 50% 50%, rgba(251, 191, 36, 0.06) 0%, transparent 70%);
}

/* Smooth scroll offset for fixed nav */
html {
    scroll-padding-top: 80px;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    background: rgba(251, 191, 36, 0.3);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(251, 191, 36, 0.5);
}

/* Fade-in animations for hero */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes bounceFade {
  0%, 100% {
        opacity: 0.4;
        transform: translateY(0);
    }
  50% {
        opacity: 1;
        transform: translateY(6px);
    }
}

@keyframes particleFloat {
  0% {
        transform: translateY(100vh) translateX(0px) scale(0);
        opacity: 0;
    }
  10% {
        opacity: 1;
        transform: translateY(90vh) translateX(10px) scale(1);
    }
  90% {
        opacity: 0.5;
    }
  100% {
        transform: translateY(-10vh) translateX(var(--drift)) scale(0.5);
        opacity: 0;
    }
}

.fade-in-down {
    animation: fadeInDown 0.8s ease-out forwards;
    opacity: 0;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.fade-in-up-delay-1 {
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.fade-in-up-delay-2 {
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

.fade-in-up-delay-3 {
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
    opacity: 0;
}

.animate-bounce-fade {
    animation: bounceFade 2s ease-in-out infinite;
}

/* Floating animation for dashboard widgets */
@keyframes floatWidget {
  0%, 100% {
        transform: translateY(0px);
    }
  50% {
        transform: translateY(-8px);
    }
}

.group:hover .opacity-0 {
    animation: floatWidget 3s ease-in-out infinite;
}

/* Scroll reveal */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered reveal for scroll items */
.scroll-reveal:nth-child(2) {
    transition-delay: 0.15s;
}

/* Particle styles */
.particle {
    position: fixed;
    width: 2px;
    height: 2px;
    background: rgba(251, 191, 36, 0.6);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: particleFloat linear infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .text-7xl, .text-8xl {
        font-size: 3rem;
    }

    .text-5xl {
        font-size: 2.25rem;
    }

    .grid {
        gap: 1.5rem !important;
    }
}

/* Selection styling */
::selection {
    background: rgba(251, 191, 36, 0.3);
    color: white;
}
