/* Custom styles for LibertyX Bitcoin ATM */

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hero gradient animation */
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-gradient {
    background: linear-gradient(135deg, #400816 0%, #70152e 50%, #a61635 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf4f6;
}
::-webkit-scrollbar-thumb {
    background: #a61635;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #871432;
}

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

/* Mobile menu transition */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
#mobile-menu.open {
    max-height: 300px;
}

/* Subtle card hover lift */
.group:hover {
    transform: translateY(-2px);
}
.group {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-gradient { animation: none; }
    .group { transition: none; }
}
