* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body, html {
  height: 100%;
  margin: 0;
  overflow: hidden; 
  font-family: 'Segoe UI', sans-serif;
  background: #000;
  overflow-x: hidden;
  overflow-y: auto;
}

/* Кнопки */
.btn {
  position: relative;
  padding: 15px 40px;
  font-size: 1.2em;
  font-weight: bold;
  color: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  overflow: hidden;
  z-index: 2;
  background: linear-gradient(45deg, #ff0044, #ff6600);
  box-shadow:
    0 0 20px #ff0044,
    0 0 40px #ff6600,
    0 0 80px #ff6600,
    inset 0 0 10px #fff;
  animation: pulseGlow 2s infinite alternate;
  transition: transform 0.2s ease;
}
.login {
  background: linear-gradient(45deg, #ff0044, #ff6600);
}
.daftar {
  background: linear-gradient(45deg, #007bff, #00e0ff);
}

@keyframes pulseGlow {
  0% {
    box-shadow:
      0 0 15px #ff0044,
      0 0 30px #ff6600,
      0 0 45px #ff3300,
      inset 0 0 5px #fff;
  }
  100% {
    box-shadow:
      0 0 30px #ff0044,
      0 0 60px #ff6600,
      0 0 100px #ff9900,
      inset 0 0 15px #fff;
  }
}

.btn:hover {
  animation: vibrate 0.2s infinite;
  transform: scale(1.05);
  box-shadow:
    0 0 40px #ffffff,
    0 0 80px #ff0044,
    0 0 120px #ff6600,
    inset 0 0 25px #fff;
}

@keyframes vibrate {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-2px, 2px); }
  40%  { transform: translate(2px, -2px); }
  60%  { transform: translate(-1px, 1px); }
  80%  { transform: translate(1px, -1px); }
  100% { transform: translate(0, 0); }
}

/* Canvas для частиц */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 999;
}

/* Мобильное видео */
.mobile-scroll-video {
  display: none;
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: black;
  z-index: 1;
}
.mobile-scroll-video video {
  width: 100vw;
  height: 100vh;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .mobile-scroll-video {
    display: block;
  }
}

/* Видео фон */
.video-container {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: 0;
}

.video-container video {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  display: block;
}

.video-container video,
.mobile-scroll-video video {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
}

@media (max-width: 768px) {
  .video-container video {
    object-fit: cover;
  }
  .mobile-scroll-video video {
    object-fit: cover;
  }
}


/* Затемнение */
.overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle, rgba(0,0,0,0.6), rgba(0,0,0,0.9));
  z-index: 1;
}

/* Логотип */
.logo {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100px;
  z-index: 3;
}

/* Контент */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 20px;
}
.title {
  font-size: 3em;
  margin-bottom: 30px;
  color: #ffe600;
  text-shadow: 0 0 20px #ff6600, 0 0 40px #ff0000;
}
.banner {
  width: 90%;
  max-width: 800px;
  border-radius: 15px;
  box-shadow: 0 0 40px #ff0044;
  margin-bottom: 30px;
  transition: transform 0.3s ease;
}
.banner:hover {
  transform: scale(1.02);
}

.buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 768px) {
  .hero {
    padding: 40px 20px;
  }
  .title {
    font-size: 2em;
  }
  .banner {
    width: 100%;
  }
  .buttons {
    flex-direction: column;
    align-items: center;
  }
  .btn {
    width: 100%;
    max-width: 300px;
  }
}
