body {
  background-color: #141414;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  margin: 0;
  width: 100%;
  height: 100vh;
  overflow-y: hidden;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #121212;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: #333333;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555555;
}

.mobile-container {
  display: none;
}

.container {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
  gap: 20px;
}


#info-btn {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 30px;
  height: 30px;
  padding: 0;

  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 9997;

  background: #100B1D;
  color: #F5EEFF;

  border: 1px solid #6B587D;
  border-radius: 50%;

  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: bold;
  line-height: 1;

  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;

  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

#info-btn:hover {
  background: #2A1938;
  color: #FF9B50;
  border-color: #FF7518;
  box-shadow: 0 0 12px rgba(255, 117, 24, 0.3);
  transform: scale(1.08);
}

#info-btn:active {
  transform: scale(0.88);
  box-shadow: none;
}

#info-btn:focus-visible {
  outline: 2px solid #FF9B50;
  outline-offset: 3px;
}

#fechar {
  position: absolute;
  top: 12px;
  right: 12px;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 30px;
  height: 30px;
  padding: 0;

  background: #e53935;
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 17px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

#fechar:hover {
  background: #ff5252;
  transform: scale(1.08);
}

.informacoes-bkg{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #030006d6;
  z-index: 9998;
}

.informacoes {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);

  width: min(900px, calc(100% - 40px));
  min-height: 180px;
  box-sizing: border-box;
  padding: 24px 28px;

  background: #100B1D;
  border: 2px solid #FF7518;
  border-radius: 14px;
  text-align: center;
  z-index: 9999;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.informacoes h1 {
  margin: 12px 0 22px;
  color: #F5EEFF;
  cursor: default;
  font-size: clamp(24px, 3vw, 34px);
}

#infos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}

#infos p {
  margin: 0;
  padding: 10px 14px;

  color: #E8DDF8;
  cursor: pointer;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

#infos p:hover {
  color: #FF9B50;
  background: #241832;
}

.info-ampliada {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: min(480px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  box-sizing: border-box;
  padding: 28px 24px 22px;

  background: #100B1D;
  border: 2px solid #FF7518;
  border-radius: 16px;
  text-align: center;
  z-index: 10000;

  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.65);
  animation: aparecerInfo 0.22s ease-out;
}

.info-ampliada h2 {
  margin-top: 0;
  color: #FF8A24;
  font-size: clamp(21px, 4vw, 27px);
  cursor: default;
}

.info-ampliada p {
  color: #E8DDF8;
  font-size: 16px;
  line-height: 1.6;
  cursor: default;
}

.info-ampliada button {
  margin-top: 12px;
  padding: 10px 24px;

  background: #FF7518;
  color: #100B1D;
  border: none;
  border-radius: 8px;

  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.info-ampliada button:hover {
  background: #FFA04D;
  transform: translateY(-1px);
}

#leftSide {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#pointsManager {
  background: #494949;
  font: normal 20pt Arial;
  color: white;
  padding: 10px;
  border-radius: 15px;
  border: 2.5px solid gray;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}

#ppsManager {
  background: #494949;
  font: normal 20pt Arial;
  color: white;
  padding: 10px;
  border-radius: 15px;
  border: 2.5px solid gray;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}

#sus {
  transition: 0.1s;
  cursor: pointer;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}

#sus:hover{
  transform: scale(1.01);
}

.sus {
  border-radius: 150px;
  border: 4px solid black;
}

.sus:active {
  transform: scale(0.75);
}

#rightSide {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  align-content: center;
  background: #1b1b1b;
  border-top: 3px solid red;
  border-left: 3px solid red;
  border-radius: 15px;
  max-width: 42%;
  height: 95vh;
  gap: 20px;
  margin-top: 20px;
}

@media (max-width: 768px) {
  body {
    background-color: #141414;
    overflow-y: auto;
    overflow-x: hidden;
    align-items: flex-start;
  }

  .container {
    flex-direction: column;
    height: auto;
    padding: 15px;
    gap: 15px;
  }

  .mobile-container {
    display: flex;
    position: absolute;
    bottom: 20px;
  }

  #info-btn {
    top: 5px;
    left: 3px;
    width: 34px;
    height: 34px;
    font-size: 19px;
    z-index: 9997;
  }

  .informacoes-bkg {
    width: 100%;
    height: 100%;
    height: 100dvh;
    overflow-y: auto;
    padding: 12px;
    box-sizing: border-box;
  }

  .informacoes {
    position: relative;
    top: auto;
    left: auto;
    transform: none;

    width: 100%;
    max-width: 480px;
    min-height: 0;
    margin: 0 auto;
    padding: 38px 16px 20px;

    border-radius: 14px;
  }

  #fechar {
    top: 8px;
    right: 8px;
    left: auto;
    width: 32px;
    height: 32px;
    font-size: 17px;
  }

  .informacoes h1 {
    margin: 8px 0 18px;
    font-size: clamp(23px, 6vw, 30px);
  }

  #infos {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin: 0;
  }

  #infos p {
    margin: 0;
    padding: 12px 10px;
    font-size: 15px;
    background: #1B1328;
    border: 1px solid #382344;
    border-radius: 8px;
  }

  /* Pop-up de cada novidade */
  .info-ampliada {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: calc(100% - 32px);
    max-width: 420px;
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    padding: 24px 18px 20px;

    border-radius: 14px;
    font-family: inherit;
  }

  .info-ampliada h2 {
    font-size: clamp(20px, 5.5vw, 25px);
    line-height: 1.3;
  }

  .info-ampliada p {
    font-size: 15px;
    line-height: 1.6;
    overflow-wrap: anywhere;
  }

  .info-ampliada button {
    min-height: 42px;
    padding: 10px 24px;
    font-size: 15px;
  }

  #sus{
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
  }

  #leftSide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  #rightSide {
    max-width: 100%;
    width: 100%;
    margin-right: 0;
    height: auto;
    border-top: 2px solid red;
    border-left: none;
  }
}

@media (max-width: 380px) {
  .informacoes {
    padding: 36px 12px 16px;
  }

  .informacoes h1 {
    font-size: 22px;
  }

  #infos p {
    font-size: 14px;
  }

  .info-ampliada {
    padding: 22px 14px 16px;
  }

  .info-ampliada p {
    font-size: 14px;
  }
}

@media (hover: none) {
  #info-btn:hover {
    background: #100B1D;
    color: #F5EEFF;
    border-color: #6B587D;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
    transform: none;
  }

  #infos p:hover {
    color: #E8DDF8;
    background: #1B1328;
  }
}
