* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  overflow: hidden;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: black;
}

#bg-video {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0.45;
}

.slider-container {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.slide {
  position: absolute;
  width: 90%;
  max-width: 500px;
  text-align: center;
  opacity: 0;
  transform: scale(0.9);
  transition: 0.5s ease;
  color: white;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

.slide img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(255,255,255,0.3);
}

.slide h1 {
  margin-top: 20px;
  font-size: 28px;
  text-shadow: 0 0 10px rgba(0,0,0,0.7);
}

.video-slide video {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(255,255,255,0.3);
}

.buttons {
  position: absolute;
  bottom: 40px;
  display: flex;
  gap: 15px;
}

button {
  padding: 12px 28px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  cursor: pointer;
  background: rgba(255,255,255,0.2);
  color: white;
  backdrop-filter: blur(5px);
  transition: 0.3s;
}

button:hover {
  background: rgba(255,255,255,0.4);
}

@media (max-width: 600px) {
  .slide img {
    height: 320px;
  }

  .slide h1 {
    font-size: 22px;
  }

  button {
    padding: 10px 20px;
    font-size: 17px;
  }
}