/* Custom Styles for LibertyX Bitcoin ATM */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: #fbbf24;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #fcd34d;
}

/* Reveal animations - progressive enhancement */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll effect */
#navbar.scrolled {
    background: rgba(80, 7, 36, 0.95);
    backdrop-blur-lg;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Button hover effects */
a {
    transition: all 0.2s ease;
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Geometric shape animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes float-delayed {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(-5deg); }
}

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

.geometric-float-delayed {
    animation: float-delayed 8s ease-in-out infinite;
}

/* Pulse animation for status indicators */
@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

.animate-pulse-ring::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid currentColor;
    animation: pulse-ring 1.5s ease-out infinite;
}

/* Card hover lift effect */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(80, 7, 36, 0.15);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #fbbf24, #fcd34d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Ensure all text is readable */
.text-white {
    color: #ffffff;
}

.text-white\/90 {
    color: rgba(255, 255, 255, 0.9);
}

.text-white\/70 {
    color: rgba(255, 255, 255, 0.7);
}

.text-white\/60 {
    color: rgba(255, 255, 255, 0.6);
}

.text-white\/50 {
    color: rgba(255, 255, 255, 0.5);
}

/* Amber text on dark backgrounds */
.text-amber-400 {
    color: #fbbf24;
}

.text-amber-300 {
    color: #fde68a;
}

.text-amber-800 {
    color: #92400e;
}

/* Plum text */
.text-plum-950 {
    color: #340417;
}

.text-plum-700 {
    color: #9d174d;
}

.text-plum-600 {
    color: #be185d;
}

/* Gray text on light backgrounds */
.text-gray-600 {
    color: #4b5563;
}

.text-gray-500 {
    color: #6b7280;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-display.text-5xl {
        font-size: 2.5rem;
    }
    
    .font-display.text-4xl {
        font-size: 2rem;
    }
}

/* Print styles */
@media print {
    #navbar,
    #mobile-menu,
    .geometric-float,
    .geometric-float-delayed {
        display: none !important;
    }
}
