* {
  margin: 0;
  padding: 0;
  font-family: "montserrat", sans-serif;
}

html, body {
  width: 100%;
  height: 100%;
  background-color: #000;
  color: #fff;
}

.landing-page {
  width: 100%;
  height: 100vh;
  position: relative;
  z-index: 0;
  overflow: visible;
}

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.landing-page::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0.3;
  z-index: 1;
}

.page-content {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 75%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  background: rgba(0, 0, 0, 0.3);
  padding: 30px 40px;
  border-radius: 20px;
}

/* efek kedip hitam */
.landing-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background: black;
  opacity: 0;
  z-index: 1; /* di atas video, di bawah konten */
  animation: flicker 0.25s infinite;
  pointer-events: none;
}

@keyframes flicker {
  0%   { opacity: 0; }
  25%  { opacity: 0.6; }
  50%  { opacity: 1; }
  75%  { opacity: 0.6; }
  100% { opacity: 0; }
}

/* ================= BUTTON ================= */

.btn {
  margin: 8px 0;
  padding: 15px 40px;
  width: 70%;
  border: none;
  outline: none;
  color: #FFF;
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-radius: 20px;
  background: transparent;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #333;
  border-radius: 17px;
  z-index: -1;
}

/* glow */
.btn::before {
  content: "";
  background: linear-gradient(
    45deg,
    #FF0000, #FF7300, #FFFB00, #48FF00,
    #00FFD5, #002BFF, #FF00C8, #FF0000
  );
  position: absolute;
  top: -2px;
  left: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  background-size: 600%;
  filter: blur(8px);
  animation: glowing 20s linear infinite;
  border-radius: 17px;
  z-index: -2;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

@keyframes glowing {
  0% {background-position: 0 0;}
  50% {background-position: 400% 0;}
  100% {background-position: 0 0;}
}

.btn:hover::before {
  opacity: 1;
}

.btn:active::after {
  background: transparent;
}

.btn:active {
  color: #000;
  font-weight: bold;
}

.btn-red {
  color: #ffffff;
}

.btn-red::after {
  background-color: #2c4634cc;
}

.btn-blue {
  color: #ffffff;
}

.btn-blue::after {
  background-color: #723b74cc;
}

h1 {
  font-size: 25px;
  margin-bottom: 20px;
}