/* Premium dark luxury styles for LibertyX Bitcoin ATM */

/* Custom animations */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.shimmer {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(214, 172, 82, 0.1) 50%, 
        transparent 100%);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}

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

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d6ac52, #c4933f);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #e2c578, #d6ac52);
}

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid #d6ac52;
    outline-offset: 2px;
}

/* Mobile menu animations */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button hover effects */
.btn-primary,
.btn-secondary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary::before,
.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before,
.btn-secondary:hover::before {
    left: 100%;
}

/* Card hover effects */
.card-glow {
    transition: all 0.3s ease;
}

.card-glow:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(214, 172, 82, 0.15);
}

/* Text selection color */
::selection {
    background: rgba(214, 172, 82, 0.3);
    color: #fdfbf7;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .card-glow {
        border: 2px solid #d6ac52;
    }
    
    .btn-primary,
    .btn-secondary {
        border-width: 3px;
    }
}

/* Print styles */
@media print {
    body {
        background: white !important;
        color: black !important;
    }
    
    .card-glow,
    .btn-primary,
    .btn-secondary {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }
}
