body {
  background: #000000;
  color: #00ffcc;
  font-family: 'Rajdhani Medium', 'Rajdhani', Arial, sans-serif !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
  padding: 20px;
  background-image: url('../Imgs/BG.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  min-width: 100vw;
}

h1, h2, h3 {
  text-align: center;
  text-shadow: 0 0 10px #00ffcc;
}

.hidden {
  display: none;
}

.game-container {
  max-width: 1200px;
  width: 100%;
  height: 100vh;
  position: relative;
}

#inicio {
  text-align: center;
  width: 100%;
}

/* --- BOTÕES ESTILO CYBERPUNK --- */
.nav-btn {
  background: #00fff7;
  color: #000;
  border: 2px solid #00fff7;
  border-radius: 0;
  font-family: 'Rajdhani Medium', 'Rajdhani', Arial, sans-serif !important;
  font-size: 1.12em;
  font-weight: bold;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  box-shadow: 0 0 16px #00fff7, 0 0 4.8px #ff003c;
  padding: 12px 32px;
  margin: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 48px;
}

button:not(.nav-btn), #confirmarDadoBtn, #sortearRecompensaBtn {
  background: #00fff7;
  color: #000;
  border: 2px solid #00fff7;
  border-radius: 0;
  font-family: 'Rajdhani Medium', 'Rajdhani', Arial, sans-serif !important;
  font-size: 1.12em;
  font-weight: bold;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  box-shadow: 0 0 16px #00fff7, 0 0 4.8px #ff003c;
  padding: 12px 0;
  margin: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 48px;
}

button:hover:not(:disabled), #confirmarDadoBtn:hover:not(:disabled), .reiniciar-btn:hover:not(:disabled), #sortearRecompensaBtn:hover:not(:disabled) {
  background: rgba(0, 0, 0, 0.9);
  color: #ff003c;
  border-color: #ff003c;
  box-shadow: 0 0 19.2px #ff003c, 0 0 6.4px #00fff7;
  transform: scale(1.05);
}

button:active:not(:disabled), #confirmarDadoBtn:active:not(:disabled), .reiniciar-btn:active:not(:disabled), #sortearRecompensaBtn:active:not(:disabled) {
  transform: scale(0.95);
}

button:disabled, #confirmarDadoBtn:disabled, .reiniciar-btn:disabled, #sortearRecompensaBtn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  background: #00fff7;
  color: #000;
  border-color: #00fff7;
  box-shadow: 0 0 16px #00fff744, 0 0 4.8px #ff003c44;
  transform: none;
}

.reiniciar-btn {
  background: #ff003c !important;
  color: #fff !important;
  border: 2px solid #ff003c !important;
  border-radius: 0 !important;
  position: fixed !important;
  left: 50% !important;
  bottom: 48px !important;
  transform: translateX(-50%) !important;
  z-index: 1000 !important;
  box-shadow: 0 0 16px #ff003c99, 0 0 4px #fff;
  font-size: 1.2em;
  padding: 14px 32px;
  transition: all 0.2s ease;
  min-width: 160px !important;
  width: auto !important;
}
.reiniciar-btn:hover:not(:disabled) {
  background: rgba(0, 0, 0, 0.9) !important;
  color: #ff003c !important;
  border-color: #ff003c !important;
  box-shadow: 0 0 19.2px #ff003c, 0 0 6.4px #00fff7;
  transform: translateX(-50%) scale(1.05) !important;
}
.reiniciar-btn:active:not(:disabled) {
  transform: translateX(-50%) scale(0.95) !important;
}

/* --- NOTIFICAÇÕES E JANELAS --- */
.player-attack-message, .resultado-ataque, #resultado, #estatisticas, .mensagem-sistema, #feedback {
  background: rgba(0,0,0,0.85);
  border: 2px solid #00fff7;
  color: #00fff7;
  font-family: 'Rajdhani Medium', 'Rajdhani', Arial, sans-serif !important;
  text-shadow: 0 0 8px #00fff7, 0 0 2px #ff003c;
  box-shadow: 0 0 24px #00fff744, 0 0 8px #ff003c44;
}
.player-attack-message.acerto {
  border-color: #00fff7;
  color: #00fff7;
  text-shadow: 0 0 12px #00fff7, 0 0 4px #ff003c;
}
.player-attack-message.erro {
  border-color: #ff003c;
  color: #ff003c;
  text-shadow: 0 0 12px #ff003c, 0 0 4px #00fff7;
}

/* --- TEXTOS PRINCIPAIS --- */
h1, h2, h3, label, .turno-info {
  font-family: 'Rajdhani Medium', 'Rajdhani', Arial, sans-serif !important;
  color: #00fff7;
  text-shadow: 0 0 8px #00fff7, 0 0 2px #ff003c;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.turno-info {
  color: #ff003c;
  font-size: 1.3em;
  border: 2px solid #ff003c;
  background: rgba(0,0,0,0.7);
  box-shadow: 0 0 12px #ff003c44;
}

/* --- HUD DADO DA IA --- */
.dice-animation {
  background: rgba(0,0,0,0.85);
  border: 2px solid #ff003c;
  color: #ff003c;
  text-shadow: 0 0 8px #ff003c, 0 0 2px #00fff7;
  box-shadow: 0 0 16px #ff003c44, 0 0 4px #00fff7;
}

/* --- OUTROS AJUSTES --- */
#dado, #dadoHacker {
  width: 50px;
  min-width: 50px;
  max-width: 50px;
  margin-bottom: 24px;
  background: transparent;
  color: #00fff7;
  border: 2px solid #00fff7;
  border-radius: 0;
  font-family: 'Rajdhani Medium', 'Rajdhani', Arial, sans-serif !important;
  font-size: 1.2em;
  box-shadow: 0 0 8px #00fff7;
  text-align: center;
}
#dado:focus, #dadoHacker:focus {
  outline: 2px solid #ff003c;
}
#dado option, #dadoHacker option {
  background: #000;
  color: #00fff7;
}

#dadoHacker + label, label[for="dadoHacker"] {
  color: #00fff7;
  font-size: 1.2em;
  margin-bottom: 2px;
  margin-top: 8px;
  font-family: 'Rajdhani Medium', 'Rajdhani', Arial, sans-serif !important;
}

.combat-layout {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 20px 20px;
}

.combat-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.combat-center {
  flex: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.combat-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ia-container {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 400px;
  height: 400px;
  margin: 0;
}

.ia-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: lighten;
}

.andar-1, .andar-2, .andar-3 {
  transition: opacity 0.3s ease;
}

.andar-1 {
  transform: scale(1.25);
}

.andar-2 {
  transform: scale(1.25);
}

.andar-2:not(.hidden) ~ .dice-animation {
  bottom: auto !important;
  top: 10px !important;
}

.andar-3 {
  transform: scale(1);
}

.ia-damage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  mix-blend-mode: lighten;
}

/* --- STATUS DE VIDA ESTILO CYBERPUNK COM CANTOS PONTUDOS E FOTO --- */
.status-card {
  background: rgba(0,255,204,0.20);
  border: 2.5px solid #00fff7;
  border-radius: 0 !important;
  box-shadow: 0 0 18px #00fff799, 0 0 2px #fff;
  color: #fff;
  font-family: 'Rajdhani Medium', 'Rajdhani', Arial, sans-serif;
  font-size: 1.3em;
  text-align: left;
  padding: 0;
  margin: 0 18px;
  min-width: 320px;
  max-width: 400px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  position: relative;
  height: 90px;
  overflow: hidden;
}
.status-card.ia {
  background: rgba(255,0,60,0.20);
  border-color: #ff003c;
  box-shadow: 0 0 18px #ff003c99, 0 0 2px #fff;
}
.status-card .hud-foto {
  width: 64px;
  height: 64px;
  margin: 0 0 0 18px;
  background: #00fff7;
  border-radius: 0 !important;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(1) brightness(0.7) sepia(1) hue-rotate(140deg) contrast(2);
}
.status-card.ia .hud-foto {
  background: none !important;
  overflow: visible;
}
.status-card .hud-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0% -30%;
  filter: grayscale(1) brightness(1.2) contrast(1.2);
  transform: scale(3.2);
}
.status-card.ia .hud-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: none;
  transform: none;
}
.status-card .hud-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  margin-left: 12px;
}
.status-card .hud-nome {
  color: #00fff7;
  font-size: 1em;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 2px;
  text-shadow: 0 0 8px #00fff7, 0 0 2px #fff;
}
.status-card.ia .hud-nome {
  color: #ff003c;
  text-shadow: 0 0 8px #ff003c, 0 0 2px #fff;
}
.status-card .barra-vida {
  width: 85%;
  height: 18px;
  background: rgba(0,0,0,0.5);
  border-radius: 4px;
  overflow: hidden;
  border: 1.5px solid #00fff7;
  box-shadow: 0 0 8px #00fff744;
  margin-bottom: 2px;
}
.status-card.ia .barra-vida {
  border-color: #ff003c;
  box-shadow: 0 0 8px #ff003c44;
}
.status-card .vida-atual {
  height: 100%;
  background: linear-gradient(90deg, #00fff7 60%, #fff 100%);
  box-shadow: 0 0 8px #00fff7, 0 0 2px #fff;
  transition: width 0.5s cubic-bezier(.4,2,.6,1);
}
.status-card.ia .vida-atual {
  background: linear-gradient(90deg, #ff003c 60%, #ffb300 100%);
  box-shadow: 0 0 8px #ff003c, 0 0 2px #ffb300;
}
.status-card .hud-valor {
  font-size: 1.1em;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 0 8px #00fff7, 0 0 2px #fff;
  margin-left: 8px;
  margin-top: 2px;
}
.status-card.ia .hud-valor {
  color: #ff003c;
  text-shadow: 0 0 8px #ff003c, 0 0 2px #fff;
}

.player-character {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 500px;
  z-index: 0;
  pointer-events: none;
}

/* === LAYOUT ANTERIOR FUNCIONANDO === */
.player-section {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: flex-end;
  z-index: 2;
}

.player-status-left {
  position: absolute;
  left: 20px;
  bottom: 250px;
  z-index: 10;
}

.status-text {
  color: #ffffff;
  font-family: 'Rajdhani Medium', 'Rajdhani', Arial, sans-serif;
  font-size: 0.7em;
  font-weight: bold;
  text-shadow: 0 0 10px #00fff7;
  line-height: 1.4;
  background: rgba(0, 0, 0, 0.3);
  padding: 8px 12px;
  border-radius: 4px;
}

.status-line {
  margin-bottom: 5px;
}

.enemy-status-right {
  position: absolute;
  right: 20px;
  bottom: 250px;
  z-index: 10;
}

.enemy-status-right .status-text {
  color: #ffffff;
  text-shadow: 0 0 10px #ff003c;
  background: rgba(0, 0, 0, 0.3);
  padding: 8px 12px;
  border-radius: 4px;
}

.combat-controls {
  position: absolute;
  bottom: 70px;
  left: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  z-index: 5;
}

.dice-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.combat-controls label {
  color: #00ffcc;
  font-size: 1.2em;
}

#sortearRecompensaBtn {
  margin: 20px auto;
  display: block;
}

.acerto {
  color: #00ff00;
  text-shadow: 0 0 10px #00ff00;
}

.erro {
  color: #ff0000;
  text-shadow: 0 0 10px #ff0000;
}

.turno-info {
  /* background: rgba(0, 0, 0, 0.7); */
  color: #888;
  padding: 10px;
  text-align: center;
  font-size: 1.2em;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.mensagem-sistema {
  font-style: italic;
  color: #888;
  margin: 10px 0;
  text-align: center;
}

#feedback {
  margin-top: 15px;
  padding: 10px;
  border-left: 3px solid #00ffcc;
}

@keyframes glitch {
  0% {
    transform: translate(0);
    opacity: 1;
  }
  20% {
    transform: translate(-5px, 5px);
    opacity: 0.8;
  }
  40% {
    transform: translate(5px, -5px);
    opacity: 0.6;
  }
  60% {
    transform: translate(-3px, 3px);
    opacity: 0.4;
  }
  80% {
    transform: translate(3px, -3px);
    opacity: 0.2;
  }
  100% {
    transform: translate(0);
    opacity: 1;
  }
}

.glitch-effect {
  animation: glitch 0.3s ease-in-out 3;
}

@keyframes damage-flash {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

.damage-effect {
  animation: damage-flash 0.5s ease-in-out;
}

/* Scanline effect */
.scanline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 0, 0, 0.3);
  animation: scanning 2s linear infinite;
}

@keyframes scanning {
  0% {
    top: 0;
  }
  100% {
    top: 100%;
  }
}

/* Glitch overlay */
.glitch-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 0, 0, 0.1) 0px,
    rgba(255, 0, 0, 0.1) 1px,
    transparent 1px,
    transparent 2px
  );
  pointer-events: none;
  opacity: 0.5;
}

html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

.player-attack-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.95);
    padding: 24px 48px;
    border-radius: 0;
    font-size: 2rem;
    z-index: 99999;
    text-align: center;
    transition: opacity 0.3s, visibility 0.3s;
    pointer-events: none;
    min-width: 320px;
    max-width: 90vw;
    box-shadow: 0 0 32px 8px rgba(0,0,0,0.7);
    opacity: 1;
    visibility: visible;
}

.player-attack-message.acerto {
    color: #00ffcc;
    border: 2px solid #00ffcc;
    text-shadow: 0 0 12px #00ffcc;
}

.player-attack-message.erro {
    color: #ff3366;
    border: 2px solid #ff3366;
    text-shadow: 0 0 12px #ff3366;
}

.player-attack-message.hidden {
    opacity: 0;
    visibility: hidden;
}

.dice-animation {
  position: absolute;
  bottom: 10px;
  right: 30px;
  background: rgba(0,0,0,0.85);
  border: 2px solid #ff0000;
  border-radius: 0;
  padding: 18px 32px;
  font-size: 2.2rem;
  color: #ff0000;
  box-shadow: 0 0 16px #ff000044;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  min-height: 60px;
  text-shadow: 0 0 8px #ff0000;
  animation: dice-pop 0.3s;
}

@keyframes dice-pop {
    0% { transform: scale(0.7); opacity: 0.2; }
    60% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

#combate {
    background-image: none;
}

.character-selection {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  margin-top: 32px;
}
.character-selection .character-option {
  width: 100%;
  max-width: 38vw;
  max-height: 72vh;
  margin: 0 1vw;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: rgba(0,0,0,0.2);
  border: 2px solid #00fff7;
  border-radius: 0;
  padding: 18px 24px 16px 24px;
  box-shadow: 0 0 12px #00fff744;
  transition: border 0.2s, box-shadow 0.2s;
}
.character-selection .character-option:hover {
  border: 2.5px solid #ff003c;
  box-shadow: 0 0 18px #ff003c99;
}
.character-selection .character-img {
  width: 90%;
  max-width: 312px;
  height: 72%;
  max-height: 72%;
  min-height: 120px;
  object-fit: contain;
  margin-top: 18px;
  margin-bottom: 0;
  filter: grayscale(1) brightness(1.2) contrast(1.2);
}
.character-selection .character-nome {
  font-size: 1.2em;
  font-weight: bold;
  color: #00fff7;
  margin-top: 8px;
  margin-bottom: 6px;
  text-shadow: 0 0 8px #00fff7, 0 0 2px #ff003c;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.character-selection .character-habilidade {
  font-size: 1em;
  color: #fff;
  margin-top: 10px;
  margin-bottom: 0;
  text-align: center;
  opacity: 0.85;
}

#transicao {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
}

#transicao:not(.hidden) {
  display: flex;
}

#mensagemTransicao {
  color: #00fff7;
  text-shadow: 0 0 12px #00fff7, 0 0 4px #ff003c;
  font-size: 2.4em;
  margin-bottom: 48px;
  text-align: center;
  letter-spacing: 2px;
}

#proximoAndarBtn {
  background: #00fff7;
  border: 2px solid #00fff7;
  color: #000;
  position: relative;
  z-index: 10000;
  box-shadow: 0 0 16px #00fff7, 0 0 4.8px #ff003c;
  transition: all 0.2s ease;
}

#proximoAndarBtn:hover:not(:disabled) {
  background: rgba(0, 0, 0, 0.9);
  color: #ff003c;
  border-color: #ff003c;
  box-shadow: 0 0 19.2px #ff003c, 0 0 6.4px #00fff7;
  transform: scale(1.05);
}

#proximoAndarBtn:active:not(:disabled) {
  transform: scale(0.95);
}

#resultadoFinal {
  margin-bottom: 0;
  margin-top: 24px;
  text-align: center;
}
#recompensa {
  margin-top: 28px;
  padding-left: 32px;
  padding-top: 12px;
  padding-bottom: 12px;
  font-family: 'Fira Mono', 'Consolas', 'Courier New', monospace;
  font-size: 1.15em;
  background: rgba(0,0,0,0.85);
  border-radius: 8px;
  display: block;
  max-width: 90vw;
  white-space: pre;
}

/* --- PAINEL DE DADOS DO JOGADOR --- */
.dice-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
}

.dice-panel > button {
  margin: 0;
}

#playerDiceAnimation, #playerDiceAnimationHacker {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 120px;
  height: 80px;
  margin: 0 auto;
  color: #00fff7;
  text-shadow: 0 0 8px #00fff7, 0 0 2x #ff003c;
  font-size: 2.6rem;
  font-weight: bold;
  text-align: center;
  border: 2px solid #00fff7;
  box-shadow: 0 0 16px #00fff744, 0 0 4px #ff003c;
  background: rgba(0, 0, 0, 0.85);
  border-radius: 0;
  transition: none;
  will-change: transform;
}

#playerDiceAnimationHacker {
  order: 2;
}

.dice-label {
  color: #00fff7;
  font-family: 'Rajdhani Medium', 'Rajdhani', Arial, sans-serif;
  font-size: 0.6em; /* Pequeno e discreto como na referência */
  font-weight: bold;
  text-shadow: 0 0 4px #00fff7, 0 0 1px #ff003c;
  letter-spacing: 1px;
  opacity: 0.5; /* Ligeiramente mais visível que antes */
  position: absolute;
  top: 4px; /* Bem próximo ao canto */
  right: 6px; /* Bem próximo ao canto */
  z-index: 4; /* Garantir que fique acima do número */
  pointer-events: none;
}

#attackBtn {
  order: 3;
  position: relative;
  z-index: 1;
  margin: 0;
}

.attack-btn {
  background: #00fff7;
  color: #000;
  border: 2px solid #00fff7;
  border-radius: 0;
  font-family: 'Rajdhani Medium', 'Rajdhani', Arial, sans-serif !important;
  font-size: 1.12em;
  font-weight: bold;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  box-shadow: 0 0 16px #00fff7, 0 0 4.8px #ff003c;
  padding: 12px 0;
  margin: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
  width: 120px;
  height: 48px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.attack-btn:hover:not(:disabled) {
  background: rgba(0, 0, 0, 0.9);
  color: #ff003c;
  border-color: #ff003c;
  box-shadow: 0 0 19.2px #ff003c, 0 0 6.4px #00fff7;
  transform: scale(1.05);
}

.attack-btn:active:not(:disabled) {
  transform: scale(0.95);
}

.attack-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  background: #00fff7;
  color: #000;
  border-color: #00fff7;
  box-shadow: 0 0 16px #00fff744, 0 0 4.8px #ff003c44;
  transform: none;
}



/* === ESTILOS DO MODAL DE HACKING === */
.hacking-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hacking-modal.hidden {
  display: none !important;
}

.hacking-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(5px);
}

.hacking-content {
  position: relative;
  width: 95vw;
  height: 95vh;
  max-width: 1400px;
  max-height: 900px;
  background: #000000;
  border: 3px solid #00fff7;
  border-radius: 8px;
  box-shadow: 0 0 40px #00fff799;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hacking-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  background: rgba(0, 255, 247, 0.1);
  border-bottom: 2px solid #00fff7;
}

.hacking-header h2 {
  margin: 0;
  color: #00fff7;
  font-family: 'Rajdhani Medium', 'Rajdhani', Arial, sans-serif;
  font-size: 1.8em;
  text-shadow: 0 0 12px #00fff7;
  letter-spacing: 3px;
}

.close-hacking-btn {
  background: #00fff7;
  border: 2px solid #00fff7;
  color: #000;
  border-radius: 0;
  font-size: 1.5em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  box-shadow: 0 0 16px #00fff7, 0 0 4.8px #ff003c;
  min-width: unset;
  margin: 0;
  padding: 0;
  line-height: 0;
}

#closeHackingBtn {
  width: 40px;
  height: 40px;
}

.close-hacking-btn:hover {
  background: rgba(0, 0, 0, 0.9);
  color: #ff003c;
  border-color: #ff003c;
  box-shadow: 0 0 19.2px #ff003c, 0 0 6.4px #00fff7;
  transform: scale(1.05);
}

/* Container dos controles do hacker */
.hacker-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  order: 4;
  width: 120px;
}

/* Container do botão HACK com indicador de bônus */
.hack-button-container {
  position: relative;
  width: 120px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Botão HACK - Mesmo estilo e tamanho do botão ATTACK */
.hack-btn {
  background: #00fff7;
  color: #000;
  border: 2px solid #00fff7;
  border-radius: 0;
  font-family: 'Rajdhani Medium', 'Rajdhani', Arial, sans-serif !important;
  font-size: 1.12em;
  font-weight: bold;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  box-shadow: 0 0 16px #00fff7, 0 0 4.8px #ff003c;
  padding: 12px 0;
  margin: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
  width: 120px;
  height: 48px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hack-btn:hover:not(:disabled) {
  background: rgba(0, 0, 0, 0.9);
  color: #ff003c;
  border-color: #ff003c;
  box-shadow: 0 0 19.2px #ff003c, 0 0 6.4px #00fff7;
  transform: scale(1.05);
}

.hack-btn:active:not(:disabled) {
  transform: scale(0.95);
}

.hack-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  background: #00fff7;
  color: #000;
  border-color: #00fff7;
  box-shadow: 0 0 16px #00fff744, 0 0 4.8px #ff003c44;
  transform: none;
}


/* Indicador de bônus ao lado do botão HACK */
.hack-bonus-indicator {
  color: #00fff7;
  font-family: 'Rajdhani Medium', 'Rajdhani', Arial, sans-serif;
  font-size: 1.12em;
  font-weight: bold;
  letter-spacing: 2.4px;
  text-shadow: 0 0 8px #00fff7, 0 0 2px #ff003c;
  white-space: nowrap;
  text-align: center;
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.hack-bonus-indicator.hidden {
  display: none !important;
}

@keyframes bonus-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 12px #00ff0099;
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 20px #00ff00cc;
  }
}

/* Indicadores de uso do HACK - 3 bolinhas */
.hack-uses-indicator {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0;
  width: 120px;
}

.hack-use-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #00fff7;
  box-shadow: 0 0 8px #00fff7;
  transition: all 0.3s ease;
}

.hack-use-dot.used {
  background: #333;
  box-shadow: none;
  opacity: 0.3;
}

.hack-use-dot.active {
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 8px #00fff7;
  }
  50% {
    transform: scale(1.2);
    box-shadow: 0 0 16px #00fff7;
  }
}

/* === ESTILOS ADAPTADOS DO HACKING DEMO === */
.bp-topbar {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: #000000;
  border-bottom: 3px solid #00fff7;
  padding: 0;
  height: 70px;
  position: relative;
}

.bp-timer-block {
  display: flex;
  flex-direction: row;
  align-items: center;
  border-right: 3px solid #00fff7;
  padding: 0 32px;
  min-width: 420px;
  height: 100%;
  background: #000000;
}

.bp-timer-label {
  font-size: 1.1em;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #00fff7;
  margin-right: 24px;
  text-transform: uppercase;
  width: 240px;
  min-width: 240px;
  max-width: 240px;
  display: inline-block;
  text-align: left;
  font-family: 'Rajdhani Medium', 'Rajdhani', Arial, sans-serif;
}

.bp-timer-bar {
  flex: 1;
  height: 14px;
  background: #181c22;
  border-radius: 7px;
  margin-right: 24px;
  overflow: hidden;
  position: relative;
  border: 2px solid #00fff7;
  min-width: 120px;
}

.bp-timer-bar-inner {
  background: linear-gradient(90deg, #00fff7 0%, #00fff7 100%);
  height: 100%;
  width: 100%;
  transition: width 0.2s;
}

.bp-timer-value {
  font-size: 1.5em;
  font-weight: 900;
  color: #00fff7;
  width: 90px;
  min-width: 90px;
  max-width: 90px;
  text-align: right;
  letter-spacing: 0.1em;
  font-family: 'Rajdhani Medium', 'Rajdhani', Arial, sans-serif;
}

.bp-buffer-block {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0 32px;
  min-width: 340px;
  height: 100%;
  background: #000000;
  border-right: 3px solid #00fff7;
}

.bp-buffer-label {
  color: #00fff7;
  font-size: 1.1em;
  font-weight: 700;
  letter-spacing: 0.1em;
  opacity: 0.7;
  margin-right: 18px;
  text-transform: uppercase;
  font-family: 'Rajdhani Medium', 'Rajdhani', Arial, sans-serif;
}

.bp-buffer-boxes {
  display: flex;
  flex-direction: row;
  gap: 8px;
}

.bp-buffer-box {
  width: 2.5em;
  height: 2.5em;
  background: #000000;
  border: 2px solid #00fff7;
  color: #00fff7;
  font-size: 1.1em;
  font-family: 'Rajdhani Medium', 'Rajdhani', Arial, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 4px;
}

.bp-mainarea {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  margin: 32px 48px;
  gap: 32px;
  flex: 1;
  overflow: hidden;
}

.bp-matrix-panel {
  background: #000000;
  border: 2px solid #00fff7;
  min-width: 520px;
  max-width: 600px;
  flex: 0 0 520px;
  display: flex;
  flex-direction: column;
}

.bp-matrix-area {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #000000;
}

.panel-header {
  background: #00fff7;
  color: #000000;
  font-weight: bold;
  padding: 12px 24px;
  font-size: 1.1em;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: 'Rajdhani Medium', 'Rajdhani', Arial, sans-serif;
}

table.matrix {
  border-collapse: separate;
  border-spacing: 2px;
  background: #000000;
  border: none;
}

table.matrix td {
  width: 3.2em;
  height: 2.5em;
  text-align: center;
  cursor: pointer;
  border: 2px solid #00fff7;
  font-size: 1.1em;
  font-family: 'Rajdhani Medium', 'Rajdhani', Arial, sans-serif;
  color: #00fff7;
  background: #000000;
  transition: background 0.2s, color 0.2s;
  padding: 0;
}

.rowOk { 
  background: rgba(0, 255, 247, 0.3) !important; 
}

.colOk { 
  background: rgba(0, 255, 247, 0.3) !important; 
  color: #00fff7; 
}

.hintRow { 
  background: rgba(0, 255, 247, 0.1) !important; 
}

.hintCol { 
  background: rgba(0, 255, 247, 0.1) !important; 
}

.sel {
  pointer-events: none;
  border-color: #fff;
  background: #00fff7;
  color: #000;
}

.sel::before { content: "["; }
.sel::after { content: "]"; }

.ok { color: #0f0; }
.fail { color: #f00; }

.bp-hacks-panel {
  background: #000000;
  border: 2px solid #00fff7;
  min-width: 480px;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.bp-hacks-label {
  background: #00fff7;
  color: #000000;
  font-size: 1.1em;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 12px 48px;
  margin: 0;
  text-transform: uppercase;
  font-family: 'Rajdhani Medium', 'Rajdhani', Arial, sans-serif;
}

.bp-hack-list {
  padding: 10px 0;
  width: 100%;
  flex: 1;
  overflow-y: auto;
}

.bp-hack-item {
  display: grid;
  grid-template-columns: 1fr 40px 2fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  padding: 12px 20px;
  margin: 8px 24px;
  background: rgba(0, 255, 247, 0.05);
  border: 2px solid rgba(0, 255, 247, 0.3);
  border-radius: 4px;
}



.bp-hack-item.success-seq {
  background: #00fff7 !important;
  border-color: #00fff7 !important;
}

.bp-hack-item.success-seq .bp-hack-icon,
.bp-hack-item.success-seq .bp-hack-title,
.bp-hack-item.success-seq .bp-hack-desc,
.bp-hack-item.success-seq .bp-hack-seq {
  color: #000 !important;
  border-color: #000 !important;
  text-shadow: none !important;
  background: transparent !important;
}

.bp-hack-icon {
  width: 32px;
  height: 32px;
  background: transparent;
  border: 2px solid #00fff7;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3em;
  color: #00fff7;
}

.bp-hack-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  justify-content: center;
}

.bp-hack-title {
  color: #00fff7;
  font-size: 1.1em;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: 'Rajdhani Medium', 'Rajdhani', Arial, sans-serif;
}

.bp-hack-desc {
  color: #fff;
  font-size: 1em;
  opacity: 0.8;
  font-weight: 400;
  font-family: 'Rajdhani Medium', 'Rajdhani', Arial, sans-serif;
}

.bp-hack-seq {
  font-size: 1.3em;
  color: #00fff7;
  background: #000000;
  border: 2px solid #00fff7;
  border-radius: 4px;
  padding: 8px 16px;
  font-family: 'Rajdhani Medium', 'Rajdhani', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-align: center;
}

.hack-result-msg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3em;
  font-weight: bold;
  background: rgba(0, 0, 0, 0.95);
  border: 4px solid #00fff7;
  padding: 32px 48px;
  z-index: 100;
  font-family: 'Rajdhani Medium', 'Rajdhani', Arial, sans-serif;
  letter-spacing: 2px;
  border-radius: 8px;
  color: #00fff7;
  text-shadow: 0 0 20px #00fff7;
  box-shadow: 0 0 40px #00fff799;
}

.hack-result-msg:last-child {
  border-color: #ff003c;
  color: #ff003c;
  text-shadow: 0 0 20px #ff003c;
  box-shadow: 0 0 40px #ff003c99;
}

/* === ESTILOS DO INVENTÁRIO === */
.inventory-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 60px;
  height: 60px;
  background: transparent;
  border: 2px solid #00fff7;
  border-radius: 4px;
  cursor: pointer;
  display: none; /* Escondido por padrão */
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 1000;
  padding: 0;
  box-shadow: 0 0 15px rgba(0, 255, 247, 0.3);
}

.inventory-btn:hover {
  background: rgba(0, 255, 247, 0.1);
  border-color: #00fff7;
  box-shadow: 0 0 25px rgba(0, 255, 247, 0.6);
  transform: scale(1.05);
}

.inventory-btn:active {
  transform: scale(0.95);
}

.inventory-icon-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(0%) hue-rotate(180deg) brightness(100%) contrast(100%);
  transition: all 0.3s ease;
}

.inventory-btn:hover .inventory-icon-img {
  filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(0%) hue-rotate(180deg) brightness(100%) contrast(100%);
}

/* Mostrar botão apenas durante combate */
#combate:not(.hidden) ~ .inventory-btn {
  display: flex;
}

.inventory-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.inventory-modal.hidden {
  display: none !important;
}

.inventory-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(5px);
}

.inventory-content {
  position: relative;
  width: 90vw;
  height: 80vh;
  max-width: 1200px;
  max-height: 800px;
  background: #000000;
  border: 3px solid #00fff7;
  border-radius: 0;
  box-shadow: 0 0 40px #00fff799;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.inventory-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  background: rgba(0, 255, 247, 0.1);
  border-bottom: 2px solid #00fff7;
}

.inventory-header h2 {
  margin: 0;
  color: #00fff7;
  font-family: 'Rajdhani Medium', 'Rajdhani', Arial, sans-serif;
  font-size: 1.8em;
  text-shadow: 0 0 12px #00fff7;
  letter-spacing: 3px;
}

.close-inventory-btn {
  background: #00fff7;
  border: 2px solid #00fff7;
  color: #000;
  border-radius: 0;
  font-size: 1.5em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  box-shadow: 0 0 16px #00fff7, 0 0 4.8px #ff003c;
  width: 40px;
  height: 40px;
  line-height: 0;
}

.close-inventory-btn:hover {
  background: rgba(0, 0, 0, 0.9);
  color: #ff003c;
  border-color: #ff003c;
  box-shadow: 0 0 19.2px #ff003c, 0 0 6.4px #00fff7;
  transform: scale(1.05);
}

.inventory-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
  gap: 20px;
  overflow: auto;
  max-height: calc(80vh - 120px);
}

.equipment-section {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
}

.equipment-section h3 {
  color: #00fff7;
  font-family: 'Rajdhani Medium', 'Rajdhani', Arial, sans-serif;
  font-size: 1.3em;
  text-shadow: 0 0 8px #00fff7;
  margin-bottom: 15px;
  text-align: center;
}

.equipment-slots {
  display: flex;
  flex-direction: row;
  gap: 10px;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.equipment-slot {
  background: rgba(0, 255, 247, 0.05);
  border: 2px solid rgba(0, 255, 247, 0.3);
  border-radius: 0;
  padding: 10px;
  min-height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.equipment-slot:hover {
  border-color: #00fff7;
  background: rgba(0, 255, 247, 0.1);
}

.slot-label {
  color: #00fff7;
  font-family: 'Rajdhani Medium', 'Rajdhani', Arial, sans-serif;
  font-size: 0.9em;
  text-shadow: 0 0 4px #00fff7;
  margin-bottom: 5px;
  text-align: center;
}

.slot-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.item-card {
  background: rgba(0, 255, 247, 0.1);
  border: 2px solid #00fff7;
  border-radius: 0;
  padding: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.item-card:hover {
  background: rgba(0, 255, 247, 0.2);
  border-color: #ff003c;
  transform: scale(1.05);
}

.item-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.item-card .item-name {
  color: #00fff7;
  font-family: 'Rajdhani Medium', 'Rajdhani', Arial, sans-serif;
  font-size: 0.8em;
  text-shadow: 0 0 4px #00fff7;
  text-align: center;
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.7);
  padding: 2px 4px;
  border-radius: 2px;
}

.inventory-section {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.inventory-section h3 {
  color: #00fff7;
  font-family: 'Rajdhani Medium', 'Rajdhani', Arial, sans-serif;
  font-size: 1.3em;
  text-shadow: 0 0 8px #00fff7;
  margin-bottom: 15px;
  text-align: center;
}

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 10px;
  overflow-y: auto;
  flex: 1;
  padding: 10px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 255, 247, 0.2);
  min-height: 120px;
}

.empty-slot {
  background: rgba(0, 255, 247, 0.05);
  border: 2px dashed rgba(0, 255, 247, 0.3);
  border-radius: 0;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0, 255, 247, 0.5);
  font-family: 'Rajdhani Medium', 'Rajdhani', Arial, sans-serif;
  font-size: 0.8em;
}

/* === ESTILOS DOS STATUS DE ATAQUE === */
.attack-status {
  background: rgba(0, 255, 247, 0.15);
  border: 2px solid #00fff7;
  border-radius: 0;
  padding: 8px 16px;
  margin: 10px 18px;
  min-width: 200px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px #00fff744;
}

.player-attack-status {
  background: rgba(0, 255, 247, 0.15);
  border-color: #00fff7;
}

.enemy-difficulty-status {
  background: rgba(255, 0, 60, 0.15);
  border-color: #ff003c;
  box-shadow: 0 0 12px #ff003c44;
}

.attack-status-label {
  color: #00fff7;
  font-family: 'Rajdhani Medium', 'Rajdhani', Arial, sans-serif;
  font-size: 0.8em;
  text-shadow: 0 0 4px #00fff7;
  margin-bottom: 4px;
  text-align: center;
  letter-spacing: 1px;
}

.enemy-difficulty-status .attack-status-label {
  color: #ff003c;
  text-shadow: 0 0 4px #ff003c;
}

.attack-status-value {
  color: #00fff7;
  font-family: 'Rajdhani Medium', 'Rajdhani', Arial, sans-serif;
  font-size: 1.4em;
  font-weight: bold;
  text-shadow: 0 0 8px #00fff7;
  text-align: center;
}

.enemy-difficulty-status .attack-status-value {
  color: #ff003c;
  text-shadow: 0 0 8px #ff003c;
}

/* === ESTILOS PARA DESTAQUE DE CARTAS === */
.item-card.highlighted {
  background: rgba(0, 255, 247, 0.3);
  border-color: #ff003c;
  transform: scale(1.1);
  box-shadow: 0 0 20px #ff003c99;
  z-index: 10;
}

/* === ANIMAÇÕES DE DESTRUIÇÃO === */
@keyframes card-destroy {
  0% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2) rotate(180deg);
  }
  100% {
    opacity: 0;
    transform: scale(0) rotate(360deg);
  }
}

.card-destroying {
  animation: card-destroy 1s ease-in-out forwards;
}

/* === ESTILOS DOS RESUMOS DE STATUS === */
.status-summary {
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid #00fff7;
  border-radius: 0;
  padding: 12px 16px;
  margin: 10px 18px;
  min-width: 250px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 12px #00fff744;
}

.player-status-summary {
  border-color: #00fff7;
}

.enemy-status-summary {
  border-color: #ff003c;
  box-shadow: 0 0 12px #ff003c44;
}

.status-summary-title {
  color: #00fff7;
  font-family: 'Rajdhani Medium', 'Rajdhani', Arial, sans-serif;
  font-size: 1.1em;
  font-weight: bold;
  text-shadow: 0 0 6px #00fff7;
  margin-bottom: 8px;
  text-align: center;
  letter-spacing: 1px;
}

.enemy-status-summary .status-summary-title {
  color: #ff003c;
  text-shadow: 0 0 6px #ff003c;
}

.status-summary-content {
  color: #fff;
  font-family: 'Rajdhani Medium', 'Rajdhani', Arial, sans-serif;
  font-size: 0.9em;
  line-height: 1.4;
  text-align: left;
  opacity: 0.9;
}

/* === BOTÃO DE INVENTÁRIO APENAS ÍCONE === */
.inventory-btn {
  position: fixed;
  bottom: 15px;
  left: 15px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  display: none;
  padding: 0;
  margin: 0;
  z-index: 1000;
  pointer-events: auto;
}

.inventory-btn:hover {
  transform: scale(1.1);
}

.inventory-btn:active {
  transform: scale(0.95);
}

.inventory-icon-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
  filter: none;
  transition: transform 0.2s ease;
}

/* Forçar posição no canto com margem */
body #inventoryBtn {
  position: fixed !important;
  bottom: 15px !important;
  left: 15px !important;
  z-index: 1000 !important;
}

/* Mostrar apenas durante o combate */
#combate:not(.hidden) ~ .inventory-btn {
  display: block;
}

/* Dificuldade do inimigo na HUD */
.hud-difficulty {
  color: #ff6b6b;
  font-size: 0.8em;
  font-weight: bold;
  text-align: center;
  margin-top: 5px;
  text-shadow: 0 0 5px rgba(255, 107, 107, 0.5);
}

/* === COMPORTAMENTO DRAG AND DROP === */
.item-card {
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.item-card:hover {
  transform: scale(1.05);
}

.item-card.dragging {
  transform: scale(1.2);
  z-index: 1000;
  opacity: 0.8;
}

.item-card.reading {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.5);
  z-index: 1001;
  background: rgba(0, 0, 0, 0.9);
  border: 2px solid #00fff7;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 0 30px rgba(0, 255, 247, 0.8);
}

.equipment-slot.drag-over {
  background: rgba(0, 255, 247, 0.2);
  border-color: #00fff7;
  box-shadow: 0 0 15px rgba(0, 255, 247, 0.5);
}

/* === MODIFICAÇÕES NO MESMO SLOT === */
.equipment-slot .modifications {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 5px;
}

.equipment-slot .modification-item {
  background: rgba(0, 255, 247, 0.1);
  border: 1px solid #00fff7;
  border-radius: 2px;
  padding: 2px 4px;
  font-size: 0.7em;
  color: #00fff7;
  text-align: center;
} 