/* ============================================
   LibertyX Bitcoin ATM — Custom Styles
   ============================================ */

/* Reset & base */
*, *::before, *::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background-color: #0f172a;
  color: #ffffff;
}

/* ============================================
   GEOMETRIC SHAPES — Hero
   ============================================ */

.geo-shape {
  position: absolute;
  pointer-events: none;
}

.geo-circle-1 {
  width: 600px;
  height: 600px;
  border: 1px solid rgba(20, 184, 166, 0.12);
  border-radius: 50%;
  top: -100px;
  right: -150px;
  animation: float-slow 20s ease-in-out infinite;
}

.geo-circle-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.08), transparent 70%);
  border-radius: 50%;
  bottom: 10%;
  left: -50px;
  animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-square-1 {
  width: 120px;
  height: 120px;
  border: 1px solid rgba(20, 184, 166, 0.15);
  top: 25%;
  left: 8%;
  transform: rotate(45deg);
  animation: float-slow 12s ease-in-out infinite;
}

.geo-square-2 {
  width: 80px;
  height: 80px;
  background: rgba(20, 184, 166, 0.06);
  border: 1px solid rgba(20, 184, 166, 0.1);
  bottom: 20%;
  right: 12%;
  transform: rotate(20deg);
  animation: float-slow 18s ease-in-out infinite reverse;
}

.geo-triangle-1 {
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 87px solid rgba(20, 184, 166, 0.06);
  top: 40%;
  right: 5%;
  animation: float-slow 16s ease-in-out infinite;
}

.geo-dots {
  width: 200px;
  height: 200px;
  top: 15%;
  left: 15%;
  background-image: radial-gradient(circle, rgba(20, 184, 166, 0.2) 1px, transparent 1px);
  background-size: 20px 20px;
  animation: float-slow 22s ease-in-out infinite reverse;
}

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

.geo-square-1 { --rotation: 45deg; }
.geo-square-2 { --rotation: 20deg; }

/* ============================================
   SCROLL REVEAL ANIMATIONS
   (progressive enhancement — content visible
    by default, animated via JS only)
   ============================================ */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

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

/* ============================================
   NAVBAR
   ============================================ */

#navbar {
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

#navbar.scrolled {
  background-color: rgba(15, 23, 42, 0.95);
  backdrop-filter: saturate(180%) blur(20px);
}

/* ============================================
   MOBILE MENU
   ============================================ */

.mobile-link {
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

/* ============================================
   BUTTON HOVER EFFECTS
   ============================================ */

a {
  text-decoration: none;
}

/* ============================================
   IMAGE OVERLAYS
   ============================================ */

img {
  max-width: 100%;
  height: auto;
}

/* ============================================
   SELECTION
   ============================================ */

::selection {
  background-color: rgba(20, 184, 166, 0.3);
  color: #ffffff;
}

/* ============================================
   SCROLLBAR
   ============================================ */

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

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

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

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

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .geo-circle-1 {
    width: 300px;
    height: 300px;
    right: -100px;
  }

  .geo-circle-2 {
    width: 150px;
    height: 150px;
  }

  .geo-square-1 {
    width: 60px;
    height: 60px;
  }

  .geo-square-2 {
    width: 40px;
    height: 40px;
  }

  .geo-triangle-1 {
    border-left-width: 30px;
    border-right-width: 30px;
    border-bottom-width: 52px;
  }

  .geo-dots {
    width: 100px;
    height: 100px;
    background-size: 14px 14px;
  }
}
