/* LibertyX Bitcoin ATM — Custom Styles */

/* Base reset & typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #5c3a2a;
    background-color: #fefdf8;
    overflow-x: hidden;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf9ed;
}
::-webkit-scrollbar-thumb {
    background: #f2bba5;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #e8916e;
}

/* Selection color */
::selection {
    background: #f2bba5;
    color: #5c3a2a;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #d45224;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Ensure all text has sufficient contrast */
.text-\[\#5c3a2a\] { color: #5c3a2a; }
.text-\[\#8b6050\] { color: #8b6050; }

/* Smooth image loading */
img {
    display: block;
    max-width: 100%;
}

/* Reduce motion preference */
@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; }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Print styles */
@media print {
    nav, .btn-primary, #mobile-menu-btn { display: none; }
    body { background: white; color: black; }
    section { padding: 20px 0; }
}
