/* Gold Scanner Landing Page — Custom Styles */

html {
    scroll-behavior: smooth;
}

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

a,
button {
    transition: all 0.2s ease;
}

a[href*="apps.apple.com"]:hover {
    transform: scale(1.05);
    opacity: 0.95;
}

footer a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #D4AF37;
    transition: width 0.3s ease;
}

footer a {
    position: relative;
    display: inline-block;
}

footer a:hover::after {
    width: 100%;
}

.overflow-hidden img {
    transition: transform 0.3s ease;
}

.overflow-hidden:hover img {
    transform: scale(1.05);
}

a:focus,
button:focus {
    outline: 2px solid #D4AF37;
    outline-offset: 2px;
}

@media (max-width: 640px) {
    h1 {
        font-size: 2.5rem;
        line-height: 1.1;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

::-webkit-scrollbar {
    width: 10px;
}

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

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

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