* {
  box-sizing: border-box;
}

body {
  font-family: monospace;
  position: relative;
  margin: 0;
  min-height: 100vh;
  color: #fff;
  background-color: #000;
  background-image: url("https://imgstore.io/images/2026/02/02/background-togel.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.container {
  max-width: 400px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.65);
  border-radius: 12px;
  border: 1px solid rgba(255, 215, 0, 0.25);
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.25);
}

.logo-wrap {
  text-align: center;
}

.logo {
  max-width: 100%;
  height: auto;
}

.welcome {
  max-width: 350px;
  margin: 0 auto;
}

.welcome h1 {
  font-size: 12px;
  color: #ffd700;
  overflow: hidden;
  border-right: 0.15em solid #ffd700;
  white-space: nowrap;
  letter-spacing: 0.09em;
  animation:
    typing 3.5s steps(40, end),
    blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }

  50% {
    border-color: #ffd700;
  }
}

.banner-wrapper {
  position: relative;
  width: 100%;
  border-radius: 12px;
  padding: 3px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner-wrapper::before {
  content: "";
  position: absolute;
  width: 150%;
  height: 150%;
  background: conic-gradient(#ffd700, #c9a227, transparent 60%, #ffd700);
  animation: spinLight 4s linear infinite;
  z-index: 1;
}

@keyframes spinLight {
  100% {
    transform: rotate(360deg);
  }
}

.banner-link {
  display: block;
  width: 100%;
}

.banner {
  width: 100%;
  height: auto;
  border-radius: 10px;
  position: relative;
  z-index: 2;
  background: #000;
  display: block;
}

.btn-login,
.btn-daftar {
  padding: 10px;
  color: #1a1200;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  margin-top: 10px;
  border-radius: 12px;
  position: relative;
  z-index: 2;
  border: 3px solid #5c3a21;
  box-shadow:
    0 0 10px rgba(255, 215, 0, 0.4),
    0 0 20px rgba(92, 58, 33, 0.6);
  transition: all 0.3s ease;
}

.btn-login {
  background: linear-gradient(to bottom, #fff3b0 0%, #ffd700 50%, #c9a227 100%);
}

.btn-daftar {
  background: linear-gradient(to bottom, #c9a227 0%, #ffd700 50%, #fff3b0 100%);
}

.btn-login:hover,
.btn-daftar:hover {
  transform: translateY(-2px);
  border-color: #8b5a2b;
  box-shadow:
    0 0 18px rgba(255, 215, 0, 0.7),
    0 0 28px rgba(92, 58, 33, 0.8);
}

.promo-banner {
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px;
  max-width: 320px;
  margin: 10px auto 0;
  border-radius: 10px;
}

.promo-banner img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.copyright {
  text-align: center;
  color: #ffd700;
  font-size: 14px;
  margin-top: 8px;
}

@keyframes tada {
  0% {
    transform: scale3d(1, 1, 1);
  }

  10%,
  20% {
    transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
  }

  30%,
  50%,
  70%,
  90% {
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
  }

  40%,
  60%,
  80% {
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
  }

  100% {
    transform: scale3d(1, 1, 1);
  }
}

.animated.tada {
  animation: tada 3s ease infinite;
}
