* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Esamanru', sans-serif !important;
  text-decoration: none;
}

@font-face {
  font-family: 'Esamanru';
  src: url('esamanru Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

body {
  width: 100%;
  min-height: 100vh;
  background-image: url('./img/bg.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
}

.background-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.point {
  color: #a2ff16;
}

.container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1000px;
  padding: 20px;
  text-align: center;
}

.logo {
  width: 450px;
  height: auto;
  margin-bottom: 2rem;
}

.main-title {
  font-size: 5rem;
  font-weight: bold;
  margin-bottom: 2rem;
  letter-spacing: -0.5px;
  color: white;
  word-break: keep-all;
}

.button-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 2rem;
}

.btn {
  width: 100%;
  border: none;
  cursor: pointer;
}

.btn-grad {
  position: relative;
  overflow: hidden;
  background: linear-gradient(0deg, #1fbb00 10%, #a2ff16 40%);
  border-radius: 0;
  color: black;
  padding: 18px;
  font-weight: bold;
  animation: kongdakContainer 3.6s infinite linear;
}

.btn-grad .btn-main {
  animation: kongdakText 3.6s infinite linear;
}

@keyframes kongdakContainer {
  0%,
  20%,
  100% {
    transform: scale(1);
  }
  5%,
  15% {
    transform: scale(1.03);
  }
  10% {
    transform: scale(1);
  }
}

@keyframes kongdakText {
  0%,
  20%,
  100% {
    color: black;
  }
  5%,
  15% {
    color: white;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
  }
}

.button-group .btn-grad:nth-child(1),
.button-group .btn-grad:nth-child(1) .btn-main {
  animation-delay: 0s;
}

.button-group .btn-grad:nth-child(2),
.button-group .btn-grad:nth-child(2) .btn-main {
  animation-delay: 1.2s;
}

.button-group .btn-grad:nth-child(3),
.button-group .btn-grad:nth-child(3) .btn-main {
  animation-delay: 2.4s;
}

.btn-grad::after {
  content: '';
  position: absolute;
  top: 0;
  left: -110%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );
  transform: skewX(-25deg);
  transition: none;
}

.btn-grad:hover {
  animation: none;
  background: linear-gradient(0deg, #179100 0%, #8de013 100%);
}

.btn-grad:hover .btn-main {
  animation: none;
  color: white;
}

.btn-grad:hover::after {
  left: 110%;
  transition: left 2.5s linear;
}

.btn-main {
  font-size: 3.5rem;
  display: block;
}

.btn-sub {
  font-size: 1.5rem;
  display: block;
  color: inherit;
}

.footer-text {
  font-size: 2rem;
  line-height: 1.8;
  color: white;
  word-break: keep-all;
}

@media (max-width: 767px) {
  body {
    background-image: url('./img/bg-m.webp');
    background-attachment: scroll;
  }

  .container {
    padding: 20px;
  }
  .logo {
    width: 80%;
  }
  .main-title {
    font-size: 1.8rem;
  }
  .btn-main {
    font-size: 1.8rem;
  }
  .btn-sub {
    font-size: 1rem;
  }
  .footer-text {
    font-size: 0.8rem;
  }
}
