/* ===========================================
   Futbeats × Haus · Drop 01 DUAS RUAS
   Custom styles + animations
   =========================================== */

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

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Display typography — letterspacing tight */
.font-display,
h1, h2, h3 {
  letter-spacing: -0.02em;
}

/* ===========================================
   Reveal on scroll
   =========================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
  animation: reveal-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes reveal-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===========================================
   Sticky WhatsApp fade-in
   =========================================== */
#sticky-wa {
  transform: translateY(20px);
}

#sticky-wa.visible {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateY(0);
  animation: sticky-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes sticky-pop {
  0%   { opacity: 0; transform: translateY(20px) scale(0.85); }
  60%  { opacity: 1; transform: translateY(-4px) scale(1.04); }
  100% { opacity: 1; transform: translateY(0)    scale(1);    }
}

/* ===========================================
   FAQ accordion polish
   =========================================== */
details > summary {
  list-style: none;
}
details > summary::-webkit-details-marker {
  display: none;
}
details[open] > summary {
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* ===========================================
   Image hover smoothness
   =========================================== */
img {
  -webkit-user-drag: none;
  user-select: none;
}

/* ===========================================
   Selection color
   =========================================== */
::selection {
  background: #00E0FF;
  color: #000;
}

/* ===========================================
   Reduced motion
   =========================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ===========================================
   Tiny mobile polish (< 375px)
   =========================================== */
@media (max-width: 374px) {
  h1 {
    font-size: 4rem !important;
    line-height: 0.85 !important;
  }
}
