/*!********************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./src/components/games/Battleship/battleship.css ***!
  \********************************************************************************************************************************************************************************************************************************************************************************************/
.battleship-game {
  font-family: var(--font-share), "Share Tech Mono", monospace;
  color: #7eb8da;
}

.battleship-game h1 {
  font-family: var(--font-bebas), "Bebas Neue", sans-serif;
  font-size: 2.5rem;
  color: #d4a853;
  text-shadow: 0 0 20px rgba(212, 168, 83, 0.5);
  letter-spacing: 6px;
  text-align: center;
}

.battleship-game .subtitle {
  text-align: center;
  font-size: 0.75rem;
  color: #5a8fb0;
  letter-spacing: 4px;
  margin-bottom: 1rem;
}

.battleship-game .stats-bar {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.battleship-game .stat {
  text-align: center;
}

.battleship-game .stat-label {
  font-size: 0.65rem;
  color: #5a8fb0;
  letter-spacing: 2px;
}

.battleship-game .stat-value {
  font-size: 1.25rem;
  color: #d4a853;
}

.battleship-game .ship-selector {
  background: rgba(26, 58, 92, 0.5);
  border: 1px solid rgba(90, 143, 176, 0.3);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.battleship-game .ship-selector h3 {
  font-size: 0.75rem;
  color: #d4a853;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
  text-align: center;
}

.battleship-game .ships-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.battleship-game .ship-item {
  background: rgba(74, 106, 140, 0.5);
  border: 1px solid rgba(90, 143, 176, 0.5);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
}

.battleship-game .ship-item:hover {
  background: rgba(90, 138, 156, 0.7);
}

.battleship-game .ship-item.selected {
  background: rgba(92, 232, 93, 0.3);
  border-color: #5ce85d;
  color: #5ce85d;
}

.battleship-game .ship-item.placed {
  opacity: 0.4;
  cursor: not-allowed;
}

.battleship-game .ship-hint {
  font-size: 0.65rem;
  color: #5a8fb0;
  text-align: center;
  margin-top: 0.5rem;
}

.battleship-game .rotation-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.battleship-game .btn {
  background: linear-gradient(180deg, rgba(90, 143, 176, 0.3), rgba(26, 58, 92, 0.5));
  border: 1px solid rgba(90, 143, 176, 0.5);
  color: #7eb8da;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.battleship-game .btn:hover:not(:disabled) {
  background: linear-gradient(180deg, rgba(90, 143, 176, 0.5), rgba(26, 58, 92, 0.7));
  border-color: #7eb8da;
}

.battleship-game .btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.battleship-game .rotation-indicator {
  font-size: 0.7rem;
}

.battleship-game .rotation-label {
  color: #5a8fb0;
}

.battleship-game .rotation-value {
  color: #d4a853;
  margin-left: 0.5rem;
}

.battleship-game .game-area {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.battleship-game .board-container {
  text-align: center;
}

.battleship-game .board-title {
  font-size: 0.7rem;
  color: #d4a853;
  letter-spacing: 3px;
  margin-bottom: 0.5rem;
}

.battleship-game .board-frame {
  background: rgba(26, 58, 92, 0.5);
  border: 2px solid rgba(90, 143, 176, 0.4);
  border-radius: 8px;
  padding: 8px;
  display: inline-block;
  min-width: 360px;
  min-height: 360px;
}

.battleship-game .board-frame canvas {
  display: block !important;
  width: 360px !important;
  height: 360px !important;
}

.battleship-game .message {
  text-align: center;
  font-size: 0.9rem;
  padding: 0.75rem;
  background: rgba(26, 58, 92, 0.5);
  border: 1px solid rgba(90, 143, 176, 0.3);
  border-radius: 8px;
  margin-bottom: 1rem;
}

.battleship-game .message.hit {
  color: #e85d4c;
  border-color: rgba(232, 93, 76, 0.5);
}

.battleship-game .message.miss {
  color: #5a8fb0;
}

.battleship-game .message.victory {
  color: #5ce85d;
  border-color: rgba(92, 232, 93, 0.5);
}

.battleship-game .message.defeat {
  color: #e85d4c;
}

.battleship-game .controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.battleship-game .modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 22, 40, 0.9);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.battleship-game .modal.active {
  display: flex;
}

.battleship-game .modal-content {
  background: linear-gradient(180deg, rgba(26, 58, 92, 0.95), rgba(13, 31, 53, 0.95));
  border: 2px solid rgba(212, 168, 83, 0.5);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  max-width: 400px;
}

.battleship-game .modal-content h2 {
  font-family: var(--font-bebas), "Bebas Neue", sans-serif;
  font-size: 2rem;
  color: #d4a853;
  letter-spacing: 4px;
}

.battleship-game .modal-content .stats {
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.battleship-game .modal-content .stats p {
  margin: 0.5rem 0;
}

