/**
 * Checkers Game Styles
 */

.checkers-board {
    display: inline-block;
    border: 4px solid #5d4037;
    border-radius: 4px;
    background: #5d4037;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.checkers-row {
    display: flex;
}

.checkers-cell {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: background 0.15s;
}

.checkers-cell-light {
    background: #ffecb3;
}

.checkers-cell-dark {
    background: #8d6e63;
}

.checkers-piece {
    font-size: 44px;
    cursor: pointer;
    transition: transform 0.15s;
    user-select: none;
    line-height: 1;
}

.checkers-piece:hover {
    transform: scale(1.1);
}

.checkers-black {
    color: #212121;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.checkers-white {
    color: #fafafa;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.checkers-king {
    filter: drop-shadow(0 0 3px gold);
}

.checkers-selected {
    background: #81c784 !important;
    box-shadow: inset 0 0 0 3px #4caf50;
}

.checkers-valid-move {
    position: relative;
}

.checkers-valid-move::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background: rgba(76, 175, 80, 0.6);
    border-radius: 50%;
    pointer-events: none;
}

.checkers-info {
    margin-top: 20px;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 8px;
    text-align: center;
}

.checkers-captured {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.capture-count {
    font-size: 14px;
    color: #1d2327;
    font-weight: 500;
}

.checkers-notice {
    margin-top: 12px;
    padding: 10px 15px;
    background: #fff3cd;
    border: 1px solid #ffb74d;
    border-radius: 6px;
    font-weight: 600;
    color: #856404;
}

/* Responsive */
@media (max-width: 600px) {
    .checkers-cell {
        width: 42px;
        height: 42px;
    }
    
    .checkers-piece {
        font-size: 32px;
    }
    
    .checkers-valid-move::after {
        width: 18px;
        height: 18px;
    }
}
