/* ===== CUSTOM STYLES FOR LIBERTYX BITCOIN ATM ===== */

/* --- Base --- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
}

/* --- Geometric Decorative Shapes --- */
.geo-shape {
    position: absolute;
    pointer-events: none;
    opacity: 0.5;
}

.geo-circle-1 {
    top: 15vh;
    left: -60px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(192, 89, 58, 0.12) 0%, transparent 70%);
    animation: float-slow 8s ease-in-out infinite;
}

.geo-square-1 {
    top: 45vh;
    right: -40px;
    width: 160px;
    height: 160px;
    background: rgba(232, 168, 76, 0.1);
    transform: rotate(45deg);
    animation: float-slow 10s ease-in-out infinite reverse;
}

.geo-triangle-1 {
    bottom: 20vh;
    left: 10%;
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(192, 89, 58, 0.07);
    animation: float-slow 12s ease-in-out infinite;
}

.geo-circle-2 {
    top: 60vh;
    right: 5%;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 168, 76, 0.15) 0%, transparent 70%);
    animation: float-slow 9s ease-in-out infinite reverse;
}

.geo-dots {
    top: 30vh;
    left: 5%;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(circle, rgba(192, 89, 58, 0.2) 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    animation: float-slow 7s ease-in-out infinite;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

/* --- Navbar --- */
#navbar {
    background: rgba(255, 252, 247, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

#navbar.scrolled {
    background: rgba(255, 252, 247, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-text {
    color: #1a1a1a;
}

/* --- Scroll Reveal --- */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

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

/* Stagger children */
.scroll-reveal:nth-child(2) { transition-delay: 0.1s; }
.scroll-reveal:nth-child(3) { transition-delay: 0.2s; }
.scroll-reveal:nth-child(4) { transition-delay: 0.3s; }

/* --- Mobile Menu --- */
.mobile-link {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mobile-link:last-child {
    border-bottom: none;
}

/* --- Section transitions --- */
section {
    position: relative;
}

/* --- Button focus styles --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #C0593A;
    outline-offset: 2px;
}

/* --- Custom scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FFFCF7;
}
::-webkit-scrollbar-thumb {
    background: #C0593A;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #A0402A;
}

/* --- Selection --- */
::selection {
    background: rgba(192, 89, 58, 0.2);
    color: #1a1a1a;
}
