body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.slider-container {
  width: 100vw;
  max-width: 400px;
  height: 200px;
  background: #1a1a1a;
  overflow: hidden;
  position: relative;
  color: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.slider-header {
  font-size: 1.1rem;
  font-weight: bold;
  background: linear-gradient(to right, #7f00ff, #00aaff);
  color: white;
  padding: 0.5rem;
  border-top-left-radius: 0.75rem;
  border-top-right-radius: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 0.2rem; /* 👈 reduce bottom margin */
}


.slider {
  display: flex;
  transition: transform 0.3s ease-in-out;
  padding-top: 0.2rem; /* 👈 reduce top padding */
}


.slide {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  box-sizing: border-box;
}

.slide-content {
  text-align: center;
  max-width: 90%;
}

.slide-content p {
  font-size: 1rem;
  margin: 0.4rem 0 0.2rem 0;
  line-height: 1.4rem;
}

.slide-content .icon {
  color: gold;
  margin-right: 6px;
}

.btn {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: linear-gradient(90deg, #ff512f 0%, #dd2476 100%);
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.8rem;
  border-radius: 20px;
  transition: background 0.3s ease;
}

.btn:hover {
  background: linear-gradient(90deg, #dd2476 0%, #ff512f 100%);
}

.dots {
  text-align: center;
  position: absolute;
  bottom: 7px;
  width: 100%;
}

.dot {
  height: 8px;
  width: 8px;
  margin: 0 3px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background-color: #fff;
}
