/*!********************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[3]!./app/games/othello/othello.module.css ***!
  \********************************************************************************************************************************************************************************************************************************************************************************/
.othello_wrapper__qwn_s {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem;
  background: var(--background);
}

.othello_container__wjpa1 {
  width: 100%;
  max-width: 550px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Header */
.othello_header___TDzG {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
  padding: 0 0.5rem;
}

.othello_titleBlock__dDTg5 h1 {
  font-family: var(--font-raleway, sans-serif);
  font-weight: 900;
  font-size: 1.75rem;
  color: var(--primary);
  line-height: 1;
}

.othello_subtitle__hWFqn {
  font-size: 0.7rem;
  color: var(--text-light);
  margin-top: 2px;
}

.othello_status___cb4k {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.othello_statusLabel__NUBhK {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-light);
}

.othello_statusValue__TvFIK {
  font-family: 'Courier New', monospace;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.othello_turn__9d11s {
  display: flex;
  align-items: center;
  gap: 6px;
}

.othello_turnIndicator__9ThwK {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #666;
}

.othello_turnBlack__QCrX_ {
  background: #1a1a1a;
  border-color: #000;
}

.othello_turnWhite__sQsl8 {
  background: #f0f0f0;
  border-color: #ccc;
}

/* Score display */
.othello_scores__ujL0a {
  display: flex;
  gap: 16px;
  margin-bottom: 0.5rem;
}

.othello_scoreItem__92JDF {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 6px;
}

.othello_scorePiece___ekO_ {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  box-shadow: inset -2px -2px 4px rgba(0, 0, 0, 0.3);
}

.othello_scorePieceBlack__gKO9O {
  background: linear-gradient(145deg, #333, #1a1a1a);
}

.othello_scorePieceWhite__MsQLS {
  background: linear-gradient(145deg, #fff, #e0e0e0);
  border: 1px solid #ccc;
}

.othello_scoreValue__eiAsZ {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}

/* Board */
.othello_boardWrapper__Cwqj8 {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: #1b3a1b;
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.othello_board__BHyeO {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  aspect-ratio: 1;
  border: 2px solid #0d2e0d;
  border-radius: 2px;
  overflow: hidden;
}

.othello_square__cfzL0 {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #2d8b2d;
  border: 1px solid #1f6b1f;
  cursor: pointer;
}

.othello_square__cfzL0:hover {
  background: #35a035;
}

.othello_squareLastMove__wL5mR {
  background: #3daa3d;
}

/* Pieces */
.othello_piece__ynuWh {
  width: 80%;
  height: 80%;
  border-radius: 50%;
  transition: transform 0.2s;
  position: relative;
}

.othello_pieceBlack___LFRI {
  background: linear-gradient(145deg, #333, #111);
  box-shadow:
    inset -3px -3px 8px rgba(0, 0, 0, 0.6),
    inset 3px 3px 8px rgba(255, 255, 255, 0.05),
    0 3px 8px rgba(0, 0, 0, 0.4);
}

.othello_pieceWhite__4zIJc {
  background: linear-gradient(145deg, #fff, #ddd);
  box-shadow:
    inset -3px -3px 8px rgba(0, 0, 0, 0.1),
    inset 3px 3px 8px rgba(255, 255, 255, 0.8),
    0 3px 8px rgba(0, 0, 0, 0.3);
}

/* Valid move indicator */
.othello_validMoveIndicator__BU3S9 {
  width: 30%;
  height: 30%;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
}

/* Thinking indicator */
.othello_thinking__t_uiS {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 8px;
}

.othello_thinkingDots__M0_vg::after {
  content: '';
  animation: othello_dots__iZPhf 1.5s infinite;
}

@keyframes othello_dots__iZPhf {
  0%, 20% { content: '.'; }
  40% { content: '..'; }
  60%, 100% { content: '...'; }
}

/* Controls */
.othello_controls__kwmcF {
  display: flex;
  gap: 8px;
  margin-top: 0.75rem;
  width: 100%;
  max-width: 350px;
  justify-content: center;
}

.othello_controlBtn__1NmTg {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 16px;
  border: 2px solid #ddd;
  border-radius: 8px;
  background: white;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  -moz-user-select: none;
       user-select: none;
  -webkit-user-select: none;
  transition: all 0.15s;
  flex: 1;
  min-width: 80px;
  max-width: 120px;
}

.othello_controlBtn__1NmTg:active {
  background: #f0f0f0;
}

.othello_controlIcon__ngGc6 {
  font-size: 1.3rem;
}

.othello_controlLabel__hFCu9 {
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-light);
}

/* Overlays */
.othello_overlay__MzDg3 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.othello_modal__BBLHL {
  background: white;
  border-radius: 12px;
  padding: 28px;
  max-width: 360px;
  width: 90%;
  text-align: center;
}

.othello_modal__BBLHL h2 {
  font-family: var(--font-raleway, sans-serif);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.othello_modal__BBLHL p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

.othello_modalBtns__AM1P3 {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.othello_btn__D_a3R {
  background: var(--accent);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
  width: 100%;
}

.othello_btn__D_a3R:hover {
  opacity: 0.85;
}

/* Difficulty selector */
.othello_difficultySelector__myqqX {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.othello_difficultyBtn__WHEoM {
  padding: 8px 16px;
  border: 2px solid #ddd;
  border-radius: 6px;
  background: white;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.15s;
}

.othello_difficultyBtn__WHEoM:hover {
  border-color: var(--accent);
}

.othello_difficultyBtnActive__ruXxL {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

/* Responsive */
@media (max-width: 480px) {
  .othello_wrapper__qwn_s {
    padding: 0.25rem;
  }

  .othello_header___TDzG {
    padding: 0 0.25rem;
  }

  .othello_titleBlock__dDTg5 h1 {
    font-size: 1.4rem;
  }

  .othello_boardWrapper__Cwqj8 {
    padding: 4px;
    border-radius: 4px;
  }

  .othello_piece__ynuWh {
    width: 75%;
    height: 75%;
  }

  .othello_controls__kwmcF {
    gap: 6px;
  }

  .othello_controlBtn__1NmTg {
    padding: 8px 12px;
    min-width: 70px;
  }

  .othello_controlIcon__ngGc6 {
    font-size: 1.1rem;
  }

  .othello_controlLabel__hFCu9 {
    font-size: 0.5rem;
  }
}

