/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: monospace;
}

/* BODY */
body {
  height: 100vh;
  background: url("background.jpg") no-repeat center center/cover;
  overflow: hidden;
}

/* MAIN GAME */
#game {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
}

/* LOGO */
#logo {
  width: 420px;
  margin-top: 20px;
}

/* MENU */
#menu {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  z-index: 10;
  position: relative;
}

/* MINECRAFT BUTTON */
.mc-btn {
  width: 340px;
  padding: 12px 0;
  background: linear-gradient(#e0e0e0, #bcbcbc);
  border: 3px solid #555;
  font-size: 18px;
  cursor: pointer;
  transition: 0.15s;
}

.mc-btn:hover {
  background: linear-gradient(#fff, #dcdcdc);
  transform: scale(1.05);
}

/* HEARTS */
#hearts {
  position: fixed;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

#hearts img {
  width: 32px;
}

/* POPUP MEMES */
#popupArea {
  position: absolute;
  bottom: 120px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 20px;
  z-index: 9;
}

.popup {
  width: 160px;
}

/* DVD */
#dvd {
  position: fixed;
  width: 120px;
  display: none;
  z-index: 8;
}

/* HEHE PAGE */
#hehePage {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  color: white;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 20;
}

#heheBox img {
  width: 140px;
  margin: 10px;
}

#dvd,
#dvd2 {
  position: fixed;
  width: 120px;
  display: none;
  z-index: 50;
  pointer-events: none;
}

/* Minecraft-style Text Box */

.mc-btn {
  background: #c6c6c6;
  border: 3px solid #000;
  border-top: 3px solid #fff;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #555;
  border-right: 3px solid #555;

  font-family: "Minecraftia", monospace;
  font-size: 18px;

  padding: 12px 25px;
  margin: 10px 0;

  cursor: pointer;

  box-shadow: inset -2px -2px 0 #888,
              inset 2px 2px 0 #fff;

  transition: all 0.1s ease;
}


/* Press effect */
.mc-btn:active {
  box-shadow: inset 2px 2px 0 #555,
              inset -2px -2px 0 #fff;

  transform: translateY(2px);
}

/* Hover Glow */
.mc-btn:hover {
  filter: brightness(1.2);
  box-shadow: 0 0 12px #7CFC00;
}


/* YES Button Glow */
.mc-btn.yes-glow {
  animation: yesGlow 1s infinite alternate;
}

@keyframes yesGlow {
  from {
    box-shadow: 0 0 5px #00ff00;
  }
  to {
    box-shadow: 0 0 20px #00ff00;
  }
}


/* NO Button Shake */
.mc-btn.shake {
  animation: shake 0.4s;
}

@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-5px); }
  100% { transform: translateX(0); }
}

/* Minecraft Popup */

#mcPopup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#mcPopupBox {
  background: #2b2b2b;
  border: 5px solid #555;
  padding: 25px 40px;
  color: white;
  font-family: monospace;
  font-size: 22px;
  text-align: center;

  box-shadow: 
    inset 2px 2px #888,
    inset -2px -2px #111;

  animation: popIn 0.25s ease-out;
}

@keyframes popIn {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
