/* Main container */
.rnp-container {
  width: 100%;
  height: 100vh;
  font-family: "Oswald", sans-serif;
  color: white;
  background: #db3a0b;
  background-size: 400% 400%;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* Button styling */
.m-btn {
  width: 180px;
  height: 64px;
  line-height: 64px;
  text-align: center;
  cursor: pointer;
  font-size: 24px;
  transition: .2s all;
  box-sizing: border-box;
  color: #fff;
  border: 1px solid #fff;
  position: absolute;
  left: 50%;
  top: 80%;
  transform: translate(-50%, -50%);
}

.m-btn:hover {
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.5), 0 0 20px rgba(255, 255, 255, 0.2);
}

.m-btn::after {
  position: absolute;
  content: "";
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  transition: .5s outline-color, .5s outline, .5s transform;
  transition-timing-function: cubic-bezier(0.2, 0.8, 0.25, 0.8);
  transform: scale3d(1.1, 1.3, 0);
  outline: 0px solid;
  outline-color: rgba(255, 255, 255, 0.05);
  outline-offset: -9px;
}

.m-btn:hover::after {
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  transform: scale(1);
  outline: 1px solid;
  outline-color: rgba(255, 255, 255, 0.6);
  outline-offset: 10px;
  transition: 0.5s outline-offset cubic-bezier(0.2, 0.8, 0.25, 0.8), 0.5s outline-color cubic-bezier(0.2, 0.8, 0.25, 0.8), 0.5s outline cubic-bezier(0.2, 0.8, 0.25, 0.8);
}

.m-btn:active {
  mix-blend-mode: overlay;
}

.s-move {
  top: 80%;
}

/* Random name display */
.g-name {
  display: none;
  font-size: 60px;
  transition: .2s all;
  color: #fff;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 90%;
  white-space: pre-wrap;
  line-height: 1.2;
  max-height: calc(1.2em * 3); /* Limit to 3 lines */
}


/* Responsive adjustments */
@media (max-width: 600px) {
  .m-btn {
    width: 140px;
    height: 50px;
    line-height: 50px;
    font-size: 20px;
  }

  .g-name {
    font-size: 40px;
  }
}

.msg-container {
    text-align: center;
    font-size: 1.2em;
    width: 100%;
  height: 100vh;
  font-family: "Oswald", sans-serif;
  color: white;
  background: #db3a0b;
  background-size: 400% 400%;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.rnp-message {
    display: inline-block;
    font-size: 1.2em;
    font-weight: bold;
}
