/* ===== Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  height: 100%;
}

html,
body {
  height: 100%;
}

.body {
  height: 100svh;
}

.main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 360px;
  margin: auto;
  flex-direction: column;
  height: 100%;
}

.landing-bg {
  background-image: url("/asset/landing-bg.svg");
  background-size: cover;
  background-position: center;
  height: 100%;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.buy-now {
  margin: auto;
  margin-top: 24px;
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.w-full {
  width: 100%;
}

.slider {
  width: 328px;
  height: 180px;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  cursor: grab;
  margin-top: 12px;
}

.btns {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.slider.dragging {
  cursor: grabbing;
}

.slides {
  display: flex;
  height: 100%;
  transition: transform 0.4s ease;
}

.slide {
  min-width: 100%;
  height: 100%;
  user-select: none;
  object-fit: cover;
  background-size: cover;
}

.slide:nth-child(1) {
  background-image: url("/asset/1.jpg");
}
.slide:nth-child(2) {
  background-image: url("/asset/2.jpg");
}
.slide:nth-child(3) {
  background-image: url("/asset/3.jpg");
}

.indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  transition: 0.3s;
}

.dot.active {
  width: 28px;
  height: 8px;
  border-radius: 20px;
  background: white;
}

.flex {
  display: flex;
  justify-content: center;
  align-items: center;
}

.h-full {
  height: 100%;
}

/* ===== Visibility Helpers ===== */
.show-mobile {
  display: none;
}

.show-desktop {
  display: none;
}

.m-auto {
  margin: auto;
  display: flex;
  justify-items: center;
  align-items: center;
}

.footer {
  width: 100%;
  background: #2c7edb;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 24px;
  & > img {
    margin-top: 24px;
  }
}
.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-direction: row;
  padding-bottom: 20px;
}

/* ===== Media Queries ===== */

/* Mobile (default / up to 599px) */
@media (max-width: 599px) {
  .flex {
    flex-direction: column;
  }

  .show-mobile {
    display: block;
  }

  .show-desktop {
    display: none;
  }
}

/* Tablet (600px – 899px) */
@media (min-width: 600px) and (max-width: 1099px) {
  .flex {
    flex-direction: column;
  }

  .show-mobile {
    display: block;
  }

  .show-desktop {
    display: none;
  }
}

/* Desktop (900px+) */
@media (min-width: 1100px) {
  .flex {
    flex-direction: row-reverse;
  }

  .show-mobile {
    display: none;
  }

  .show-desktop {
    display: block;
  }
}
