/* Custom Styles for LibertyX Bitcoin ATM */

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0d0d0d;
    color: #e5e5e5;
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

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

::-webkit-scrollbar-track {
    background: #0d0d0d;
}

::-webkit-scrollbar-thumb {
    background: #C0A080;
    border-radius: 4px;
}

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

/* Selection Color */
::selection {
    background: #C0A080;
    color: #0d0d0d;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Reveal Animations - Progressive Enhancement */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-up {
        animation: fadeInUp 0.8s ease-out forwards;
    }
    
    .reveal-left {
        animation: fadeInLeft 0.8s ease-out forwards;
    }
    
    .reveal-right {
        animation: fadeInRight 0.8s ease-out forwards;
    }
}

/* Navbar Styles */
#navbar {
    background: transparent;
    transition: background 0.5s ease, padding 0.5s ease, box-shadow 0.5s ease;
}

#navbar.scrolled {
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* Button Hover Effects */
button, a {
    cursor: pointer;
}

/* Image Optimization */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Focus Styles */
a:focus, button:focus {
    outline: 2px solid #C0A080;
    outline-offset: 2px;
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: opacity 0.3s ease, pointer-events 0.3s ease;
}

#mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu:not(.active) {
    opacity: 0;
    pointer-events: none;
}

/* Luxury Gold Gradient Text */
.text-gradient-gold {
    background: linear-gradient(135deg, #C0A080 0%, #D4AF37 50%, #C0A080 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass Morphism */
.glass {
    background: rgba(22, 22, 22, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(192, 160, 128, 0.1);
}

/* Glow Effects */
.glow-gold {
    box-shadow: 0 0 30px rgba(192, 160, 128, 0.3);
}

.glow-burgundy {
    box-shadow: 0 0 30px rgba(144, 12, 63, 0.3);
}

/* Decorative Lines */
.deco-line {
    position: relative;
}

.deco-line::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #C0A080, transparent);
}

/* Responsive Typography */
@media (max-width: 768px) {
    .font-serif {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }
}

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Print Styles */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .no-print {
        display: none;
    }
}
