@import url("https://fonts.googleapis.com/css2?family=Red+Hat+Text:wght@400;500;600;700&display=swap");
@import url("./game-components.css");
@import url("./word-game.css");
@import url("./forms.css");
@import url("./keyboard.css");
@import url("./controls.css");
@import url("./scrollbar.css");
@import url("./medias.css");

/* Base e Reset */
* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100vh;
  height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  font-family: "Red Hat Text", sans-serif;
  position: relative;
}

/* Layout Principal */
main {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  width: 100%;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("https://promosatelie.com.br/2023/games-red-hat/words-game/assets/bg-game-words-redhat-23.png")
    center/cover;
  opacity: 0.1;
  z-index: 0;
}

.box {
  max-width: 1200px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.hangman {
  display: none;
  width: 100%;
}

.hangman,
.initial {
  margin: 0 auto;
  text-align: center;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

/* Elementos básicos */
a {
  color: #53bdff;
  text-decoration: none;
  font-size: 14px;
}

a:hover {
  color: #86d1ff;
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #53bdff;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(83, 189, 255, 0.3);
}

p {
  margin-bottom: 20px;
  color: #e0e0e0;
  line-height: 1.4;
}

/* Animações */
@keyframes letteranim {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1) translateY(-5px);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
