/* Custom styles for Pair-O-Dice */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Floating animation for hero cards */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

@keyframes float-delayed {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

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

.animate-float-delayed {
    animation: float-delayed 3.5s ease-in-out infinite;
    animation-delay: 0.5s;
}

/* Navbar scroll effect */
nav.scrolled {
    background: rgba(253, 244, 248, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(131, 20, 67, 0.08);
}

/* Service card hover - text color transitions handled by group */
.service-card h3 {
    transition: color 0.3s ease;
}

.service-card p {
    transition: color 0.3s ease;
}

/* Scroll reveal base state - content is always visible */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Only apply animation when JS is active and user prefers motion */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf4f8;
}
::-webkit-scrollbar-thumb {
    background: #db2777;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #be185d;
}

/* Selection color */
::selection {
    background: #fbbf24;
    color: #500724;
}
