@charset "UTF-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  font-family: "Inter", sans-serif;
  background: #000000;
  min-height: 100vh;
  color: white;
}

main {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0 30px 40px;
}

header {
  border-bottom: 1px solid #7ed957;
  margin-bottom: 10px;
}

.header-container {
  display: flex;
  align-items: center;
}

.logo {
  margin: 0px 20px;
  width: 100px;
  height: 100px;
}

.menu-icon {
  display: none;
  width: 25px;
  cursor: pointer;
  margin-right: 20px;
}

.sidebar {
  position: fixed;
  top: 0;
  right: -280px;
  height: 100vh;
  width: 280px;
  background-color: #111;
  padding-top: 60px;
  transition: 0.3s ease;
  z-index: 1001;
  overflow-y: auto;
  border: 1px solid #7ed957;
}

.sidebar.active {
  right: 0;
}

.sidebar a,
.sidebar p {
  display: block;
  padding: 15px 25px;
  font-size: 18px;
  color: white;
  text-decoration: none;
}

.sidebar p {
  color: #7ed957;
}

.sidebar a:hover {
  background-color: #575757;
  color: #7ed957;
}

.closebtn {
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 30px;
  cursor: pointer;
}

.dashboard {
  width: 100%;
  max-width: 620px;
}

.topo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.usuario-nome {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 5px;
}

.usuario-nome h1 {
  font-size: 42px;
  font-weight: 800;
}

span {
  color: #7ed957;
}

.avatar {
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  background: #2a2a2a;
  cursor: pointer;
  color: white;
}

.card {
  background-color: #111;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 22px;
  padding: 24px;
  margin-bottom: 24px;
}

.card:hover {
  scale: 1.01;
}

.btn-config:hover:not(.aberto) {
  transform: scale(1.01);
}

.streak {
  background: linear-gradient(90deg, #ff9518, #ff5b1e);
  color: #111;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 620px;
  height: 155px;
}

.streak h2 {
  font-size: 26px;
  margin-bottom: 8px;
  font-weight: 800;
}

.streak-numero {
  font-size: 3.5em;
  font-weight: 800;
  line-height: 1;
}

.fogo {
  font-size: 70px;
}

.xp-topo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.xp-esquerda {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 500px;
  height: 50px;
}

.level-box {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(180deg, #7ed957, #18b86e);
  color: #000000;
  font-weight: 800;
  font-size: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.xp-texto p {
  color: #ffffff;
}

.xp-texto h3 {
  font-size: 32px;
}

.xp-numero {
  color: #7ed957;
  font-size: 28px;
  font-weight: 700;
  white-space: nowrap;
}

.barra {
  width: 100%;
  height: 16px;
  background: #1f2937;
  border-radius: 999px;
  overflow: hidden;
}

.progresso {
  height: 100%;
  width: 68%;
  background: linear-gradient(90deg, #7ed957, #7ed957);
  border-radius: 999px;
  transition: 0.4s;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mini {
  text-align: center;
  padding: 26px 10px;
}

.mini .icone {
  margin-bottom: 12px;
}

.mini h4 {
  font-size: 42px;
  margin-bottom: 8px;
}

.mini p {
  color: #ffffff;
}

.missoes-topo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.missoes-topo h2 {
  font-size: 32px;
}

.contador {
  color: #7ed957;
  font-weight: 800;
  font-size: 30px;
}

.missao {
  background-color: #111;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px;
  border-radius: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.missao-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.missao input {
  width: 22px;
  height: 22px;
  accent-color: #22ff88;
}

.recompensa {
  color: #7ed957;
  font-weight: 700;
}

.config-container {
  width: 100%;
  margin-top: 20px;
}

.btn-config {
  width: 100%;
  background-color: #111;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 22px 26px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-config.aberto {
  border-radius: 22px 22px 0 0;
  border-bottom: none;
}

.menu-config {
  display: none;
  width: 100%;
  background-color: #111;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: none;
  border-radius: 0 0 22px 22px;
  padding: 14px;
  gap: 12px;
  flex-direction: column;
}

.menu-config.ativo {
  display: flex;
}

.menu-config button {
  flex: 1;
  background: #111827;
  color: white;
  border: 1px solid #222;
  border-radius: 10px;
  padding: 12px;
  cursor: pointer;
  font-weight: bold;
}

.menu-config button:hover {
  color: #7ed957;
  border-color: #7ed957;
}

@media (max-width: 440px) {
  header {
    padding-top: 10px;
  }

  main {
    padding: 0 15px 30px;
  }

  .dashboard {
    max-width: 100%;
  }

  .logo {
    width: 85px;
    height: 85px;
    margin-left: 1;
  }

  .usuario-nome {
    gap: 10px;
    flex-wrap: wrap;
  }

  .usuario-nome h1 {
    font-size: 30px;
  }

  .avatar {
    width: 42px;
    height: 42px;
    font-size: 22px;
  }

  .streak {
    width: 100%;
    height: auto;
    padding: 24px;
  }

  .streak h2 {
    font-size: 22px;
  }

  .streak-numero {
    font-size: 48px;
  }

  .fogo {
    font-size: 52px;
  }

  .xp-topo {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .xp-esquerda {
    width: 100%;
    height: auto;
  }

  .level-box {
    width: 55px;
    height: 55px;
    font-size: 26px;
  }

  .xp-texto h3 {
    font-size: 28px;
  }

  .xp-numero {
    font-size: 24px;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .mini h4 {
    font-size: 36px;
  }

  .missoes-topo h2 {
    font-size: 26px;
  }

  .contador {
    font-size: 26px;
  }

  .missao {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .btn-config {
    padding: 18px 20px;
    font-size: 17px;
  }

  .menu-config {
    padding: 12px;
  }

  .menu-config button {
    width: 100%;
    padding: 14px;
  }
}

@media (max-width: 800px) {
  .icone-fechar {
    margin-top: 20px;
    margin-left: auto;
    margin-right: 20px;
    width: 55px;
    height: 55px;
    font-size: 30px;
  }
}

.header-container {
  justify-content: space-between;
  padding: 10px;
}

.logo {
  width: 85px;
  height: 85px;
  margin: 0;
}

.apagar {
  display: none;
}

.menu-icon {
  display: block;
  width: 32px;
  height: 30px;
}

.icone-perfil {
  margin-left: auto;
  margin-right: 10px;
  width: 55px;
  height: 55px;
  font-size: 22px;
}
