@import url('colors.css');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

/* =========================
   ESTILOS GLOBAIS E RESET
   ========================= */

* {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

html, body {
  height: 100vh;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans';
}

html, button {
  cursor: url('../img/UI/Cursor.png'), auto;
}

button:hover {
  cursor: url('../img/UI/Cursor.png'), auto;
}

html:active, button:active {
  cursor: url('../img/UI/Click.png'), auto;
}

/* =========================
   LAYOUT PRINCIPAL
   ========================= */

body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-width: 100vw;
  background: var(--ro-cinza-azulado);
}

.main-div {
  width: 85vw;
  height: 85vh;
  min-width: 412px;
  min-height: 412px;
  background: var(--ro-branco-gelo);
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  border: 2px solid var(--ro-azul-ui);
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: stretch;
  overflow: hidden;
  padding: 5px;
  gap: 20px;
}

.left-div, .right-div {
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* =========================
   COMPONENTE: LEFT-DIV E TOP-DIV
   ========================= */

.left-div {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 20px;
}

.top-div, .bottom-div {
  width: 100%;
  height: 50%;
  display: flex;
}

.top-div {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 20px;
}

.bottom-div {
  /* Conteúdo futuro pode ser flex-direction: row ou column */
}

.character-div {
  flex: 1 1 0;
  height: 100%;
  min-width: 200px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: #fff;
  border: 2px solid var(--ro-azul-ui);
  outline: 2px solid #fff;
  outline-offset: 2px;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  box-sizing: border-box;
  margin: 0;
}

.chart-div {
  flex: 2 1 0;
  height: 100%;
  min-width: 240px;
  max-width: 100%;
  min-height: 200px;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 2px solid var(--ro-azul-ui);
  outline: 2px solid #fff;
  outline-offset: 2px;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  box-sizing: border-box;
  margin: 0;
  overflow: hidden;
}

/* =========================
   COMPONENTE: CHARACTER
   ========================= */

.character-div {
  min-width: 240px;
  min-height: 330px;
  max-width: 240px;
  max-height: 3300px;
  background: #fff;
  border: 2px solid var(--ro-azul-ui);
  border-radius: 8px;
  outline: 2px solid #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}

.character-info {
  width: 100%;
  text-align: center;
  padding: 0;
  margin-top: 2px;
  display: flex;
}

.character-info p {
  font-size: 14px;
  margin: 2px;
}

/* =========================
   COMPONENTE: SLIDESHOW
   ========================= */

.character-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.slideshow-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.Personagem {
  min-width: 200px;
  max-width: 200px;
  min-height: 250px;
  max-height: 250px;
  display: block;
  padding: 0;
}

/* =========================
   COMPONENTE: BOTÕES SLIDESHOW
   ========================= */

.slide-btn-container {
  flex: 1 1 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  width: 100%;
}

.slide-btn {
  background-color: white;
  color: var(--ro-azul-ui);
  border: 1px solid var(--ro-azul-ui);
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  width: 36px;
  height: 24px;
  font-size: 20px;
  margin: 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
}

.slide-btn:hover {
  background: var(--ro-branco-gelo);
}

/* =========================
   COMPONENTE: PORING FLUTUANTE
   ========================= */

.poring-float {
  position: absolute;
  z-index: 1000;
}

.poring-float img {
  width: 64px;
  height: auto;
  pointer-events: none;
}

/* =========================
   UTILITÁRIOS DE TEXTO
   ========================= */

.system {
  color: var(--ro-azul-profundo);
  font-weight: bold;
}

.info {
  color: var(--ro-cinza-profundo);
}

#chart-radar {
  width: 100%;
  height: 100%;
  min-height: 100%;
  min-width: 100%;
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: transparent;
  display: block;
}

/* =========================
   COMPONENTE: STATUS-DIV
   ========================= */
.status-div {
  background: #fff;
  border: 2px solid var(--ro-azul-ui);
  outline: 2px solid #fff;
  outline-offset: 2px;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

/* =========================
   COMPONENTE: SKILL-DIV
   ========================= */
.skill-div {
  background: #fff;
  border: 2px solid var(--ro-azul-ui);
  outline: 2px solid #fff;
  outline-offset: 2px;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 24px 16px;
  box-sizing: border-box;
  overflow-y: auto;
  overflow-x: hidden;
}