/* ==========================================================================
   OCHOMILES.CL - Minimalist Luxury Editorial Styles (Hunter Moss Inspired)
   ========================================================================== */

/* Custom Minimalist Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #0A0D12;
}
::-webkit-scrollbar-thumb {
  background: #1F2636;
}
::-webkit-scrollbar-thumb:hover {
  background: #8E9BAE;
}

/* Base Typography & Selection */
body {
  letter-spacing: -0.01em;
}

::selection {
  background-color: #FFFFFF;
  color: #000000;
}

/* Editorial Mountain Card */
.mountain-card {
  transition: border-color 0.3s ease, transform 0.3s ease;
  background-color: #0A0D12;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mountain-card:hover {
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

/* Subtle Badges */
.badge-himalaya, .badge-karakorum, .badge-summit {
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Modal Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleUp {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.animate-fade-in {
  animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-scale-up {
  animation: scaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Minimal Line Link Underline Animation */
.link-editorial {
  position: relative;
  display: inline-block;
}
.link-editorial::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}
.link-editorial:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
