/*!**********************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** 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/checkers/checkers.module.css ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************/
.checkers_wrapper__FTarn {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem;
  background: var(--background);
}

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

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

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

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

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

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

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

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

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

.checkers_turnRed__7jMT3 {
  background: #c0392b;
  border-color: #922b21;
}

.checkers_turnBlack__uplqY {
  background: #2c3e50;
  border-color: #1a252f;
}

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

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

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

.checkers_scorePieceRed__9hqKG {
  background: linear-gradient(145deg, #e74c3c, #c0392b);
}

.checkers_scorePieceBlack__iCKFD {
  background: linear-gradient(145deg, #34495e, #2c3e50);
}

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

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

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

.checkers_square__dVCjb {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.checkers_squareLight__zzbWe {
  background: #f5deb3;
}

.checkers_squareDark__4VSXn {
  background: #8b4513;
}

.checkers_squareHighlight__4GS5N {
  background: #6b8e23 !important;
}

.checkers_squareValidMove__sVRZ_ {
  position: relative;
}

.checkers_squareValidMove__sVRZ_::after {
  content: '';
  position: absolute;
  width: 30%;
  height: 30%;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
}

.checkers_squareCapture__LJsHF::after {
  width: 80%;
  height: 80%;
  background: transparent;
  border: 3px solid rgba(255, 0, 0, 0.5);
  border-radius: 50%;
}

/* Piece */
.checkers_piece__gV25e {
  width: 80%;
  height: 80%;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkers_piece__gV25e:hover {
  transform: scale(1.05);
}

.checkers_pieceRed__NZUNd {
  background: linear-gradient(145deg, #e74c3c, #c0392b);
  box-shadow:
    inset -3px -3px 8px rgba(0, 0, 0, 0.3),
    inset 3px 3px 8px rgba(255, 255, 255, 0.1),
    0 3px 8px rgba(0, 0, 0, 0.4);
}

.checkers_pieceBlack__hc_S_ {
  background: linear-gradient(145deg, #34495e, #2c3e50);
  box-shadow:
    inset -3px -3px 8px rgba(0, 0, 0, 0.4),
    inset 3px 3px 8px rgba(255, 255, 255, 0.05),
    0 3px 8px rgba(0, 0, 0, 0.4);
}

.checkers_pieceSelected__EDxwU {
  transform: scale(1.1);
  box-shadow:
    0 0 0 3px #f1c40f,
    0 6px 16px rgba(0, 0, 0, 0.5) !important;
  z-index: 10;
}

/* King crown */
.checkers_king__Tg8Ep::after {
  content: '♔';
  font-size: clamp(14px, 4vw, 24px);
  color: #f1c40f;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Thinking indicator */
.checkers_thinking__dmI6h {
  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;
}

.checkers_thinkingDots__gBCOf::after {
  content: '';
  animation: checkers_dots__dv3cS 1.5s infinite;
}

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

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

.checkers_controlBtn__7CsbZ {
  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;
}

.checkers_controlBtn__7CsbZ:active {
  background: #f0f0f0;
}

.checkers_controlIcon__fZWJq {
  font-size: 1.3rem;
}

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

/* Overlays */
.checkers_overlay__f6lZ_ {
  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;
}

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

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

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

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

.checkers_btn__7Yi1U {
  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%;
}

.checkers_btn__7Yi1U:hover {
  opacity: 0.85;
}

.checkers_btnSecondary__l2yx4 {
  background: #e5e7eb;
  color: var(--text);
}

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

.checkers_difficultyBtn__kaWtm {
  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;
}

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

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

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

  .checkers_header__UXYtp {
    padding: 0 0.25rem;
  }

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

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

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

  .checkers_controls__CPSr8 {
    gap: 6px;
  }

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

  .checkers_controlIcon__fZWJq {
    font-size: 1.1rem;
  }

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

