.absolute {
  position: absolute;
}
.relative {
  position: relative;
}

.app-event-modal {
  padding: 20px;
  width: 95%;
  max-width: 450px;
  position: absolute;
  color: #4e4e4e;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.close-x-2 {
  position: absolute;
  top: -25px;
  right: 5px;
  font-size: 1.8em;
  color: #000000;
  cursor: pointer;
  background-color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  z-index: 3;
  box-shadow: 0px 0px 5px #333;
}

.main-content-2 {
  background: url(../images/2025_app_exclusive_modal/bg.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100%;
  border: 5px solid #fffad9;
  box-shadow: 0px 17px 15px #1e0202;
  border-radius: 2rem;
  aspect-ratio: 48/62;
}

.deco-circle {
  width: 60%;
  top: -20%;
  left: -10%;
}

.deco-phone {
  width: 80%;
  top: -20%;
  right: -15%;
}

.deco-ribbon {
  width: 80%;
  top: 8%;
}

.deco-title {
  width: 45%;
  bottom: 0;
  left: 8%;
}

.code-number-2 {
  margin: 0 auto;
  width: 90%;
  border: 2px solid #ff3a18;
  background: #ffffff;
  border-radius: 5px;
  padding: 0.5rem;
  color: #743521;
  position: relative;
  z-index: 2;
  justify-content: space-between;
  font-size: 1.2rem;
}

.sub-title {
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  color: #743521;
}

.event-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 5%;
  justify-content: center;
  padding-top: 5%;
}

.event-btn-group a {
  flex: 0 0 40%;
  box-sizing: border-box;
  background: linear-gradient(45deg, #a70d29 0%, #ff3a18 100%);
  box-shadow: inset 0px 0px 10px #ff3a18, inset 0px 0px 20px #3e0a00;
  border-radius: 0.5rem;
  color: #fff;
  font-size: 1.1rem;
  padding: 3% 0;
  margin-bottom: 3%;
  text-align: center;
}

.copy-icon-2:hover {
  cursor: pointer;
}

@media screen and (max-width: 430px) {
  .main-content {
    aspect-ratio: 48/66;
  }
}
