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

.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.carousel-card {
  flex: 0 0 80%;
  scroll-snap-align: center;
  transition: transform 0.3s ease, filter 0.3s ease;
  height: 320px;
  background-attachment: local; /* ✅ fix background geser di mobile */
  backface-visibility: hidden;
  will-change: transform;
}
.carousel-card.inactive {
  filter: blur(2px) brightness(0.6);
  transform: scale(0.92);
}
.carousel-card.active {
  filter: none;
  transform: scale(1);
  z-index: 10;
}
#carouselWrapper {
  touch-action: pan-x;
}

.gradient-lime{
  background: linear-gradient(to right, #87E500, #4EE812, #03ED29);
}

.gradient-red{
  background: linear-gradient(to right, #e50000, #e81212, #ed0303);
}

.btn-gradient{
  padding: 1px;
  background: linear-gradient(to right, #ffffff 0%, #4EE812 50%, #03ED29 100%);
  border-radius: 30px;
  display: inline-block;
  width: 100%;
}
.text-gradient-lime{
  background: linear-gradient(to right, #4EE812, #FFFFFF, #9CF8AB, #03ED29);
  -webkit-background-clip: text;
            background-clip: text;
  -webkit-text-fill-color: transparent;
}
.bg-gold{
  background: linear-gradient(to right bottom, #B4793B 0%, #EDC985 55%, #FFFFFF 100%);
}

.pagination span.current{
    float: left;
    padding: 0 10px;
    line-height: 25px;
    text-decoration: none;
    background-color: #5af073;
    color: #FFFFFF;
    border: none;
    margin: 2px 2px;
    border-radius: 5px;
    font-size: 12px;
    /* border: 1px solid #03ED29; */
    font-weight: 600;
} 

.pagination a{
    float: left;
    padding: 0 10px;
    line-height: 25px;
    text-decoration: none;
    background-color: white;
    border: none;
    margin: 2px 2px;
    border-radius: 5px;
    font-size: 12px;
    /* border: 1px solid #03ED29; */
    font-weight: 600;
    color: #000;
}
