@tailwind base;
@tailwind components;
@tailwind utilities;

/*

@layer components {
  .btn-primary {
    @apply py-2 px-4 bg-blue-200;
  }
}

*/

@layer base {
  html,
  :host {
    -webkit-tap-highlight-color: revert;
    overflow-x: clip;
  }
}

.tirar-setinha-dupla select {
  @apply bg-none
}

.scrollbar-none {
  scrollbar-width: none;
}
.scrollbar-none::-webkit-scrollbar {
  display: none;
}

.scrollbar-thin {
  scrollbar-width: thin;
}

@keyframes blink-once {
  0%,100% { opacity: 0; }
  50% { opacity: 1; }
}

.opacity-success-message .clipboard-message {
  animation: blink-once 2s both;
}

@keyframes slide-up-then-down {
  0%,100% { transform: translateY(70px); opacity: 0; }
  5%,95% { transform: translateY(0); opacity: 1; }
}

.slide-success-message .slide-success-trigger {
  animation: slide-up-then-down 2.5s both;
}

.loja-popup .leaflet-popup-content-wrapper {
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  border: 1px solid #f3f4f6;
  padding: 0;
}
.loja-popup .leaflet-popup-content {
  margin: 20px;
}
.loja-popup .leaflet-popup-tip-container {
  display: none;
}

/* Scroll-reveal animations */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1), transform 0.65s cubic-bezier(0.16,1,0.3,1);
}
[data-reveal="left"]  { transform: translateX(-24px); }
[data-reveal="right"] { transform: translateX(24px); }
[data-reveal="scale"] { transform: scale(0.96); opacity: 0; }
[data-reveal].revealed {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}

/* Timeline dot/label states — managed via JS class toggling */
.timeline-dot-on {
  @apply bg-white border-white scale-125;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.15);
}
.timeline-dot-off {
  @apply bg-[#07004a];
  border-color: rgba(255, 255, 255, 0.25);
}
.timeline-label-on {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 700 !important;
}
.timeline-content-hidden {
  opacity: 0;
  transform: translateY(8px);
}

/* ===== Copa do Mundo ===== */

/* Bandeirolas */
@keyframes copa-sway {
  0%, 100% { transform: rotate(-10deg); }
  50%       { transform: rotate(10deg);  }
}
.copa-bandeirola {
  transform-box: fill-box;
  transform-origin: 50% 0%;
  filter: drop-shadow(1px 2px 2px rgba(0,0,0,0.22));
}

/* Cart shake */
@keyframes copa-cart-shake {
  0%, 100% { transform: rotate(0deg); }
  15%  { transform: rotate(-18deg); }
  30%  { transform: rotate(14deg);  }
  45%  { transform: rotate(-9deg);  }
  60%  { transform: rotate(7deg);   }
  75%  { transform: rotate(-4deg);  }
  90%  { transform: rotate(2deg);   }
}
.copa-cart-shake {
  animation: copa-cart-shake 0.8s ease-in-out !important;
}

/* Net overlay pop */
@keyframes copa-net-pop {
  0%  { opacity: 0; transform: scale(0.4) rotate(-8deg); }
  25% { opacity: 1; transform: scale(1.1) rotate(2deg);  }
  55% { transform: scale(1) rotate(-1deg);               }
  80% { opacity: 1; transform: scale(1.02) rotate(1deg); }
  100%{ opacity: 0; transform: scale(0.95) rotate(0deg); }
}
.copa-net-animate {
  animation: copa-net-pop 1.3s ease-in-out forwards !important;
}

/* GOOOOOL screen */
@keyframes copa-grass-rise {
  0%   { transform: translateY(100%); }
  100% { transform: translateY(0);    }
}

@keyframes copa-gol-shake {
  0%  { transform: translate(0,0) rotate(0deg);      }
  5%  { transform: translate(-8px,-4px) rotate(-3deg);}
  10% { transform: translate(8px,4px) rotate(3deg);  }
  15% { transform: translate(-7px,3px) rotate(-2.5deg);}
  20% { transform: translate(7px,-3px) rotate(2.5deg);}
  25% { transform: translate(-10px,4px) rotate(-4deg);}
  30% { transform: translate(10px,-4px) rotate(4deg); }
  35% { transform: translate(-7px,5px) rotate(-3deg); }
  40% { transform: translate(7px,-5px) rotate(3deg);  }
  45% { transform: translate(-5px,2px) rotate(-2deg); }
  50% { transform: translate(5px,-2px) rotate(2deg);  }
  55% { transform: translate(-8px,3px) rotate(-3deg); }
  60% { transform: translate(8px,-3px) rotate(3deg);  }
  65% { transform: translate(-5px,3px) rotate(-2deg); }
  70% { transform: translate(5px,-3px) rotate(2deg);  }
  75% { transform: translate(-3px,2px) rotate(-1.5deg);}
  80% { transform: translate(3px,-2px) rotate(1.5deg);}
  85% { transform: translate(-2px,1px) rotate(-1deg); }
  90% { transform: translate(2px,-1px) rotate(1deg);  }
  95% { transform: translate(-1px,1px) rotate(-0.5deg);}
  100%{ transform: translate(0,0) rotate(0deg);       }
}

@keyframes copa-bola-enter {
  0%  { transform: translateX(-200%) rotate(-540deg); opacity: 0; }
  70% { transform: translateX(8%) rotate(20deg);      opacity: 1; }
  85% { transform: translateX(-4%) rotate(-8deg);                 }
  100%{ transform: translateX(0) rotate(0deg);        opacity: 1; }
}

@keyframes copa-confetti-fall {
  0%   { transform: translateY(-30px) rotate(0deg);   opacity: 1;   }
  100% { transform: translateY(110vh) rotate(720deg); opacity: 0.3; }
}

@keyframes copa-overlay-exit {
  0%   { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes copa-fade-in {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes copa-gol-slide-in {
  0%   { transform: translateX(110vw); }
  100% { transform: translateX(0); }
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

 details > summary::-webkit-details-marker {
  display: none;
}
