* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Archivo Black', sans-serif;
}

:root {
  --primary: #000000;
  --secondary: #F0F0F0;
  --explode: #FF00F4;
  --accent: #FADF09;
  --third: #00F0FF;
  --green: #A2FF00;
  --dead: #888888;
  --orange: #ff4911;
  --shadow: 8px 8px 0px var(--primary);
}

html {
  box-sizing: border-box;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  background-color: var(--secondary);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
}



h1 {
  color: var(--primary);
  margin-bottom: 30px;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
}

.subtitle {
  color: #7f8c8d;
  margin-bottom: 2rem;
}

.input-group {
  margin-bottom: 20px;
  position: relative;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: var(--primary);
}


input {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--primary);
  background-color: var(--secondary);
  font-size: 16px;
  outline: none;
  transition: all 0.3s;
}

.input-error {
  border-color: red !important;
}

.tooltip {
  visibility: hidden;
  width: 200px;
  background-color: var(--primary);
  color: var(--secondary);
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 100%;
  left: 50%;
  margin-left: -100px;
  /* Use half of the width to center the tooltip */
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 12px;
  pointer-events: none;
  /* Evitar que el tooltip interfiera con el mouse */
}

.input-group:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.actions .btn-primary {
  padding: 12px;
}

button {
  width: 100%;
  background-color: var(--accent);
  color: var(--primary);
  border: 2px solid var(--primary);
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  /* margin-top: 10px; */
  transition: all 0.15s;
  box-shadow: 4px 4px 0px var(--primary);
  transform: translate(-4px, -4px);
}

button:hover {
  box-shadow: none;
  transform: translate(0, 0);
}

.divider {
  display: flex;
  align-items: center;
  margin: 25px 0;
  color: var(--primary);
  font-weight: bold;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  border-bottom: 2px solid var(--primary);
  margin: 0 10px;
}

.social-login {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-btn {
  width: 50px;
  height: 50px;
  border: 2px solid var(--primary);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.15s;
  box-shadow: 4px 4px 0px var(--primary);
  transform: translate(-4px, -4px);
}

.social-btn:hover {
  box-shadow: none;
  transform: translate(0, 0);
}

.footer {
  text-align: center;
  margin-top: 20px;
  color: var(--primary);
}

.footer a {
  color: var(--primary);
  font-weight: bold;
  text-decoration: underline;
}

/* Clase para ocultar las vistas que no necesitamos */
.hidden {
  display: none !important;
}

.game-view {
  /* Estilos comunes para todas las pantallas (centrado, etc.) */
  transition: opacity 0.3s ease;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}