.text-container h1,
nav ul li a.deluxe-opt {
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #d3d3d3 25%,
    #181818 50%,
    #c7c7c7 75%,
    #292929 100%
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: #fff0;
  animation: rgbAnimation 5s linear infinite;
}
@keyframes rgbAnimation {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
  100% {
    background-position: 0% 0%;
  }
}
.play-btn {
  padding: 12px 35px;
  background-color: #000;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 35px;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
  margin-top: 20px;
  transition: background-color 0.3s ease, color 0.3s ease,
    border-color 0.3s ease, transform 0.3s ease;
  width: auto;
  animation: glow 2s infinite alternate;
  box-shadow: 0 0 10px 2px #fff;
  border: 2px solid #000;
}
.play-btn i,
.play-btn span {
  display: inline-block;
  color: black !important;
  vertical-align: middle;
}
.play-btn i {
  margin-right: 10px;
  font-size: 20px;
}
.play-btn span {
  font-weight: 700;
  font-size: 16px;
}
.play-btn:hover {
  transform: scale(0.95);
}
.play-btn:active {
  transform: scale(0.9);
}
@keyframes glow {
  0% {
    box-shadow: 0 0 10px 2px #fff;
  }
  50% {
    box-shadow: 0 0 30px 10px #fff;
  }
  100% {
    box-shadow: 0 0 10px 2px #fff;
  }
}
#background-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / 0.6);
  z-index: -1;
}
.text-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  text-align: center;
}
.center-text {
  font-family: "Kanit", sans-serif;
  font-size: 55px !important;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
}
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / 0.6);
  z-index: -1;
}
video::-webkit-media-controls {
  display: none !important;
}
video::-webkit-media-controls-play-button,
video::-webkit-media-controls-volume-slider,
video::-webkit-media-controls-fullscreen-button,
video::-webkit-media-controls-current-time-display,
video::-webkit-media-controls-timeline,
video::-webkit-media-controls-rewind-button,
video::-webkit-media-controls-mute-button,
video::-webkit-media-controls-seek-back-button,
video::-webkit-media-controls-seek-forward-button {
  display: none !important;
}
.video-controls-area {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  z-index: 9;
}
.video-controls {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff0;
  padding: 10px;
  border-radius: 10px;
  z-index: 10;
  transition: opacity 0.5s ease;
  opacity: 0;
  pointer-events: none;
}
.control-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  margin: 0 10px;
}
#seek-bar {
  width: 300px;
  margin: 0 10px;
  -webkit-appearance: none;
  appearance: none;
  background: #444;
  height: 5px;
  border-radius: 5px;
  outline: none;
  cursor: pointer;
}
#seek-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
}
#volume-bar {
  width: 100px;
  margin-left: 10px;
  -webkit-appearance: none;
  appearance: none;
  background: #444;
  height: 5px;
  border-radius: 5px;
  outline: none;
  cursor: pointer;
}
#volume-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
}
#current-time,
#total-time {
  color: #fff;
  font-size: 14px;
  margin: 0 10px;
}
.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  z-index: 20;
  transition: transform 0.3s ease;
  display: none;
}
.close-btn:hover {
  transform: rotate(360deg);
}
.final-message {
  font-size: 60px;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #d3d3d3 25%,
    #181818 50%,
    #c7c7c7 75%,
    #292929 100%
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: #fff0;
  animation: rgbAnimation 5s linear infinite;
  text-align: center;
  margin-bottom: 20px;
}
.final-btn {
  background: linear-gradient(90deg, #5865f2, #383be8);
  background-size: 200% 200%;
  color: #fff;
  font-size: 20px;
  padding: 15px 30px;
  border-radius: 30px;
  border: 2px solid #fff;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.5s ease;
  animation: pulseEffect 3s infinite;
  box-shadow: 0 0 20px rgb(88 101 242 / 0.7), 0 0 40px rgb(56 59 232 / 0.7);
  margin-top: 20px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.final-btn:hover {
  transform: scale(0.95);
}
.final-btn:active {
  transform: scale(0.9);
}
.final-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #000;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.final-container.show {
  opacity: 1;
  transform: translateY(0);
}
.final-container.hide {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-in, transform 0.5s ease-in;
}
#close-final {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  z-index: 20;
  transition: transform 0.3s ease;
}
#close-final:hover {
  transform: rotate(360deg);
}
@keyframes pulseEffect {
  0% {
    box-shadow: 0 0 20px rgb(88 101 242 / 0.7), 0 0 40px rgb(56 59 232 / 0.7);
  }
  50% {
    box-shadow: 0 0 30px rgb(88 101 242), 0 0 60px rgb(56 59 232);
  }
  100% {
    box-shadow: 0 0 20px rgb(88 101 242 / 0.7), 0 0 40px rgb(56 59 232 / 0.7);
  }
}
@keyframes rgbAnimation {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
  100% {
    background-position: 0% 0%;
  }
}
.text-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  opacity: 0;
  z-index: 10;
  text-align: center;
  transition: transform 1.5s ease, opacity 1.5s ease;
}
.text-container.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.center-text {
  font-family: "Kanit", sans-serif;
  font-size: 50px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
}
#background-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0;
  transform: scale(1.05);
  transition: transform 1.5s ease, opacity 1.5s ease;
}
#background-image.show {
  opacity: 1;
  transform: scale(1);
}
